function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() 
{ //v6.0
	var i,p,v,obj,args=MM_showHideLayers.arguments;
	for (i=0; i<(args.length-2); i+=3) 
		if ((obj=MM_findObj(args[i]))!=null) 
		{ 
			v=args[i+2];
    			if (obj.style) 
			{ 
				obj=obj.style; 
				v=(v=='show')?'visible':(v=='hide')?'hidden':v; 
			}
    		obj.visibility=v; 
		}
}

function P7_hideDiv(evt) 
{ //v1.3 by PVII
	var b,relT,mT=false; 
	if(document.layers)
	{
		b=evt.target;
		if(b.p7aHide)
		{
			b.visibility="hidden";
		}
		else
		{
			routeEvent(evt);
		}
 	}
	else if(document.all&&!window.opera)
	{
		b=event.srcElement;
  		while(b!=null)
		{
			if(b.tagName=="DIV" && b.p7ahD)
			{mT=true;break;}
			b=b.parentElement;
		}
  		if(!b.contains(event.toElement))
		{
			b.style.visibility="hidden";
		}
 	}
	else if(document.getElementById)
	{
		b=evt.currentTarget;
		relT=evt.relatedTarget;
  		while(relT!=null)
		{
			if(b==relT)
			{
				mT=true;break;
			}
  			relT=relT.parentNode;
		}
		if(!mT)
		{
			b.style.visibility="hidden";
		}
	}
}

function P7_autoHide() { //v1.3 by PVII
 var i,g,args=P7_autoHide.arguments;
 for(i=0;i<args.length;i++){if((g=MM_findObj(args[i]))!=null){
  g.p7aHide=true;if(document.layers){
  g.captureEvents(Event.MOUSEOUT);}g.onmouseout=P7_hideDiv;g.p7ahD=true;}}
}
function MM_onTopMouseOver(a)
{
	a.style.backgroundColor='#003366';
	a.style.color='#FFD600';
	a.style.textDecoration='underline';
	a.style.cursor='hand';
}

function MM_onTopMouseOut(a)
{
	a.style.backgroundColor='#FFD600';
	a.style.color='#003366';
	a.style.textDecoration='none';
	a.style.cursor='none';
}
//Main Menu Color
function MM_onMainSubMouseOver(a)
{
	a.style.backgroundColor='#003366';
	a.style.color='#FFD600';
	a.style.textDecoration='underline';
	a.style.cursor='hand';
}

function MM_onMainSubMouseOut(a)
{
	a.style.backgroundColor='#FFD600';
	a.style.color='#003276';
	a.style.textDecoration='none';
	a.style.cursor='none';
}
function MM_onMainThirdMouseOver(a)
{
	a.style.backgroundColor='#003366';
	a.style.color='#FFD600';
	a.style.textDecoration='underline';
	a.style.cursor='hand';
}

function MM_onMainThirdMouseOut(a)
{
	a.style.backgroundColor='#ffffff';
	a.style.color='#000000';
	a.style.textDecoration='none';
	a.style.cursor='none';
}

//Sub Menu Color
function MM_onEngSubMouseOver(a)
{
	a.style.backgroundColor='#2C667C';
	a.style.color='#FFFFFF';
	a.style.textDecoration='underline';
	a.style.cursor='hand';
}

function MM_onEngSubMouseOut(a)
{
	a.style.backgroundColor='#3A88A7';
	a.style.color='#FFFFFF';
	a.style.textDecoration='none';
	a.style.cursor='none';
}
function MM_onMarkSubMouseOver(a)
{
	a.style.backgroundColor='#970000';
	a.style.color='#FFFFFF';
	a.style.textDecoration='underline';
	a.style.cursor='hand';
}

function MM_onMarkSubMouseOut(a)
{
	a.style.backgroundColor='#CC0000';
	a.style.color='#FFFFFF';
	a.style.textDecoration='none';
	a.style.cursor='none';
}
//Third Menu
function MM_onEngThirdMouseOver(a)
{
	a.style.backgroundColor='#2C667C';
	a.style.color='#FFFFFF';
	a.style.textDecoration='underline';
	a.style.cursor='hand';
}

function MM_onEngThirdMouseOut(a)
{
	a.style.backgroundColor='#ffffff';
	a.style.color='#000000';
	a.style.textDecoration='none';
	a.style.cursor='none';
}
function MM_onMarkThirdMouseOver(a)
{
	a.style.backgroundColor='#970000';
	a.style.color='#FFFFFF';
	a.style.textDecoration='underline';
	a.style.cursor='hand';
}

function MM_onMarkThirdMouseOut(a)
{
	a.style.backgroundColor='#ffffff';
	a.style.color='#000000';
	a.style.textDecoration='none';
	a.style.cursor='none';
}

function goLink(url)
{
	location.href=url;
}