// browser/OS init
function client_check() {
	var b=navigator.appName;
	if (b=="Netscape"){
		this.b="ns";
	}
	else if ((b=="Opera") || (navigator.userAgent.indexOf("Opera")>0)){
		this.b = "opera";
	}
	else if (b=="Microsoft Internet Explorer"){
		this.b="ie";
	}
	if (!b){
		this.b="?";
	}
	this.version=navigator.appVersion;
	this.v=parseInt(this.version);
	if((document.createElement && document.appendChild && document.getElementsByTagName) && this.b!="ie"){
		this.b = "dom";
	}
	var ua=navigator.userAgent.toLowerCase();
	if (ua.indexOf("win")>-1){
		this.os="win";
	}
	else if (ua.indexOf("mac")>-1){
		this.os="mac";
	}
	else{
		this.os="other";
	}
}

