//Script de Detecção do Navegador
function Is() {
    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) && (agent.indexOf('firefox') == -1) && (agent.indexOf('chrome') == -1)));
    this.ns2 = (this.ns && (this.major == 3));
    this.ns3 = (this.ns && (this.major == 3));
    this.ns4 = (this.ns && (this.major >= 4));
    this.ns406 = (this.ns && (this.minor == 4.06));
    this.ns407 = (this.ns && (this.minor == 4.07));
    this.ns408 = (this.ns && (this.minor == 4.08));
    this.ns45 = (this.ns && (this.minor == 4.5));
    this.ns6 = (this.ns && (this.major >= 5));
    this.ie   = (agent.indexOf("msie") != -1 || agent.indexOf('firefox') != -1 || agent.indexOf('chrome') != -1);
    this.ie3  = (this.ie && (this.major == 2));
    this.ie4  = (this.ie && (this.major >= 4));    
	this.ie5  = (this.ie4 && (navigator.appVersion.indexOf('MSIE 4')==-1));
	this.ie6  = (this.ie5 && (navigator.appVersion.indexOf('MSIE 5')==-1));
	this.ie7  = (this.ie6 && (navigator.appVersion.indexOf('MSIE 6')==-1));
	this.ie8  = (this.ie7 && (navigator.appVersion.indexOf('MSIE 7')==-1));
    this.fox = (agent.indexOf("firefox") != -1 || agent.indexOf("chrome") != -1);
	this.chr = (agent.indexOf("chrome") != -1);
    this.op3 = (agent.indexOf("opera") != -1);
	this.mac = (navigator.appVersion.indexOf("Mac")!=-1);
}

var is = new Is()
//Fim da Detecção do Navegador



