// JavaScript Footer
/*
document.write("<p align='center'><a href='http://www.humanfactors.illinois.edu/search/siteSearch.aspx'><img src='http://www.humanfactors.illinois.edu/img/misc/Google82x30.gif' alt='Google Search' width='84' height='30' border='0'/></a>")
document.write("<a href='http://www.humanfactors.illinois.edu/search/siteSearch.aspx'> Search Human Factors on Google</a></p>")
*/
document.write("<p><table width='800' border='0' align='left' cellpadding='0' cellspacing='0'><tr><td width='200' align='center'><a href='http://www.humanfactors.illinois.edu/resources/hfes'><img src='http://www.humanfactors.illinois.edu/img/logos/HfesFooterLogo.gif' border='0' /></a></td><td width='200' align='center'><a href='http://www.humanfactors.illinois.edu/search/directory.aspx'><img src='http://www.humanfactors.illinois.edu/img/logos/HumanFactors86x25Transparen.gif' width='86' height='25' border='0' /></a></td><td width='200' align='center'><a href='http://www.humanfactors.illinois.edu/search/siteSearch.aspx'><img src='http://www.humanfactors.illinois.edu/img/misc/Google82x30.gif' width='82' height='30' border='0' /></a></td></tr><tr><td align='center'><a href='http://www.humanfactors.illinois.edu/resources/hfes' class='nav'>Human Factors and Ergonomics Society</a> </td><td align='center'><a href='http://www.humanfactors.illinois.edu/search/directory.aspx' class='nav'>Human Factors Site Table of Contents</a> </td><td align='center'><a href='http://www.humanfactors.illinois.edu/search/siteSearch.aspx' class='nav'>Search Human Factors Site on Google</a> </td></tr></p>")

document.write("<tr><td colspan='3'><br><p class='nav'>The UIUC Human Factors site is maintained by the Human Factors Division of the ") 
document.write("<a href='http://www.aviation.illinois.edu/'>Institute of Aviation</a>.")
document.write(" Please <a href='http://www.humanfactors.illinois.edu/about/contact_info.html'>contact us</a> ")
document.write("with any questions or comments. &copy; 2003-2008 The Board of Trustees at the ")
document.write("<a href='http://www.illinois.edu/'>University of Illinois</a>.</p></td></tr></table>")
document.write("<script type='text/javascript' src='https://emergency.webservices.illinois.edu/illinois.js'></script>")

/*

//Next comes StatCounter.com code that we're supposed to past onto our page, less the language="javascript" stuff.
var sc_project=648549; 
var sc_partition=5; 
var sc_security="f7fb3b3d"; 
var sc_invisible=1; 
//Next comes the code located on www.statcounter.com/counter/counter.js. which I moved to this file
var sc_width=screen.width;		
var sc_referer = ""+document.referrer;
// var sc_referer = parent.document.referrer;
var sc_title = "";
var sc_url = "";
var sc_unique = 0;
var sc_returning = 0;
var sc_returns = 0;
var sc_agent = navigator.appName+' '+navigator.appVersion;
var sc_base_dir;
var sc_error=0;
var sc_remove=0;
var sc_http_url="http";
var sc_link_back_start = "";
var sc_link_back_end = "";
var sc_security_code = "";


if(window.sc_https) {
	if(sc_https==1) {
		sc_doc_loc = ''+document.location;
		myRE = new RegExp("^https", "i")
		if(sc_doc_loc.match(myRE)) {
			sc_http_url = "https";
		}
		else {
			sc_http_url = "http";
		}
	}
	else
		sc_http_url = "http";
}


if(window.sc_partition) {
	if(sc_partition==1)
		sc_base_dir = sc_http_url+"://c2.statcounter.com/";
	else if(sc_partition==2)
		sc_base_dir = sc_http_url+"://c3.statcounter.com/";
	else if(sc_partition==3)
		sc_base_dir = sc_http_url+"://c4.statcounter.com/";
	else if(sc_partition==4)
		sc_base_dir = sc_http_url+"://c5.statcounter.com/";
	else if(sc_partition==5)
		sc_base_dir = sc_http_url+"://c6.statcounter.com/";
	else
		sc_base_dir = sc_http_url+"://c1.statcounter.com/";
}
else {
	sc_base_dir = sc_http_url+"://c1.statcounter.com/";
	var sc_partition=0;
}

if(window.sc_text)
	sc_base_dir += "text.php?";
else
	sc_base_dir += "t.php?";

if(window.sc_project) {
	sc_base_dir += "sc_project="+sc_project;
	if(sc_project=="610695")
		sc_remove=1;
}
else if(window.usr) {
	sc_base_dir += "usr="+usr;
}
else {
	sc_error = 1;
}

if(window.sc_remove_link) {
	sc_link_back_start = "";
	sc_link_back_end = "";
}
else {
	sc_link_back_start = "<a href=\"http://www.StatCounter.com\" target=\"_blank\">";
	sc_link_back_end = "<\/a>";
}

sc_date = new Date();
sc_time = sc_date.getTime();
sc_agent = sc_agent.toUpperCase();

sc_time_difference = 60*60*1000;

sc_title = ""+document.title;
sc_url = ""+document.location;
sc_referer = sc_referer.substring(0, 150);
sc_title = sc_title.substring(0, 150);
sc_url = sc_url.substring(0, 150);
sc_referer = escape(sc_referer);
sc_title = escape(sc_title);
sc_url = escape(sc_url);

if (window.sc_security) {
	sc_security_code = sc_security;
}

var sc_tracking_url = sc_base_dir+"&resolution="+sc_width+"&camefrom="+sc_referer+"&u="+sc_url+"&t="+sc_title+"&java=1&security="+sc_security_code+"&sc_random="+Math.random();

// if no usr or project set then display visibile

// if usr=="someuser" then display visibile

if(sc_error==1) {
		document.writeln("Code corrupted. Insert fresh copy.");
}
else if(sc_remove==1) {
		document.writeln("<b>StatCounter cannot track a high volume website like yours for free. This was stated several times during the sign up process. Please remove the code ASAP.</b>");
}
//else if(sc_partition==3) {
	// down at the moment
//}
else if (window.sc_text) {
	document.writeln('<scr' + 'ipt language="JavaScript"' + ' src=' + sc_tracking_url + '></scr' + 'ipt>');
}
else if (window.sc_invisible) {
	if(window.sc_invisible==1) {
	sc_img = new Image();
	sc_img.src = sc_tracking_url;
	}
	else {
		document.writeln(sc_link_back_start+"<IMG SRC=\""+sc_tracking_url+"\" ALT=\"StatCounter - Free Web Tracker and Counter\" BORDER=\"0\">"+sc_link_back_end);
	}
}
else {
	document.writeln(sc_link_back_start+"<IMG SRC=\""+sc_tracking_url+"\" ALT=\"StatCounter - Free Web Tracker and Counter\" BORDER=\"0\">"+sc_link_back_end);
}



<!-- mywebstats.org hitcounter start-->

<!--
cname="mws"; _d=document;
if (_d.cookie.indexOf(cname) == -1) { _u=1; } else { _u=0; } _d.cookie = cname + "=true";
_d.write("<img border=\"0\" alt=\"Free Hit Counter\" src=\"http://www.mywebstats.org/count.php?js=1&refer="+escape(document.referrer)+"&sw="+screen.width+"&sh="+screen.height+"&sc="+screen.colorDepth+"&uq="+_u+"&uid=2418\">");
//-->


*/
