﻿// JavaScript Document
       function ShowTabs(ID) {
        for (i = 1; i < 5; i++) {
            if (i == ID) {
                document.getElementById("h2-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("zxbj" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("h2-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("zxbj" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	
	       function Newconten1(ID) {
        for (i = 1; i < 4; i++) {
            if (i == ID) {
                document.getElementById("rdzx-bk-h2-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("zqkszxbj" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("rdzx-bk-h2-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("zqkszxbj" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	//
	function shangpin(ID) {
        for (i = 1; i < 5; i++) {
            if (i == ID) {
                document.getElementById("h4-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("spbj" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("h4-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("spbj" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	
		function zqksshangpin(ID) {
        for (i = 1; i < 3; i++) {
            if (i == ID) {
                document.getElementById("h44h4-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("h44spbj" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("h44h4-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("h44spbj" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	
		 function daohangbiaoti(ID) {
        for (i = 1; i < 13; i++) {
            if (i == ID) {
                document.getElementById("dhfont-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("xialakuang" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("dhfont-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("xialakuang" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	//
	//
			   function peixunxiangmu(ID) {
        for (i = 1; i < 9; i++) {
            if (i == ID) {
                document.getElementById("pxxmfont-" + i).className = "on"; //被选中选项卡样式变化
                
            }
            else {
                document.getElementById("pxxmfont-" + i).className = "out";    //未被选中选项卡样式变化
                
            }
        }
    }
	//
	
			   function kaoshiluntan(ID) {
        for (i = 1; i < 5; i++) {
            if (i == ID) {
                document.getElementById("luntan-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("kslt" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("luntan-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("kslt" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	//

			   function jingyanjiaoliu(ID) {
        for (i = 1; i < 4; i++) {
            if (i == ID) {
                document.getElementById("jingyan-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("jiaoliu" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("jingyan-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("jiaoliu" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	//
	
				   function zhengquancongye(ID) {
        for (i = 1; i < 7; i++) {
            if (i == ID) {
                document.getElementById("ltjcbt-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("ltjcbox" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("ltjcbt-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("ltjcbox" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	//
	
		function kechengbaobiao(ID) {
        for (i = 1; i < 6; i++) {
            if (i == ID) {
                document.getElementById("biaoxuan-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("ckbd" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("biaoxuan-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("ckbd" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	//
	
			function jinpeishizi(ID) {
        for (i = 1; i < 7; i++) {
            if (i == ID) {
                document.getElementById("szlanmuimages-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("cwzlu" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("szlanmuimages-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("cwzlu" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	//
	
					   function fenxiao(ID) {
        for (i = 1; i < 8; i++) {
            if (i == ID) {
                document.getElementById("headf-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("fenxiaogequ" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("headf-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("fenxiaogequ" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	//

		function shchtuqiehun(ID) {
        for (i = 1; i < 6; i++) {
            if (i == ID) {
                document.getElementById("shchsplmfont-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("shchsplambk" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("shchsplmfont-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("shchsplambk" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	//
	
	
	
			function shchzsqh(ID) {
        for (i = 1; i < 9; i++) {
            if (i == ID) {
                document.getElementById("shchzsltlmfont-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("shchzsltlmbk" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("shchzsltlmfont-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("shchzsltlmbk" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	//
	
				function shchbthzqh(ID) {
        for (i = 1; i < 4; i++) {
            if (i == ID) {
                document.getElementById("shchbthzlmft-" + i).className = "on"; //被选中选项卡样式变化
                document.getElementById("shchzsltlmbk" + i).style.display = "";    //与选项卡关联的层的显示
            }
            else {
                document.getElementById("shchbthzlmft-" + i).className = "out";    //未被选中选项卡样式变化
                document.getElementById("shchzsltlmbk" + i).style.display = "none";          //与未选项卡关联的层的隐藏
            }
        }
    }
	//

	/* 改变图片大小 */
function resizepic(thispic)
{
if(thispic.width>550){thispic.height=thispic.height*550/thispic.width;thispic.width=550;} 
}

/* 无级缩放图片大小 */
function bbimg(o)
{
  return true;
}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
