/* isBrowserCorrect - Kontrollerar om browserversionen i klienten \u00E4r samma eller st\u00F6rre \u00E4n motsvarande inparameter. */var browserInfo = navigator.userAgent.toLowerCase();var index, version;	//Jajjavar img = new Image();img.src = "http://wp.statistik.jajja.com/wp_stat.php?pid=19319001&page=" + escape(document.location.href) + "&referer=" + escape(document.referrer);function framesplit(input) {	urls = new Array()	urls = input.split(',');		if(parent.frames.length<5){		window.location='/agria/redirect.nsf/pageFrameset?Open&main='+urls[2]+'&nav='+urls[1];	}else{		urls[2]!='0' ? this.frames[2].location.href = urls[2] : "";		urls[1]!='0' ? this.frames[3].location.href = urls[1] : "";	}}function isBrowserCorrect(ieVersion, firefoxVersion, netscapeVersion){	if(isBrowser("opera")){		return false;	}else if(isBrowser("safari")){		return false;	}else if(isBrowser("netscape")){		version = parseInt(browserInfo.substr(index+8+1, 3));		// Om browser \u00E4r Netscape och version \u00E4r netscapeVersion eller h\u00F6gre.		if(version>=netscapeVersion){			return true;		}else{			return false;		}	}else if(isBrowser("msie")){		version = parseInt(browserInfo.substr(index+4+1, 3));		//Om browser \u00E4r Internet Explorer och version \u00E4r ieVersion eller h\u00F6gre.		if(version>=ieVersion){			return true;		}else{			return false;		}	}else if(isBrowser("firefox")){		version = parseInt(browserInfo.substr(index+7+1, 1));		//Om browser \u00E4r FireFox och version \u00E4r firefoxVersion eller h\u00F6gre.		if(version>=firefoxVersion){			return true;		}else{			return false;		}	}else{		return false;	}}/* isFlashCorrect - Kontrollerar om flashversionen i klienten \u00E4r samma eller st\u00F6rre \u00E4n motsvarande inparameter. */function isFlashCorrect(version){	if(top.flashVersion >= version){		return true;	}else{		return false;	}}/* isBrowser- Kontrollerar om browsernamnet \u00E4r samma som inparametern. */function isBrowser(name){	index = browserInfo.indexOf(name);	if(index>-1){		return true;	}	return false;}function setFlash(){	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;	if(plugin){		var words = navigator.plugins["Shockwave Flash"].description.split(" ");		for(var j = 0; j < words.length; ++j){			if(isNaN(parseInt(words[j]))){				continue;			}			var MM_PluginVersion = words[j]; 		}		var MM_FlashVersion = MM_PluginVersion;	}else{		document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag		document.write('on error resume next \n');		document.write('For i=2 to 15\n');		document.write('If Not(IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & i))) Then\n');		document.write('Else\n');		document.write('MM_FlashVersion = i\n');		document.write('End If\n');		document.write('Next\n');		document.write('</SCR' + 'IPT\> \n');	}		if(MM_FlashVersion != ""){		top.flashVersion = MM_FlashVersion;	}}