/*
Mike's DHTML scroller (By Mike Hall @ Brainjar.com)
Permission granted to Dynamicdrive.com to include script in archive
For this and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

var myScroller1 = new Scroller(0, 0, 130, 100, 1, 4);
myScroller1.setColors("#000000", "#FFFFFF", "#000000");
myScroller1.setFont("Verdana,Arial,Helvetica", 2);
myScroller1.addItem("<a href='membership.asp'>Join the club</a> and become a member to gain full benefits of the club.");
myScroller1.addItem("<a href='http://rb5oc.ipbhost.com'>Forum</a> - See whats going on within the RB5 Community.");
myScroller1.addItem("Owned or currently own a RB5  <a href='registry.asp'>Register it here</a> on the Official RB5 Register.");
myScroller1.addItem("<a href='discounts.asp'>Discounts</a> from reputable companies we have set up for club members.");
myScroller1.addItem("See our <a href='shop.asp'>on-line shop</a> Club floor mats, number plates & stickers.");
myScroller1.addItem("The years biggest event.  20+ RB5s already confirmed on stand. Trax 2005. <a href='http://rb5oc.ipbhost.com/index.php?showtopic=1195'></a>")

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
