function cargar_destinos()
{
		$.get("scripts/selects/scripts/cargar-destinos.php", function(resultado){
			if(resultado == false)
			{
				alert("Error");
			}
			else
			{
				document.getElementById("sdestinos").options.length=1;
				$('#sdestinos').append(resultado);		
				document.getElementById("sdestinos").options[0].selected="selected";
			}
		});	
}
function dependencia_hoteles()
{
	var code = $("#sdestinos").val();
	if(code!=0)
	{	
		$.get("scripts/selects/scripts/dependencia-hoteles.php", { code: code },
			function(resultado)
			{
				if(resultado == false)
				{
					alert("Error");
				}
				else
				{
					$("#hid").attr("disabled",false);
					document.getElementById("hid").options.length=1;					
					$('#hid').append(resultado);			
				}
			}
		);
	}

}
		