// JavaScript Document
/*
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(50, 0, 198, 65, 0, 0); //(xpos, ypos, width, height, border, padding)
myScroller1.setColors("#000000", "#ffffff", ""); //(fgcolor, bgcolor, bdcolor)
myScroller1.setFont("Verdana,Arial,Helvetica", "1px");
myScroller1.addItem("Loea appoints new Vice President"); 
myScroller1.addItem("Loea Launches New Gig-E Radio Capable of Long Range Transmission"); 
myScroller1.addItem("Loea Corporation and Referentia Systems Team to Expand Military and Government Wireless Solutions");
myScroller1.addItem("Loea Issued Second Patent on Cellular Backhaul using State-of-the-Art Millimeter-wave Radios");
myScroller1.addItem("Thales and Loea Team to Deliver Security Solutions  to the U.S. Government");
myScroller1.addItem("Loea Corporation Partners With Wavestream Corporation for Development of High-Power E-Band Amplifier");
myScroller1.addItem("CipherOptics and Loea announce strategic partnership to provide secure point-to-point wireless communications");
myScroller1.addItem("Loea Corporation awards Wavestream Corporation development contract for high-power E-band amplifier");


//SET SCROLLER PAUSE
myScroller1.setPause(2500); //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(0);
  myScroller1.show();
}

window.onload=runmikescroll
