/*********************************************** * Pausing updown message scroller- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ //configure the below five variables to change the style of the scroller var scrollerdelay='5000' //delay between msg scrolls. 3000=3 seconds. var scrollerwidth='130px' var scrollerheight='120px' var scrollerbgcolor='' //set below to '' if you don't wish to use a background image var scrollerbackground='' //configure the below variable to change the contents of the scroller var messages=new Array() messages[0] = "CHECK OUT THE NEW GATORS!
Come visit the new GATORS and check out all of the recent improvements!"; messages[1] = "Dart League Wanted:
For you darters, we can accommodate a small league, so if you are an organizer, check with Mike King about starting your own competitive league."; messages[2] = "Cues:
A new line of cue sticks are now in stock and available for purchase at the front desk!"; messages[3] = "Apparel:
Check at the front desk for our new line of Sweat Shirts, T-Shirts, and Hats. Available in adult sizes and kids sizes."; messages[4] = "Events:
With Nintendo Wii Weekly Events, 8-Ball Leagues and NPPL Texas Hold'em Poker in the house, you have every reason to check out our monthly events!
"; messages[5] = "Find us via Mapquest:
Gators Billiards and Cafe'
3081 Golansky Blvd.
Woodbridge, VA 22192
703.670.8079
"; ///////Do not edit pass this line/////////////////////// var ie=document.all var dom=document.getElementById if (messages.length>2) i=2 else i=0 function move(whichdiv){ tdiv=eval(whichdiv) if (parseInt(tdiv.style.top)>0&&parseInt(tdiv.style.top)<=5){ tdiv.style.top=0+"px" setTimeout("move(tdiv)",scrollerdelay) setTimeout("move2(second2_obj)",scrollerdelay) return } if (parseInt(tdiv.style.top)>=tdiv.offsetHeight*-1){ tdiv.style.top=parseInt(tdiv.style.top)-5+"px" setTimeout("move(tdiv)",50) } else{ tdiv.style.top=parseInt(scrollerheight)+"px" tdiv.innerHTML=messages[i] if (i==messages.length-1) i=0 else i++ } } function move2(whichdiv){ tdiv2=eval(whichdiv) if (parseInt(tdiv2.style.top)>0&&parseInt(tdiv2.style.top)<=5){ tdiv2.style.top=0+"px" setTimeout("move2(tdiv2)",scrollerdelay) setTimeout("move(first2_obj)",scrollerdelay) return } if (parseInt(tdiv2.style.top)>=tdiv2.offsetHeight*-1){ tdiv2.style.top=parseInt(tdiv2.style.top)-5+"px" setTimeout("move2(second2_obj)",50) } else{ tdiv2.style.top=parseInt(scrollerheight)+"px" tdiv2.innerHTML=messages[i] if (i==messages.length-1) i=0 else i++ } } function startscroll(){ first2_obj=ie? first2 : document.getElementById("first2") second2_obj=ie? second2 : document.getElementById("second2") move(first2_obj) second2_obj.style.top=scrollerheight second2_obj.style.visibility='visible' } if (ie||dom){ document.writeln('
') document.writeln('
') document.writeln('
') document.write(messages[0]) document.writeln('
') document.writeln('') document.writeln('
') document.writeln('
') } if (window.addEventListener) window.addEventListener("load", startscroll, false) else if (window.attachEvent) window.attachEvent("onload", startscroll) else if (ie||dom) window.onload=startscroll