// **********************************************************************************************
// 						
//
//	PROPIEDADES DEL OBJETO:
//
//		-ns: a verdadero cuando el navegador es el Netscape
//		-ns4: a verdadero cuando el navegador es el Netscape Comunicator
//		-ns6: a verdadero cuando el navegador es el Netscape 6
//		-ie: a verdadero cuando el navegador es el Microsoft Internet Explorer
//		-ie4: a verdadero cuando el navegador es el Microsoft Internet Explorer 4
//		-ie5: a verdadero cuando el navegador es el Microsoft Internet Explorer 5
//		-ie6: a verdadero cuando el navegador es el Microsoft Internet Explorer 6
//
//	METODOS DEL OBJETO:
//
//		-N/A
//
//
// **********************************************************************************************

function Navegador()
{
	this.nav="no valido"	

	if (navigator.appName=="Netscape") 
		this.nav = "ns";
	if (navigator.appName=="Microsoft Internet Explorer") 
		this.nav = "ie";
	
	this.v = navigator.appVersion
	this.ver = parseInt(this.v)
	
	//DETECCIÓN DEL NAVEGADOR 
	//	-Microsoft Internet Explorer (Versión 4.0 o superior)
	//	-Netscape (Versión 4.0 o superior)

	this.ns = (this.nav=="ns" && this.ver>=4)
	this.ie = (this.nav=="ie" && this.ver>=4)
	
	//DETECCIÓN DE LA VERSIÓN DEL NAVEGADOR
	
	this.ns4 = (this.nav=="ns" && this.ver==4)
	this.ns6 = (this.nav=="ns" && this.ver>=5)
	this.ie4 = (this.v.indexOf('MSIE 4')>0)
	this.ie5 = (this.v.indexOf('MSIE 5')>0)
	this.ie6 = (this.v.indexOf('MSIE 6')>0)
}