// JavaScript Document
//SET SCROLLER APPEARANCE AND MESSAGES

var myScroller1 = new Scroller(0, 0, 320, 225, 0, 3); //(xpos, ypos, width, height, border, padding)
myScroller1.setColors("#006600", "#ffffff", "#ffffff"); //(fgcolor, bgcolor, bdcolor)
myScroller1.setFont("Verdana,Arial,Helvetica", 2);
myScroller1.addItem("<table width='100%' border='0' cellspacing='0' cellpadding='3'><tr><td align='center'><a href='nac3000.html'><img src='images/nac3000Animated.gif' width='146' height='213' border='0' alt='NAC3000 Fingerprint Access Controller '></a></td><td align='center'><a href='proximity-solutions.html'><img src='images/eproxAnimated.gif' width='146' height='213' border='0' ALT='Proximity card readers recording employee attendance, access control, visitor management'></a></td></tr></table>");
myScroller1.addItem("<table width='100%' border='0' cellspacing='0' cellpadding='3'><tr><td align='center'><a href='desktop-hamster.html'><img src='images/fingerprintanimated.gif' width='146' height='213' border='0' alt='USB Fingerprint Scanner for computer Security'></a></td><td align='center'><a href='biometricLocks.html'><img src='images/KB2000animated.gif' width='146' height='213' border='0' alt='Fingerprint sensor embedded doorlocks'></a></td></tr></table>");
myScroller1.addItem("<table width='100%' border='0' cellspacing='0' cellpadding='3'><tr><td align='center'><a href='sms.html'><img src='images/smsServerAnimated.gif' width='146' height='213' border='0' alt=' SMS Server - Application of Universal Wireless Application Interface (UWA)'></a></td><td align='center'><a href='storage-solutions.html'><img src='images/DataBackUpAnimated.gif' width='146' height='213' border='0' alt='Storage and Backup solutions'></a></td></tr></table>");

function scrollStop()
{
myScroller1.stop()
}
function scrollStart()
{
myScroller1.start()
}
//SET SCROLLER PAUSE
myScroller1.setPause(3000); //set pause beteen msgs, in milliseconds

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