/*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.03.03-03.05</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111204205138439837"><strong>2012 Nanjing Advertising Expo</strong> / Nanjing, 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.03.08-03.10</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111229225708508537"><strong>EW2012</strong> / Beijing, 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.03.13-03.16</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20120212222740983179"><strong>Underhall 2012</strong> / Gothenburg, Sweden</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.03.14-03.16</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111229225417460301"><strong>APFE</strong> / Shanghai, 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.03.24-03.27</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20120212222830183984"><strong>AFP EXPOFOTO</strong> / Salão, Portugal</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.04.12-04.14</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20120212222918774101"><strong>Portugal Print</strong> / Porto, Portugal</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.05.08-05.11</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20120212223028739742"><strong>Automation Elmia</strong> / Jonkoping, Sweden</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.06.12-06.14</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111229225749856185"><strong>CIPE 2012</strong> / Beijing, 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.06.28-06.30</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=2011122922503755051"><strong>APFO china 2012</strong> / Guangzhou, 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.07.18-07.20</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111229225538942422"><strong>CME2012 -Shanghai</strong> / Shanghai, 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.07.18-07.20</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111229225633172613"><strong>APFO china 2012</strong> / Shanghai, 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.07.18-07.21</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20120212223122216043"><strong>Serigrafia SIGN FutureTEXTIL 2012</strong> / São Paulo, Brazil</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.08.21-08.24</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20120212223200168130"><strong>Wood Products & Technology</strong> / Gothenburg, Sweden</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.08.22-08.24</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20120212223242866971"><strong>Lastbil</strong> / Jonkoping, Sweden</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.18-09.21</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20120212223320436103"><strong>Skydd - Protection & Security Expo</strong> / Stockholm, Sweden</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.09-10.11</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20120212223404113945"><strong>Scan Automation</strong> / Stockholm, Sweden</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="customer_show.php?ID=20111229225457204590"><strong>eMEX</strong> / Shanghai, 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.11.06-11.09</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20120212223439140832"><strong>Elmia Subcontractor</strong> / Jonkoping, Sweden</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.11.16-11.21</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111229225135584349"><strong>IT of CHTF</strong> / Guangzhou, 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.11.24-11.26</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111229225327541241"><strong>FPD China 2012</strong> / Guangzhou, China</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
