window.onresize= ch_mar;
window.onload= ch_mar;

function ch_mar() {
	document.marqueeForm.marqueeText.style.width= document.body.clientWidth -230;
	}
function act_menu(e_id,e_img){	
eval("window.document.getElementById('"+e_id+"').src='img/"+e_img+".gif'");
}

function noact_menu(e_id,e_img){	
eval("window.document.getElementById('"+e_id+"').src='img/"+e_img+"0.gif'");
}
function arrow_press(menu){
		if(window.document.getElementById("menu"+menu).style.display=="block"){
		window.document.getElementById("menu"+menu+"_arrow").src="img/arrow_down.jpg";
		window.document.getElementById("menu"+menu+"_down_line").src="img/down_line.jpg";
		window.document.getElementById("menu"+menu).style.display="none";		
	}
	else{
		window.document.getElementById("menu"+menu+"_arrow").src="img/arrow_up.jpg";
		window.document.getElementById("menu"+menu+"_down_line").src="img/down_line.gif";
		window.document.getElementById("menu"+menu).style.display="block";		
	}
}

   function showBC(divname)
   {
      eval("obj = document.all."+divname);
      if(obj.style.visibility=="visible")
      	obj.style.visibility="hidden";
		
      if((document.body.clientWidth-350)/2<205) obj.style.left=0;
      else obj.style.left = (document.body.clientWidth-350)/2;
      obj.style.top = (document.body.clientHeight+80-250)/2-80+document.body.scrollTop;
      obj.filters.item(0).Apply();
      obj.filters.item(0).Play();
      obj.style.visibility="visible";
   }
   function hideBC(divname){
      eval("obj = document.all."+divname);
      if(obj.style.visibility=="visible")
      	obj.style.visibility="hidden";
   }