function dateStamp() {
	var mydate = new Date();
	var year=mydate.getYear();
	if( year < 1900 ) {
		year += 1900;
	}
	var day = mydate.getDay();
	var month = mydate.getMonth();
	var daym = mydate.getDate();
	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 hours = mydate.getHours();
	var minutes = mydate.getMinutes();
	var seconds = mydate.getSeconds();
	var timePart = dayarray[ day ].toUpperCase() + " ";
	timePart = timePart
	timePart += ( ( hours > 12 ) ? hours - 12 : hours );
	if( timePart == "0" ) timePart = 12;
	timePart += ( ( minutes < 10 ) ? ":0" : ":" ) + minutes;
//	timePart += ( ( seconds < 10 ) ? ":0" : ":" ) + seconds;
	timePart += ( hours >= 12 ) ? " PM" : " AM";
	timePart += ", ";
	var datePart = montharray[ month ].toUpperCase();
	datePart += " " + daym + "/" + year;
	
	var dString = "<span class='timePart'>" + timePart
					+ "</span><span class='datePart'>" + datePart
					+ "</span>";
	return dString;
}

function swapFold( sxnName, foldName ) {
	theDiv = document.getElementById( sxnName );
	if( theDiv.className == "showFold" ) {
		theDiv.className = "hideFold";
		document.getElementById( foldName ).className = "fold";
	} else {
		theDiv.className = "showFold";
		document.getElementById( foldName ).className = "unfold";
	}

}

function foldDiv( sxnName, foldName ) {
	theDiv = document.getElementById( sxnName );
	theDiv.className = "hideFold";
	if( foldName != null ) {
		document.getElementById( foldName ).className = "fold";
	}
}

function unFoldDiv( sxnName, foldName ) {
	theDiv = document.getElementById( sxnName );
	theDiv.className = "showFold";
	if( foldName != null ) {
		document.getElementById( foldName ).className = "unfold";
	}
}

