<!--
	function getRoot()
	{
		return document.location.protocol+"//"+document.location.host+"/";
	}

noenter = function (b) {
	if (window.event && window.event.keyCode == 13)
	{
		if (b==2) regUserMasDatos();
		else regUserVip();
	}
}
//
moveTab = function (obj)
{
	if (window.event && window.event.keyCode == 13)
	{
		obj = eval('document.getElementById("'+obj+'")');
		if (obj == undefined) obj = eval('document.all.'+obj);
		obj.focus();
	}
	return true;
}
//
openVent = function (winName, theURL, features) {
	window.open(theURL,winName,features);
}
//
limpia = function (obj)
{
	var txt = obj.value;
	if (txt.substr(0,6) == "[Escri") obj.value="";
}
//
controlText = function (obj)
{
	if (obj.value == "")
	{
		if (obj.name == "email_cli") obj.value = "[Escriba su email]";
		if (obj.name == "apellido_cli") obj.value = "[Escriba su apellido]";
		if (obj.name == "nombre_cli") obj.value = "[Escriba su nombre]";
		if (obj.name == "profesion_cli") obj.value = "[Escriba su profesion]";
	}
}
//
regUserVip = function ()
{
	try
		{
			var email = document.getElementById("email_cli").value;
			var cont = "<table align='center'><tr><td class='textochico'><strong><font color='#003366'>Registrando usuario VIP "+email+"</font></strong></td></tr></table>";
			document.getElementById("frmRegUser").innerHTML = cont;
		}
		catch(e) {
			var email = document.all.email_cli.value;
			var cont = "<table align='center'><tr><td class='textochico'><strong><font color='#003366'>Registrando usuario VIP "+email+"</font></strong></td></tr></table>";
			document.all.frmRegUser.innerHTML = cont;
		}
	x_regUserVip(email,regUserVip_result);
}

regUserMasDatos = function ()
{
	var cont = "<table align='center'><tr><td class='textochico'><strong><font color='#003366'>Actualizando datos</font></strong></td></tr></table>";
	try	{
		//document.getElementById("frmRegUser").innerHTML = cont;
		//
		var ide = document.getElementById("ide").value;
		var nombre = document.getElementById("nombre_cli").value;
		var apellido = document.getElementById("apellido_cli").value;
		var profesion = document.getElementById("profesion_cli").value;
	} catch(e) {
		//document.all.frmRegUser.innerHTML = cont;
		//
		var ide = document.getElementById("ide").value;
		var nombre = document.all.nombre_cli.value;
		var apellido = document.all.apellido_cli.value;
		var profesion = document.all.profesion_cli.value;
	}
	//
	x_regUserMasDatos (ide,nombre,apellido,profesion, regUserMasDatos_result);
}

regUserVip_result = function (t)
{
	//
	alert(t);
	var data = t.split(":|:");
	var email = "";
	if (data[1].length > 25)
		email = data[1].substr(0,22)+"...";
	else 
		email = data[1];
	//
	var cont = '';
	if (data[0] > 0)
	{
		cont += '<table width="98%" border="0" cellspacing="0" cellpadding="0">';
		cont += '<tr><td width="6"><img src="'+getRoot()+'images/regUser02_1.gif" width="6" height="98" border="0"></td>';
		cont += '<td background="images/regUser02_2.gif" width="20" valign="top"><img src="'+getRoot()+'images/regUserFlecha.gif" width="16" height="12" border="0"></td>';
	
		cont += '<td width="5"><img src="'+getRoot()+'images/regUser02_3.gif" width="5" height="98" border="0"></td>';
		cont += '<td background="images/regUser02_4.gif" valign="top">';

		cont += '<table width="100%" border="0" cellspacing="0" cellpadding="0">';
		cont += '<tr><td height="5"><img src="'+getRoot()+'images/pixel.gif" border="0" width="1" height="1"></td></tr>';
		cont += '<tr><td class="textochico"><font color="#FFFFFF">';
		cont += 'Con el objetivo de poder personalizar nuestros envios de informaci&oacute;n calificada, le pedimos que ingrese su <strong>nombre, apellido y su profesi&oacute;n</strong>';
		cont += '</font></td></tr></table>';

		cont += '</td><td width="7"><img src="'+getRoot()+'images/regUser02_5.gif" width="7" height="98" border="0"></td>';
		cont += '<td background="images/regUser02_6.gif" width="170" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">';
		cont += '<tr><td height="5"><img src="'+getRoot()+'images/pixel.gif" border="0" width="1" height="1"></td></tr>';
		cont += '<tr><td align="right" class="textochico"><font color="#FFFFFF"><strong>'+email+'</strong></font></td></tr>';
		cont += '<tr><td align="right"><input type="hidden" name="ide" value="'+data[0]+'"><input type="text" name="nombre_cli" size="28" value="[Escriba su nombre]" maxlength="250" class="FormCasillas" onFocus="limpia(this)" onBlur="controlText(this)" onkeypress="return moveTab(\'apellido_cli\')"></td></tr>';
		cont += '<tr><td align="right"><input type="text" name="apellido_cli" size="28" value="[Escriba su apellido]" maxlength="250" class="FormCasillas" onFocus="limpia(this)" onBlur="controlText(this)" onkeypress="return moveTab(\'profesion_cli\')"></td></tr>';
		cont += '<tr><td align="right"><input type="text" name="profesion_cli" size="28" value="[Escriba su profesion]" maxlength="250" class="FormCasillas" onFocus="limpia(this)" onBlur="controlText(this)" onkeypress="return noenter(2)"></td></tr>';
		cont += '<tr><td align="right"><a href="#" onclick="regUserMasDatos()"><img src="'+getRoot()+'images/regUserBtnAceptar.gif" width="45" height="13" hspace="3" border="0"></a></td></tr>';
		cont += '</table></td><td width="6"><img src="'+getRoot()+'images/regUser02_7.gif" width="6" height="98" border="0"></td></tr></table>';
	}
	else 
	{
		cont += '<table width="98%" border="0" cellspacing="0" cellpadding="0"><tr>';
		cont += '<td width="6"><img src="'+getRoot()+'images/regUser02_1.gif" width="6" height="98" border="0"></td>';
		cont += '<td background="images/regUser02_2.gif" width="20" valign="top"><img src="'+getRoot()+'images/regUserFlecha.gif" width="16" height="12" border="0"></td>';
		cont += '<td width="5"><img src="'+getRoot()+'images/regUser02_3.gif" width="5" height="98" border="0"></td>';
		cont += '<td background="images/regUser02_4.gif" valign="top">';
		//
		cont += '<table width="100%" border="0" cellspacing="0" cellpadding="0">';
		cont += '	<tr><td height="5"><img src="'+getRoot()+'images/pixel.gif" border="0" width="1" height="1"></td></tr>';
		cont += '	<tr><td class="textochico" align="center"><font color="#FFFFFF">Error en el registro'+t;
		cont += '</font></td></tr></table>';
		//
		cont += '</td><td width="7"><img src="'+getRoot()+'images/regUser02_5.gif" width="7" height="98" border="0"></td>';
		cont += '<td background="images/regUser02_6.gif" width="170" valign="top">&nbsp;</td>';
		cont += '<td width="6"><img src="'+getRoot()+'images/regUser02_7.gif" width="6" height="98" border="0"></td></tr></table>';
	}
	//
	document.getElementById("frmRegUser").innerHTML = cont;
	//
}

regUserMasDatos_result = function (t)
{
	alert(t);
	data = t.split(":|:");
	var cont = '';
	if (data[0] > 0)
	{
		cont += '<table width="98%" border="0" cellspacing="0" cellpadding="0">';
		cont += '<tr><td width="6"><img src="'+getRoot()+'images/regUser01_1.gif" width="6" height="41" border="0"></td>';
		cont += '<td background="images/regUser01_2.gif" width="20" valign="top"><img src="'+getRoot()+'images/regUserFlecha.gif" width="16" height="12" border="0"></td>';
		//
		cont += '<td width="5"><img src="'+getRoot()+'images/regUser01_3.gif" width="5" height="41" border="0"></td>';
		cont += '<td background="images/regUser01_4.gif" valign="top">';
		//
		cont += '<table width="100%" border="0" cellspacing="0" cellpadding="0">';
		cont += '<tr><td height="5"><img src="'+getRoot()+'images/pixel.gif" border="0" width="1" height="1"></td></tr>';
		cont += '<tr><td class="textochico"><table width="100%" border="0" cellspacing="0" cellpadding="0">';
		cont += '<tr><td height="5"><img src="'+getRoot()+'images/pixel.gif" border="0" width="1" height="1"></td></tr>';
		cont += '<tr><td class="textochico"><font color="#FFFFFF">Usuario logueado <strong>'+data[2]+' '+data[3]+'</strong> ('+data[1]+')<br>Si estos no son tus datos <a href="'+getRoot()+'index.php" class="textochico"><strong><font color="#FFFFFF">haz click aqu&iacute;</font></strong></a></font></td></tr>';
		cont += '</table></td></tr></table>';
		//
		cont += '</td><td width="7"><img src="'+getRoot()+'images/regUser01_5.gif" width="7" height="41" border="0"></td>';
		cont += '<td background="images/regUser01_6.gif" width="40" valign="top"></td><td width="6"><img src="images/regUser01_7.gif" width="6" height="41" border="0"></td></tr></table>';
	}
	document.getElementById("frmRegUser").innerHTML = cont;
}
//
cambiaDescripcionEmpr = function (idInmob, obj)
{
    obj = document.getElementById(obj);
    alert(obj.name);
    //obj.innerHTML = '<font face="Arial" size="12" color="#ff6600">Buscando descripcion del emprendimiento para esta publicacion</font>';
}

cambiaComercializadora = function (objTxt, idempr, idemprAll, id_inmo)
{
	var obj = document.getElementById(objTxt+idempr);
	x_buscaFichaEmpr (idemprAll, id_inmo, obj.name, idempr, cambiaComercializadora_result);
	obj.innerHTML = '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td class="textochico" align="center">Cargando descripcion...</td></tr></table>';
}

cambiaComercializadora_result = function (t)
{
	var objs = t.split(":|:");
	var cont = "";
	document.getElementById(objs[0]).innerHTML = objs[1];
	var idemprs = objs[3].split(",");
	var idempr = objs[2];
	//
	for (i=0; i<idemprs.length; i++)
	{
		if (idemprs[i] != idempr) 
		{
			document.getElementById("pubInmo_"+idemprs[i]).style.background = '#e2e2e2';
			document.getElementById("pubInmo_"+idemprs[i]).style.borderLeft = '1 solid #999999';
		}
		else 
		{
			document.getElementById("pubInmo_"+idemprs[i]).style.background = '#FFFFFF';
			document.getElementById("pubInmo_"+idemprs[i]).style.borderLeft = '1 solid #FFFFFF';
		}
	}
	//
	//alert("btnMasInfo_"+objs[4] + " " + objs[5] );
	document.getElementById("btnMasInfo_"+objs[5]).innerHTML = '<a onclick="openVent(\'fichaEmprendimiento\', \'fichaEmpr.php?idempr='+objs[4]+'\', \'status=no, scrollbars=yes,resizable=yes,width=700,height=500\');" href="#"><img src="'+getRoot()+'images/btnMasInfo.gif" width="130" height="18" hspace="2" vspace="2" border="0"></a>';
	//
}
//---------------------
cambiaImgMnuDer = function (obj)
	{
		var nameObj = obj.src;
		var largo = nameObj.length;
		var imgSrc = "";
		if ( nameObj.substring((largo-6),largo) != "Ac.jpg" ) {
			img = eval(obj.name);
			imgSrc = img.src;
		} else {
			imgSrc = getRoot()+"images/"+obj.name+".jpg";
		}
		obj.src = imgSrc;
	}
	//----------------
	cambiaImgAc = function (obj)
	{
		if (obj.src == imgBtnDerD.src) obj.src = imgBtnDer.src;
		else obj.src = imgBtnIzq.src;
	}
	cambiaImgDesac = function (obj)
	{
		if (obj.src == imgBtnDer.src) obj.src = imgBtnDerD.src;
		else obj.src = imgBtnIzqD.src;
	}
	//
	cargaContenidoDiv = function (tipo,idEmpr,idprov,idpais,idinm,inicio,id_reg)
	{
		if(inicio!=1) inicio = 0;
		/* esta variable saca el emprendimiento destacado*/
		if (tipo == "locCom") tipo = "locales"; //parche amigo;
		if (tipo == "campo") tipo = "campos"; //parche2 amigo;
		//----------------------------
		if (document.getElementById("mnuDiv")) 			document.getElementById("mnuDiv").style.display = "block";
		if (document.getElementById("publicidadDiv")) document.getElementById("publicidadDiv").style.display = "block";
		if (document.getElementById("mnuDerLogosInstit")) 	 document.getElementById("mnuDerLogosInstit").style.display = "none";
		if (document.getElementById("mnuDerInfo")) 	 document.getElementById("mnuDerInfo").style.display = "block";
		if (document.getElementById("mnuIzqHome")) 	  document.getElementById("mnuIzqHome").style.display = "none";
		if (document.getElementById("bannerPie")) 	  document.getElementById("bannerPie").style.display = "none";
		try {
			var indiceDiv = document.getElementById("indiceDiv");
			var contenidoDiv = document.getElementById("contenidoDiv");
		} catch (e) {
			var indiceDiv = document.all.indiceDiv;
			var contenidoDiv = document.all.contenidoDiv;
		}
		//----------------------------
		if(inicio!=1)
		{
			indiceDiv.innerHTML = "&nbsp;";
		}
		contenidoDiv.innerHTML = "<br><br><table width='200' border='0' cellspacing='0' cellpadding='0' align='center'><tr><td><img src='"+getRoot()+"images/imgPreload.gif' width='97' height='100' border='0'></td></tr></table>";
		if (tipo == "") {
				if (Get_Cookie( 'tipoQ')) tipo = Get_Cookie( 'tipoQ');	else tipo = "country";
		}
		//
		// si estamos es special seccion y este viene con un idempr necesitamos guardarlo en otra variable
		// para luego poder posicionar el ancla directamente por javascript - Esteban - 27/07/06
		if (idEmpr > 0) var idEmprSS = idEmpr;
		else idEmprSS = "";
		//*-----------
		if (sacamosDestacado) idEmpr = "";
		if (idEmpr == undefined) var idEmpr = "";
		//
		adminMenu (tipo);
		//
		Set_Cookie( 'tipoQ', tipo, '', '/', '', '' );
		// cuando estamos dentro de una seccion especial necesitamos pasar la variable para armar el indice diferente
		try {
			if (specialSec > 0) 
			{
				// parche
				if (tipo != "buscador" && tipoSec=="buscador") tipoSec = "subsitio"; //
				//alert(tipo+" - "+idEmpr+" - "+specialSec+" - "+tipoSec);
				// -------------
				if(inicio!=1)
				{
					x_cargaIndiceSS (tipo, idEmpr, specialSec, tipoSec, idprov, idpais, idinm, inicio, id_reg, cargaIndice_Result);
				}
				x_cargaContenidoSS (tipo, idEmprSS, specialSec, tipoSec, idprov, idpais, idinm, inicio, id_reg, cargaContenidoDiv_result);
				sessionName = "specialSec";
			}
		} catch (e) 
		{
			secuencia = secuencia + 1;
			if(inicio!=1)
			{
				x_cargaIndice (tipo, idEmpr, idprov, idpais, idinm, inicio, id_reg, secuencia, cargaIndice_Result);
			}
			x_cargaContenido (tipo, idEmpr, idprov, idpais, idinm, 0, id_reg, secuencia, cargaContenidoDiv_result);
			sessionName = "site";
		}
		//
		indBanner = 0;
		tipoBan = tipo;
		//buscaBann ();
		//
	}
	//
	cambiamosFoto = function (idEmpr, accion, txtVideo)
	{
		//
		if (accion == "desdev")
		{
			accion = "mas";
			var imgIcn = document.getElementById('icnLstVideo_'+idEmpr);
			var obj = document.getElementById(idEmpr+"_foto");
			obj.style.overflow = 'hidden';
			//imgIcn.innerHTML = '<a href="#" onclick="cargaVideo ('+idEmpr+', \''+txtVideo+'\');  return false;"><img src="images/icnLstVideo.jpg" name="icnLstVideo" id="icnLstVideo" hspace="5" border="0" onMouseOver="cambiaImgMnuDer(this)" onMouseOut="cambiaImgMnuDer(this)"></a>';
		}
		//
		if (accion == "+") accion = "mas";
		else if (accion == "-") accion = "menos";
		//
		x_cambiamosFoto (idEmpr, accion, cambiamosFoto_Result);
		var obj = document.getElementById(idEmpr+"_foto");
		obj.innerHTML = "<center><span class='textorechico'><font color='#999999'>Cargando imagen...</font></span></center>";
	}
	cambiamosFoto_Result = function (t)
	{
		var tv = t.split(":|:");
		var obj = document.getElementById(tv[1]);
		obj.innerHTML = tv[0];
	}
	//
	cargaContenidoDiv_result = function (t) 
	{
		// ---- cuando ejecutamos cargaContenido desde SpecialSeccion podemos retornar un id de emprendimiento
		// este es usado para posicionar el ancla - Esteban 27/07/06 -
		var dt = t.split(":|:");
		t = dt[0];
		txt = replaceCharSpecial(t);
		if(txt.indexOf('[-]')>0)
		{
		var sec = txt.substring(txt.indexOf('[-]')+3);
		txt = txt.substring(0,txt.indexOf('[-]'));
		if(sec == secuencia)
		contenidoDiv.innerHTML = txt;//replaceCharSpecial(t);
		if (dt[1]) location.replace("#empr_"+dt[1]);	
		}else{
		contenidoDiv.innerHTML = txt;//replaceCharSpecial(t);
		if (dt[1]) location.replace("#empr_"+dt[1]);	
		}
		//if(sec == secuencia)
		
		//
	}
	//
	cargaIndice_Result = function (t)
	{
		try {
			obj = document.getElementById("indiceDiv");
		} 
		catch(e) {
			obj = document.all.indiceDiv;
		}
		//
		
		txt = replaceCharSpecial(t);
 		if(txt.indexOf('[-]')>0)
		{
		var sec = txt.substring(txt.indexOf('[-]')+3);
		txt = txt.substring(0,txt.indexOf('[-]'));
		}
		//alert(sec + " "+ secuencia);
		if (sec==undefined) var sec = 0;
		if(sec == secuencia)
		obj.innerHTML = txt;//replaceCharSpecial(t);
	}
	//
	replaceCharSpecial = function (txt){
		if (txt == "") return "";
		txt = strReplace(txt, "[a]","&aacute;");
		txt = strReplace(txt, "[e]","&eacute;");
		txt = strReplace(txt, "[i]","&iacute;");
		txt = strReplace(txt, "[o]","&oacute;");
		txt = strReplace(txt, "[u]","&uacute;");
		txt = strReplace(txt, "[n]","&ntilde;");
		//
		txt = strReplace(txt, "[nro]","&ordm;");
		//
		txt = strReplace(txt, "[A]","&Aacute;");
		txt = strReplace(txt, "[E]","&Eacute;");
		txt = strReplace(txt, "[I]","&Iacute;");
		txt = strReplace(txt, "[O]","&Oacute;");
		txt = strReplace(txt, "[U]","&Uacute;");
		txt = strReplace(txt, "[N]","&Ntilde;");
		//
		return txt;
	}
	strReplace = function (s, r, w){
			return s.split(r).join(w);
	}
	//
	adminMenu = function (activo)
	{
		//
		try {
			if (document.getElementById("tdMnu_"+activo) != undefined)
			{
				document.getElementById("tdMnu_"+activo).style.backgroundColor = "#FF9900";
				document.getElementById("lnkMnu_"+activo).style.color = '#FFFFFF';
				//
				if (mnuActivo != activo)
				{
					document.getElementById("tdMnu_"+mnuActivo).style.backgroundColor = "#CCCCCC";
					document.getElementById("lnkMnu_"+mnuActivo).style.color = '#333333';
				}
			} else {
				activo = primerItemActivo;
			}
			mnuActivo = activo;
		} catch (e) {
			//alert (e);
			mnuActivo = activo;
		}
	}
	//
	showDivVariasEmpr = function (idempr)
	{
		ol_width=250;
		overlib('Buscando Empresas que promocionan este emprnedimiento, <em><strong>espere un momento por favor</strong></em>', STICKY, CAPTION, 'Empr',CAPTIONSIZE, '0.5ems');
		x_showDivVariasEmpr (idempr, showDivVariasEmpr_Result);
	}
	showDivVariasEmpr_Result = function (t)
	{
		return overlib(t, STICKY, CAPTION, 'Empresas que promocionan este emprendimiento',CAPTIONSIZE, '0.5ems');
	}
	//------- cargamos video ------------
	cargaVideo = function (idempr,txtVideo)
	{
		x_clickEnVideo (idempr, clickEnVideo_Result); //contamos el click
		//
		var obj = document.getElementById(idempr+"_foto");
		obj.style.overflow = 'visible';
		//
		
		cont = "<div name='videoPlay_"+idempr+"' id='videoPlay_"+idempr+"' style='position:absolute;z-index:2000'><table border=0 cellpadding=0 cellspacing=0>";
		cont += "<tr><td bgcolor='#333333' class='textochico' align='right'><a href='#' onclick='cambiamosFoto ("+idempr+", \"desdev\", \"\");  return false;'><font color=#ffffff><b>cerrar video</b></font>&nbsp;</td></tr>";
		cont += "<tr><td>"+txtVideo+"</td></tr</table></div>";
		obj.innerHTML = cont;
		//
		var imgIcn = document.getElementById('icnLstVideo_'+idempr);
		//imgIcn.innerHTML = '<a href="#" onclick="cambiamosFoto ('+idempr+', \'desdev\', \''+txtVideo+'\');  return false;"><img src="images/icnLstVideoStop.gif" border="0"></a>';
		//
		return false; //retornamos false para que no se me vaya de la posicion donde nos encontramos
	}
	//
	clickEnVideo_Result = function (t)
	{
		return true;
	}
	//
	
	//
	coloreaItemMenu = function (obj)
	{
			//alert(obj.id);
		//var objName = obj.name;
		var objName = obj.id;
		obj.style.backgroundColor = "#FF9900";
		obj.style.color = '#FFFFFF';
		document.getElementById(objName+"_flecha").style.backgroundColor = "#FF9900";
		document.getElementById(objName+"_celBul").style.backgroundColor = "#FF9900";
		document.getElementById(objName+"_bul").src = getRoot()+"images/mnuBullet.gif";
	}
	//
	vuelveItemMenu = function (obj)
	{
		//var objName = obj.name;
		var objName = obj.id;
		obj.style.backgroundColor = "#CCCCCC";
		obj.style.color = '#333333';
		document.getElementById(objName+"_flecha").style.backgroundColor = "#CCCCCC";
		document.getElementById(objName+"_celBul").style.backgroundColor = "#CCCCCC";
		document.getElementById(objName+"_bul").src = getRoot()+"images/mnuBulletGris.gif";
	}
	//
	showSecOculta = function (sec)
	{
		var obj = document.getElementById(sec);
		if (obj.style.display=="none") obj.style.display = "";
		else obj.style.display = "none";
	}
	//
	showInmob = function ()
	{
		var obj = document.getElementById("lstInmob");
		if (obj.style.display=="none") obj.style.display = "";
		else obj.style.display = "none";
	}
	//
	showConst = function ()
	{
		var obj = document.getElementById("lstConst");
		if (obj.style.display=="none") obj.style.display = "";
		else obj.style.display = "none";
	}
	//
	ver = function (idempr)
	{
		var obj = document.getElementById("video_"+idempr);
		obj.pauseVideo();
	}
	//
	cuentaClickEnSeccion = function (seccion, id_email)
	{
		x_cuentaClickEnSeccion (seccion, id_email, clickEnVideo_Result); //contamos el click y retormanos a la funcion clickEnVideo_Result la cual es una funcion vacia.
	}
	//
	validEmail = function (email)
	{
		var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
		//
		if (filter.test(email))
			testresults=true;
		else
			testresults=false;
		//
		return (testresults);

	}
	
	cargaPestaniaPlataforma = function ()
	{
		x_cargaPestaniaPlataforma (cargaPestaniaPlataforma_Result); 
	}
	
	cargaPestaniaPlataforma_Result = function(t)
	{
		tr = t.split('-|-|-');
		document.getElementById('pest_plat').innerHTML = tr[0];
		var script = document.createElement('script');
		var oHead = document.getElementsByTagName ('HEAD')[0]; 
		var oScript = document.createElement ("script"); 
		oScript.language = "javascript"; 
		oScript.type = "text / javascript"; 
		oScript.id = "script_pest"; 
		oScript.defer = true; 
		oScript.text = eval(tr[1]); 
		oHead.appendChild (oScript);
	}
	
//-->
var secuencia = 0;