function isIE() {
    return !!(window.attachEvent && !window.opera);
}

function isIE6() {
    if (isIE()) {
	return ((!window.XMLHttpRequest)&&(typeof document.addEventListener != 'function'));
    }
    return false;
}

function isOpera() {
    return !!(window.opera);
}

function isKonqueror() {
    return (navigator.userAgent.indexOf("Konqueror") > -1) ? true : false;
}

function CLIENT() {
    this.browser = 0;
    this.version = 0;
}

CLIENT.prototype.isIE = function() {
    return isIE();
}

CLIENT.prototype.isIE6 = function() {
    return isIE6();
}

CLIENT.prototype.isOpera = function() {
    return isOpera();
}

CLIENT.prototype.isKonqueror = function() {
    return isKonqueror();
}

client = new CLIENT();
