

    function alertContents() {
	
        if (http_request.readyState == 4) {
            if (http_request.status == 200) {
            		resultado = http_request.responseText;
		        i = resultado.indexOf("<resultado>", 0);
			f = resultado.indexOf("<\/resultado>", i);
                	jAlert (resultado.substr((i+11), f-(i+11)),"Hotusa Hotels");
            } else {
                alert('Hubo problemas con la petición.');
            }
        }

    }
	
	<!-- CODIGO NUEVAS PESTAÑAS-->
	

             
          
		
		
		      
      


$(document).ready(function() {  
						   $('#container-1').tabs();
                $('#container-2').tabs(2);
                $('#container-3').tabs({ fxSlide: true });
                $('#formulario').tabs({ fxFade: true, fxSpeed: 'fast' });
                $('#container-5').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'normal' });
                $('#container-6').tabs({
                    fxFade: true,
                    fxSpeed: 'fast',
                    onClick: function() {
                        alert('onClick');
                    },
                    onHide: function() {
                        alert('onHide');
                    },
                    onShow: function() {
                        alert('onShow');
                    }
                });
                $('#container-7').tabs({ fxAutoHeight: true });
                $('#container-8').tabs({ fxShow: { height: 'show', opacity: 'show' }, fxSpeed: 'normal' });
                $('#container-9').tabs({ remote: true });
                $('#container-10').tabs();
                $('#container-11').tabs({ disabled: [3] });

                $('<p><a href="#">Disable third tab<\/a><\/p>').prependTo('#fragment-28').find('a').click(function() {
                    $(this).parents('div').eq(1).disableTab(3);
                    return false;
                });
                $('<p><a href="#">Activate third tab<\/a><\/p>').prependTo('#fragment-28').find('a').click(function() {
                    $(this).parents('div').eq(1).triggerTab(3);
                    return false;
                });
                $('<p><a href="#">Enable third tab<\/a><\/p>').prependTo('#fragment-28').find('a').click(function() {
                    $(this).parents('div').eq(1).enableTab(3);
                    return false;
                });

                
var avui = new Date()
document.listadoForm.diaFechaEntrada.selectedIndex=avui.getDate()-1;
document.listadoForm.mesFechaEntrada.selectedIndex=avui.getMonth();
document.listadoForm.anyFechaEntrada.options[0].value=avui.getFullYear();
document.listadoForm.anyFechaEntrada.options[0].text=avui.getFullYear();
document.listadoForm.anyFechaEntrada.options[1].value=avui.getFullYear()+1;
document.listadoForm.anyFechaEntrada.options[1].text=avui.getFullYear()+1;
document.listadoForm.anyFechaEntrada.options[2].value=avui.getFullYear()+2;
document.listadoForm.anyFechaEntrada.options[2].text=avui.getFullYear()+2;
document.listadoForm.anyFechaEntrada.selectedIndex=0;

var milisegundos=parseInt(24*60*60*1000);
var dema= new Date();
dema.setTime(parseInt(avui.getTime()+milisegundos));

document.listadoForm.diaFechaSalida.selectedIndex=dema.getDate()-1;
document.listadoForm.mesFechaSalida.selectedIndex=dema.getMonth();
document.listadoForm.anyFechaSalida.options[0].value=dema.getFullYear();
document.listadoForm.anyFechaSalida.options[0].text=dema.getFullYear();
document.listadoForm.anyFechaSalida.options[1].value=dema.getFullYear()+1;
document.listadoForm.anyFechaSalida.options[1].text=dema.getFullYear()+1;
document.listadoForm.anyFechaSalida.options[2].value=dema.getFullYear()+2;
document.listadoForm.anyFechaSalida.options[2].text=dema.getFullYear()+2;
document.listadoForm.anyFechaSalida.selectedIndex=0;

/*
document.write(ahora.getMonth() + 1)
document.write(".")
document.write(ahora.getFullYear());
*/

						   });