﻿setInterval("document.getElementById('jrsj').innerHTML=new Date().toLocaleString() + ' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000);
function T(n){document.getElementById("art_content").style.fontSize=n+"px";}
function AddFav(){window.external.addFavorite(this.location.href,this.document.title);}
function get_hits(aid){var url = '/Common/getHits.asp';var pars = 'Art_ID='+aid+'&s='+Math.random();var myAjax = new Ajax.Request(url,{method: 'get', parameters: pars, onComplete: showResponse});}
function showResponse(originalRequest){if (originalRequest.status == 200){$('hits').innerHTML = originalRequest.responseText;}}

function Art_Attribute(){var url = '/Common/Art_Attribute.asp';var pars = 's='+Math.random();var artAjax = new Ajax.Request(url,{method: 'get', parameters: pars, onComplete: showArt});}
function showArt(originalRequest){if (originalRequest.status == 200){var art_html = originalRequest.responseText.split("||");$('art_top').innerHTML = art_html[0];$('art_commend').innerHTML = art_html[1];$('art_pic').innerHTML = art_html[2];}}

function weather(){
setTimeout('document.getElementById("weather").innerHTML="<iframe name=weather src=weather/mini.asp width=250 height=70 marginwidth=0 marginheight=0 frameborder=0 scrolling=no allowTransparency=true></iframe>"',1000);
}