var widths=530;          
var heights=200;          
var counts=16; 

img1=new Image ();
img1.src='attachment/200904/26/2_1240757439D63S.jpg';
url1=new Image ();
url1.src='space.php?uid=2&do=album&picid=44';

img2=new Image ();
img2.src='attachment/200904/25/2_1240650544HCfT.jpg';
url2=new Image ();
url2.src='space.php?uid=2&do=album&picid=2';

img3=new Image ();
img3.src='attachment/200904/25/2_1240650555U2FS.jpg';
url3=new Image ();
url3.src='space.php?uid=2&do=album&picid=4';

img4=new Image ();
img4.src='attachment/200904/26/2_12407574179mdb.jpg';
url4=new Image ();
url4.src='space.php?uid=2&do=album&picid=35';

img5=new Image ();
img5.src='attachment/200904/26/2_1240757412scO4.jpg';
url5=new Image ();
url5.src='space.php?uid=2&do=album&picid=34';

img6=new Image ();
img6.src='attachment/200904/26/2_1240757425d0Jd.jpg';
url6=new Image ();
url6.src='space.php?uid=2&do=album&picid=39';

img7=new Image ();
img7.src='attachment/200904/26/2_124075740800Ah.jpg';
url7=new Image ();
url7.src='space.php?uid=2&do=album&picid=32';

img8=new Image ();
img8.src='attachment/200904/26/2_1240757404j9jp.jpg';
url8=new Image ();
url8.src='space.php?uid=2&do=album&picid=30';

img9=new Image ();
img9.src='attachment/200904/26/2_12407574289G6i.jpg';
url9=new Image ();
url9.src='space.php?uid=2&do=album&picid=40';

img10=new Image ();
img10.src='attachment/200904/26/2_124075742024wa.jpg';
url10=new Image ();
url10.src='space.php?uid=2&do=album&picid=36';

img11=new Image ();
img11.src='attachment/200904/26/2_1240757442IIIZ.jpg';
url11=new Image ();
url11.src='space.php?uid=2&do=album&picid=46';

img12=new Image ();
img12.src='attachment/200907/8/2_1247028050FIh8.jpg';
url12=new Image ();
url12.src='space.php?uid=2&do=album&picid=205';

img13=new Image ();
img13.src='attachment/200904/26/2_12407574063ay7.jpg';
url13=new Image ();
url13.src='space.php?uid=2&do=album&picid=31';

img14=new Image ();
img14.src='attachment/200904/26/2_12407574107wdY.jpg';
url14=new Image ();
url14.src='space.php?uid=2&do=album&picid=33';

img15=new Image ();
img15.src='attachment/200904/26/2_1240757396Ijdr.jpg';
url15=new Image ();
url15.src='space.php?uid=2&do=album&picid=26';

img16=new Image ();
img16.src='attachment/200904/26/2_1240757392h6M6.jpg';
url16=new Image ();
url16.src='space.php?uid=2&do=album&picid=24';

var nn=1;
var key=0;
function change_img()
{if(key==0){key=1;}
else if(document.all)
{document.getElementById("pic").filters[0].Apply();document.getElementById("pic").filters[0].Play(duration=2);}
eval('document.getElementById("pic").src=img'+nn+'.src');
eval('document.getElementById("url").href=url'+nn+'.src');
for (var i=1;i<=counts;i++){document.getElementById("xxjdjj"+i).className='axx';}
document.getElementById("xxjdjj"+nn).className='bxx';
nn++;if(nn>counts){nn=1;}
tt=setTimeout('change_img()',5000);}
function changeimg(n){nn=n;window.clearInterval(tt);change_img();}
document.write('<style>');
document.write('.axx{padding:1px 7px;border-left:#cccccc 1px solid;}');
document.write('a.axx:link,a.axx:visited{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#000;}');
document.write('a.axx:active,a.axx:hover{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#5B5B5B;}');
document.write('.bxx{padding:1px 7px;border-left:#cccccc 1px solid;}');
document.write('a.bxx:link,a.bxx:visited{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#feb12b;}');
document.write('a.bxx:active,a.bxx:hover{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#feb12b;}');
document.write('</style>');
document.write('<div style="width:'+widths+'px;height:'+heights+'px;overflow:hidden;text-overflow:clip;">');
document.write('<div><a id="url" target="_blank"><img id="pic" style="border:0px;filter:progid:dximagetransform.microsoft.wipe(gradientsize=1.0,wipestyle=4, motion=forward)" width='+widths+' height='+heights+' /></a></div>');
document.write('<div style="filter:alpha(style=1,opacity=10,finishOpacity=80);background: #888888;width:100%-2px;text-align:right;top:-12px;position:relative;margin:1px;height:12px;padding:0px;margin:0px;border:0px;">');
for(var i=1;i<counts+1;i++){document.write('<a href="javascript:changeimg('+i+');" id="xxjdjj'+i+'" class="axx" target="_self">'+i+'</a>');}
document.write('</div></div>');
change_img();
