function getModifiedDate(showday,showmonth,showdate,showyear,showtime) {
	//declarations
	var months = new Array("Jan.","Feb.","March","April","May","June","July","August","Sept.","Oct.","Nov.","Dec.");
	var days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
	var display = "";
	
	//get document modified date
	var moddate = document.lastModified;
	//create date format from string
	var moddate = new Date(moddate);
	
	//create displayable string
	display += (showday) ? days[moddate.getDay()] : "";
	display += (showmonth) ? " " + months[moddate.getMonth()] : "";
	display += (showdate) ?  " " + moddate.getDate(moddate) : "";
	display += (showyear) ? ", " + moddate.getFullYear() : "";
	display += (showtime) ? " " + moddate.getHours(moddate) + ":" + moddate.getMinutes(moddate) + ":" + moddate.getSeconds(moddate) : "";
	
	document.write(display);
}
