var mBoxFade;var mBoxStep=5;var mBoxShow=false;var mBoxIFR="";function mBoxExecFade()
{document.getElementById("menubx").style.filter="alpha(opacity = "+parseInt(mBoxFade)+")";document.getElementById("menubx").style.opacity=(mBoxFade/100);}
function fadeIn()
{mBoxFade=mBoxFade+(100/mBoxStep);if(mBoxFade<=100)
{mBoxExecFade();setTimeout("fadeIn()",800/mBoxStep);}
else
{mBoxFade=100;mBoxShow=true;mBoxExecFade();}}
function fadeOut()
{mBoxFade=mBoxFade-(100/mBoxStep);if(mBoxFade>=(100/mBoxStep))
{mBoxExecFade();setTimeout("fadeOut()",800/mBoxStep);}
else
{document.getElementById("menubx").className="oldmenuOff";document.getElementById("menubxXcl").className="clMenuOut";mBoxFade=(100/mBoxStep);mBoxShow=false;menuboxIframeClose();}}
function menuboxIframeOpen()
{if(mBoxIFR)
{document.getElementById("IFRmnu").src="on_load_page.htm";document.getElementById("IFRmnu").src=mBoxIFR;}}
function menuboxIframeClose()
{if(mBoxIFR)
{document.getElementById("IFRmnu").src="on_load_page.htm";}}
function menuboxOpen(step,IFR)
{mBoxStep=parseInt(step);if(IFR)
{mBoxIFR=IFR+".htm";}
else
{mBoxIFR="";}
if(mBoxShow==false)
{document.getElementById("imgOC").src="mBoxClose.gif";mBoxFade=0;document.getElementById("menubx").className="oldmenuOn"
document.getElementById("menubxXcl").className="clMenuOut";menuboxIframeOpen();fadeIn();}
else
{menuboxClose();}}
function menuboxClose()
{document.getElementById("imgOC").src="mBoxOpen.gif";fadeOut();}

