function go(){
var url =urlran
var target="_self"
window.open(url,target)
}// JavaScript Document


var ventana 
var cont=0 
var titulopordefecto = "" //texto por defecto a mostrar en la barra de título en caso de omitir el argumento titulo 

function afoto(cual,titulo) 
{ 
if(cont==1){ventana.close();ventana=null} 
if(titulo==null){titulo=titulopordefecto} 
ventana=window.open('','ventana','resizable=yes,scrollbars=no') 
ventana.document.write('<html><head><title>' + titulo + '</title></head><body style="overflow:hidden" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" scroll="no" onUnload="opener.cont=0"><img src="' + cual + '" onLoad="opener.redimensionar(this.width, this.height)">') 
ventana.document.close() 
cont++ 
} 
function redimensionar(ancho,alto) 
{ 
ventana.resizeTo(ancho+12,alto+28) 
ventana.moveTo((screen.width-ancho)/2,(screen.height-alto)/2) //centra la ventana. Eliminar si no se quiere centrar el popup 
} 

function minifoto(foto,H,V,ancho,alto) {
        propH = ancho / H;
        propV = alto / V;
        if (propH>propV) {
            anchoF = H * propV;
            altoF = alto;
        }
        else {
            altoF = V * propH;
            anchoF = ancho;
        }
        de = (ancho - anchoF) / 2;
        su = (alto - altoF) /2;
        imagen="<div style='width:"+ancho+";height:"+alto+"; outset'>";
        imagen+="<img src='"+foto+"' widht="+anchoF+" height="+altoF;
        imagen+=" style='position:relative; left:"+de+";top:"+su+"'>";
        imagen+="</div>";		
        document.write(imagen);
    }




	
	function valido_contact(){
		with(document.frm_contact){
			if(First_Name.value==""){alert("Please include your first name");
			                        return false;
			                        }
			if(Surname.value==""){alert("Please include your surname");
			                        return false;
			                        }								
			//if(Work_Te.value==""){alert("Work Tel Has Not Been Completed. \n We need this information to process you booking");
			 //                       return false;Home_Tel
			               //         }				
		    //if(Home_Tel.value==""){alert("Home Tel.  Has Not Been Completed. \n We need this information to process you booking");
			  //                      return false;
			                 //       }	
		    if(email.value==""){alert("Please include your email address");
			                        return false;
			                        }						
            if(nuevo.value==""){alert("Please tell us how you heard about us’");
			                        return false;
			                        }									
		    if(asunto.value==""){alert("Please include your Questions or Comments");
			                        return false;
			                        }																			
			
			return true;
			
			}
		
		
		
		
		}