// JavaScript Document


function MM_preloadImages() { //v3.0  
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}


function menu_on(id, id_bkg){
	document.getElementById(id).style.display='block';
	Bkg=document.getElementById(id_bkg);
	if(id_bkg=='menu_pl_4'){ Bkg.style.background = "url(graph/shared/top/menu_pl/menu_4_on.gif) no-repeat"; }
	if(id_bkg=='menu_pl_5'){ Bkg.style.background = "url(graph/shared/top/menu_pl/menu_5_on.gif) no-repeat"; }
}

function menu_off(id, id_bkg){
	document.getElementById(id).style.display='none';
	Bkg=document.getElementById(id_bkg);
	if(id_bkg=='menu_pl_4'){ Bkg.style.background = "url(graph/shared/top/menu_pl/menu_4.gif) no-repeat"; }
	if(id_bkg=='menu_pl_5'){ Bkg.style.background = "url(graph/shared/top/menu_pl/menu_5.gif) no-repeat"; }
}


function OpacityOver(This){
	This.style.filter='alpha(opacity=80)';
	This.style.opacity='0.8';
}

function OpacityOut(This){
	This.style.filter='alpha(opacity=100)';
	This.style.opacity='1';
}


