<!--
function desactiva(){ 
    alert ("Esta función está inhabilitada.\n\nDisculpe las molestias.") 
    return false
} 
document.oncontextmenu=desactiva
var textob="Excelencia Residencial - Inmuebles y Desarrollos en México !!!";
var conbarra=0;
function barrae(){
   conbarra+=1;
   textoA=textob.substring(0,conbarra);
   window.status=textoA;
   if (conbarra==textob.length){
      conbarra=0;
      setTimeout("barrae()",500);
   }else{
      setTimeout("barrae()",100);}
}
barrae();
function busclave(obj1){
	var ss=0;
	if (obj1.clv.value==""){
		alert("Es necesario indicar la Clave del Inmueble !!!");
		obj1.clv.focus();
		ss=1;}
	if (ss==0){
		obj1.action="resultados.php";
		obj1.submit();}
}
function busnomd(obj1){
	var ss=0;
	if (obj1.nd.value==""){
		alert("Es necesario indicar el Nombre del Desarrollo !!!");
		obj1.nd.focus();
		ss=1;}
	if (ss==0){
		obj1.action="desarrollos.php";
		obj1.submit();}
}
function busclaved(obj1){
	var ss=0;
	if (obj1.clv.value==""){
		alert("Es necesario indicar la Clave del Desarrollo !!!");
		obj1.clv.focus();
		ss=1;}
	if (ss==0){
		obj1.action="desarrollos.php";
		obj1.submit();}
}
function cargador(obj1,obj2,obj3,obj4,obj5,obj6,obj7,obj8,obj9){
	var tm,i,tm2,tm3,tm4;
	propp=new Array();
	estt=new Array();
	munn=new Array();
	coll=new Array();
	tm=obj1.length;
	for (i=0;i<tm-1;i++){
		propp[i]=new Array();
		propp[i][0]=obj1.options[i+1].value;
		propp[i][1]=obj1.options[i+1].text;
	}
	tm2=obj2.length;
	for (i=0;i<tm2;i++){
		estt[i]=new Array();
		estt[i][0]=obj2.options[i].value;
		estt[i][1]=obj2.options[i].text;
		estt[i][2]=obj3.options[i+1].value;
		estt[i][3]=obj3.options[i+1].text;
	}
	tm3=obj4.length;
	for (i=0;i<tm3;i++){
		munn[i]=new Array();
		munn[i][0]=obj4.options[i].value;
		munn[i][1]=obj4.options[i].text;
		munn[i][2]=obj5.options[i].value;
		munn[i][3]=obj6.options[i+1].value;
		munn[i][4]=obj6.options[i+1].text;
	}
	tm4=obj7.length;
	for (i=0;i<tm4;i++){
		coll[i]=new Array();
		coll[i][0]=obj7.options[i].value;
		coll[i][1]=obj7.options[i].text;
		coll[i][2]=obj8.options[i].value;
		coll[i][3]=obj8.options[i].text;
		coll[i][4]=obj9.options[i+1].value;
		coll[i][5]=obj9.options[i+1].text;
	}
}
function cargadordes(obj1,obj2){
	var tm,i,tm2,tm3,tm4;
	munnd=new Array();
	tm=obj1.length;
	for (i=0;i<tm;i++){
		munnd[i]=new Array();
		munnd[i][0]=obj1.options[i].value;
		munnd[i][1]=obj1.options[i].text;
		munnd[i][2]=obj2.options[i+1].value;
		munnd[i][3]=obj2.options[i+1].text;
	}
}
function mosprop(obj1,obj2,obj3,obj4,obj5){
	var tm,tipo,i,ban1=0,ban2=0,ban3=0,sum;
	tipo=obj2[obj2.selectedIndex].value;
	if (tipo!=0){
		if (tipo==1){
			document.location="desarrollos.php";
		}else{
		tm=propp.length;
		for (i=0;i<tm;i++){
			if (propp[i][0]==tipo&&propp[i][1]=="COMPRAR")
				ban1=1;
			if (propp[i][0]==tipo&&propp[i][1]=="RENTAR")
				ban2=1;
			if (propp[i][0]==tipo&&propp[i][1]=="TRASPASO")
				ban3=1;
		}
		sum=ban1+ban2+ban3;
		obj1.length=sum+1;
		obj1.options[0].value="NO";
		obj1.options[0].text="---- Seleccione un tipo de Operación -----";
		obj1.options[0].selected=true;
		i=1;
		if (ban1==1){
			obj1.options[i].value="COMPRAR";
			obj1.options[i].text="COMPRAR";
			i++}
		if (ban2==1){
			obj1.options[i].value="RENTAR";
			obj1.options[i].text="RENTAR";
			i++}
		if (ban3==1){
			obj1.options[i].value="TRASPASO";
			obj1.options[i].text="TRASPASO";}
		obj1.disabled=false;
		obj3.length=1;
		obj3.options[0].value="0";
		obj3.options[0].text="---- Seleccione un Estado -----------------------";
		obj3.options[0].selected=true;
		obj3.disabled=true;
		obj4.length=1;
		obj4.options[0].value="0";
		obj4.options[0].text="---- Todos los Municipios ------------------------";
		obj4.options[0].selected=true;
		obj4.disabled=true;
		obj5.length=1;
		obj5.options[0].value="0";
		obj5.options[0].text="---- Todas las Colonias ----------------------------";
		obj5.options[0].selected=true;
		obj5.disabled=true;}
	}else{
		obj1.length=1;
		obj1.options[0].value="NO";
		obj1.options[0].text="---- Seleccione un tipo de Operación -----";
		obj1.options[0].selected=true;
		obj1.disabled=true;
		obj3.length=1;
		obj3.options[0].value="0";
		obj3.options[0].text="---- Seleccione un Estado -----------------------";
		obj3.options[0].selected=true;
		obj3.disabled=true;
		obj4.length=1;
		obj4.options[0].value="0";
		obj4.options[0].text="---- Todos los Municipios ------------------------";
		obj4.options[0].selected=true;
		obj4.disabled=true;
		obj5.length=1;
		obj5.options[0].value="0";
		obj5.options[0].text="---- Todas las Colonias ----------------------------";
		obj5.options[0].selected=true;
		obj5.disabled=true;}
}
function mosest(obj1,obj2,obj3,obj4,obj5){
	var tm,tipo,pro,i,ban1=0,sum,tm2,j;
	var estt2=new Array();
	tipo=obj2[obj2.selectedIndex].value;
	pro=obj3[obj3.selectedIndex].value;
	if (pro!="NO"){
		tm=estt.length;
		for (i=0;i<tm;i++){
			if (tipo==estt[i][0]&&pro==estt[i][1]){
				tm2=estt2.length;
				for (j=0;j<tm2;j++){
					if (estt2[j][0]==estt[i][2])
						ban1=1;}
				if (ban1==0){
					estt2[tm2]=new Array();
					estt2[tm2][0]=estt[i][2];
					estt2[tm2][1]=estt[i][3];}
				ban1=0;
			}
		}
		tm2=estt2.length;
		obj1.length=tm2+1;
		obj1.options[0].value="0";
		obj1.options[0].text="---- Seleccione un Estado -----------------------";
		obj1.options[0].selected=true;
		for (i=0;i<tm2;i++){
			obj1.options[i+1].value=estt2[i][0];
			obj1.options[i+1].text=estt2[i][1];
		}
		obj1.disabled=false;
		obj4.length=1;
		obj4.options[0].value="0";
		obj4.options[0].text="---- Todos los Municipios ------------------------";
		obj4.options[0].selected=true;
		obj4.disabled=true;
		obj5.length=1;
		obj5.options[0].value="0";
		obj5.options[0].text="---- Todas las Colonias ----------------------------";
		obj5.options[0].selected=true;
		obj5.disabled=true;
	}else{
		obj1.length=1;
		obj1.options[0].value="0";
		obj1.options[0].text="---- Seleccione un Estado -----------------------";
		obj1.options[0].selected=true;
		obj1.disabled=true;
		obj4.length=1;
		obj4.options[0].value="0";
		obj4.options[0].text="---- Todos los Municipios ------------------------";
		obj4.options[0].selected=true;
		obj4.disabled=true;
		obj5.length=1;
		obj5.options[0].value="0";
		obj5.options[0].text="---- Todas las Colonias ----------------------------";
		obj5.options[0].selected=true;
		obj5.disabled=true;}
}
function mosmun(obj1,obj2,obj3,obj4,obj5){
	var tm,tipo,pro,i,ban1=0,sum,tm2,j,est;
	var munn2=new Array();
	tipo=obj2[obj2.selectedIndex].value;
	pro=obj3[obj3.selectedIndex].value;
	est=obj4[obj4.selectedIndex].value;
	if (est!=0){
		tm=munn.length;
		for (i=0;i<tm;i++){
			if (tipo==munn[i][0]&&pro==munn[i][1]&&est==munn[i][2]){
				tm2=munn2.length;
				for (j=0;j<tm2;j++){
					if (munn2[j][0]==munn[i][3])
						ban1=1;}
				if (ban1==0){
					munn2[tm2]=new Array();
					munn2[tm2][0]=munn[i][3];
					munn2[tm2][1]=munn[i][4];}
				ban1=0;
			}
		}
		tm2=munn2.length;
		obj1.length=tm2+1;
		obj1.options[0].value="0";
		obj1.options[0].text="---- Todos los Municipios ------------------------";
		obj1.options[0].selected=true;
		for (i=0;i<tm2;i++){
			obj1.options[i+1].value=munn2[i][0];
			obj1.options[i+1].text=munn2[i][1];
		}
		obj1.disabled=false;
		obj5.length=1;
		obj5.options[0].value="0";
		obj5.options[0].text="---- Todas las Colonias ----------------------------";
		obj5.options[0].selected=true;
		obj5.disabled=true;
	}else{
		obj1.length=1;
		obj1.options[0].value="0";
		obj1.options[0].text="---- Todos los Municipios ------------------------";
		obj1.options[0].selected=true;
		obj1.disabled=true;
		obj5.length=1;
		obj5.options[0].value="0";
		obj5.options[0].text="---- Todas las Colonias ----------------------------";
		obj5.options[0].selected=true;
		obj5.disabled=true;}
}
function mosmundes(obj1,obj2,obj3,ban2){
	var tm,tipo,pro,i,ban1=0,sum,tm2,j,est;
	var munnd2=new Array();
	est=obj2[obj2.selectedIndex].value;
	if (est!=0){
		if (ban2==1)
			obj3.value=0;
		tm=munnd.length;
		for (i=0;i<tm;i++){
			if (est==munnd[i][0]){
				tm2=munnd2.length;
				for (j=0;j<tm2;j++){
					if (munnd2[j][0]==munnd[i][2])
						ban1=1;}
				if (ban1==0){
					munnd2[tm2]=new Array();
					munnd2[tm2][0]=munnd[i][2];
					munnd2[tm2][1]=munnd[i][3];}
				ban1=0;
			}
		}
		tm2=munnd2.length;
		obj1.length=tm2+1;
		obj1.options[0].value="0";
		obj1.options[0].text="---- Todos los Municipios ------------------------";
		obj1.options[0].selected=true;
		for (i=0;i<tm2;i++){
			obj1.options[i+1].value=munnd2[i][0];
			obj1.options[i+1].text=munnd2[i][1];
			if (obj3.value==munnd2[i][0])
				obj1.options[i+1].selected=true;
		}
		obj1.disabled=false;
	}else{
		obj3.value=0;
		obj1.length=1;
		obj1.options[0].value="0";
		obj1.options[0].text="---- Todos los Municipios ------------------------";
		obj1.options[0].selected=true;
		obj1.disabled=true;}
}
function moscol(obj1,obj2,obj3,obj4,obj5){
	var tm,tipo,pro,i,ban1=0,sum,tm2,j,est,mun;
	var coll2=new Array();
	tipo=obj2[obj2.selectedIndex].value;
	pro=obj3[obj3.selectedIndex].value;
	est=obj4[obj4.selectedIndex].value;
	mun=obj5[obj5.selectedIndex].value;
	if (mun!=0){
		tm=coll.length;
		for (i=0;i<tm;i++){
			if (tipo==coll[i][0]&&pro==coll[i][1]&&est==coll[i][2]&&mun==coll[i][3]){
				tm2=coll2.length;
				for (j=0;j<tm2;j++){
					if (coll2[j][0]==coll[i][4])
						ban1=1;}
				if (ban1==0){
					coll2[tm2]=new Array();
					coll2[tm2][0]=coll[i][4];
					coll2[tm2][1]=coll[i][5];}
				ban1=0;
			}
		}
		tm2=coll2.length;
		obj1.length=tm2+1;
		obj1.options[0].value="0";
		obj1.options[0].text="---- Todas las Colonias ----------------------------";
		obj1.options[0].selected=true;
		for (i=0;i<tm2;i++){
			obj1.options[i+1].value=coll2[i][0];
			obj1.options[i+1].text=coll2[i][1];
		}
		obj1.disabled=false;
	}else{
		obj1.length=1;
		obj1.options[0].value="0";
		obj1.options[0].text="---- Todas las Colonias ----------------------------";
		obj1.options[0].selected=true;
		obj1.disabled=true;}
}
function validabus(obj1){
	var ss=0,tm,usu;
	if (obj1.tipoinmu.value==0){
		alert("Es necesario seleccionar un Tipo de Inmueble !!!");
		obj1.tipoinmu.focus();
		ss=1;}
	if (ss==0){
		if (obj1.prop.value=="NO"){
			alert("Es necesario seleccionar un Tipo de Operación !!!");
			obj1.prop.focus();
			ss=1;}}
	if (ss==0){
		if (obj1.estado.value==0){
			alert("Es necesario seleccionar un Estado !!!");
			obj1.estado.focus();
			ss=1;}}
	if (ss==0){
		obj1.action="resultados.php";
		obj1.submit();}
}
function premiles(obj1,obj2){
	//obj1->precioo obj2->precio
	var valor,ncar,pos;
	if (obj1.value!=""){
	valor=obj1.value;
	if (!(isNaN(valor))){
		obj2.value=valor;
		valor=valor.toString();
		ncar=valor.length;
		pos=valor.indexOf(".")
		if (pos>=0){
			if (((ncar-1)-pos)>2)
				valor=valor.substring(0,pos+3);
			else{
				if (((ncar-1)-pos)!=2){
					if (((ncar-1)-pos)==1)
						valor=(valor+"0");
					else
						valor=(valor+"00");}}
		}else
			valor=(valor+".00");
		if ((valor.length)>6)
			valor=valor.substring(0,valor.length-6)+","+valor.substring(valor.length-6,valor.length);
		if ((valor.length)>10)
			valor=valor.substring(0,valor.length-10)+","+valor.substring(valor.length-10,valor.length);
		if ((valor.length)>14)
			valor=valor.substring(0,valor.length-14)+","+valor.substring(valor.length-14,valor.length);
			obj1.value=valor;
	}else{
		alert("El precio debe ser una cantidad numerica.")
		obj1.select()
		obj1.focus()}}
}
function detapop(parame){
	var tam,nompop,nompo;
	pagin="detainmu.php"+parame;
	nompop=parame;
	tam=nompop.indexOf("&");
	nompop=nompop.substring(5,tam);
	window.open(pagin,nompop,"width=535,height=600,menubar=no,location=no,status=no,toolbar=no,scrollbars=yes");
}
function abrirvid(video,nomvid){
	window.open(video,nomvid,"width=650,height=350,menubar=no,location=no,status=no,toolbar=no,scrollbars=no");
}
function imprime(){
	resp=confirm("¡Confirme que desea imprimir el anuncio!");
		if (resp)
			print();
}
function validadeta(obj1){
	var filter=/^[A-Za-z][A-Za-z0-9_\-]*@[A-Za-z0-9_\-]+\.[A-Za-z0-9_.]+[A-za-z]$/;
	var mail=obj1.mail.value;
	var ss=0,tm,usu;
	if (obj1.nombre.value==""){
		alert("Es necesario indicar su Nombre !!!");
		obj1.nombre.focus();
		ss=1;}
	if (ss==0){
		if (mail.length!=0){
			if (!(filter.test(mail))){
				alert("El E-Mail no es valido, porfavor escribalo nuevamente.");
				obj1.mail.value="";
				obj1.mail.focus();
				ss=1;}
	}	}
	if (ss==0){
		if (obj1.tel.value==""){
			alert("Es necesario Indicar su Telefono !!!");
			obj1.tel.focus();
			ss=1;}}
	if (ss==0){
		resp=confirm("Confirme que desea enviar la información");
		if (resp){
			obj1.action="contacdeta.php";
			obj1.submit();}}
}
function valdetavid(obj1){
	var ss=0,tm,usu;
	if (obj1.nombre.value==""){
		alert("Es necesario indicar su Nombre !!!");
		obj1.nombre.focus();
		ss=1;}
	if (ss==0){
		if (obj1.tel.value==""){
			alert("Es necesario Indicar su Telefono !!!");
			obj1.tel.focus();
			ss=1;}}
	if (ss==0){
		resp=confirm("Confirme que desea enviar la información");
		if (resp){
			obj1.action="contacvid.php";
			obj1.submit();}}
}
function buscarinm(){
	window.open("buscar.php","buscar","width=296,height=200,menubar=no,location=no,status=no,toolbar=no,scrollbars=no");
}
function tiempo(){ 
	var con,clvd,pag,bdd;
	con=document.form2.contador.value;
	con--;
	document.form2.contador.value=con;
	if (con>0)
    	setTimeout("tiempo()",1000)
	else{
		clvd=document.form2.clave.value;
		bdd=document.form2.bd.value;
		pag="detades.php?clv="+clvd+"&ft=1&idbd="+bdd;
		window.location=pag;}
}
function detapopd(parame){
	var tam,nompop,nompo;
	pagin="detades.php"+parame;
	nompop=parame;
	tam=nompop.indexOf("&");
	nompop=nompop.substring(5,tam);
	window.open(pagin,nompop,"width=520,height=600,menubar=no,location=no,status=no,toolbar=no,scrollbars=yes");
}
function busdesa(obj1){
	est=obj1[obj1.selectedIndex].value;
	if (est!=0)
		document.form1.submit();
	else
		alert("¡¡ Es necesario seleccionar por lo menos un Estado !!");
}
function busdesa2(obj1){
	mu=obj1[obj1.selectedIndex].value;
	if (mu!=0)
		document.form1.submit();
}
function validcontac(obj1){
	var ss=0,i;
	var filter=/^[A-Za-z][A-Za-z0-9_\-]*@[A-Za-z0-9_\-]+\.[A-Za-z0-9_.]+[A-za-z]$/;
	var mail=obj1.mail.value;
	if (obj1.nombre.value==""){
		alert("¡¡ Debe indicar su Nombre !!");
		obj1.nombre.focus();
		ss=1;}
	if (ss==0){
		if (obj1.tel.value==""){
			alert("¡¡ Debe indicar su Telefono !!");
			obj1.tel.focus();
			ss=1;}
	}
	if (ss==0){
		if (obj1.mail.value!=""){
			if (!filter.test(mail)){
				alert("El E-Mail no es valido, porfavor escribalo nuevamente.");
				obj1.mail.value="";
				obj1.mail.focus();
				ss=1;
			}
		}
	}
	if (ss==0){
		ss=1;
		for (i=0;i<obj1.giro.length;i++){ 
			if (obj1.giro[i].checked){
				ss=0;}
		}
		if (ss==1){
			alert("¡¡ Debe seleccionar el Giro !!");
			obj1.giro[1].focus();}
	}
	if (ss==0){
		resp=confirm("¡¡ Confirme que desea enviar la información !!");
			if (resp)
				obj1.submit();
	}
}
function Pagina_Inicio()  
{  
obj_Pagina_Inicio.style.behavior='url(#default#homepage)'; 
obj_Pagina_Inicio.setHomePage("http://www.excelenciaresidencial.com"); 
}
function abrirVentana(URL, Name, features) {
	window.open(URL, Name, features) ;
}
function regmail(obj1){
	var filter=/^[A-Za-z][A-Za-z0-9_\-]*@[A-Za-z0-9_\-]+\.[A-Za-z0-9_.]+[A-za-z]$/;
	var mail=obj1.mail.value;
	if (mail.length==0)
		alert("Es necesario indicar un E-Mail");
	else{
		if (filter.test(mail)){
			window.open("regismail.php","registro","width=300,height=100,menubar=no,location=no,status=no,toolbar=no,scrollbars=no");
			obj1.submit();
			obj1.mail.value="";
		}else{
			alert("El E-Mail no es valido, porfavor escribalo nuevamente.");
			obj1.mail.value="";
			obj1.mail.focus();
		}
	}
}
/*function camcolor(src,colorn){
    src.bgColor=colorn;
	src.style.cursor="hand"; 
}
function defacolor(src,colord){ 
    src.bgColor=colord;
	src.style.cursor="default"; 
}*/
function mostabla(op){
	switch (op){
		case 1:
			obj=document.getElementById('tdesarrollador');
			obj.style.display='none';
			obj=document.getElementById('tinmobiliario');
			obj.style.display='none';
			obj=document.getElementById('tparticular');
			obj.style.display='';
			break;
		case 2:
			obj=document.getElementById('tparticular');
			obj.style.display='none';
			obj=document.getElementById('tdesarrollador');
			obj.style.display='none';
			obj=document.getElementById('tinmobiliario');
			obj.style.display='';
			break;
		case 3:
			obj=document.getElementById('tparticular');
			obj.style.display='none';
			obj=document.getElementById('tinmobiliario');
			obj.style.display='none';
			obj=document.getElementById('tdesarrollador');
			obj.style.display='';
			break;
	}
}
function mostabamigo(){
	obj=document.getElementById('tenviando');
	obj.style.display='none';
	obj=document.getElementById('tenviado');
	obj.style.display='';
}
function checamail(obj1){
	var filter=/^[A-Za-z][A-Za-z0-9_\-]*@[A-Za-z0-9_\-]+\.[A-Za-z0-9_.]+[A-za-z]$/;
	var mail=obj1.amigo.value;
	if (mail.length==0)
		alert("Es necesario indicar un E-Mail");
	else{
		if (filter.test(mail)){
			obj1.action="enviaamigo.php";
			obj1.submit();
		}else{
			alert("El E-Mail no es valido, porfavor escribalo nuevamente.");
			obj1.amigo.value="";
			obj1.amigo.focus();
		}
	}
}
function enviadetades(obj1){
	var filter=/^[A-Za-z][A-Za-z0-9_\-]*@[A-Za-z0-9_\-]+\.[A-Za-z0-9_.]+[A-za-z]$/;
	var mail=obj1.mail.value;
	var ss=0;
	if (obj1.nombre.value==""){
		alert("Es necesario indicar su Nombre !!!");
		obj1.nombre.focus();
		ss=1;}
	if (ss==0){
		if (mail.length!=0){
			if (!(filter.test(mail))){
				alert("El E-Mail no es valido, porfavor escribalo nuevamente.");
				obj1.mail.value="";
				obj1.mail.focus();
				ss=1;}
	}	}
	if (ss==0){
		obj1.action="detades.php";
		obj1.submit();}
}
function checamaildes(obj1){
	var filter=/^[A-Za-z][A-Za-z0-9_\-]*@[A-Za-z0-9_\-]+\.[A-Za-z0-9_.]+[A-za-z]$/;
	var mail=obj1.amigo.value;
	if (mail.length==0)
		alert("Es necesario indicar un E-Mail");
	else{
		if (filter.test(mail)){
			obj1.action="envamides.php";
			obj1.submit();
		}else{
			alert("El E-Mail no es valido, porfavor escribalo nuevamente.");
			obj1.amigo.value="";
			obj1.amigo.focus();
		}
	}
}
function validaclave(e) { 
    tecla = (document.all) ? e.keyCode : e.which; 
    if (tecla==8) return true;
    patron = /\w/;
    te = String.fromCharCode(tecla); 
    return patron.test(te);  
}
function con_dec_cre(parame){
	var pagin;
	pagin="contac_cre_dec.php"+parame;
	window.open(pagin,"contacto","width=500,height=475,menubar=no,location=no,status=no,toolbar=no,scrollbars=no");
}
function contac_dec(obj1){
	var filter=/^[A-Za-z][A-Za-z0-9_\-]*@[A-Za-z0-9_\-]+\.[A-Za-z0-9_.]+[A-za-z]$/;
	var mail=obj1.mail.value;
	var ss=0;
	if (obj1.nombre.value==""){
		alert("Es necesario indicar su Nombre !!!");
		obj1.nombre.focus();
		ss=1;}
	if (ss==0){
		if (mail.length!=0){
			if (!(filter.test(mail))){
				alert("El E-Mail no es valido, porfavor escribalo nuevamente.");
				obj1.mail.value="";
				obj1.mail.focus();
				ss=1;}
	}	}
	if (ss==0){
		if (obj1.tel.value==""){
			alert("Es necesario Indicar su Telefono !!!");
			obj1.tel.focus();
			ss=1;}}
	if (ss==0){
		obj1.action="contac_cre_dec.php";
		obj1.submit();}
}
function con_anun(parame){
	window.resizeTo(500,530);
	var pagin="contac_cre_dec.php"+parame;
	window.location=pagin;
}
//-->