var dayArray = new Array("sunday","monday","tuesday","wednesday","thursday","friday","saturday");var monthArray = new Array("january","february","march","april","may","june","july","august","september","october","november","december");var lastUpdate = new Date();var thisDay=dayArray[lastUpdate.getDay()];var thisDate=lastUpdate.getDate() < 10 ? '0'+lastUpdate.getDate() : lastUpdate.getDate();var thisMonth=monthArray[lastUpdate.getMonth()];var thisMonthNum=lastUpdate.getMonth()+1 < 10 ? '0'+ (lastUpdate.getMonth()+1) : lastUpdate.getMonth()+1;var thisFullYear=String(lastUpdate.getFullYear());var thisYear= thisFullYear.charAt(2) + thisFullYear.charAt(3);// This script came from Web-Development.Com JavaScript Site// Located at http://www.web-development.com/ today = new Date();BigDay = new Date("July 14, 2001");msPerDay = 24 * 60 * 60 * 1000 ;timeLeft = (BigDay.getTime() - today.getTime());e_daysLeft = timeLeft / msPerDay;daysLeft = Math.floor(e_daysLeft);e_hrsLeft = (e_daysLeft - daysLeft)*24;hrsLeft = Math.floor(e_hrsLeft);minsLeft = Math.floor((e_hrsLeft - hrsLeft)*60);// function MM_reloadPage(init) {  //reloads the window if Nav4 resized//  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {//    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}//  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();//}// MM_reloadPage(true);// HOME PAGE BELOW FLASH NAV IMAGESgorge_off = new Image();gorge_off.src = "images/nav1_gorge.gif";gorge_on = new Image();gorge_on.src = "images/nav1_gorge_f2.gif";merch_off = new Image();merch_off.src = "images/nav1_merch.gif";merch_on = new Image();merch_on.src = "images/nav1_merch_f2.gif";contact_off = new Image();contact_off.src = "images/nav1_contact.gif";contact_on = new Image();contact_on.src = "images/nav1_contact_f2.gif";contact2_off = new Image();contact2_off.src = "images/nav1_contact2.gif";contact2_on = new Image();contact2_on.src = "images/nav1_contact2_f2.gif";sponsors_off = new Image();sponsors_off.src = "images/nav1_sponsors.gif";sponsors_on = new Image();sponsors_on.src = "images/nav1_sponsors_f2.gif";film_off = new Image();film_off.src = "images/nav1_film.gif";film_on = new Image();film_on.src = "images/nav1_film_f2.gif";nav1_gallery_off = new Image();nav1_gallery_off.src = "images/nav1_gallery.gif";nav1_gallery_on = new Image();nav1_gallery_on.src = "images/nav1_gallery_f2.gif";// LAYER AND TOP NAV IMAGESimg0off = new Image();img0off.src = "images/nav2_sports.gif";img0on = new Image();img0on.src = "images/nav2_sports_f2.gif";img1off = new Image();img1off.src = "images/nav2_clinics.gif";img1on = new Image();img1on.src = "images/nav2_clinics_f2.gif";img2off = new Image();img2off.src = "images/nav2_village.gif";img2on = new Image();img2on.src = "images/nav2_village_f2.gif";img3off = new Image();img3off.src = "images/nav2_media.gif";img3on = new Image();img3on.src = "images/nav2_media_f2.gif";img4off = new Image();img4off.src = "images/nav2_volunteer.gif";img4on = new Image();img4on.src = "images/nav2_volunteer_f2.gif";// LAYER 0 IMAGES (SPORTS)reg_off = new Image();reg_off.src = "images/sports_reg.gif";reg_on = new Image();reg_on.src = "images/sports_reg_f2.gif";adventure_off = new Image();adventure_off.src = "images/sports_adventure.gif";adventure_on = new Image();adventure_on.src = "images/sports_adventure_f2.gif";climb_off = new Image();climb_off.src = "images/sports_climb.gif";climb_on = new Image();climb_on.src = "images/sports_climb_f2.gif";kayak_off = new Image();kayak_off.src = "images/sports_kayak.gif";kayak_on = new Image();kayak_on.src = "images/sports_kayak_f2.gif";kiteboard_off = new Image();kiteboard_off.src = "images/sports_kiteboard.gif";kiteboard_on = new Image();kiteboard_on.src = "images/sports_kiteboard_f2.gif";mtbike_off = new Image();mtbike_off.src = "images/sports_mtbike.gif";mtbike_on = new Image();mtbike_on.src = "images/sports_mtbike_f2.gif";outrigger_off = new Image();outrigger_off.src = "images/sports_outrigger.gif";outrigger_on = new Image();outrigger_on.src = "images/sports_outrigger_f2.gif";windsurf_off = new Image();windsurf_off.src = "images/sports_windsurf.gif";windsurf_on = new Image();windsurf_on.src = "images/sports_windsurf_f2.gif";trailrun_off = new Image();trailrun_off.src = "images/sports_trailrun.gif";trailrun_on = new Image();trailrun_on.src = "images/sports_trailrun_f2.gif";calendar1_off = new Image();calendar1_off.src = "images/sports_calendar.gif";calendar1_on = new Image();calendar1_on.src = "images/sports_calendar_f2.gif";// LAYER 1 IMAGES (CLINICS)c_women_off = new Image();c_women_off.src = "images/clinic_women.gif";c_women_on = new Image();c_women_on.src = "images/clinic_women_f2.gif";c_youth_off = new Image();c_youth_off.src = "images/clinic_youth.gif";c_youth_on = new Image();c_youth_on.src = "images/clinic_youth_f2.gif";c_general_off = new Image();c_general_off.src = "images/clinic_general.gif";c_general_on = new Image();c_general_on.src = "images/clinic_general_f2.gif";c_calendar_off = new Image();c_calendar_off.src = "images/clinic_calendar.gif";c_calendar_on = new Image();c_calendar_on.src = "images/clinic_calendar_f2.gif";// LAYER 2 IMAGES (VILLAGE)v_activity_off = new Image();v_activity_off.src = "images/village_activity.gif";v_activity_on = new Image();v_activity_on.src = "images/village_activity_f2.gif";v_calendar_off = new Image();v_calendar_off.src = "images/village_calendar.gif";v_calendar_on = new Image();v_calendar_on.src = "images/village_calendar_f2.gif";v_info_off = new Image();v_info_off.src = "images/village_info.gif";v_info_on = new Image();v_info_on.src = "images/village_info_f2.gif";// LAYER 3 IMAGES (MEDIA)m_pr_off = new Image();m_pr_off.src = "images/media_pr.gif";m_pr_on = new Image();m_pr_on.src = "images/media_pr_f2.gif";m_media_off = new Image();m_media_off.src = "images/media_media.gif";m_media_on = new Image();m_media_on.src = "images/media_media_f2.gif";m_cred_off = new Image();m_cred_off.src = "images/media_cred.gif";m_cred_on = new Image();m_cred_on.src = "images/media_cred_f2.gif";// LAYER 4 IMAGES (VOLUNTEER)volunteer_info_off = new Image();volunteer_info_off.src = "images/vol_info.gif";volunteer_info_on = new Image();volunteer_info_on.src = "images/vol_info_f2.gif";volunteer_signup_off = new Image();volunteer_signup_off.src = "images/vol_signup.gif";volunteer_signup_on = new Image();volunteer_signup_on.src = "images/vol_signup_f2.gif";function turnOn(imgName){	document[imgName].src = eval(imgName + "on.src");}function turnOff(imgName){	document[imgName].src = eval(imgName + "off.src");}function rollOn(imgName) {  if (document.images) {    document[imgName].src = eval(imgName + "_on.src");  }}function rollOff(imgName) {  if (document.images) {    document[imgName].src = eval(imgName + "_off.src");  }}function waxOn(imgName,layer) {	if (document.all) {    document[imgName].src = eval(imgName + "_on.src");  }  	else {		document.layers[layer].document[imgName].src = eval(imgName + "_on.src");}}function waxOff(imgName,layer) {	if (document.all) {    document[imgName].src = eval(imgName + "_off.src");  }  	else {		document.layers[layer].document[imgName].src = eval(imgName + "_off.src");}}