/*
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, 170, 160, 0, 5); //(xpos, ypos, width, height, border, padding)
myScroller1.addItem("<P CLASS=\"news\">MindLeaf Technologies, Inc. is on the <A HREF='http://www.inc.com/inc5000/profile/mindleaf-technologies' TARGET=\"_blank\" CLASS=\"linka\" ONMOUSEOVER=\"this.className = 'linkb';\" ONMOUSEOUT=\"this.className = 'linka';\">2011 Inc. 5000</A> list of the fastest-growing private companies in America with a ranking of #2728.</P>");
myScroller1.setColors("#006600", "#eeeeee", "#000000"); //(fgcolor, bgcolor, bdcolor)
myScroller1.setFont("Verdana,Arial,Helvetica", 1);
myScroller1.addItem("<P CLASS=\"news\"><B>Paresh Shah,</B> President, MindLeaf Technologies Inc., is chair of the <A HREF='/downloads/201106_HIMSSBusinessInsider.pdf' TARGET=\"_blank\" CLASS=\"linka\" ONMOUSEOVER=\"this.className = 'linkb';\" ONMOUSEOUT=\"this.className = 'linka';\"><IMG SRC=\"images/pdficon01.gif\" WIDTH=\"20\" HEIGHT=\"19\" BORDER=\"0\" STYLE=\"margin-right: 3px\" ALIGN=\"ABSMIDDLE\">HIMSSW Playbook Work Group</A>. The PlayBook acts like an informal member of your team to help with ICD-10 conversion.</P>");
myScroller1.addItem("<P CLASS=\"news\"><B>Paresh Shah,</B> President, MindLeaf Technologies Inc., appeared on a <A HREF='http://www2.bizjournals.com/boston/event/46861' TARGET=\"_blank\" CLASS=\"linka\" ONMOUSEOVER=\"this.className = 'linkb';\" ONMOUSEOUT=\"this.className = 'linka';\">Business Breakfast Panel</A>, Tuesday May 17th, presented by the Boston Business Journal and sponsored by Citi Bank. The panel discussed 2011 Small Business Challenges.</P>");
myScroller1.addItem("<P CLASS=\"news\"><IMG SRC=\"images/BBJPacesetters2011.gif\" WIDTH=\"146\" HEIGHT=\"83\" ><BR>Mindleaf is recognized<BR>again as one of the fastest growing companies in 2011.</P>");
myScroller1.addItem("<P CLASS=\"news\"><IMG SRC=\"images/BBJPacesetters.gif\" WIDTH=\"146\" HEIGHT=\"83\" ><BR>Mindleaf was recognized<BR>at the 2010 event.</P>");
myScroller1.addItem("<P CLASS=\"news\">Mindleaf is featured in <A HREF='http://investing.businessweek.com/research/stocks/private/snapshot.asp?privcapId=23450689' TARGET=\"_blank\" CLASS=\"linka\" ONMOUSEOVER=\"this.className = 'linkb';\" ONMOUSEOUT=\"this.className = 'linka';\">Bloomberg Businessweek</A>, November 2010.</P>");
myScroller1.addItem("<P CLASS=\"news\">Visit our <A HREF='/events.html' TARGET=\"_blank\" CLASS=\"linka\" ONMOUSEOVER=\"this.className = 'linkb';\" ONMOUSEOUT=\"this.className = 'linka';\">Events page </A> for information on recent conferences where Mindleaf exhibited.</P>");

//SET SCROLLER PAUSE
myScroller1.setPause(3500); //set pause beteen msgs, in milliseconds 2500

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


