<!--
//---------------------------------------------------------------
//sunhoe    sunhoe    sunhoe    sunhoe    sunhoe    
//        sunhoe       sunhoe      sunhoe    
//
//Power By sunhoe Email:sunhoe@163.com
//webSite http://kyc.jmu.edu.cn/
//
//        sunhoe       sunhoe       sunhoe    
//   sunhoe    sunhoe    sunhoe    sunhoe   
//--------------------------------------------------------------- 
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

//---显示时间开始
function initArray()
{
	for(i=0;i<initArray.arguments.length;i++)
	this[i]=initArray.arguments[i];
}

function getFullYear(d)
{//d is a date object
	yr=d.getYear();
	if(yr<1000)
	yr+=1900;
	return yr;
}//don't delete this line


//---显示时间结束

function showPg(tabId,pId){
   var o=document.getElementById(tabId);
   //alert(o.childNodes.length);
   for(i=1;i<=o.childNodes.length;i++){
        o.childNodes[i-1].style.display=(i==pId)?"":"none";    
      document.getElementById(tabId+i).outerHTML=(i==pId)?"<b id=\""+tabId+i+"\">["+pId+"]</b>":"<a id=\""+tabId+i+"\" onMouseOver=\"this.style.cursor='hand';this.style.color='#FF3300';\" style=\"color:#0070BC;\" onMouseOut=\"this.style.color='#0070BC';\" onClick=\"javascript:showPg('"+tabId+"',"+i+")\">["+i+"]</a>";
      
       //alert(document.getElementById(tabId+i).outerHTML);
     
   }
   //alert(tabId+pId);
   
}

function srchPg(tabId,pId,currO){
   var o=document.getElementById(tabId);
   document.getElementById('siteKyc').className=document.getElementById('siteBd').className=document.getElementById('siteGl').className="srchClikOff";
   currO.className="srchClikOn";
   //alert(o.childNodes.length);
   for(i=1;i<=o.childNodes.length;i++){
        o.childNodes[i-1].style.display=(i==pId)?"":"none";         
   }
   //alert(tabId+pId);
   
}
function setKycHome()
{
   obj.style.behavior='url(#default#homepage)';
   obj.setHomePage(url);
   return false;
}
//Begin on title---------------------------------------------------------



//End on title---------------------------------------------------------

startList = function() {
   if (document.getElementById("navLink")) {
       navRoot = document.getElementById("navLink");
       for (i=0; i<navRoot.childNodes.length; i++) {
           node = navRoot.childNodes[i];

           if (node.nodeName=="LI") {
                node.onmouseover=function() {
                this.className+="over";
                //document.write (this.className);
                }
                node.onmouseout=function() {
                this.className=this.className.replace("over", "");
                }
           }
      }
  }
}
window.onload=startList;
function setFontSize(size){
        document.getElementById('content').style.fontSize=size+'px';
}

//-->