﻿//标签JS
	function SetShow(obj,n,wd,ht,tp,ov,ot)
	{
		var pobj = obj.parentNode;
		var ppobj = pobj.parentNode.childNodes[1];	
		for(i=0;i<pobj.childNodes.length-1;i++)
		{
			pobj.childNodes[i].className=ot;
			ppobj.childNodes[i].className="unshow"; 
			
		} 		
		obj.className=ov;
		document.getElementById(n).className="show";
		if (wd != "0")
		    obj.style.width=wd;	
		obj.style.height=ht;		
		if (tp != "0")		
		    obj.style.paddingTop=tp;
         
	}
	
    function SetTypeShow(obj,n)
	{
    	if (n == "tp01")
		{
		    document.getElementById("tpmenu02").className="out1";	
		    document.getElementById("tp02").className="unshow";	
		    
		    obj.className="over1";
		    document.getElementById(n).className="show";
		}
		else //tp02
		{
		    document.getElementById("tpmenu01").className="out1";	
		    document.getElementById("tp01").className="unshow";	
		    
		    obj.className="over1";
		    document.getElementById(n).className="show";
		}
 
         
	}
		    function SetTypeShowm(obj,n)
	{
    	if (n == "tp01m")
		{
		    document.getElementById("tpmenu02").className="out1";	
		    document.getElementById("tp02m").className="unshow";	
		    
		    obj.className="over1";
		    document.getElementById(n).className="show";
		}
		else //tp02
		{
		    document.getElementById("tpmenu01").className="out1";	
		    document.getElementById("tp01m").className="unshow";	
		    
		    obj.className="over1";
		    document.getElementById(n).className="show";
		}
 
         
	}