
function o_Navegador( ) {
this.nombre = navigator.appName;
this.iniciar = iniciar;
this.ponerModVer = ponerModVer;
this.IE = this.nombre.toUpperCase().indexOf('MICROSOFT') >=0;
this.NS = this.nombre.toUpperCase().indexOf('NETSCAPE') >=0;
this.OP = this.nombre.toUpperCase().indexOf('OPERA') >= 0;
this.XX = !this.IE && !this.NS && !this.OP;
this.version = this.iniciar();
this.Verent = parseInt(this.version);
this.standard = (this.IE && this.Verent >=5) || (this.NS && this.Verent >=5)
this.modVer = this.ponerModVer();

function iniciar() {
var ver = navigator.appVersion;
if(ver+"" != "NaN")
if (this.IE)
    {
    ver.match(/(MSIE)(\s*)([0-9].[0-9]+)/ig);
    ver = RegExp.$3;
    }
return ver;
}
function ponerModVer()
{
if (this.IE) return "IE"+this.Verent;
if (this.NS) return "NS"+this.Verent;
if (this.OP) return "OP"+this.Verent;
return "XXNN";
}
}


