/* browser type detection */

// identBrowser class
function identBrowser()
{
	var ua = navigator.userAgent.toLowerCase();
	
	this.isIE = (navigator.appName == "Microsoft Internet Explorer") && (ua.indexOf("opera") == -1);
	this.isIE7 = this.isIE && (ua.indexOf("msie 7") != -1);
	this.isGecko = ua.indexOf('gecko') != -1;
	this.isSafari = ua.indexOf('safari') != -1;
	this.isOpera = ua.indexOf('opera') != -1;
}

identBrowser.prototype.toString = function(){ return "[object identBrowser]"; };

// instance
var iBrowser = new identBrowser();
