//setInterval("webjx.innerHTML=new Date().toLocaleString()+' ??'+'???????'.charAt(new Date().getDay());",1000);



var ctime=decodeURIComponent("2010%E5%B9%B43%E6%9C%8812%E6%97%A5+22%3A47+%E6%98%9F%E6%9C%9F%E4%BA%94").replace("+"," ").replace("+"," ");

function showTime() {
       try{
             fetchTime();
	}catch(e){
	   ctime=new Date().toLocaleString();
	}
	var e = document.getElementById("webjx");
    	e.innerHTML = ctime;
	timerID = setTimeout("showTime()",60000);
}



function fetchTime(){
	var xmlhttp=null; 
	if(window.ActiveXObject){
		var ieArr=["Msxml2.XMLHTTP.8.0","Msxml2.XMLHTTP.7.0","Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP","Microsoft.XMLHTTP"];                
		for(var i=0;i<ieArr.length;i++){
                    try{
                        xmlhttp= new ActiveXObject(ieArr[i]);
		    }catch(e){}
                }
          }else if(window.XMLHttpRequest){
               xmlhttp= new XMLHttpRequest();
	}
	xmlhttp.open("GET","/js/showtime.jsp",true);
	xmlhttp.onreadystatechange= function(){
		if(xmlhttp.readyState == 4){
		  ctime =xmlhttp.responseText;
		 }
	};
	xmlhttp.send(null);
}

function fetchDaojishi(){
	var xmlhttp=null; 
	if(window.ActiveXObject){
		var ieArr=["Msxml2.XMLHTTP.8.0","Msxml2.XMLHTTP.7.0","Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP","Microsoft.XMLHTTP"];                
		for(var i=0;i<ieArr.length;i++){
                    try{
                        xmlhttp= new ActiveXObject(ieArr[i]);
		    }catch(e){}
                }
          }else if(window.XMLHttpRequest){
               xmlhttp= new XMLHttpRequest();
	}
	xmlhttp.open( "GET" , "/js/shibo.jsp" , true );
	xmlhttp.onreadystatechange= function(){
		if(xmlhttp.readyState == 4){
		     document.getElementById( "webdjs" ).innerHTML = xmlhttp.responseText;
		 }
	};
	xmlhttp.send( null );
}