<!--
var currentdate = 0;
var core = 0;

function StringArray (n)
{
  this.length = n;
  for (var i =1; i <= n; i++)
  {
    this[i] = ' ';
  }
}

code = new StringArray(11);
code[0] = "The summit elevation of Mt. Ogden, Snowbasin's highest peak, is 9,570 ft.";
code[1] = "The inspiration for Snowbasin's three day lodges was the River Run Plaza at Sun Valley, Snowbasin's sister resort.";
code[2] = "The summit elevation of Allen's Peak is 9,465 ft.";
code[3] = "The resort's name was changed from 'Snow Basin' to 'Snowbasin' in 1978.";
code[4] = "Snowbasin's lift capacity totals 14,650 people per hour.";
code[5] = "The elevation of the Main Plaza, the base, is 6,400 ft.";
code[6] = "Snowbasin's Earl's Lodge, located at the base, houses an outdoor dining patio, the Huntington Room, the Lounge, phones & bathrooms.";
code[7] = "Snowbasin's Needles Lodge, located on the mountain near Needles Peak, houses a dining room, phones & bathrooms.";
code[8] = "Snowbasin offers a nine hole <a class='pop-up-link-s' href='../summer/disc_golf.asp'>Disc Golf</a> courses at the base area. Rentals are available in the Grizzly Center.";
code[9] = "A few months before the 2002 Olympics, the resort's name was changed again from 'Snowbasin' to 'Snowbasin: A Sun Valley Resort.'";
code[10]= "Snowbasin has a day care facility, called <a class='pop-up-link-s' href='../winter/day_care.asp'>Grizzly Cub's Den</a>, located in the Grizzly Center operating during Ski Seasons.";
var ran = 60/code.length;

function ranCode()
{
  currentdate = new Date();
  core = currentdate.getSeconds();
  core = Math.floor(core/ran);
  return(code[core]);
}

//-->