
//
// getDateStamp: function that returns a date string  representing today's date //
//

function getDateStamp() {

	// get the current date //
	theDate = new Date();
	
	// convert the month into a string //
	switch (theDate.getMonth()) {
		case 0: theMonth = "January"; break;
		case 1: theMonth = "February"; break;
		case 2: theMonth = "March"; break;
		case 3: theMonth = "April"; break;
		case 4: theMonth = "May"; break;
		case 5: theMonth = "June"; break;
		case 6: theMonth = "July"; break;
		case 7: theMonth = "August"; break;
		case 8: theMonth = "September"; break;
		case 9: theMonth = "October"; break;
		case 10: theMonth = "November"; break;
		case 11: theMonth = "December"; break;
		}
		
	// return month + day + year //
	return theMonth + " " + theDate.getDate() + ", " + theDate.getFullYear();
	
	}

//
// 
//

// nav menu preloads //
navArrow.tall = new Image(); navArrow.tall.src = "/site/images/common/nav_arrow_tall.gif";
navArrow.std = new Image(); navArrow.std.src = "/site/images/common/nav_arrow_std.gif";
navArrow.off = new Image(); navArrow.off.src = "/site/images/spacer/clear.gif";

// navigation menu functions //
function navOn(navItem) {
  if (document.images) {
    if (document[navItem].height == 12) {
      document[navItem].src = navArrow.std.src;
      }
    else {
      document[navItem].src = navArrow.tall.src;
      }
    }
  }
  
function navOff(navItem) {
  if (document.images) {
    document[navItem].src = navArrow.off.src;
    }
  }

//
// 
//
  
// featured menu preloads //
featuredArrow.on = new Image(); featuredArrow.on.src = "/site/images/common/featured_arrow.gif";
featuredArrow.off = new Image(); featuredArrow.off.src = "/site/images/spacer/clear.gif";
  
// featured menu functions //
function featuredOn(imgName) {
  if (document.images) {
    document[imgName].src = featuredArrow.on.src;
    }
  }
  
function featuredOff(imgName) {
  if (document.images) {
    document[imgName].src = featuredArrow.off.src;
    }
  }

//
// imgOn, imgOff: standard rollover functions
//

// standard mouseover function //
function imgOn(imgName) {
	if (document.images) {
		document[imgName].src = eval(imgName + "_on.src");
		}
	}

// standard mouseout function //
function imgOff(imgName) {
	if (document.images) {
		document[imgName].src = eval(imgName + "_off.src");
		}
	}
	
//
//
//
