

/*
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(0, 0, 175, 80, 1, 1); //(xpos, ypos, width, height, border, padding)
myScroller1.setColors("*990000"); //(fgcolor, bgcolor, bdcolor)
myScroller1.setFont("Verdana,Arial,Helvetica",1);
myScroller1.addItem("People want immediate results, custom-tailored information, and the freedom to make decisions when they are ready.");
myScroller1.addItem("The Internet is an effective way to create a future for your company.  It can have the greatest volume of leads and return on investment.");
myScroller1.addItem("The Internet is the fastest-growing medium of communication because it is cost-effective and convenient.");
myScroller1.addItem("People today are reluctant to give out information about themselves.");
myScroller1.addItem("Communicate with everyone who visits your web site. Be open-minded about who you're selling to.");
myScroller1.addItem("You need to be aware of the number of people who use your site and find out where your visitors come from so that you can advertise more in these areas. ");
myScroller1.addItem("Which search engines should you register with? The most used engines are (in descending order): Google, Yahoo, MSN, AOL, Excite and Ask Jeeves.");
myScroller1.addItem("47% of shoppers use search engines to find products on-line.");
myScroller1.addItem("Search engines are not the only means whereby people find sites.  62% of first time site visitors find sites through links.");
myScroller1.addItem("To rank a web site you must first understand your target audience. Keywords can tell you about the type of user that will be potentially visiting your website.");
myScroller1.addItem("Every web site is given a link popularity score.  You need a high score to target popularly searched keywords.");

//SET SCROLLER PAUSE
myScroller1.setPause(4500); //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();
}

