<!--//
setj=0;
function brver()
{
    var ua = window.navigator.userAgent;
    var msie = ua.indexOf ( "MSIE " );
        iever = 0;
        mzver = 0;
    if ( msie > 0 )
        iever = parseInt ( ua.substring ( msie+5, ua.indexOf ( ".", msie ) ) )
    var mz = ua.indexOf ( "Mozilla/" );
    if ( mz >= 0 )
        mzver = parseInt ( ua.substring ( mz+8, ua.indexOf ( ".", mz ) ) )
    if(mzver>=3)
            return 1;
    return 0;
}

setj = brver();
if (setj == 1) {

graph1on=new Image();
graph1on.src="i/begin_p.gif";
graph1off=new Image();
graph1off.src="i/begin.gif";

graph2on=new Image();
graph2on.src="i/register_p.gif";
graph2off=new Image();
graph2off.src="i/register.gif";


graph3on=new Image();
graph3on.src="i/choose_p.gif";
graph3off=new Image();
graph3off.src="i/choose.gif";

graph4on=new Image();
graph4on.src="i/test_1_p.gif";
graph4off=new Image();
graph4off.src="i/test_1.gif";

graph5on=new Image();
graph5on.src="i/course_p.gif";
graph5off=new Image();
graph5off.src="i/course.gif";

graph6on=new Image();
graph6on.src="i/test_2_p.gif";
graph6off=new Image();
graph6off.src="i/test_2.gif";


graph7on=new Image();
graph7on.src="i/questions_p.gif";
graph7off=new Image();
graph7off.src="i/questions.gif";

graph8on=new Image();
graph8on.src="i/test_3_p.gif";
graph8off=new Image();
graph8off.src="i/test_3.gif";

graph9on=new Image();
graph9on.src="i/attest_p.gif";
graph9off=new Image();
graph9off.src="i/attest.gif";

}

function graphON(graphName) {
        if (setj == 1) {
        on_off=eval(graphName + "on.src");
        document.images[graphName].src=on_off;
        }
}

function graphOFF(graphName) {
        if (setj == 1) {
        off_on=eval(graphName + "off.src");
        document.images[graphName].src=off_on;
        }
}

//-->