// JavaScript Document
var hh=1;
var key1=0;


function change_imga() 

{if(key1==0){key1=1;}
else if(document.all)
{document.getElementById("pica").filters[0].Apply();document.getElementById("pica").filters[0].Play(duration=2);}

eval('document.getElementById("pica").src=imgs'+hh+'.src');
eval('document.getElementById("urla").href=urlsa['+hh+']');
eval('document.getElementById("urla").target="_parent"');

for (var j=1;j<=countsa;j++){document.getElementById("xxjdjja"+j).className='axx1';}

document.getElementById("xxjdjja"+hh).className='bxx1';
hh++;if(hh>countsa){hh=1;}
t=setTimeout('change_imga()',15000);}
function changeimga(h){hh=h;window.clearInterval(t);change_imga();}
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:#fff;}');
document.write('a.axx1:active,a.axx1:hover{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#fff;}');
document.write('.bxx1{padding:1px 7px;border-left:#cccccc 1px solid;}');
document.write('a.bxx1:link,a.bxx1:visited{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#fff;}');
document.write('a.bxx1:active,a.bxx1:hover{text-decoration:none;color:#fff;line-height:12px;font:9px sans-serif;background-color:#fff;}');
document.write('</style>');
document.write('<div style="width:'+widths+'px;height:'+heights+'px;overflow:hidden;text-overflow:clip;">');
document.write('<div><a id="urla"><img id="pica" style="border:0px;filter:progid:DXImageTransform.Microsoft.RevealTrans(enabled=ture,transition=23)" width='+widths+' height='+heights+' /></a></div>');

for(var j=1;j<countsa+1;j++){document.write('<a href="javascript:changeimga('+j+');" id="xxjdjja'+j+'" target="_parent"></a>');}
document.write('</div>');
change_imga();


