//SET SCROLLER APPEARANCE AND MESSAGES
var myScroller5 = new Scroller(0, 0, 200, 100, 2, 2); //(xpos, ypos, width, height, border, padding)
myScroller5.setColors("#fff", "#000000", "#E17100"); //(fgcolor, bgcolor, bdcolor)
myScroller5.setFont("Verdana,Arial", 1.5);
myScroller5.addItem("<p class='NewsText' align='center'><B>India Aviation 2008<B><BR><a href='IndiaAviation.asp' target='_blank' > 15-18 October 2008,Booth 27-28,<BR> Hall C, Hyderabad, India</A></p>");
myScroller5.addItem("<p class='NewsText' align='center'><b>Aerospace Journalist of the Year Award 2008</B><bR><a href='news.htm'>SP’s Aviation conferred Aerospace Journalist of the Year Award for Best Show Submission</a></p>");
myScroller5.addItem("<p class='NewsText' align='center'><b> MEBAA</b><BR>SP's Joins Middle East Business Aviation Association (MEBAA) as  Affiliate Member.</p>");
myScroller5.addItem("<p class='NewsText' align='center'><b>(NBAA)</b><BR>SP's Joins National Business Aviation Association, Inc (NBAA) as  Associate Member.</p>");

//SET SCROLLER PAUSE
myScroller5.setPause(2500); //set pause beteen msgs, in milliseconds

function runmikescroll() {

  var layer1;
  var mikex, mikey;

  // Locate placeholder layer so we can use it to position the scrollers.

  layer1 = getLayer("placeholder");
  mikex = getPageLeft(layer1);
  mikey = getPageTop(layer1);

  // Create the first scroller and position it.

  myScroller5.create();
  myScroller5.hide();
  myScroller5.moveTo(mikex, mikey);
  myScroller5.setzIndex(100);
  myScroller5.show();
}

window.onload=runmikescroll
