
/*
Mike's DHTML scroller (By Mike Hall)
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, 400, 55, 1, 8);
myScroller1.setColors("#006600", "#ffffcc", "#009900");
myScroller1.setFont("Verdana,Arial,Helvetica", 3);
myScroller1.addItem("<center><b>Welcome to the Video/CD-ROM Library Page!</b></center>");
myScroller1.addItem("<center><b>Visit the <a href='listing.html#Videos' style='text-decoration:none'><font color='blue'>Video Library</font></a> <br>to Checkout the Latest Video Titles!</b></center>");
myScroller1.addItem("<center><b>Visit the <a href='listing.html#CD-ROMs' style='text-decoration:none'><font color='blue'>CD-ROM Library</font></a> <br>to Use the Latest CD-ROM Titles!</b></center>");
myScroller1.addItem("<center><b>Visit the <a href='listing.html#Books' style='text-decoration:none'><font color='blue'>Book Library</font></a> <br>to Checkout the Latest Book Titles!</b></center>");

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