/*
? Dynamic Drive CONVEYER IMAGES
*/

//Specify the slider's width (in pixels)
var sliderwidth="780px"
//Specify the slider's height
var sliderheight="450px"
//Specify the slider's slide speed (larger is faster 1-10)
var slidespeed=1
//configure background color:
slidebgcolor="#FFFFFF"

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<img src="images/2008all.jpg" border="0" usemap="#Map20030106"></map>'
leftrightslide[1]='<img src="images/2009all.jpg" border="0" usemap="#Map20030106"></map>'
leftrightslide[2]='<img src="images/20030106.JPG" border="0" usemap="#Map20030106"><map name="Map20030106"><area shape="poly" coords="51,139,5,239,50,308,55,372,119,376,147,291,83,147" href="#" alt="郑从立"><area shape="poly" coords="225,146,173,295,185,384,285,391,315,266,260,145" href="#" alt="林磊"><area shape="poly" coords="332,133,303,219,321,268,316,336,408,346,442,282,401,205,368,194,364,135" href="#" alt="王强"><area shape="rect" coords="391,153,431,199" href="#" alt="赵树红"><area shape="poly" coords="101,116,84,142,112,203,145,194,130,123" href="#" alt="经杰"><area shape="rect" coords="179,125,212,176" href="#" alt="叶列平教授"><area shape="poly" coords="279,134,277,172,294,205,320,162,312,129" href="#" alt="周正海"><area shape="poly" coords="373,125,374,155,385,166,389,150,408,144,397,119" href="#" alt="康胜"><area shape="rect" coords="483,123,522,171" href="#" alt="曾勇"><area shape="rect" coords="442,110,481,158" href="#" alt="张轲"><area shape="rect" coords="80,74,120,117" href="#" alt="沙吾列提 拜开依"><area shape="rect" coords="121,63,155,112" href="#" alt="孙海林"><area shape="poly" coords="163,95,153,125,168,138,183,113,180,97" href="#" alt="钱鹏"><area shape="rect" coords="217,94,254,138" href="#" alt="鲁国昌"><area shape="rect" coords="282,82,314,124" href="#" alt="谭壮"><area shape="rect" coords="322,82,355,125" href="#" alt="胡伟红"><area shape="poly" coords="386,88,388,113,401,116,405,127,425,122,428,84" href="#" alt="方团卿"><area shape="poly" coords="151,38,150,57,158,58,158,74,175,73,180,34" href="#" alt="郑云"><area shape="rect" coords="195,45,232,87" href="#" alt="任军"><area shape="poly" coords="257,59,247,69,248,87,256,95,274,94,281,59" href="#" alt="程光煜"><area shape="poly" coords="234,28,232,42,238,61,251,64,259,52,259,25" href="#" alt="陆新征"><area shape="rect" coords="311,24,347,73" href="#" alt="冯鹏"></map>'
leftrightslide[3]='<img src="images/20011229.JPG" border="0" usemap="#Map20011229"><map name="Map20011229"><area shape="poly" coords="57,116,27,205,52,287,160,298,185,207,107,117" href="#" alt="经杰"><area shape="poly" coords="335,105,249,185,335,226,388,165,379,114" href="#" alt="张柯"><area shape="poly" coords="399,116,393,170,341,228,410,251,449,187,451,120" href="#" alt="叶列平教授"><area shape="poly" coords="482,119,418,252,497,304,586,254,531,115" href="#" alt="王强"></map>'
leftrightslide[4]='<img src="images/20040418.jpg" width="599" height="450" border="0" usemap="#Map20040418"><map name="Map20040418" id="Map20040418"><area shape="poly" coords="288,245,252,331,256,382,349,378,351,298,316,243" href="#" alt="钱鹏"><area shape="poly" coords="424,208,402,304,419,375,472,395,502,328,477,254,452,208" href="#" alt="冯鹏"><area shape="poly" coords="187,122,160,183,156,232,197,257,217,255,212,186,214,122" href="#" alt="黄盛楠"><area shape="poly" coords="264,135,232,185,233,249,266,265,281,204,301,180,292,132" href="#" alt="马千里"><area shape="poly" coords="316,142,312,184,282,230,336,237,350,188,344,141" href="#" alt="黄羽立"><area shape="poly" coords="388,126,388,167,361,184,351,226,364,272,405,267,428,183,413,127" href="#" alt="庄江波"><area shape="poly" coords="464,138,467,213,491,268,546,279,520,188,494,138" href="#" alt="刘英奎"><area shape="poly" coords="121,78,74,133,74,224,140,231,154,136,144,82" href="#" alt="汪训流"><area shape="rect" coords="193,87,227,119" href="#" alt="缪志伟"><area shape="rect" coords="243,79,287,129" href="#" alt="逯烨"><area shape="rect" coords="341,96,373,138" href="#" alt="陆新征"><area shape="rect" coords="433,98,462,149" href="#" alt="任军"></map>'


////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=slidespeed
leftrightslide='<nobr>'+leftrightslide.join(" ")+'</nobr>'
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>')
var actualwidth=''
var cross_slide, ns_slide

function fillup(){
if (iedom){
cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
cross_slide2.style.left=actualwidth+20+"px"
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+20
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}
lefttime=setInterval("slideleft()",30)
}
window.onload=fillup

function slideleft(){
if (iedom){
if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px"
else
cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+30+"px"

if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+8))
cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px"
else
cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+30+"px"

}
else if (document.layers){
if (ns_slide.left>(actualwidth*(-1)+8))
ns_slide.left-=copyspeed
else
ns_slide.left=ns_slide2.left+actualwidth+30

if (ns_slide2.left>(actualwidth*(-1)+8))
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+30
}
}


if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>')
write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>')
write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
