/*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.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.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.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.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.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>');myScroller1.addItem('<table cellspacing=0 cellpadding=0><tr><td width=1>&nbsp;</td><td height=15 align=left valign=bottom class=Date>2012.11.25-11.27</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111229225225162468"><strong>CME2012 -Shenzhen</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.01.20-01.22</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111204204237905991"><strong>ISS - Long Beach</strong> / Long Beach, USA</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.02.09-02.11</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111204204535655416"><strong>China Central Sign Show 2012</strong> / Zhengzhou, 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.02.14-02.216</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111116210007258650"><strong>MD&M West</strong> / Anaheim, USA</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.02.14-02.16</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111204204642976467"><strong>EXPO RECLAM 2012</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.02.17-02.18</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111204204747685279"><strong>ISS - Orlando</strong> / Orlando, USA</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.02.18-02.21</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111204204826191070"><strong>D·PES Digital Printers & Engravers EXPO</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.02.21-02.24</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111102213824687676"><strong>Fespa Digital</strong> / Barcelona, 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.02.29-03.02</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111204204935679061"><strong>The 16th Wuhan Advertisement Expo</strong> / Wuhan, 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.01-03.04</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20111204205010250169"><strong>Hobby X</strong> / Northgate, Johannesburg</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.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>');//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
