
// ----------------------------------------------------------
// JAVASCRIPT SUBROUTINES
// -----------------------------------------------------------



function light(nr){
           menu_img=eval("document.m"+nr);
           menu_img.src="../images/m"+nr+"_hover.gif";
}

function dark(nr){
          menu_img=eval("document.m"+nr);
          menu_img.src="../images/m"+nr+".gif";
}


function preload_menu(){
		  var img;
		    for (i=1; i<=5; i++){
            img=new Image();
            img.src="../images/m"+ i +"_hover.gif";
         }
}

function pop_disclaimer(){
            if (navigator.appName != 'Netscape'){
                 win=window.open("../disclaimer.html","disclaimer","top=80,left=170,resizable=no,height=450,scrollbars,width=370");
	       }
	       else{
           win=window.open("../disclaimer.html","disclaimer","width=370,height=450,resizable=no,scrollbars,screenY=130,screenX=170");
          }
}


function pop_map(){
            if (navigator.appName != 'Netscape'){
                 win=window.open("map.html","map","resizable=no,height=397,width=501");
					  win.focus();
	       }
	       else{
           win=window.open("map.html","map","width=501,height=397,resizable=no");
          }
}


function pop_stabile(){

            if (navigator.appName != 'Netscape'){
                 win=window.open("stabile.html","stabile","resizable=no,height=397,width=501");
					  win.focus();
	       }
	       else{
           win=window.open("stabile.html","stabile","width=501,height=397,resizable=no");
          }
}



function pop_cr(url){

    win=window.open(url,"cr","resizable=yes,height=450,width=650,scrollbars");
}


function pop_cgf_str(){

    win=window.open("cgf_str.html","cgfs","resizable=no,height=360,width=510,scrollbars");
}

function pop_cgf_val(){

    win=window.open("cgf_val.html","cgfv","resizable=no,height=240,width=420,scrollbars");
}
