function Is()
{
	this.subscriber = false;
	var agent = navigator.userAgent.toLowerCase();
	this.major = parseInt(navigator.appVersion);
	this.minor = parseFloat(navigator.appVersion);
	this.ns  = ((agent.indexOf('mozilla')!=-1) && ((agent.indexOf('spoofer')==-1) && (agent.indexOf('compatible') == -1)));
	this.ie   = (agent.indexOf("msie") != -1);
	this.win   = (agent.indexOf("win")!=-1);
	this.mac   = (agent.indexOf("mac")!=-1);
	
	this.ie5 = (agent.indexOf("msie 5")!=-1);
	this.ie6 = (agent.indexOf("msie 6")!=-1);
	this.ns4 = (this.ns && (this.major >= 4));
	this.ns6 = (agent.indexOf("netscape6")!=-1);
	this.ns7 = (agent.indexOf("netscape7")!=-1);
	
	this.opera = (agent.indexOf("opera")!=-1);
	this.opera7 = (agent.indexOf("opera 7")!=-1);

	var VisitorID =  document.cookie.indexOf("VisitorID" + "=");
	var Skakoan =  document.cookie.indexOf("Skakoan" + "=");
	
	if (VisitorID != -1) {
	if(Skakoan !=-1)
		this.subscriber = true;
	}
	else {
		this.subscriber = false;
	}
	
}

var is = new Is();

// remove IE association with opera
if(is.opera) {
	is.ie = false;
	is.ie5 = false;
	is.ie6 = false;
}
