// JavaScript Document
var c = "'"

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function Login(){
	document.all.DivLogin.style.visibility='visible';
	document.all.DivLogin.style.top=150;
	document.all.DivLogin.style.left=760;
}
function LoginCF(){
   if (document.forma.txtLogin.value == ""){
      alert("Por favor ingrese su Código de Usuario");
      document.forma.txtLogin.focus();
	}
	else { 
	  		if(document.forma.txtPass.value == ""){
			  alert("Por favor ingrese su Clave de Acceso");
			  document.forma.txtPass.focus();
	  		}
			else {
				var login= document.forma.txtLogin.value;
				var password = document.forma.txtPass.value;
				document.formaCF.Condiciones.value="(PERLinea1='"+login+"') and (PERPassword1='"+password+"') and (PERCodigo=AR1EnlaceP)";	
				document.formaCF.submit();
			}
		}
}
function LoginGC(){
  if (document.forma.txtLogin.value == ""){
      alert("Por favor ingrese su Código de Usuario");
      document.forma.txtLogin.focus();
	}
	else { 
	  		if(document.forma.txtPass.value == ""){
			  alert("Por favor ingrese su Clave de Acceso");
			  document.forma.txtPass.focus();
	  		}
			else {
				var login= document.forma.txtLogin.value;
				var password = document.forma.txtPass.value;
				document.formaGC.Condiciones.value="(PERLinea4='"+login+"') and (PERPassword1='"+password+"') and (PEREnlace2=AR2Codigo) and (AR2Enlace1=AR1Codigo)";	
				document.formaGC.submit();
			}
		}
}
function cabezal_sim () {
document.write('<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="745">\n');
document.write('    <tr>\n');
document.write('      <td><img name="img_cabezal_simple_r1_c1" src="images/img_cabezal_simple_r1_c1.jpg" width="355" height="66" border="0" alt=""></td>\n');
document.write('      <td><img name="img_cabezal_simple_r1_c2" src="images/img_cabezal_simple_r1_c2.jpg" width="390" height="66" border="0" alt=""></td>\n');
document.write('    </tr>\n');
document.write('    <tr>\n');
document.write('      <td><img name="img_cabezal_simple_r2_c1" src="images/img_cabezal_simple_r2_c1.jpg" width="355" height="45" border="0" alt=""></td>\n');
document.write('      <td><img name="img_cabezal_simple_r2_c2" src="images/img_cabezal_simple_r2_c2.jpg" width="390" height="45" border="0" alt=""></td>\n');
document.write('    </tr>\n');
document.write('  </table>\n');
document.write('<table width="745" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">\n');
document.write('  <tr>\n');
document.write('    <td><img name="img_menu_simple_r1_c1" src="images/img_menu_simple_r1_c1.jpg" width="18" height="22" border="0" alt=""></td>\n');
document.write('    <td><a href="index.htm"><img name="img_menu_simple_r1_c2" src="images/img_menu_simple_r1_c2.jpg" width="64" height="22" border="0" alt=""></a></td>\n');
document.write('    <td><img name="img_menu_simple_r1_c4" src="images/img_menu_simple_r1_c4.jpg" width="79" height="22" border="0" alt=""></td>\n');
document.write('    <td><img name="img_menu_simple_r1_c5" src="images/img_menu_simple_r1_c5.jpg" width="31" height="22" border="0" alt=""></td>\n');
document.write('    <td><img name="img_menu_simple_r1_c6" src="images/img_menu_simple_r1_c6.jpg" width="39" height="22" border="0" alt=""></td>\n');
document.write('    <td width="499" background="images/img_menu_simple_r1_c14.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">\n');
document.write('      <tr>\n');
document.write("<form name='formaCF' action='http://www.escampadero.com/sis/inter/busca.php' method='post'>");
document.write("<input type='hidden' name='AAA' value='GWT103223'>");
document.write("<input type='hidden' name='Tablas' value='223PER,223AR1'>");
document.write("<input type='hidden' name='Condiciones' value=''>");
document.write("<input type='hidden' name='Campos' value='PERCodigo,PERNombre,PERLinea1,PERPassword1,AR1Codigo,AR1Nombre,AR1EnlaceP'>");
document.write("<input type='hidden' name='Perfil' value='Internet'>");
document.write("<input type='hidden' name='Idioma' value='esp'>");
document.write("<input type='hidden' name='Retorno' value='http://www.escampadero.com/CF_menu.htm'>");
document.write("<input name='txtLogin' type='hidden' id='txtLogin'>");
document.write("<input name='txtPass' type='hidden' id='txtLogin'>");
document.write("</form>");
document.write("<form name='formaGC' action='http://www.escampadero.com/sis/inter/busca.php' method='post'>");
document.write("<input type='hidden' name='AAA' value='GWT103801'>");
document.write("<input type='hidden' name='Tablas' value='801PER,801AR2,801AR1'>");
document.write("<input type='hidden' name='Condiciones' value=''>");
document.write("<input type='hidden' name='Campos' value='PERCodigo,PERNombre,PERLinea16,PERPassword1,AR2Codigo,AR2Nombre,AR1Codigo,AR1Nombre,AR2Monto2'>");
document.write("<input type='hidden' name='Perfil' value='Internet'>");
document.write("<input type='hidden' name='Idioma' value='esp'>");
document.write("<input type='hidden' name='Retorno' value='http://www.escampadero.com/GC_menu.htm'>");
document.write("<input name='txtLogin' type='hidden' id='txtLogin'>");
document.write("<input name='txtPass' type='hidden' id='txtLogin'>");
document.write("</form>");
document.write("<form name='forma' action='' method='post'>");
document.write("<td class='logon'><div align='center'>Login:</div></td>");
document.write("<td><input name='txtLogin' type='text' id='txtLogin' size='20'></td>");
document.write("<td class='logon'><div align='center'>Password:</div></td>");
document.write("<td><input name='txtPass' type='password' id='txtPass' size='20'></td>");
document.write("</form>");
document.write("<td class='logon'>Ok</td>");
document.write("<td><a href='javascript:Login()'> <img src='images/btn_logon.jpg' width='18' height='16' border='0'></a></td>");
document.write("</tr>");
document.write("</table></td>");
document.write('    <td><img name="img_menu_simple_r1_c14" src="images/img_menu_simple_r1_c14.jpg" width="4" height="22" border="0" alt=""></td>\n');
document.write('    <td><img name="img_menu_simple_r1_c15" src="images/img_menu_simple_r1_c15.jpg" width="11" height="22" border="0" alt=""></td>\n');
document.write('  </tr>\n');
document.write('</table>\n');
document.write('<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="745">\n');
document.write('  <tr>\n');
document.write('   <td><img name="img_menu_simple_r2_c1" src="images/img_menu_simple_r2_c1.jpg" width="49" height="28" border="0" alt=""></td>\n');
document.write('   <td><img name="img_menu_simple_r2_c1_2" src="images/img_menu_simple_r2_c1_2.jpg" border="0" alt=""></td>\n');
document.write('   <td><a href="#" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c3'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c3_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c3" src="images/img_menu_simple_r2_c3.jpg" width="143" height="28" border="0" alt=""></a></td>\n');
document.write('   <td><a href="urbanizacion_inteligente.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c6'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c6_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c6" src="images/img_menu_simple_r2_c6.jpg" width="97" height="28" border="0" alt=""></a></td>\n');
//se cambio el redireccionamiento de entrega inmediata
document.write('   <td><a href="http://listado.tuinmueble.com.ve/inmuebles/_CustId_67060141" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c8'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c8_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c8" src="images/img_menu_simple_r2_c8.jpg" width="98" height="28" border="0" alt=""></a></td>\n');
document.write('   <td><a href="proyecto.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c9'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c9_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c9" src="images/img_menu_simple_r2_c9.jpg" width="78" height="28" border="0" alt=""></a></td>\n');
document.write('   <td><a href="ubicacion.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c10'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c10_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c10" src="images/img_menu_simple_r2_c10.jpg" width="67" height="28" border="0" alt=""></a></td>\n');
document.write('   <td><a href="contactenos.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c11'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c11_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c11" src="images/img_menu_simple_r2_c11.jpg" width="83" height="28" border="0" alt=""></a></td>\n');
document.write('   <td><a href="gal_etapa_1.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c13'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c13_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c13" src="images/img_menu_simple_r2_c13.jpg" width="72" height="28" border="0" alt=""></a></td>\n');
document.write('  </tr>\n');
document.write('</table>\n');
document.write('</table>\n');


}

function cabezal_login () {
document.write('<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="745">\n');
document.write('  <tr>\n');
document.write('   <td><img name="img_cabezal_logon_r1_c1" src="images/img_cabezal_logon_r1_c1.jpg" width="355" height="66" border="0" alt=""></td>\n');
document.write('   <td colspan="2"><img name="img_cabezal_logon_r1_c2" src="images/img_cabezal_logon_r1_c2.jpg" width="390" height="66" border="0" alt=""></td>\n');
document.write('  </tr>\n');
document.write('  <tr>\n');
document.write('   <td rowspan="2"><img name="img_cabezal_logon_r2_c1" src="images/img_cabezal_logon_r2_c1.jpg" width="355" height="45" border="0" alt=""></td>\n');
document.write('   <td colspan="2"><img name="img_cabezal_logon_r2_c2" src="images/img_cabezal_logon_r2_c2.jpg" width="390" height="24" border="0" alt=""></td>\n');
document.write('  </tr>\n');
document.write('  <tr>\n');
document.write('   <td><img name="img_cabezal_logon_r3_c2" src="images/img_cabezal_logon_r3_c2.jpg" width="98" height="21" border="0" alt=""></td>\n');
document.write('   <td width="292" background="images/img_cabezal_logon_r3_c3.jpg">\n');
document.write('     <div align="center" class="logIn"><?echo ":123 $PERNombre"; ?></div></td>\n');
document.write('  </tr>\n');
document.write('</table>\n');
document.write('<table width="745" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">\n');
document.write('  <tr>\n');
document.write('    <td><img name="img_menu_logon_r1_c1" src="images/img_menu_logon_r1_c1.jpg" width="18" height="22" border="0" alt=""></td>\n');
document.write('    <td><img name="img_menu_logon_r1_c2" src="images/img_menu_logon_r1_c2.jpg" width="64" height="22" border="0" alt=""></td>\n');
document.write('    <td><img name="img_menu_logon_r1_c4" src="images/img_menu_logon_r1_c4.jpg" width="79" height="22" border="0" alt=""></td>\n');
document.write('    <td><img name="img_menu_logon_r1_c5" src="images/img_menu_logon_r1_c5.jpg" width="31" height="22" border="0" alt=""></td>\n');
document.write('    <td><img name="img_menu_logon_r1_c6" src="images/img_menu_logon_r1_c6.jpg" width="39" height="22" border="0" alt=""></td>\n');
document.write('    <td background="images/img_menu_logon_r1_c7.jpg"><table width="499" border="0" cellspacing="1" cellpadding="0">\n');
document.write('  <tr>\n');
document.write('    <td class="logon"><div align="right">Gestión de Condominio </div></td>\n');
document.write('    <td><img src="images/btn_logon.jpg" width="18" height="16"></td>\n');
document.write('    <td class="logon"><div align="right">Logout </div></td>\n');
document.write('    <td><a href="index_old.htm"><img src="images/btn_logout.jpg" width="18" height="16" border="0"></a></td>\n');
document.write('  </tr>\n');
document.write('</table>\n');
document.write('</td>\n');
document.write('    <td><img name="img_menu_logon_r1_c14" src="images/img_menu_logon_r1_c14.jpg" width="4" height="22" border="0" alt=""></td>\n');
document.write('    <td><img name="img_menu_logon_r1_c15" src="images/img_menu_logon_r1_c15.jpg" width="11" height="22" border="0" alt=""></td>\n');
document.write('  </tr>\n');
document.write('</table>\n');
document.write('<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="745">\n');
document.write('  <tr>\n');
document.write('   <td><img name="img_menu_simple_r2_c1" src="images/img_menu_simple_r2_c1.jpg" width="49" height="28" border="0" alt=""></td>\n');
document.write('   <td><a href="#" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c3'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c3_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c3" src="images/img_menu_simple_r2_c3.jpg" width="143" height="28" border="0" alt=""></a></td>\n');
document.write('   <td><a href="urbanizacion_inteligente.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c6'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c6_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c6" src="images/img_menu_simple_r2_c6.jpg" width="97" height="28" border="0" alt=""></a></td>\n');
document.write('   <td><a href="apto_precios_05.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c8'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c8_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c8" src="images/img_menu_simple_r2_c8.jpg" width="98" height="28" border="0" alt=""></a></td>\n');
document.write('   <td><a href="proyecto.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c9'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c9_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c9" src="images/img_menu_simple_r2_c9.jpg" width="78" height="28" border="0" alt=""></a></td>\n');
document.write('   <td><a href="ubicacion.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c10'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c10_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c10" src="images/img_menu_simple_r2_c10.jpg" width="67" height="28" border="0" alt=""></a></td>\n');
document.write('   <td><a href="contactenos.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c11'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c11_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c11" src="images/img_menu_simple_r2_c11.jpg" width="83" height="28" border="0" alt=""></a></td>\n');
document.write('   <td><a href="noticias.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c12'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c12_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c12" src="images/img_menu_simple_r2_c12.jpg" width="58" height="28" border="0" alt=""></a></td>\n');
document.write('   <td><a href="gal_etapa_1.htm" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('+c+'img_menu_simple_r2_c13'+c+','+c+''+c+','+c+'images/img_menu_simple_r2_c13_f2.jpg'+c+',1);"><img name="img_menu_simple_r2_c13" src="images/img_menu_simple_r2_c13.jpg" width="72" height="28" border="0" alt=""></a></td>\n');
document.write('  </tr>\n');
document.write('</table>\n');
}


function pie () {
document.write('<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="745">\n');
document.write('  <tr>\n');
document.write('   <td><img name="img_pie_r1_c1" src="images/img_pie_r1_c1.jpg" width="301" height="30" border="0" alt=""></td>\n');
document.write('   <td><img name="img_pie_r1_c2" src="images/img_pie_r1_c2.jpg" width="444" height="30" border="0" alt=""></td>\n');
document.write('  </tr>\n');
document.write('  <tr>\n');
document.write('   <td><img name="img_pie_r2_c1" src="images/img_pie_r2_c1.jpg" width="301" height="28" border="0" alt=""></td>\n');
document.write('   <td><img src="images/img_pie_r2_c2.jpg" alt="" name="img_pie_r2_c2" width="444" height="28" border="0" usemap="#img_pie_r2_c2Map"></td>\n');
document.write('  </tr>\n');
document.write('</table>');
// document.write('  <br>');
//document.write('<a href="http://www.lomejorde.com/ve/04/premio/found.asp?cat=32" target="_blank"><img src="images/lo_mejor_de.png" width="746" height="83" border="0"></a>');
document.write('<map name="img_pie_r2_c2Map">\n');
document.write('  <area shape="rect" coords="38,7,176,22" href="mailto:ventas@escampadero.com">\n');
document.write('</map>\n');
document.write("<div id='DivLogin' style='position:absolute;visibility:hidden;z-index: 3;left: 3; top: -100'>");
document.write("<table border='0' cellpadding='0' cellspacing='0' width='111'>");
document.write("<tr>");
document.write("<td><img src='spacer.gif' width='111' height='1' border='0' alt=''></td>");
document.write("<td><img src='spacer.gif' width='1' height='1' border='0' alt=''></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<tr>");
document.write("<td><a href='javascript:LoginGC()'><img name='v_gestion' src='images/v_gestion.jpg' width='111' height='18' border='0' alt=''></a></td>");
document.write("<td><img src='spacer.gif' width='1' height='18' border='0' alt=''></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td><img name='v_comprafacil' src='images/v_comprafacil.jpg' width='111' height='11' border='0' alt=''></td>");
document.write("<td><img src='spacer.gif' width='1' height='11' border='0' alt=''></td>");
document.write("</tr>");
document.write("</table></div>");
	
}





