/*Mike's DHTML scroller (By Mike Hall)Last updated July 21st, 02' by Dynamic Drive for NS6 functionalityFor this and 100's more DHTML scripts, visit http://www.dynamicdrive.com*///SET SCROLLER APPEARANCE AND MESSAGESvar myScroller1 = new Scroller(0, 0, 350, 50, 1, 3); //(xpos, ypos, width, height, border, padding)myScroller1.setColors('#006600', '', ''); //(fgcolor, bgcolor, bdcolor)myScroller1.setFont('Arial,Helvetica', 1);myScroller1.addItem('<table cellspacing=0 cellpadding=0><tr><td width=1>&nbsp;</td><td height=15 align=left valign=bottom class=Date>2012.07.11-07.14</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="trade_show.php?ID=2011110221535658138"><strong>APPPEXPO</strong> / Shang Hai, China</a></td></tr></table>');myScroller1.addItem('<table cellspacing=0 cellpadding=0><tr><td width=1>&nbsp;</td><td height=15 align=left valign=bottom class=Date>2012.09.25-09.27</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="trade_show.php?ID=20111102215529486622"><strong>VISCOM Paris</strong> / Paris, France</a></td></tr></table>');myScroller1.addItem('<table cellspacing=0 cellpadding=0><tr><td width=1>&nbsp;</td><td height=15 align=left valign=bottom class=Date>2012.10.04-10.06</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="trade_show.php?ID=20111204212812697604"><strong>VISCOM Italy</strong> / Milano, Italy</a></td></tr></table>');myScroller1.addItem('<table cellspacing=0 cellpadding=0><tr><td width=1>&nbsp;</td><td height=15 align=left valign=bottom class=Date>2012.10.18-10.20</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="trade_show.php?ID=2011110221583092819"><strong>VISCOM SIGN</strong> / Madrid, Spain</a></td></tr></table>');myScroller1.addItem('<table cellspacing=0 cellpadding=0><tr><td width=1>&nbsp;</td><td height=15 align=left valign=bottom class=Date>2012.10.18-10.21</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="trade_show.php?ID=20111102215907353202"><strong>TIGAX</strong> / Taipei, Taiwan</a></td></tr></table>');myScroller1.addItem('<table cellspacing=0 cellpadding=0><tr><td width=1>&nbsp;</td><td height=15 align=left valign=bottom class=Date>2012.10.25-10.27</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="trade_show.php?ID=20111204213348152524"><strong>VISCOM Frankfurt</strong> / Frankfurt, Germany</a></td></tr></table>');//SET SCROLLER PAUSEmyScroller1.setPause(2500); //set pause beteen msgs, in millisecondsmyScroller1.setSpeed(250); function runmikescroll() {  var layer;  var mikex, mikey;  // Locate placeholder layer so we can use it to position the scrollers.  layer = getLayer('placeholder');  mikex = getPageLeft(layer);  mikey = getPageTop(layer);  // Create the first scroller and position it.  myScroller1.create();  myScroller1.hide();  myScroller1.moveTo(mikex, mikey);  myScroller1.setzIndex(100);  myScroller1.show();}window.onload=runmikescroll
