
/* Browser sensing */
/* Set up boolian variables to record the browser type */
var isNS4 = 0;
var isNS3 = 0;
var isIE4 = 0;
var isIE3 = 0;
var isOld = 0;
var hasDOM = 0;

/* Determines the browser name and browser version */
var brow = ((navigator.appName) + (parseInt(navigator.appVersion)));

if (document.getElementById)
	hasDOM = 1;

/* reassign variable depending on the browser */
if (brow == "Netscape4") 
{isNS4 = 1;}
	else if (brow == "Netscape3") 
	{isNS3 = 1;}
		else if (brow == "Microsoft Internet Explorer4") 
		{isIE4 = 1;}
			else if (brow == "Microsoft Internet Explorer3") 
			{isIE3 = 1;}
				else 
				{isOld = 1;}
