	function api_browser_check(){
		this.name = navigator.appName;
		this.ver = navigator.appVersion;
		this.userAgent = navigator.userAgent;
		this.dom = document.getElementById?true:false;
		this.ie5_5 = (this.ver.indexOf("MSIE 5.5")>-1 && this.dom)?true:false;
		this.ie5 = (this.ver.indexOf("MSIE 5.0")>-1 && this.dom)?true:false;
		this.ie = (document.all && !this.dom)?true:false;
		//	this.n6=(this.dom && parseInt(this.ver) >= 5) ?true:false;
		//	opera returned true for this, so test for "Netscape6" instead
		this.n6 = (this.userAgent.indexOf("Netscape6")>-1 && this.dom)?true:false;
		this.n = (document.layers && !this.dom)?true:false;
		this.opera = (this.name.indexOf("Opera")>-1)?true:false;
		this.dreamcast = (this.name.indexOf("Dreamcast")>-1)?true:false;
		return this
		}
		//	short names are included for convenience, though they may be phased out in a later release...
		this_browser = new api_browser_check();
		browserDOM = dom = this_browser.dom;
		browserIE5_5 = ie5_5 = this_browser.ie5_5;
		browserIE5 = ie5 = this_browser.ie5;
		browserN6 = n6 = this_browser.n6;
		browserIE = ie = this_browser.ie;
		browserN = n = this_browser.n;
		browserOpera = opera = this_browser.opera;
		browserDreamcast = dc = this_browser.dreamcast;
		browserUserAgent = this_browser.userAgent;
		
		/* Place in document
		
		if (this.n){
			document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"101%\"><tr><td class=\"khaki\" width=\"50%\"><img src=\"images/shared/spacer.gif\" width=\"5\" height=\"5\" border=\"0\"></td><td align=\"center\"><a href=\"version2.html\" target=\"_self\"><img src=\"images/shared/logo2.jpg\" width=\"500\" height=\"120\" border=\"0\" alt=\"Evolutionary Psychology\"></a></td><td class=\"border\" width=\"50%\"><img src=\"images/shared/spacer.gif\" width=\"5\" height=\"5\" border=\"0\"></td></tr><tr><td colspan=\"3\" class=\"borderWhite\"><img src=\"images/shared/spacer.gif\" width=\"5\" height=\"3\" border=\"0\"></td></tr><tr><td colspan=\"3\"><img src=\"images/shared/spacer.gif\" width=\"5\" height=\"5\" border=\"0\"></td></tr></table>");
		}else{
	  		document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"100%\"><tr><td class=\"khaki\" width=\"50%\"><img src=\"images/shared/spacer.gif\" width=\"5\" height=\"5\" border=\"0\"></td><td align=\"center\"><a href=\"version2.html\" target=\"_self\"><img src=\"images/shared/logo2.jpg\" width=\"500\" height=\"120\" border=\"0\" alt=\"Evolutionary Psychology\"></a></td><td class=\"border\" width=\"50%\"><img src=\"images/shared/spacer.gif\" width=\"5\" height=\"5\" border=\"0\"></td></tr><tr><td colspan=\"3\" class=\"borderWhite\"><img src=\"images/shared/spacer.gif\" width=\"5\" height=\"3\" border=\"0\"></td></tr><tr><td colspan=\"3\"><img src=\"images/shared/spacer.gif\" width=\"5\" height=\"5\" border=\"0\"></td></tr></table>");
			} 
		
		*/
		
