<!--



var picset = 0;

function IM_ImgSwp(theImage, theSrc){
  var objStr,obj;
  /* Usage: IM_imgSwp(originalImage, 'newSourceUrl'); */

  if(document.images){
    if (typeof(theImage) == 'string') {
      objStr = 'document.' + theImage; obj = eval(objStr); obj.src = theSrc;
    } else if ((typeof(theImage) == 'object') && theImage && theImage.src) {
      theImage.src = theSrc;
    }
  }
}




function rotpics() {
  picset = picset + 1
  if (picset == 4) { document.R1.src='images/jRotKidsa.jpg' } 
  if (picset == 8) { document.R1.src='images/jRotKidsb.jpg' } 
  if (picset == 12) { document.R1.src='images/jRotCarriage.jpg' } 
  if (picset == 16) { document.R1.src='images/jRotFireWrks.jpg' }
  if (picset == 20) { document.R1.src='images/jRotKidsc.jpg' } 
  if (picset == 24) { document.R1.src='images/jRotband.jpg' }
  if (picset == 28) { document.R1.src='images/jRotcarol.jpg' }
  if (picset == 32) { document.R1.src='images/jRotFireWrksa.jpg' }
  if (picset == 36) { document.R1.src='images/jRotinfant.jpg' }
  if (picset == 40) { document.R1.src='images/jRotvocal.jpg' }
  if (picset == 44) { document.R1.src='images/jRotrock.jpg' }
  else if (picset == 48) { document.R1.src='images/jRotBld.jpg'; picset = 0; } 
}

function runfunctions() {
	rotpics()
	countdown()
}


function WM_preloadImages() {
/* Usage: WM_preloadImages('image 1 URL', 'image 2 URL', 'image 3 URL', ...); */
  // Don't bother if there's no document.images
  if (document.images) {
    if (typeof(document.WM) == 'undefined'){
      document.WM = new Object();
    }
    document.WM.loadedImages = new Array();
    // Loop through all the arguments.
    var argLength = WM_preloadImages.arguments.length;
    for(arg=0;arg<argLength;arg++) {
      // For each arg, create a new image.
      document.WM.loadedImages[arg] = new Image();
      // Then set the source of that image to the current argument.
      document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];
    }
  }
}

function WM_imageToggle(daImage, src1, src2, netscape_container){
  var objStr,obj;
  // Check to make sure that images are supported in the DOM.
	  myImage = document.images[daImage];
  if(document.layers){
      myImage = document.layers['container'].document.layers[netscape_container].document.images[daImage];
  }
  if(document.images){
    // Check to see whether you are using a name, number, or object
      if(myImage.src == src1){
	  	myImage.src = src2;
      } else {
	  	myImage.src = src1;
      }
  }
}




//Dynamic countdown Script II- © Dynamic Drive (www.dynamicdrive.com)
//Support for hour minutes and seconds added by Chuck Winrich (winrich@babson.edu) on 12-12-2001
//For full source code, 100's more DHTML scripts, visit http://www.dynamicdrive.com

function setcountdown(theyear,themonth,theday,thehour,themin,thesec){
yr=theyear;mo=themonth;da=theday;hr=thehour;min=themin;sec=thesec
}

//////////CONFIGURE THE COUNTDOWN SCRIPT HERE//////////////////

//STEP 1: Configure the countdown-to date, in the format year, month, day, hour(0=midnight,23=11pm), minutes, seconds:
setcountdown(2011,01,01,0,0,0)

//STEP 2: Change the two text below to reflect the occasion, and message to display on that occasion, respectively
var occasion=""
var message_on_occasion="Happy New Year!"

//STEP 3: Configure the below 5 variables to set the width, height, background color, and text style of the countdown area
var countdownwidth='400px'
var countdownheight='35px'
var closetags='</b></small></font>'

//////////DO NOT EDIT PAST THIS LINE//////////////////

var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
var crosscount=''

function start_countdown(){
if (document.layers)
document.countdownnsmain.visibility="show"
else if (document.all||document.getElementById)
crosscount=document.getElementById&&!document.all?document.getElementById("countdownie") : countdownie
countdown()
}

function countdown(){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todayh=today.getHours()
var todaymin=today.getMinutes()
var todaysec=today.getSeconds()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec
futurestring=montharray[mo-1]+" "+da+", "+yr+" "+hr+":"+min+":"+sec
dd=Date.parse(futurestring)-Date.parse(todaystring)
dday=Math.floor(dd/(60*60*1000*24)*1)
dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1)
dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1)
dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1)
//if on day of occasion
if(dday<=0&&dhour<=0&&dmin<=0&&dsec<=1&&todayd==da){
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(opentags+message_on_occasion+closetags)
document.countdownnsmain.document.countdownnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+message_on_occasion+closetags
return
}
//if passed day of occasion
else if (dday<=-1){
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(opentags+"Happy New Year!        ."+closetags)
document.countdownnsmain.document.countdownnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+"Happy New Year!        ."+closetags
return
}
//else, if not yet
else{
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(opentags+dday+ " days, "+dhour+" hours, "+dmin+" minutes, and "+dsec+" seconds left until "+occasion+closetags)
document.countdownnsmain.document.countdownnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+dday+ " days, "+dhour+" hours, "+dmin+" minutes, and "+dsec+" seconds. "+occasion+closetags
}
setTimeout("runfunctions()",1000)
}



// -->