// JavaScript Document
var wid=638;
var hei=96;
mg1=new Image ();mg1.src='../index/image/lusun.jpg';mg1.title='共同关注三晋笋业 农信通为笋农搭建信息购销桥梁';
rl1=new Image ();rl1.src='http://www.sx12582.com/new12582/home/index/index_ls.jsp';
mg2=new Image ();mg2.src='../index/image/huodong.jpg';mg2.title='参与农信通大众参与平台 轻松网赚 点燃您的激情';
rl2=new Image ();rl2.src='http://www.sx12582.com/new12582/home/userCenter/login.jsp';
mg3=new Image ();mg3.src='../index/zhuanti/lianghui/images/top_bg2.jpg';mg3.title='2010全国两会 农信通特别关注';
rl3=new Image ();rl3.src='http://www.sx12582.com/new12582/home/index/zhuanti/lianghui/default.jsp';

var count=3;
//网页地址
var nn1=1;
var key1=0;
function cha_img()
{if(key1==0){key1=1;}
else if(document.all)
{document.getElementById("picc").filters[0].Apply();document.getElementById("picc").filters[0].Play(duration=2);}
eval('document.getElementById("picc").src=mg'+nn1+'.src');
eval('document.getElementById("picc").title=mg'+nn1+'.title');
eval('document.getElementById("urll").href=rl'+nn1+'.src');
for (var j=1;j<=count;j++){document.getElementById("jdjj"+j).className='axx';}
document.getElementById("jdjj"+nn1).className='bxx';
nn1++;if(nn1>count){nn1=1;}
tt=setTimeout('cha_img()',8000);}
function huanimg(n1){nn1=n1;window.clearInterval(tt);cha_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:#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:'+wid+'px;height:'+hei+'px;overflow:hidden;text-overflow:clip;">');
document.write('<div><a id="urll" target="_blank"><img id="picc" style="border:0px;filter:progid:dximagetransform.microsoft.wipe(gradientsize=1.0,wipestyle=4, motion=forward)" width='+wid+' height='+hei+' /></a></div>');
document.write('<div style="text-align:right;top:-12px;position:relative;margin:1px;height:12px;padding:0px;margin:0px;border:0px;">');
for(var j=1;j<count+1;j++){document.write('<a href="javascript:huanimg('+j+');" id="jdjj'+j+'" class="axx" target="_self">'+j+'</a>');}
document.write('</div></div>');
cha_img();
