/*Funktionerne checker efter :	- Netscape 4.7	- Netscape 6.0	- Internet Explorer 4.0	- Internet Explorer 5.0ellers returneres null*/function BrowserObject() {	var totalstring = navigator.userAgent; 	var browser = null;	var version = null;	var majorRelease = null;	var minorRelease = null;	var isIE4 = false;	var isIE5 = false;	var isNN4 = false;	var isNN6 = false;	//isOK er en variabel der sūttes afhūngig af den pgūldende applikation (fx IE 5.0 eller NS 6.0 for fuld funktionalitet)	var isOK = false;	var ukendt = false;	//NETSCAPE	if (navigator.appName == "Netscape") {		this.browser = "netscape";			// Netscape 4.7 (skal mske vūre search("4.7")			if (navigator.appName == "Netscape" && (navigator.appVersion.search("4") > -1)) {				this.version = "4";				this.isNN4 = true;			}						// Netscape 6.0			if (navigator.appName == "Netscape" && (navigator.appVersion.search("5.0") > -1)) {				this.version = "6";				this.isNN6 = true;				this.isOK = true;			}	}	//INTERNET EXPLORER	if ((navigator.appName.search("Explorer") > -1)) {		this.browser = "explorer";			// Internet Explorer 4.0			if ((navigator.appName.search("Explorer") > -1) && (navigator.appVersion.search("5.") == -1)) {				this.version = "4";				this.isIE4 = true;			}			// Internet Explorer 5.0			if ((navigator.appName.search("Explorer") > -1) && (navigator.appVersion.search("5.") > -1)) {				this.version = "5";				this.isIE5 = true;				this.isOK = true;			}	}	}