
/*
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, 183, 334, 0, 2); //(xpos, ypos, width, height, border, padding)
myScroller1.setColors("", "", ""); //(fgcolor, bgcolor, bdcolor)
myScroller1.setFont("Verdana,Arial,Helvetica", 2);
myScroller1.addItem("<FONT class=tabletext0d><U><B>KINGS CUP PHUKET 2007</B></U><br>The event is just a few months away - <a class=m3 href=contact4.htm><b><u>contact us today</u></b></a> for the best yachts available! <br><br>View our gallery pics and select your racing boat!<br><br><IMG SRC='imgs/gallery/racing_pics/imx_racing08c.jpg' WIDTH='177' HEIGHT='133' BORDER=1></FONT>");
myScroller1.addItem("<FONT class=tabletext0d><B>LEARN TO RACE</B><br> Courses that will improve your racing significantly. Boat handling, starting, upwind skills, trimming skills and your tactics and knowledge of rules and process. Get your team in training for fast results. Contact: <a class=m3 href=mailto:info@sailinasia.com>info@sailinasia.com</a><br><br><IMG SRC='imgs/gallery/racing_pics/imx_racing06c.jpg' WIDTH='177' HEIGHT='133' BORDER=1></FONT>");
myScroller1.addItem("<FONT class=tabletext0d><B>Corporate team building & Racing Regattas</B> <br>Do you want to be galvanise and motivate your team/improve communication, cooperation,and bond disparate characters. That's what we do when you join Switchblade, Tuay Lek, Butterfly or Frog.  Oh and have FUN too! Contact: <a class=m3 href=mailto:info@sailinasia.com>info@sailinasia.com</a><br><br><IMG SRC='imgs/gallery/racing_pics/imx_racing07c.jpg' WIDTH='177' HEIGHT='133' BORDER=1></FONT>");
myScroller1.addItem("<FONT class=tabletext0d><B>Tuay Lek</B>  <br>The best yacht in Thailand is available to you for developing the essentials of racing. Boat handling, sail trim, spinnaker work and tactics. Sail on a 2 day course and get the feel of a thoroughbred yacht. 5 persons max.<br><br><IMG SRC='imgs/gallery/racing_pics/imx_racing10c.jpg' WIDTH='177' HEIGHT='133' BORDER=1></FONT>");
myScroller1.addItem("<FONT class=tabletext0d><B>Multihull techniques</B>  <br>So you want to go FAST, have FUN and sail a thoroughbred catamaran. This is the course for you or the skipper to make it so.  Enthusiasm, skill and passion make this skipper a delight to be with. Develop your catamaran competence and have a good time. Contact: <a class=m3 href=mailto:info@sailinasia.com>info@sailinasia.com</a><br><br><IMG SRC='imgs/gallery/racing_pics/imx_racing11c.jpg' WIDTH='177' HEIGHT='133' BORDER=1></FONT>");

//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