// DETECTION NAVIGATEUR
function cb1() {
 this.userAgent  = navigator.userAgent.toLowerCase();
 this.appVersion = navigator.appVersion.toLowerCase();
 this.isNAV = (this.userAgent.indexOf("mozilla") != -1 && this.userAgent.indexOf("compatible") == -1) ? 1 : 0;
 this.isIE  = (this.userAgent.indexOf("msie") != -1) ? 1 : 0;
 this.isOPERA7 = (this.userAgent.indexOf("opera 7") != -1 || this.userAgent.indexOf("opera/7") != -1) ? 1 : 0;
 if (this.isOPERA7) {
  this.isNAV = 1;
  this.isIE  = 0;
 }
 this.isOPERA  = (this.userAgent.indexOf("opera") != -1 && !this.isOPERA7) ? 1 : 0;
 this.isDOM    = (document.getElementById) ? 1 : 0;
 this.isDOMNAV = (this.isDOM && this.isNAV) ? 1 : 0;
 this.isDOMIE  = (this.isDOM && this.isIE) ? 1 : 0;
 this.isNAV4 = (this.isNAV && !this.isDOM && document.layers) ? 1 : 0;
 this.isIE4  = (this.isIE && !this.isDOM && document.all) ? 1 : 0;
 this.isIE5  = (this.appVersion.indexOf("msie 5") != -1) ? 1 : 0;
 this.isIE6  = ((this.appVersion.indexOf("msie 6") != -1 || this.appVersion.indexOf("msie 7") != -1) && !this.isOPERA7) ? 1 : 0;
 this.isMAC    = (this.appVersion.indexOf("mac") != -1) ? 1 : 0;
 this.isMACIE4 = (this.isMAC && this.appVersion.indexOf("msie 4") != -1) ? 1 : 0;
 this.isMACIE5 = (this.isMAC && this.isIE5) ? 1 : 0;
 this.isMAC4   = (this.isMAC && (this.isNAV4 || this.isIE4)) ? 1 : 0;
}
var oCB1 = new cb1();
