function overMenu(otherid,classname){document.getElementById(otherid).className=classname;};function jumpTo(id){top.parent.location.href=document.getElementById(id).href;};function _getPNG(vI,src,width,height,style,align){if((document.all)&&(navigator.userAgent.indexOf("MSIE")!=-1)){var we="<img src='"+vI+"' "+((align)?"align='"+align+"'":"")+"style=\""+"width:"+width+"px; height:"+height+"px;"+style+"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"+"(src=\'"+src+"\', sizingMethod='scale');\"/>";return we;}else return "<img src='"+src+"' "+((style!="")?"style='"+style+"'":"")+" "+((align)?"align='"+align+"'":"")+"/>";};var _menus=new Array();_menus["menuLeftCorner"]=new Image();_menus["menuLeftCorner"].src="../../img/cmn/menuLeftCorner.gif";_menus["menuLeftCornerON"]=new Image();_menus["menuLeftCornerON"].src="../../img/cmn/menuLeftCornerON.gif";_menus["menuRightCorner"]=new Image();_menus["menuRightCorner"].src="../../img/cmn/menuRightCorner.gif";_menus["menuRightCornerON"]=new Image();_menus["menuRightCornerON"].src="../../img/cmn/menuRightCornerON.gif";function showSubMenu(id,np){clearTimeout(_menuTimer);_clearMenus();document.getElementById(id).style.top=findPos(np)[1]+np.offsetHeight;document.getElementById(id).style.display="";if((id!="subTou")&&(id!="subAuto"))document.getElementById(id).style.left=findPos(np)[0]+np.offsetWidth-document.getElementById(id).offsetWidth+((id=="subNav")?2:0);else document.getElementById(id).style.left=findPos(np)[0]+(np.offsetWidth/2)-(document.getElementById(id).offsetWidth/2);_isOver=id;};var _menuTimer=null;function hideSubMenu(){clearTimeout(_menuTimer);_menuTimer=setTimeout("_clearMenus();",500);};function findPos(np){if(np.offsetParent){for(var or=0,os=0;np.offsetParent;np=np.offsetParent){or+=np.offsetLeft;os+=np.offsetTop;}return[or,os];}else{return[np.x,np.y];}};function _clearMenus(){if(document.getElementById("subTou"))document.getElementById("subTou").style.display="none";if(document.getElementById("subMyVM"))document.getElementById("subMyVM").style.display="none";if(document.getElementById("subAuto"))document.getElementById("subAuto").style.display="none";if(document.getElementById("subNav"))document.getElementById("subNav").style.display="none";};function _menu(np,vQ,imId,im){np.className=((np.className=="menuon")?"":"menuon");if(vQ)document.getElementById(vQ).className=((np.className=="menuon")?"menuon":"");if(imId)document.getElementById(imId).src=_menus[im+(((np.className=="menuon")?"ON":""))].src;}