/*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>2010.07.28-07.30</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20100707230637492196"><strong>World EXPO 2010</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>2010.08.12-08.14</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20091216035945382008"><strong>NBM-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>2010.08.18-08.20</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20100222011125774731"><strong>Promotion Expo</strong> / Jönköping, 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>2010.08.24-08.27</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20100222011445420682"><strong>Mässa Trä & Teknik Göteborg</strong> / Göteborg, 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>2010.09.21-09.23</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20100610231040103082"><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>2010.09.22-09.26</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20100222011620944888"><strong>Portojoia 2010</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>2010.09.28-10.01</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20091216040020594936"><strong>Glasstech</strong> / Dusseldorf, Germany</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>2010.09.29-10.02</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20100222011705377488"><strong>Grafima</strong> / Belgrád, Serbia</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>2010.10.07-10.10</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20100720222223661011"><strong>TIGAX 2010</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>2010.10.13-10.15</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20091216040447154628"><strong>SGIA</strong> / Las Vegas, 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>2010.10.14-10.16</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20091216040531701714"><strong>Viscom Spain</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>2010.10.19 - 10.22</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20100222011749358834"><strong>Technical Fair</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>2010.10.20 -10.23</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20091216040629384642"><strong>Viscom Italy</strong> / Milan, 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>2010.10.20 - 10.23</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20100222011917979849"><strong>FIMAP 2010</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>2010.10.27-11.03</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20091216040707817729"><strong>K 2010</strong> / Duesseldorf, Germany</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>2010.11.02-11.05</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20091216040859342257"><strong>SEMA Show</strong> / Las Vegas, 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>2010.11.04-11.06</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20091216040752268891"><strong>VisCom Germany</strong> / Frankfurt , Germany</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>2010.11.09-11.12</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20100222012102484068"><strong>Elmia Subcontract</strong> / Jönköping, 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>2010.11.10-11.13</td></tr><tr><td width=10>&nbsp;</td><td height=15 valign=top class=Show><a href="customer_show.php?ID=20091216040940413238"><strong>EMAF</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>2010.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=2009121604102627534"><strong>Mobilexpo China (Guangzhou)2010</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