
function popup_cookies(){
	propriete="toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=500,height=400,top=100,left=100";
	var popup = window.open ("configuration/popup_config.html", "popup_config",propriete);
	if (navigator.appName.substring(0,8) == "Netscape"){
		popup.location = url;
	}
}

function CheckUser() {
	this.bn = navigator.appName
	this.bv = navigator.appVersion
	this.ua = navigator.userAgent.toLowerCase()
	if (this.bn=="Netscape") {
	this.bsn = "ns"
	if (parseInt(this.bv) >= 5) {
	this.bsv = this.ua.substring(this.ua.lastIndexOf('/') + 1)
	} else {
	this.bsv = parseFloat(this.bv)
	}
	} else if (this.bn=="Microsoft Internet Explorer") {
	this.bsn = "ie"
	this.bsv = parseFloat(this.ua.substr(this.ua.indexOf("msie ") + 5,4),10)
	} else if (this.bn=="Opera") {
	this.bsn = "op"
	this.bsv = parseFloat(this.bv)
	} else if (this.bn=="Konqueror") {
	this.bsn = "kc"
	this.bsv = parseFloat(this.bv)
	} else {
	this.bsn = this.bn
	this.bsv = parseFloat(this.bv)
	}
	this.pf = navigator.platform.toLowerCase()
	if ((this.bv.indexOf('linux')>0) || (this.bv.indexOf('x11')>0)) this.psf = "Linux"
	else if (this.ua.indexOf('windows nt 5.1')>0) this.psf = "Windows XP"
	else if (this.ua.indexOf('windows nt 5.0')>0) this.psf = "Windows 2000"
	else if ((this.ua.indexOf('windows nt')>0) || (this.ua.indexOf('winnt4.0')>0) || (this.ua.indexOf('winnt')>0)) this.psf = "Windows NT 4.0"
	else if ((this.ua.indexOf("win95")!=-1) || (this.ua.indexOf("windows 95")!=-1)) this.psf = "Windows 95"
	else if ((this.ua.indexOf("win98")!=-1) || (this.ua.indexOf("windows 98")!=-1)) this.psf = "Windows 98"
	else if ((this.ua.indexOf("win 9x 4.90")!=-1)) this.psf = "Windows Millenium"
	else if (this.ua.indexOf("mac")!=-1) this.psf = "Macintosh"
	else if ((this.ua.indexOf("mac")!=-1) && ((this.ua.indexOf("68k")!=-1) || (this.ua.indexOf("68000")!=-1))) this.psf = "Macintosh 68000"
	else if ((this.ua.indexOf("mac")!=-1) && ((this.ua.indexOf("ppc")!=-1) || (this.ua.indexOf("powerpc")!=-1))) this.psf = "Macintosh Power PC"
	else this.psf = navigator.platform
	this.ja ="<font color=red>Non</font>"
	if (navigator.javaEnabled() == 1) this.ja ="Ok"
	document.cookie = "cookie_test=1";
	if (!document.cookie) this.ck = "<font color=red>Non</font>"
	else this.ck = "Ok"
	this.sr = screen.width + " x " + screen.height
	this.co = navigator.appCodeName + "<br>" + navigator.userAgent + "<br>" + navigator.appVersion + "<br>" + navigator.appName + "<br>" + navigator.platform
}
is = new CheckUser();
