var nn2=1;


var key2=0;


function change_img2()


{if(key2==0){key2=1;}


else if(document.all)


{document.getElementById("pic2").filters[0].Apply();document.getElementById("pic2").filters[0].Play(duration=2);}


eval('document.getElementById("pic2").src=img2'+nn2+'.src');


eval('document.getElementById("url2").href=url2'+nn2+'.src');


for (var i=1;i<=counts2;i++){document.getElementById("xxjdjj2"+i).className='axx';}


document.getElementById("xxjdjj2"+nn).className='bxx';


nn2++;if(nn2>counts2){nn2=1;}


tt2=setTimeout('change_img2()',8000);}


function changeimg2(n){nn2=n;window.clearInterval(tt2);change_img2();}

/*
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:#666;}');


document.write('a.axx:active,a.axx:hover{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#999;}');


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:#D34600;}');


document.write('a.bxx:active,a.bxx:hover{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#D34600;}');


document.write('</style>');*/


document.write('<div style="width:'+widths2+'px;height:'+heights2+'px;overflow:hidden;text-overflow:clip;">');


document.write('<div><a id="url2"><img id="pic2" style="border:0px;filter:progid:dximagetransform.microsoft.wipe(gradientsize=1.0,wipestyle=4, motion=forward)" width='+widths2+' height='+heights2+' /></a></div>');


document.write('<div style="display:none;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<counts2+1;i++){document.write('<a href="javascript:changeimg2('+i+');" id="xxjdjj2'+i+'" class="axx" target="_self">'+i+'</a>');}


document.write('</div></div>');


change_img2();


