<script language=javascript>
function XTopMap(w, h, strTopMap){
var m_TopImgs = new Array();
var m_w = w;
var m_h = h;
var addW = 2;
var m_nowPic = 0;
var m_hTimer;
var m_strTopMap = strTopMap;
this.TopImgItem = function (imgUrl, strUrl, strText){
this.img = new Image();
this.img.src = imgUrl;
this.strUrl = strUrl;
this.strText = strText;
}
this.AddImgItem = function (strUrl, imgUrl, strText){
m_TopImgs[m_TopImgs.length] = new this.TopImgItem(imgUrl, strUrl, strText);
}
this.Length = function(){
return m_TopImgs.length;
}
this.GetTopImgItem = function(l){
return m_TopImgs[l];
}
this.change_img = function(){
if(!m_nowPic){
m_nowPic = 1;
}else if(document.all){
document.getElementById(m_strTopMap + "_pic").filters[0].Apply();
document.getElementById(m_strTopMap + "_pic").filters[0].Play(duration=0);
document.getElementById(m_strTopMap + "_pic").filters[0].Transition=23;
}
document.getElementById(m_strTopMap + "_pic").src = m_TopImgs[m_nowPic-1].img.src;
document.getElementById(m_strTopMap + "_url").href = m_TopImgs[m_nowPic-1].strUrl;
document.getElementById(m_strTopMap + "_title")
.value = m_TopImgs[m_nowPic-1].strText.replace("'","'");
for (var i=1;i<=m_TopImgs.length;i++){
document.getElementById(m_strTopMap + "_xxjdjj"+i).className='axx';
}
document.getElementById(m_strTopMap + "_xxjdjj"+m_nowPic).className='bxx';
m_nowPic++;
if( m_nowPic > m_TopImgs.length ){m_nowPic = 1;}
hTimer = setTimeout('eval("'+m_strTopMap+'.change_img()")', 7000);
}
this.imgClick = function(n){
m_nowPic = n;
window.clearInterval(hTimer);
this.change_img();
}
this.show = function(){
document.write('
');
document.write('
');
document.write('
');
for(var i=1;i
document.write(''+i+'');
}
document.write('');
document.write('
');
}
}
TopMap1 = new XTopMap(240, 180, "TopMap1");
var TopMap = TopMap1;
TopMap.AddImgItem('/b286997/d95384535.htm', 'http://pics.xici.net/d95384535/320x240.jpg', '七月。');
TopMap.AddImgItem('/b610057/d97656611.htm', 'http://pics.xici.net/d97656611/320x240.jpg', '秋雨中好想去户外,秀一下刚才在将军山拍..');
TopMap.AddImgItem('/b1114980/d97673212.htm', 'http://pics.xici.net/d97673212/320x240.jpg', '那个冬天有点冷');
TopMap.AddImgItem('/b1104516/d97635854.htm', 'http://pics.xici.net/d97635854/320x240.jpg', '朱言荣老师的雨花石----《玫瑰绽放》(未..');
TopMap.AddImgItem('/b1070125/d97676345.htm', 'http://pics.xici.net/d97676345/320x240.jpg', '天好冷,冷得有些寂寥');
TopMap.AddImgItem('/b1144509/d97664953.htm', 'http://pics.xici.net/d97664953/320x240.jpg', '就在这样舒服的下午');
TopMap.show();
TopMap.change_img();
try {
var s = document.createElement('script');
s.type = "text/javascript";
s.src = "http://webapp.xici.net/Statistic/StatCollect.asp?c=xici_stat_6_85&" + (new Date()).getTime();
document.getElementsByTagName("HEAD").item(0).appendChild(s);
}catch(e){}
script>