//天极伊永恒原创 
//upgrade by ch , 增加随即滤镜

var nncen1=1;
var aFcen1=0;
var aFcen1 = new Array();
aFcen1[0] = "progid:DXImageTransform.Microsoft.Fade(duration=1)";


function change_img1()
{
fn = parseInt(Math.random()*aFcen1.length);
document.getElementById("pica").style.filter = aFcen1[fn];
if(aFcen1==0){aFcen1=1;}
else if(document.all)
{document.getElementById("pica").filters[0].Apply();document.getElementById("pica").filters[0].Play(duration=2);}
eval('document.getElementById("pica").src=imgcen'+nncen1+'.src');
eval('document.getElementById("urlcen").href=urlcen'+nncen1+'.src');
for (var i=1;i<=counts11;i++){document.getElementById("xxjdjj1"+i).className='axx1';}
document.getElementById("xxjdjj1"+nncen1).className='bxx1';
nncen1++;if(nncen1>counts11){nncen1=1;}
tt=setTimeout('change_img1()',6000);}
function changeimg1(n){nncen1=n;window.clearInterval(tt);change_img1();}
document.write('<style>');
document.write('.axx1{padding:1px 7px;border-left:#cccccc 1px solid;}');
document.write('a.axx1:link,a.axx1:visited{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#666;}');
document.write('a.axx1:active,a.axx1:hover{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#999;}');
document.write('.bxx1{padding:1px 7px;border-left:#cccccc 1px solid;}');
document.write('a.bxx1:link,a.bxx:visited{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#D34600;}');
document.write('a.bxx1:active,a.bxx1:hover{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#D34600;}');
document.write('</style>');
document.write('<div style="width:'+widths11+'px;height:'+heights11+'px;overflow:hidden;text-overflow:clip;">');
document.write('<div><a id="urlcen"><img id="pica" style="border:0px;filter:progid:dximagetransform.microsoft.wipe(gradientsize=1.0,wipestyle=4, motion=forward)" width='+widths11+' height='+heights11+' /></a></div>');
document.write('<div style="filter:alpha(style=1,opacity=10,finishOpacity=0);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<counts11+1;i++){document.write('<a href="#" id="xxjdjj1'+i+'" class="axx1" target="_self">'+i+'</a>');}
document.write('</div></div>');
change_img1();

