// JavaScript Document
function isCNID(CNID)
{
	var i=CheckCNID(CNID);
	if(i=="1" || i=="0") return;
	if(i=="-1") alert("身份证号码的格式不对");
	if(i=="-2") alert("身份证号码的地区码不对");
	if(i=="-3") alert("身份证号码的生日格式不对");
	if(i=="-4") alert("身份证号码的验证码不对");
	return;
}
function CheckCNID15(CNID)
{
	/* 检查身份证号是否有效.
	 返回值:
	 1:男     0:女
	 -1:格式不对
	 -2:地区码不对
	 -3:生日的格式不对
	 -4:验证码不对.
	*/
		var x="null,null,null,null,null,null,null,null,null,null,null,北京,天津,河北,山西,内蒙古,null,null,null,null,null,辽宁,吉林,黑龙江,null,null,null,null,null,null,null,上海,江苏,浙江,安微,福建,江西,山东,null,null,null,河南,湖北,湖南,广东,广西,海南,null,null,null,重庆,四川,贵州,云南,西藏,null,null,null,null,null,null,陕西,甘肃,青海,宁夏,新疆,null,null,null,null,null,台湾,null,null,null,null,null,null,null,null,null,香港,澳门,null,null,null,null,null,null,null,null,外";
		var y=x.split(',');
		//y是一个数组.
		var re =/^\d{15}$/i
		var z=(CNID.match(re));
		if(z==null)return "-1";
		if(typeof(y[CNID.substr(0,2)])=="undefined")return("-2");//越界
		if(y[CNID.substr(0,2)]=="null")return("-2");//落入陷阱

		var dd=(CNID.substr(8,2)+"/"+CNID.substr(10,2)+"/19"+CNID.substr(6,2));
		var dc=new Date(Date.parse(dd));
		if(dc.getFullYear()!="19"+CNID.substr(6,2))return ("-3");
		if(dc.getMonth()+1!=CNID.substr(8,2))return ("-3");
		if(dc.getDate()!=CNID.substr(10,2))return ("-3");
		return(CNID.substr(16,1) % 2 == 1 ? "1":"0")
}
function CheckCNID(CNID)
{
	/* 检查身份证号是否有效.
	 返回值:
	 1:男     0:女
	 -1:格式不对
	 -2:地区码不对
	 -3:生日的格式不对
	 -4:验证码不对.
	*/
		CNID=CNID.toLowerCase();
		if(CNID.length==15)return(CheckCNID15(CNID));
		var x="null,null,null,null,null,null,null,null,null,null,null,北京,天津,河北,山西,内蒙古,null,null,null,null,null,辽宁,吉林,黑龙江,null,null,null,null,null,null,null,上海,江苏,浙江,安微,福建,江西,山东,null,null,null,河南,湖北,湖南,广东,广西,海南,null,null,null,重庆,四川,贵州,云南,西藏,null,null,null,null,null,null,陕西,甘肃,青海,宁夏,新疆,null,null,null,null,null,台湾,null,null,null,null,null,null,null,null,null,香港,澳门,null,null,null,null,null,null,null,null,外";
		var y=x.split(',');
		//y是一个数组.
		var re =/^\d{17}(\d|x)$/i
		var z=(CNID.match(re));
		if(z==null)return "-1";
		if(typeof(y[CNID.substr(0,2)])=="undefined")return("-2");//越界
		if(y[CNID.substr(0,2)]=="null")return("-2");//落入陷阱

		var dd=(CNID.substr(10,2)+"/"+CNID.substr(12,2)+"/"+CNID.substr(6,4));
		var dc=new Date(Date.parse(dd));
		if(dc.getFullYear()!=CNID.substr(6,4))return ("-3");
		if(dc.getMonth()+1!=CNID.substr(10,2))return ("-3");
		if(dc.getDate()!=CNID.substr(12,2))return ("-3");
		var iSum=0;
		for(var i=17;i>=1;i--)
		{
			iSum +=((Math.pow(2,i) % 11) * CNID.substr(17-i,1));
			
		}
		
		iSum +=(Math.pow(2,0) % 11) * CNID.substr(17).replace("x","10")
		if(iSum%11!=1)return("-4");//验证码不对.
		return(CNID.substr(16,1) % 2 == 1 ? "1":"0")
}
function upfile()
{
    //通用文件上传，返回上传后的文件名。默认的位置是/userimages/
   
   	var x=(window.showModalDialog("../controls/upfile.htm","","dialogWidth: 444 px;dialogHeight: 222 px;status:no;"));
	if (x==undefined)
	return("");
	return(x);
}
function upreport(vPath)
{
    //通用文件上传，返回上传后的文件名。默认的位置是/UserReport/

   	var x=(window.showModalDialog(vPath+"/controls/upReport.htm","","dialogWidth: 444 px;dialogHeight: 222 px;status:no;"));
	if (x==undefined)
	return("");
	return(x);
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

var whitespace = " \t\n\r";
var defaultEmptyOK = true;

function isEmpty(s)
{
   return ((s == null) || (s.length == 0) )
}
function isWhitespace (s)
{   var i;

    if (isEmpty(s)) return true;

    for (i = 0; i < s.length; i++)
    {
        var c = s.charAt(i);

        if (whitespace.indexOf(c) == -1) return false;
    }

    return true;
}

function isDigit (c)
{   return ((c >= "0") && (c <= "9"))
}

function isFloat(s)
{ 	  
    if(isWhitespace(s)) return false;
    if(isNaN(s)) return false;
    return true;
}

function isInteger (s)
{   var i;

    if (isEmpty(s))
       if (isInteger.arguments.length == 1) return defaultEmptyOK;
       else return (isInteger.arguments[1] == true);


    for (i = 0; i < s.length; i++)
    {
        var c = s.charAt(i);

        if (!isDigit(c)) return false;
    }

    return true;
}
//covert the input value a, remain b after dot 
function FormatDouble(a,b)
{
	if(!isInteger(b))
	{
		alert("You input is wrong,It should been Integer!");
	}
	return (a*1.0).toFixed(b*1);
	/*
	var c = ".";
	a = ""+a;
	if(!isInteger(b))
	{
		alert("You input is wrong!");
	}
	if(a.indexOf(c)>0)
	{
		if(a.length>a.indexOf(c)+b*1)
		{
			if(a.substr(a.indexOf(c)+1,2)=="99")
			{
				return Math.round(a);
			}
			return a.substring(0,a.indexOf(c)+1+b);
		}
	}
	return a;
	*/
}

//delete all the page's input's dot
		function ReplaceAll(Form1)
		{
			var e;
			for (var i=0;i<Form1.elements.length;i++)
			{
				var e = Form1.elements[i];
				e.value = e.value.replace(/,/g,'');
			}
		}
		
function fnNextFocus ( nextControl, event )
{

	btn = document.getElementById(nextControl);

	if (btn)
	{
		if (event.keyCode == 13 && !(event.srcElement && (event.srcElement.tagName.toLowerCase() == "textarea")))
		{
			event.returnValue=false;
			event.cancel = true;
			btn.focus();
		}
	}
}
		
function get_number(text)
{
	var reV = 0;
	if (text != null || text != "" )
	{
		text = text.replace(/,/g,'');
		reV = text;
		if (isFloat(reV))
		{
			return reV*1;
		}
		else
		{
			return 0;
		}
	}
	else
	{
		return 0;
	}
}

function ChangeColor(oNumber,oLineNum)
{
	var oTR = oNumber.parentNode.parentNode;
	if (oTR.onclick!=null) return;
	var oNum = oLineNum*1;
	var onePageLine = oNum%15;
	if(oTR.className=="SelectLine"){
		if(onePageLine==0)
			oTR.className = "LineColorOne";
		else if(onePageLine%2==1)
			oTR.className = "LineColorOne";
		else
			oTR.className = "LineColorTwo";
	}
	else
		oTR.className = "SelectLine";
}

function ReplaceSpeChar(sourceString,searchChar,repaceChar)
{//repaceChar替换searchChar
	var remain=sourceString;
	while(remain.indexOf(searchChar)>-1)
	{
	remain=remain.replace(searchChar,repaceChar);
	}
	return remain;
}
/* GridSortControl's JS function */
/* objName 排序控件的Id名 */
/* addrName ModeDiag的路径 */
function STWB_OpenSelectWindow(objName,addrName)
{
	var conditionObj = document.getElementById(objName);
	var retValue;
	var sndParm = conditionObj.value;					
	retValue = showModalDialog(addrName,sndParm,'status:off;resizable:no;edge:raised;center:yes;help:off;dialogWidth:480px;dialogHeight:360px;scroll:no');
	if (typeof retValue != 'undefined')
	{
		conditionObj.value = retValue;
		conditionObj.fireEvent("onchange");
	}					
}

function Trim(STRING){
	STRING = LTrim(STRING);
	return RTrim(STRING);
}

function RTrim(STRING){
	while(STRING.charAt((STRING.length -1))==" "){
		STRING = STRING.substring(0,STRING.length-1);
	}
	return STRING;
}
function LTrim(STRING){
	while(STRING.charAt(0)==" "){
		STRING = STRING.replace(STRING.charAt(0),"");
	}
	return STRING;
}

//母窗体是否存在
function validateParentWindow()
{
	if(window.opener==null || window.opener==undefined || window.opener.closed)
			{
				alert("父窗口已关闭或不存在,无法继续操作！");
				return false;
			}
	return true;
}

//科学研究 
function secBoard(iSwitch)
{
    if (iSwitch == 1) {
        document.getElementById("L1").className = "ResearchTabActive";
        document.getElementById("L2").className = "ResearchTabNormal";
        document.getElementById("L3").className = "ResearchTabNormal";
        document.getElementById("L4").className = "ResearchTabNormal";
        document.getElementById("L5").className = "ResearchTabNormal";
        document.getElementById("div1").style.display = "block";
        document.getElementById("div2").style.display = "none";
        document.getElementById("div3").style.display = "none";
        document.getElementById("div4").style.display = "none";
        document.getElementById("div5").style.display = "none";
    }
    else if (iSwitch == 2) {
        document.getElementById("L1").className = "ResearchTabNormal";
        document.getElementById("L2").className = "ResearchTabActive";
        document.getElementById("L3").className = "ResearchTabNormal";
        document.getElementById("L4").className = "ResearchTabNormal";
        document.getElementById("L5").className = "ResearchTabNormal";
        document.getElementById("div1").style.display = "none";
        document.getElementById("div2").style.display = "block";
        document.getElementById("div3").style.display = "none";
        document.getElementById("div4").style.display = "none";
        document.getElementById("div5").style.display = "none";
    }
    else if (iSwitch == 3) {
        document.getElementById("L1").className = "ResearchTabNormal";
        document.getElementById("L2").className = "ResearchTabNormal";
        document.getElementById("L3").className = "ResearchTabActive";
        document.getElementById("L4").className = "ResearchTabNormal";
        document.getElementById("L5").className = "ResearchTabNormal";
        document.getElementById("div1").style.display = "none";
        document.getElementById("div2").style.display = "none";
        document.getElementById("div3").style.display = "block";
        document.getElementById("div4").style.display = "none";
        document.getElementById("div5").style.display = "none";
    }
    else if (iSwitch == 4){
        document.getElementById("L1").className = "ResearchTabNormal";
        document.getElementById("L2").className = "ResearchTabNormal";
        document.getElementById("L3").className = "ResearchTabNormal";
        document.getElementById("L4").className = "ResearchTabActive";
        document.getElementById("L5").className = "ResearchTabNormal";
        document.getElementById("div1").style.display = "none";
        document.getElementById("div2").style.display = "none";
        document.getElementById("div3").style.display = "none";
        document.getElementById("div4").style.display = "block";
        document.getElementById("div5").style.display = "none";
    }
    else {
        document.getElementById("L1").className = "ResearchTabNormal";
        document.getElementById("L2").className = "ResearchTabNormal";
        document.getElementById("L3").className = "ResearchTabNormal";
        document.getElementById("L4").className = "ResearchTabNormal";
        document.getElementById("L5").className = "ResearchTabActive";
        document.getElementById("div1").style.display = "none";
        document.getElementById("div2").style.display = "none";
        document.getElementById("div3").style.display = "none";
        document.getElementById("div4").style.display = "none";
        document.getElementById("div5").style.display = "block";
    }
}

//首页导航
    function SecondWsecBoard(iSwitch) {
        if (iSwitch == 1) {
            document.getElementById("SecondNavigation11").className = "NavigationTabNormalHead";
            document.getElementById("SecondNavigation1").className = "NavigationTabActive";
            document.getElementById("SecondNavigation2").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation3").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation4").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation5").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation6").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation7").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation8").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation9").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation10").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation1DIV").style.display = "block";
            document.getElementById("SecondNavigation10DIV").style.display = "none";
        }
        else if (iSwitch == 2) {
            document.getElementById("SecondNavigation11").className = "NavigationTabNormalHead";
            document.getElementById("SecondNavigation1").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation2").className = "NavigationTabActive";
            document.getElementById("SecondNavigation3").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation4").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation5").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation6").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation7").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation8").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation9").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation10").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation1DIV").style.display = "none";
            document.getElementById("SecondNavigation10DIV").style.display = "none";
        }
        else if (iSwitch == 3) {
            document.getElementById("SecondNavigation11").className = "NavigationTabNormalHead";
            document.getElementById("SecondNavigation1").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation2").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation3").className = "NavigationTabActive";
            document.getElementById("SecondNavigation4").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation5").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation6").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation7").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation8").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation9").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation10").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation1DIV").style.display = "none";
            document.getElementById("SecondNavigation10DIV").style.display = "none";
        }
        else if (iSwitch == 4) {
            document.getElementById("SecondNavigation11").className = "NavigationTabNormalHead";
            document.getElementById("SecondNavigation1").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation2").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation3").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation4").className = "NavigationTabActive";
            document.getElementById("SecondNavigation5").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation6").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation7").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation8").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation9").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation10").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation1DIV").style.display = "none";
            document.getElementById("SecondNavigation10DIV").style.display = "none";
        }
        else if (iSwitch == 5) {
            document.getElementById("SecondNavigation11").className = "NavigationTabNormalHead";
            document.getElementById("SecondNavigation1").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation2").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation3").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation4").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation5").className = "NavigationTabActive";
            document.getElementById("SecondNavigation6").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation7").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation8").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation9").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation10").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation1DIV").style.display = "none";
            document.getElementById("SecondNavigation10DIV").style.display = "none";
        }
        else if (iSwitch == 6) {
            document.getElementById("SecondNavigation11").className = "NavigationTabNormalHead";
            document.getElementById("SecondNavigation1").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation2").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation3").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation4").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation5").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation6").className = "NavigationTabActive";
            document.getElementById("SecondNavigation7").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation8").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation9").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation10").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation1DIV").style.display = "none";
            document.getElementById("SecondNavigation10DIV").style.display = "none";
        }
        else if (iSwitch == 7) {
            document.getElementById("SecondNavigation11").className = "NavigationTabNormalHead";
            document.getElementById("SecondNavigation1").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation2").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation3").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation4").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation5").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation6").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation7").className = "NavigationTabActive";
            document.getElementById("SecondNavigation8").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation9").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation10").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation1DIV").style.display = "none";
            document.getElementById("SecondNavigation10DIV").style.display = "none";
        }
        else if (iSwitch == 8) {
            document.getElementById("SecondNavigation11").className = "NavigationTabNormalHead";
            document.getElementById("SecondNavigation1").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation2").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation3").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation4").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation5").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation6").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation7").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation8").className = "NavigationTabActive";
            document.getElementById("SecondNavigation9").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation10").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation1DIV").style.display = "none";
            document.getElementById("SecondNavigation10DIV").style.display = "none";
        }
        else if (iSwitch == 9) {
            document.getElementById("SecondNavigation11").className = "NavigationTabNormalHead";
            document.getElementById("SecondNavigation1").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation2").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation3").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation4").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation5").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation6").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation7").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation8").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation9").className = "NavigationTabActive";
            document.getElementById("SecondNavigation10").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation1DIV").style.display = "none";
            document.getElementById("SecondNavigation10DIV").style.display = "none";
        }
        else if (iSwitch == 10) {
            document.getElementById("SecondNavigation11").className = "NavigationTabNormalHead";
            document.getElementById("SecondNavigation1").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation2").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation3").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation4").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation5").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation6").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation7").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation8").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation9").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation10").className = "NavigationTabActive";
            document.getElementById("SecondNavigation1DIV").style.display = "none";
            document.getElementById("SecondNavigation10DIV").style.display = "block";
        }
        else {
            document.getElementById("SecondNavigation11").className = "NavigationTabNormalHead";
            document.getElementById("SecondNavigation1").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation2").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation3").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation4").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation5").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation6").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation7").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation8").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation9").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation10").className = "NavigationTabNormal";
            document.getElementById("SecondNavigation1DIV").style.display = "none";
            document.getElementById("SecondNavigation10DIV").style.display = "none";
        }
    }
    function SecondWsecBoardout() {
        document.getElementById("SecondNavigation11").className = "NavigationTabNormalHead";
        document.getElementById("SecondNavigation1").className = "NavigationTabNormal";
        document.getElementById("SecondNavigation2").className = "NavigationTabNormal";
        document.getElementById("SecondNavigation3").className = "NavigationTabNormal";
        document.getElementById("SecondNavigation4").className = "NavigationTabNormal";
        document.getElementById("SecondNavigation5").className = "NavigationTabNormal";
        document.getElementById("SecondNavigation6").className = "NavigationTabNormal";
        document.getElementById("SecondNavigation7").className = "NavigationTabNormal";
        document.getElementById("SecondNavigation8").className = "NavigationTabNormal";
        document.getElementById("SecondNavigation9").className = "NavigationTabNormal";
        document.getElementById("SecondNavigation10").className = "NavigationTabNormal";
        document.getElementById("SecondNavigation1DIV").style.display = "none";
        document.getElementById("SecondNavigation10DIV").style.display = "none";
    }
    
    
