function rmenu (id, mode) {
        if (mode == 1) { document.getElementById(id).src='/image/menu/' + id + 'on.jpg';
        } else { document.getElementById(id).src='/image/menu/' + id + '.jpg'; }
}
ont1 = new Image(); ont1.src="/image/menu/t1on.jpg";
ont2 = new Image(); ont2.src="/image/menu/t2on.jpg";
ont3 = new Image(); ont3.src="/image/menu/t3on.jpg";
ont4 = new Image(); ont4.src="/image/menu/t4on.jpg";
ont5 = new Image(); ont5.src="/image/menu/t5on.jpg";
ont6 = new Image(); ont6.src="/image/menu/t6on.jpg";
ont7 = new Image(); ont7.src="/image/menu/t7on.jpg";
<!-- // Button Reverse
function button (iname, file, mode) {
        if (mode == 1) document.images[iname].src = "/image/button/" + file + "-on.gif";
        else document.images[iname].src = "/image/button/" + file + ".gif";
} //--><!-- // Content Window Image Viewer
function OpenWinImage(img, title){
        popUpImage = new Image();
        popUpImage.src = (img);
        ControlImageLoad(img, title);
} function ControlImageLoad(img, title){
        if ((popUpImage.width!=0)&&(popUpImage.height!=0)) {
                viewPopUpImage(img, title);
        } else {
                NewControl = "ControlImageLoad('"+img+"','"+title+"')";
                CILInterval = setTimeout(NewControl,25);
        }
} function viewPopUpImage(img, title) {
        var imgwidth = popUpImage.width;
        var imgheight = popUpImage.height;
        viewpopupimgwin = window.open("","viewpopupimg","top=50,left=200,width=" + popUpImage.width + ",height=" + popUpImage.height + ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no");
        viewpopupimgwin.document.write("<html><head><title>" + title + "</title></head><body leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 marginwidth=0 marginheight=0><img src=\""+ img +"\" border=\"0\" alt=\"" + title + "\"></body></html>");
} function PollCheck(form) {
        var resx = 0;
        for(a = 0; a<form.length; a++) {
                if (form.elements[a].checked == true) resx = 1;
        } if (resx == 1) form.submit();
        else alert("Вы не выбрали ответ!");
}//-->
