//This first function pads the message with blanks, and inserts the HTML

//required to display the form in your page. Not executed until called.

//Do not change any of this code. 


function banner(msg,ctrlwidth) {

   // Pad message and bring to width of textbox.
   for (i=0;i<=ctrlwidth;i++){msg=" "+msg}

   // Set up the form and form field.
   document.write ('<form name="banner">')
   document.write ('<input type="text" name="scrollBox" value="'+msg+'" size='+ctrlwidth+' style="color: #FFFF99; background: #194A2D; border: 0;">')
   document.write ('</form>')
   rollmsg() //Get the banner rolling

}


//This function makes the message scroll through the text box.
function rollmsg() {

   nowMsg=document.banner.scrollBox.value

   nowMsg=nowMsg.substring(1,nowMsg.length)+nowMsg.substring(0,1)

   document.banner.scrollBox.value=nowMsg

   myTimer=setTimeout("rollmsg()",200) 

}