﻿
/*
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, 220, 180, 1, 5); //(xpos, ypos, width, height, border, padding)
myScroller1.setColors("#669966", "#efefef", "#efefef"); //(fgcolor, bgcolor, bdcolor)
myScroller1.setFont("Verdana,Arial,Helvetica", 1);
myScroller1.addItem("<br/><b>Ephysician.in</b> is HIPAA / 21 CFR Part 11 Compliant Software.<br/>Amazing online software at amazingly low price ……….<br/><br/>All doctors are invited-Use Birlamedisoft online Physician software at Rs 1/Patient at No Initial investment… <br/><br/>No Heavy servers………<br/><br/>No installation………<br/>");
myScroller1.addItem("<br/><b>No Backup issues…….</b>and much more …………<br/><br/>Become a member and earn credit points Hurry up……<br/><br/>Special Rates for first 1000 Customers<br/>");
myScroller1.addItem("Ephysician.in can be used for any type of Practitioners e.g., Gynecologists, Pediatrician, Cardiologists, Urologist……………..And many more");
//myScroller1.addItem("<b>Discuss and get help on web coding, at <a href='http://www.codingforums.com'>CodingForums.com</a></b>");

//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(100);
  myScroller1.show();
}

window.onload=runmikescroll

