

//function menuFix() {
//    var sfEls = document.getElementById("nav").getElementsByTagName("li");
//    for (var i=0; i<sfEls.length; i++) {
//        sfEls[i].onmouseover=function() {
//        this.className+=(this.className.length>0? " ": "") + "sfhover";
//        }
////        sfEls[i].onMouseDown=function() {
////        this.className+=(this.className.length>0? " ": "") + "sfhover";
////        }
////        sfEls[i].onMouseUp=function() {
////        this.className+=(this.className.length>0? " ": "") + "sfhover";
////        }
//        sfEls[i].onmouseout=function() {
//        this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), 
//"");
//        }
//    }
//}
//window.onload=menuFix;


function nTabs(thisObj,Num){
if(thisObj.className == "active")return;
var tabObj = thisObj.parentNode.id;
var tabList = document.getElementById(tabObj).getElementsByTagName("li");
for(i=0; i <tabList.length; i++)
{
if (i == Num)
{
   thisObj.className = "active"; 
      document.getElementById(tabObj+"_Content"+i).style.display = "block";
}else{
   tabList[i].className = "normal"; 
   document.getElementById(tabObj+"_Content"+i).style.display = "none";
}
} 
}

function GetValidatImg()
    {
        //document.getElementById('img_validate').visible=true;
        document.getElementById('img_validate').className="view"
      
    }
function GetValidatImgHidden()
    {
        //document.getElementById('img_validate').visible=false;
        document.getElementById('img_validate').className="viewNone"
    }
    //查看联系方式 2010-4-27 by 杨明 
      function boxAlpha_abcd() 
        {                 
            var showBox_abc=document.getElementById("showBox_abc");         
            if(showBox_abc.style.display == "none") 
            {
               showBox_abc.style.display = "block";
               showBox_abc.style.height = document.documentElement.scrollHeight;
            }
            else
            {
                showBox_abc.style.display = "none";
            }    
       }


