function play_goupslideshow(slidel){if(window.onload){var slide2=window.onload;window.onload=function() { slide2(); slidel(); };}else{window.onload=function() { slidel(); };}};function goupslideshow(slideid,height,pause,pictures,linkss,titles,texts,degree,movetime,arrowimage){var id=slideid;var self=this;var canvas="canvas0"+this.id;var position=height;var current=0;var next=1;var interval;var previous;this.move=function(){if(this.position>0){this.position=Math.max(this.position-degree,0);this.previous.style.top=this.position+"px";document.getElementById(canvas).style.top="-"+(height-this.position)+"px";}else{clearInterval(this.interval);document.getElementById(canvas).innerHTML='<table cellpadding=2 cellspacing=2><tr><td width=1% rowspan=2>'+(pictures[current]=='' ? '' : '<a href="'+linkss[current]+'"><img src="'+pictures[current]+'" class=border></a>')+'</td><td valign=top><img src="'+arrowimage+'"> '+titles[current]+'</td></tr><tr><td style="padding:10px">'+texts[current]+'</td></tr></table>';next=(next<pictures.length-1) ? next+1 : 0;setTimeout( function(){self.rotate();} ,pause);}};this.rotate=function(){self.reset();this.previous=document.getElementById(canvas);canvas=(canvas=="canvas0"+this.id) ? "canvas1"+this.id : "canvas0"+this.id;current=(current<pictures.length-1) ? current+1 : 0;this.interval=setInterval( function(){self.move();} ,movetime);};this.reset=function(){this.position=height;document.getElementById(canvas).style.top=this.position+"px";};this.start=function(){document.getElementById(canvas).innerHTML='<table cellpadding=2 cellspacing=2><tr><td width=1% rowspan=2>'+(pictures[current]=='' ? '' : '<a href="'+linkss[current]+'"><img src="'+pictures[current]+'" class=border></a>')+'</td><td valign=top><img src="'+arrowimage+'"> '+titles[current]+'</td></tr><tr><td style="padding:10px">'+texts[current]+'</td></tr></table>';self.rotate();};document.write('<div style="position:relative; width:100%; height:'+height+'px; overflow:hidden;"><div id="canvas0'+this.id+'" style="position:absolute; width:100%; height:'+height+'px; top:-'+height+'px;"></div><div id="canvas1'+this.id+'" style="position:absolute; width:100%; height:'+height+'px; top:-'+height+'px;"></div></div>');};
