﻿ function showul(id)
    {
        //document.getElementById("hmenu14").style.background="url(/images/nav1402.gif) no-repeat";
        document.getElementById(id).style.display="block";
    }
    function showul1(id)
    {
        //document.getElementById("hmenu14").style.background="url(/images/nav1401.gif) no-repeat";
        document.getElementById(id).style.display="none";
    }
    function overli(id,id1)
    {
        document.getElementById(id).style.background="url(/images/dropbg2.gif) no-repeat";
        document.getElementById(id).style.color="#ff3000";
        document.getElementById(id1).style.color="#ff3000";
    }
    function outli(id,id1)
    {
        document.getElementById(id).style.background="url(/images/dropbg1.gif) no-repeat";
        document.getElementById(id).style.color="#343434";
        document.getElementById(id1).style.color="#343434";
    }
    function clickli(id,type)
    {
        var url=document.getElementById(id).href;
        window.open(url,type)
    }
function showfloat(id,id1)
{document.getElementById(id).style.background="url(/images/tleftmenubg.gif) 0px 1px no-repeat";document.getElementById(id).style.color="#ffffff";document.getElementById(id1).style.display="block";}
function showfloat1(id,id1)
{document.getElementById(id).style.background="url(/images/tleft_point.gif) 134px 3px no-repeat";document.getElementById(id).style.color="#990099";document.getElementById(id1).style.display="none";}
function change1(id,id1)
{document.getElementById(id).style.background="#f8e7f3";document.getElementById(id1).style.color="#333333";}
function gourl(id1)
{var url=document.getElementById(id1).href;window.open(url,"_blank");}

function changepage(id)
{
    if(id>0)
    {
 //   document.getElementById('hmenu'+id).className='hmenu'+id+'active';
        document.getElementById('hmenu'+id).style.background='url(/images/nav'+id+'03.gif)';
    }
}

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 $$(id)
{
    return document.getElementById(id);
}
