<script language="JavaScript">
<!--
	function saca_envForm() {
    var url = 'http://www.sacacasa.com/api_sacacasa/api_rewrite.aspx';
	frmSaca = window.document.frmBuscadorSaca;
		error = 0;
		if(frmSaca.IdMAEProvincia.selectedIndex == 0) {
			error = 1;
			alert('Tienes que seleccionar una provincia.');
		}
	if(error == 0) {
	url+='?TipoPeticion=' + document.getElementById('TipoPeticion').value;
	url+='&TipoBusqueda=' + document.getElementById('TipoBusqueda').value;
	url+='&TipoOperacion=' + document.getElementById('op').value;
	url+='&Familia=' + document.getElementById('fam').value;
	url+='&Provincia=' + frmSaca.IdMAEProvincia.options[frmSaca.IdMAEProvincia.selectedIndex].value;
	url+='&Licencia=' + document.getElementById('Licencia').value;
	url+='&refer=' + document.getElementById('refer').value;
	window.open(url);
	}
	
 }  

 function  sobreescribe() {

 window.open('http://www.abc.es/inmobiliario/easypiso.asp');

 }



//-->
</script>

