// Process the document info used in the footer
var myURL = document.location.href;

// Get the part of the URL that comes after main directory
//myURL = myURL.substring(myURL.indexOf("az2is/") + 6);
// Get the document mod date
var myMod = new Date(document.lastModified);
if ( Date.parse(myMod) > 0) {
	mon = new Array("jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec");
	myMod = "last updated: " + mon[myMod.getMonth()] + " " + myMod.getDate() + ", " + (1900 + myMod.getYear()) ;
} else {
	myMod = "sometime since may 2000";
}


function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i < changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}


function write_footer() {
	document.write('<br><br><br><p align=center><center>');
	document.write('<FONT FACE="verdana,arial,helvetica" SIZE=+4 color="#6666FF">. <b>.</b> .</font><br>');

	document.write('<FONT FACE="verdana, arial,helvetica" SIZE=2><B>' + document.title + '</B><BR>');
	document.write('<A HREF="http://www.mcli.dist.maricopa.edu/alan/"> alan levine</a><br>');
	document.write('<B>Wanna contact at me?</B><br> try <B><A HREF="mailto:alan.levine@domail.maricopa.edu?subject=' + document.title + '">alan.levine@domail.maricopa.edu</A></B><br><br>');
	document.write('<B>last update:<br></B>' + myMod + '<BR>');
	document.write('<B>where in the web:<br></B>' + document.location.href + '<br></FONT>');
	document.write('<FONT FACE="verdana,arial,helvetica" SIZE=+4 color="#6666FF">. <b>.</b> .</font></center></P>');
	
}
