/*
 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, 480, 200, 1, 5); //(xpos, ypos, width, height, border, padding)
myScroller1.setColors("white", "black", "white"); //(fgcolor, bgcolor, bdcolor)
myScroller1.setFont("Verdana,Arial,Helvetica", 2);
myScroller1.addItem("<div><p>Everyone who has seen the photos have commented on how beautiful they are. The range of in-the-moment, posed and artistic shots covered every aspect of the day that we wanted and more!</p><p>We have no hesitation in recommending you to anyone who needs a special event captured (in fact we already have).</p><p>Thank you for being such an important and special part of our wedding. We just can't thank you enough.</p><p>Gaby and Carlin</p></div>");
myScroller1.addItem("<div><p>Thank you for the absolutely wonderful job you did photographing our wedding. We are so happy with the photos you took. Each and every one of  them was perfect - the arty shots, the 'fly on the wall' shots and the group  shots were all fantastic. I cannot commed you highly enough! You even made me look good!</p><p>Our wedding day was so wonderful and I am very glad that we had you to capture this special event.</p><p>Kathleen and David</p></div>");
myScroller1.addItem("<div><p>We would like to thank and compliment Cyndee for such a professional job she  did for our wedding. The photos turned out great and were exactly what we  wanted. Reports from guests were that Cyndee was co-operative and non-intrusive  in her photography. We will definately recommend you to everyone who asks.</p><p>Mr and Mrs Jeremiah Jota</p></div>");
myScroller1.addItem("<div><p>We just wanted to say thank you very much for the beautiful photos. The  photos you took are absolutely fantastic. We are so happy with them. You have   definately made the perfect career choice. You are very talented and have a good  eye.</p><p>Donna and Brian</p></div>");
myScroller1.addItem("<div><p>Thank you for helping us celebrate our wedding on 08 April 2006 and for your  great photography.</p><p>Melissa & Bradley</p></div>");
myScroller1.addItem("<div><p>You did an amazing job with our wedding photos, they really are fantastic and  we are so happy with the quality and that there's a photo of each guest.</p><p>Elise & Adrian.</p></div>");


//SET SCROLLER PAUSE
myScroller1.setPause(10000); //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("mikescroll_placeholder_weddings");
  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;

