// JavaScript Document
		
//		<script language="javascript" type="text/javascript">
		
			function validateForm(formName) {
				var fields = formName.elements;



				if (formName.input1.value == "")
				{ alert("Por favor introduce fecha entrada");
					formName.input1.focus();
					return false;
				}


				if (formName.input2.value == "")
				{ alert("Por favor introduce fecha salida");
					formName.input2.focus();
					return false;
				}

				if (formName.noches1.value == "")
				{ alert("Fechas erroneas");
					formName.NOM_RSW.focus();
					return false;
				}
				
				if (formName.noches1.value < 1)
				{ alert("Fechas erroneas");
					formName.noches1.focus();
					return false;
				}

				if (formName.pax.value == "")
				{ alert("Por favor introduce distribución habitaciones preferida");
					formName.regimen.focus();
					return false;
				}


//				return true;
				formName.submit();
			}
