/* * * * * * * * * * * * *  GLOBAL.JS									  + Code-work intended for IE5 & NN6, but is     backwards compatible to version 3 of both browsers.* * * * * * * * * * * * *///--- Email Mungname = "skara";a = "@";b = "timeknock";b = b + ".org?subject=timeknock-website&body=Hello SKara,";email = name + a + b;//--- Page Ending Legal bizPageBot = "A HAND-CODED WEBSITE. Site Last Updated: 04 November 2011 &nbsp;"+ "All images are the property of the site owner<br>and may not be reproduced without permission. "+ "Copyright &COPY; 2000-2011. &nbsp;<a href='mailto:" + email + "'>email</a>.<br>ALL RIGHTS RESERVED.";//---Browser check - determine browser & version, & whether Java is enabledvar NNok=false;var IEok=false;var javaOK=false;var version = 'other'var browserName = navigator.appName;          var browserVer = navigator.appVersion;//---- route to proper browser / platform ----------------			// the correct version for MSIE is nested within, and not at the start of, the value for navigator.appVersion		if (browserName == 'Microsoft Internet Explorer') {			var strIndex = browserVer.indexOf('MSIE');				// yields the index number just before the 'M'			browserVer = parseInt(browserVer.substring(strIndex+5));		// +5 sets the initial char to a number for proper integer-parsing						if (navigator.userAgent.indexOf('Mac')!=-1 && browserVer > 4) {		// if not mac, then win				version = 'macIE5'; IEok=true;			}			else {				if (browserVer > 4) { version = 'winIE5'; IEok=true; }			}		}				if (browserName == 'Netscape') {			var browserVer = navigator.appVersion;			browserVer = browserVer.substring(0,1);			if (navigator.userAgent.indexOf('Mac')!=-1 && browserVer > 4) {		// if not mac, then win				version = 'macNN6'; NNok=true;			}			else {				if (browserVer >= 5) { version = 'winNN6'; NNok=true; }			}		}	javaOK=navigator.javaEnabled()function gobrowserfriendly(){	if(javaOK) {		if (version == 'winIE5') { parent.window.location='home.htm'; }		if (version == 'winNN6') { parent.window.location='home.htm'; }		if (version == 'macIE5') { parent.window.location='home.htm'; }		if (version == 'macNN6') { parent.window.location='home.htm'; }			if (version == 'other') { parent.window.location='homebas.htm'; }			}} // end gobrowserfriendly function/* * * * * * * * * * * * *										  end GLOBAL.js* * * * * * * * * * * * */
