	// Chequea la plataforma y el navegador del cliente	
	var its;
	var browserName;
	var browserNameLong;
	var browserNew;
	var preloadFlag = false;
	var Macintosh = navigator.userAgent.indexOf('Mac')>0;

	function its() {
		var n = navigator;
		var ua = ' ' + n.userAgent.toLowerCase();
		var pl = n.platform.toLowerCase();
		var an = n.appName.toLowerCase();

		// Version del navegador
		this.version = n.appVersion;
		this.nn = ua.indexOf('mozilla') > 0;

		// Versiones 'compatibles' de mozilla que no sean navigator
		if(ua.indexOf('compatible') > 0) {
			this.nn = false;
		}
		
		this.opera = ua.indexOf('opera') > 0;
		this.ie = ua.indexOf('msie') > 0;
		this.major = parseInt( this.version );
		this.minor = parseFloat( this.version );

		// Plataforma Mac/PC
		this.mac = ua.indexOf('mac') > 0;
		this.win = ua.indexOf('win') > 0;

		// Funciona para IE5 que se reporta como IE4
		if(this.ie) {
			if(ua.indexOf("msie 5") > 1) {
			var msieIndex = navigator.appVersion.indexOf("MSIE") + 5;
			this.major = parseFloat(navigator.appVersion.substr(msieIndex,3));
			}
		}

		return this;
	}

	function browserNaming() {
		its = new its();
		
		// Es un navegador DOM-habilitado?
		if (!document.getElementById) {
			browserNew = false;
		}
		else {
			browserNew = true;
		}

		// El nombre
		if (its.opera) {
			browserName = "Opera";
		}
		else if (its.ie) {
			browserName = "IE";
		}
		else {
			browserName = "NS";
		}

		// El numero
		browserNameLong = browserName + its.major;
	}

// Quita el borde a los links en IE4+ y NS6

	function unblur() {
		this.blur();
	}

	function getLinksToBlur() {
		if ((browserNew) || (browserName == "IE")) {
			if (browserNew) {
				links = document.getElementsByTagName("a");
			}
			else {
				links = document.all.tags("a");
			}
			for(i=0; i<links.length; i++) {
				links[i].onfocus = unblur
			}
		}
		if (browserName == "IE") {
			if (browserNew) {
				drops = document.getElementsByTagName("select");
			}
			else {
				drops = document.all.tags("select");
			}
			for(i=0; i<drops.length; i++) {
				drops[i].onfocus = unblur
			}
		}
	}
	
// Cambia la Class para los botones que no usan changeImage()
// Funciona para: IE4+, NS6+
	function buttonSwitcher(thisId,param) {
		if (browserNew) {
			d = document.getElementById(thisId);
			if (param == "off") {
				d.style.backgroundColor='#FFFFFF';
			}
			else {
				d.style.backgroundColor='#525293';
			}
		}
		else {
			d = document.all[thisId];
			d.className = 'boton'+param;
		}
	}
	
	function antispam(name,domain) {
    	document.location = "mailto:" + name + "@" + domain;
	}