/*
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(440, 55, 155, 100, 1, 5); //(xpos, ypos, width, height, border, padding)
myScroller1.setColors("#006600", "#FDFBFF", "#772277"); //(fgcolor, bgcolor, bdcolor)
myScroller1.setFont("Verdana, Tahoma,Arial,Helvetica", 2);

// ####FIRST MESSAGE#### (This comment is a flag.  Leave it here.)

myScroller1.addItem('<a href="/news/20100720.php">CE is a \"Sucky Benefactor\"  <\/a> <span class="date">07/20/2010<\/span> ');  

myScroller1.addItem('<a href="/news/20100719.php">Paul Cornell Blogs CVG  <\/a> <span class="date">07/19/2010<\/span> ');  

myScroller1.addItem('<a href="/amenities/hotel/hotel.php">2011 Hotel News  <\/a> <span class="date">07/11/2010<\/span> ');  

myScroller1.addItem('<a href="/news/20100710.php">CVG 2010 Links  <\/a> <span class="date">07/10/2010<\/span> ');  

myScroller1.addItem('<a href="/news/20100701.php">John Olsen on Current 89.3  <\/a> <span class="date">07/01/2010<\/span> ');  

myScroller1.addItem('<a href="/news/20100628.php">Programming Guide Online  <\/a> <span class="date">06/28/2010<\/span> ');  





// ####LAST MESSAGE#### (This comment is a flag.  Leave it here.)

myScroller1.addItem('Stay Tuned For Updates! <span class="date"><\/SPAN>');

//SET SCROLLER PAUSE
myScroller1.setPause(1500); //set pause between messages, 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();
}
