/*Random Image/Link JavaScript(tm) by Jim Matvichuk: This code may be used freely as long as this copyright notice remains with the code. : Copyright© 1997, Jim Matvichuk Jim_Matvichuk@compuserve.com All rights reserved : Last Revision: August 19, 1997 >please keep these lines on when you copy the source : made by: Nicolas - http://www.javascript-page.com */
var family = new Array()
family.push('http://www.uwec.edu/advising/nss/images/EOC.jpg')
family.push('http://www.uwec.edu/advising/nss/images/EOC2.jpg')
family.push('http://www.uwec.edu/advising/nss/images/HIST.jpg')
family.push('http://www.uwec.edu/advising/nss/images/FootClinic.jpg')
family.push('http://www.uwec.edu/advising/nss/images/children.jpg')


//This function returns a random integer from 0-length
function ranLoc2(length) {
	var G_day = new Date();
	var G_seed = 1+G_day.getTime(); 
	return (parseInt(((G_seed - (parseInt(G_seed/1000,10) * 1000))/10)/100*length + 1,10)-1);	
}

function ranPic2() {
	var loc = document.location.href;
	loc = loc.toLowerCase();
	var alt = '';
	var src = '';
	//chooses which image to display depending on the location of the page
	
		src = family[ranLoc2(family.length)];
		alt = 'NSS';
	
	document.write("<img src='"+src+"' alt='"+alt+"' width='177' height='115' />");
}