function getModifiedDate(showday,showmonth,showdate,showyear,showtime) {
	//declarations
	var months = new Array("01","02","03","04","05","06","07","08","09","10","11","12");
	var days = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
        var dates = new Array("00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31");
	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) ? dates[moddate.getDate()] + "/" : "";
	display += (showyear) ? moddate.getFullYear() : "";
	display += (showtime) ? ", " + moddate.getHours(moddate) + ":" + moddate.getMinutes(moddate) + ":" + moddate.getSeconds(moddate) : "";
	
	document.write(display);
}
