<!--
var months = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");

function showDate(){
	var now = new Date(); // Retrieve date
	var tmp = months[now.getMonth()] + " "; // Retrieve the month
	tmp += now.getDate(); // Retrieve the day of the month
	tmp += ", ";
	tmp += now.getFullYear(); // Retrieve the year
	return tmp;
	}
// Browser Slide-Show script.
// With image cross fade effect for those browsers that support it.
// Script copyright (C) 2004 www.cryer.co.uk.
// Script is free to use provided this copyright header is included.
var slideCache = new Array();
function RunSlideShow(pictureName,imageFiles,displaySecs)
{
	var imageSeparator = imageFiles.indexOf(";");
	var nextImage = imageFiles.substring(0,imageSeparator);
	if (document.all)
	{
		document.getElementById(pictureName).style.filter="blendTrans(duration=2)";
		document.getElementById(pictureName).filters.blendTrans.Apply();
	}
	document.getElementById(pictureName).src = nextImage;
	if (document.all)
	{
		document.getElementById(pictureName).filters.blendTrans.Play();
	}
	var futureImages= imageFiles.substring(imageSeparator+1,imageFiles.length)
		+ ';' + nextImage;
	setTimeout("RunSlideShow('"+pictureName+"','"+futureImages+"',"+displaySecs+")",
		displaySecs*1000);
	// Cache the next image to improve performance.
	imageSeparator = futureImages.indexOf(";");
	nextImage = futureImages.substring(0,imageSeparator);
	if (slideCache[nextImage] == null) {
		slideCache[nextImage] = new Image;
		slideCache[nextImage].src = nextImage;
	}
}

/*	Calendar Scripts
*	This CalendarPicker based on Freeware code from 
*					http://simplythebest.net/info/javascript33.html. The 
*					following copyright notice applies only to the CalendarPicker 
*					code. 
*
*    Copyright 1999 InsideDHTML.com, LLC. All rights reserved. 
*					See www.siteexperts.com for more information.
*/
function popCalendar(txt, valc, valr){
	if(window.showModalDialog){
		var sRtn;
		sRtn = window.showModalDialog("/Controls/calPopup.html", document.getElementById(txt).value,"center=yes;dialogWidth=310px;dialogHeight=350px");
		if (sRtn != ""){ 
			document.getElementById(txt).value = sRtn;
			clearValidator(valc);
			clearValidator(valr);
			txtOnChange();
		}
	}
}
//-->
