///---顯示本機所在地時間---///
function showlocaltime(){
    var now = new Date();var yy = now.getFullYear(); var jdjd=(now/86400000-10957.5)+2451545;
    var mm1=eval(now.getMonth()+1);var dd1=now.getDate();
    var hours = now.getHours();var minutes = now.getMinutes();
    var seconds = now.getSeconds();
    var timezone= now.getTimezoneOffset()/60;
    if (timezone == 0){ var time = "系統時間：格林威治";}
    else { var time = ((timezone < 0)? "系統時間：東"+(-1)*timezone : "系統時間：西"+timezone) +'區';} time  += '●'+yy+'年'+mm1+'月'+dd1+'日'+hours;
    time  += ((minutes < 10) ? ":0" : ":") + minutes;
    time  += ((seconds < 10) ? ":0" : ":") + seconds+"";
    var shou =floor((hours+1)/2);var sshou =(shou==12)?0:shou;
    time+='('+Zhi[sshou]+'時)';
    var h1=abs(ha);var sccolor=new Array("#FF0000","#008000");
        var scolor=sccolor[seconds%2];
    	var shica =floor((h1+1)/2); var shic =(shica==12)?0:shica;
    	var z1=(shic==1)?scolor:"#c0c0c0"; var z2=(shic==2)?scolor:"#c0c0c0";
	var z3=(shic==3)?scolor:"#c0c0c0"; var z4=(shic==4)?scolor:"#c0c0c0";
	var z5=(shic==5)?scolor:"#c0c0c0"; var z6=(shic==6)?scolor:"#c0c0c0";
	var z7=(shic==7)?scolor:"#c0c0c0"; var z8=(shic==8)?scolor:"#c0c0c0";
	var z9=(shic==9)?scolor:"#c0c0c0"; var z10=(shic==10)?scolor:"#c0c0c0";
	var z11=(shic==11)?scolor:"#c0c0c0"; var z12=(shic==0)?scolor:"#c0c0c0";
        tim88.innerHTML='<table border="0" cellpadding="0" cellspacing="0" width="100%">'+'<tr><td width=41 bgcolor=#D1D1BA></td><td height=2 width=30 bgcolor='+z12+'></td>'+'<td width=30 bgcolor='+z1+'></td><td width=30 bgcolor='+z2+'></td><td width=30 bgcolor='+z3+'></td>'+'<td width=30 bgcolor='+z4+'></td><td width=30 bgcolor='+z5+'></td>'+'<td width=30 bgcolor='+z6+'></td><td width=30 bgcolor='+z7+'></td>'+'<td width=30 bgcolor='+z8+'></td><td width=30 bgcolor='+z9+'></td>'+'<td width=30 bgcolor='+z10+'></td><td width=30 bgcolor='+z11+'></td>'+'<td width=4></td></tr></td></tr></table>';
     face2a.innerHTML= zdysi3(jdjd,(Cp9_J.value/15),Cp9_W.value,1,(erJD(yy,mm1,dd1)-2451545));
     face2.innerHTML= time;
    window.setTimeout("showlocaltime()", 1000);
}

