function chatWin() { woiwo=window.open('chat/jhchat.asp','woiwo','Status=yes,scrollbars=yes,resizable=yes'); woiwo.moveTo(0,0) woiwo.resizeTo(screen.availWidth,screen.availHeight) woiwo.outerWidth=screen.availWidth woiwo.outerHeight=screen.availHeight } var srctecalerttext="冷雨夜江湖剑侠外传2.2"; function lyyclock() { document.write("
" +"
"); onError = null; clock(); } var time_start = new Date(); function clock() { today = new Date(); hrNow = today.getHours(); mnNow = today.getMinutes(); scNow = today.getSeconds(); miNow = today.getTime(); hour = hrNow; if (mnNow <= 9) { min = "0" + mnNow; } else {min = mnNow} if (scNow <= 9) { secs = "0" + scNow; } else { secs = scNow; } time = hour + ":" + min + ":" + secs ; document.srctectimebuttonform.button.value = time; self.status = time; setTimeout('clock()', 1000); } function get_time_spent () { var time_now = new Date(); var clock_start = time_start.getTime(); return((time_now.getTime() - clock_start)/1000); } function timeInfo() { i_total_secs = Math.round(get_time_spent()); i_secs_spent = i_total_secs % 60; i_mins_spent = Math.round((i_total_secs-30)/60); s_secs_spent = "" + ((i_secs_spent>9) ? i_secs_spent : "0" + i_secs_spent); s_mins_spent = "" + ((i_mins_spent>9) ? i_mins_spent : "0" + i_mins_spent); alert(srctecalerttext+"\r\n"+"补丁包版本号:b020114"); }