/***********************************************
* 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='3000' //delay between msg scrolls. 3000=3 seconds.
var scrollerwidth='269px'
var scrollerheight='63px'
var scrollerbgcolor='990033'
//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] = 'Vail Resorts Enters Agreement to Purchase Colorado Mountain Express
18 June, 2008';
messages[1] = 'Vail Resorts expands its Appetite for Life program by serving 100 percent Certified Organic coffee, Fair-Trade espresso and eliminating artificial Trans Fat at all 90 of its dining facilities
27 May, 2008';
messages[2] = 'VAIL RESORTS ANNOUNCES NEW, STATE-OF-THE-ART RADIO FREQUENCY TECHNOLOGY FOR ALL 2008-2009 SEASON PASSES ALLOWING FOR AN “EASY SCAN” PROCESS FOR SKIERS
10 April, 2008';
messages[3] = 'VAIL RESORTS ANNOUNCES SPRING PRICES FOR COLORADO’S MOST POPULAR SEASON PASSES: THE COLORADO PASS™ AND THE SUMMIT PASS™
03 April, 2008';
messages[4] = 'DAN ZANES CONCERT, CHICAGO CHILDREN’S CHOIR, ICE CREAM SOCIAL HIGHLIGHT NEW COOKIE KIDS FEST AT BEAVER CREEK MARCH 13-15
12 March, 2008';
messages[5] = 'Live Music Brightens Spring Skiing in Beaver Creek
12 March, 2008';
///////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('