var picset = 1;

today = new Date();
month = today.getMonth();
day = today.getDay();
year = today.getYear();
date = today.getDate();
//Change month from numeric # to the name of the month
if (month == 0) { new_month = " January " }
      else if (month == 1) { new_month = " February " }
      else if (month == 2) { new_month = " March " }
	else if (month == 3) { new_month = " April " }
	else if (month == 4) { new_month = " May " }
	else if (month == 5) { new_month = " June " }
	else if (month == 6) { new_month = " July " }
	else if (month == 7) { new_month = " August " }
	else if (month == 8) { new_month = " September " }
	else if (month == 9) { new_month = " October " }
	else if (month == 10) { new_month = " November " }
	else if (month == 11) { new_month = " December "
}
//Change day from numeric # to the name of the day
if (day == 0) { new_day = " Sunday, " }
	else if (day == 1) { new_day = " Monday, " }
	else if (day == 2) { new_day = " Tuesday, " }
	else if (day == 3) { new_day = " Wednesday, " }
	else if (day == 4) { new_day = " Thursday, " }
	else if (day == 5) { new_day = " Friday, " }
	else if (day == 6) { new_day = " Saturday, "
}
if (date == 1) { new_date = " 1st " }
	else if (date == 2) { new_date = " 2nd " }
	else if (date == 3) { new_date = " 3rd " }
	else if (date == 4) { new_date = " 4th " }
	else if (date == 5) { new_date = " 5th " }
	else if (date == 6) { new_date = " 6th " }
	else if (date == 7) { new_date = " 7th " }
	else if (date == 8) { new_date = " 8th " }
	else if (date == 9) { new_date = " 9th " }
	else if (date == 10) { new_date = " 10th " }
	else if (date == 11) { new_date = " 11th " }
	else if (date == 12) { new_date = " 12th " }
	else if (date == 13) { new_date = " 13th " }
	else if (date == 14) { new_date = " 14th " }
	else if (date == 15) { new_date = " 15th " }
	else if (date == 16) { new_date = " 16th " }
	else if (date == 17) { new_date = " 17th " }
	else if (date == 18) { new_date = " 18th " }
	else if (date == 19) { new_date = " 19th " }
	else if (date == 20) { new_date = " 20th " }
	else if (date == 21) { new_date = " 21st " }
	else if (date == 22) { new_date = " 22nd " }
	else if (date == 23) { new_date = " 23rd " }
	else if (date == 24) { new_date = " 24th " }
	else if (date == 25) { new_date = " 25th " }
	else if (date == 26) { new_date = " 26th " }
	else if (date == 27) { new_date = " 27th " }
	else if (date == 28) { new_date = " 28th " }
	else if (date == 29) { new_date = " 29th " }
	else if (date == 30) { new_date = " 30th " }
	else if (date == 31) { new_date = " 31st " 
}

/* Some of below Original Source: Webmonkey Code Library
   (http://www.hotwired.com/webmonkey/javascript/code_library/)
   Modified for use. */


function OpenFlash() {
  thewindow = window.open('http://www.osscompanies.com/shockwave/pppres.html', 'Flash', config='height=480,width=640,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,directories=no,status=yes');
} // OpenFlash

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_imageSwap(daImage, daSrc){
  var objStr,obj;
  /*
    WM_imageSwap()
    Changes the source of an image.

    Source: Webmonkey Code Library
    (http://www.hotwired.com/webmonkey/javascript/code_library/)

    Author: Shvatz
    Author Email: shvatz@wired.com

    Usage: WM_imageSwap(originalImage, 'newSourceUrl');

    Requires: WM_preloadImages() (optional, but recommended)
    Thanks to Ken Sundermeyer (ksundermeyer@macromedia.com) for his help
    with variables in ie3 for the mac. 
    */

  // Check to make sure that images are supported in the DOM.
  if(document.images){
    // Check to see whether you are using a name, number, or object
    if (typeof(daImage) == 'string') {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}

function RotPics() {
  if (picset == 1) { 
       document.R1.src='images/fpicR1.jpg';
       document.R2.src='images/ftblueComm.gif'; 
       picset = 2; } 
     else if (picset == 2) { 
       document.R3.src='images/fphtbadge.jpg'; 
      picset = 3; } 
    else if (picset == 3) { 
      document.R2.src='images/fPicR2.jpg'; 
      document.R3.src='images/frtgrayind.gif'; 
      picset = 4; } 
    else if (picset == 4) { 
      document.R1.src='images/fphtcar.jpg';
      picset = 5; } 
    else if (picset == 5) { 
      document.R1.src='images/fPicR2.jpg';
      document.R2.src='images/fPhtMon.jpg';
      picset = 6; } 
    else if (picset == 6) { 
       document.R1.src='images/fPicR2.jpg'; 
       document.R2.src='images/fpicR1.jpg';
       document.R3.src='images/fPicR4.jpg';
      picset = 1;
  }
  setTimeout('RotPics()',4000);	
}


function WM_checkIn(id) {

/*
WM_checkIn()
Takes the ID of a positioned HTML element and returns an object reference.

Source: Webmonkey Code Library
(http://www.hotwired.com/webmonkey/javascript/code_library/)

Author: Taylor
Author Email: taylor@wired.com
Author URL: http://www.taylor.org/

Usage: WM_checkIn('id')
*/

  // This function checks for DOM strategy, then 
  // returns an object reference.
  if (document.all) {
    return document.all[id].style;
  } else if(document.layers) {
    return document.layers[id];
  }
}

// -->