
Client = function()
{
	this.isWin = (navigator.appVersion.indexOf("Win") > -1)
	this.isMac = (navigator.appVersion.indexOf("Mac") > -1)
	if (document.images)
	{
		this.isCSS = (document.body && document.body.style) ? true : false
		this.isDOM1 = (this.isCSS && document.getElementById && !(this.isMac && document.all)) ? true : false;
		this.isDOM0 = (this.isCSS && document.all) ? true : false;
		this.isBaseline = (this.isDOM1 || this.isDOM0) ? true : false;
	}
}
Client.prototype.getObject = function(o)
{
	if (typeof o == "object") return o;
	if (this.isDOM1) return document.getElementById(o);
	if (this.isDOM0) return document.all[o];
	return false;
}
Client.prototype.getStyle = function(o)
{
	o = this.getObject(o);
	return this.isCSS ? o.style : o;
}
