<!-- 友情选项卡脚本 -->

function yqnTabs(thisObj,Num){
if(thisObj.className == "yqactive")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 = "yqactive"; 
      document.getElementById(tabObj+"_Content"+i).style.display = "block";
}else{
   tabList[i].className = "yqnormal"; 
   document.getElementById(tabObj+"_Content"+i).style.display = "none";
}
} 
}

<!--线路滑动门-->
function syxlnTabs(thisObj,Num){
if(thisObj.className == "syxlactive")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 = "syxlactive"; 
      document.getElementById(tabObj+"_Content"+i).style.display = "block";
}else{
   tabList[i].className = "syxlnormal"; 
   document.getElementById(tabObj+"_Content"+i).style.display = "none";
}
} 
}

<!--热门线路滑动门-->
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 doZoom(size)
{document.getElementById('zoom').style.fontSize=size+'px';}
