|
|||
riables = "sid=973413014423796&action=RES_get_country_hotels&country=" + value + "&idioma=ES";
page_to_function("event_country2", "indexws.php", variables, "GET")
}
function event_destination(value){
event_hotel("");
var variables = "sid=973413014423796&action=RES_get_destination_hotels&destination=" + value + "&idioma=ES";
page_to_function("event_destination2", "indexws.php", variables, "GET")
//page("debug","indexws.php", variables ,"GET")
}
function reseteja_habitacions() {
document.getElementById('nhab').value = '1';
}
function event_category(valor){
// Depenen de mi Categories i Hotels
event_hotel("");
var variables = "sid=973413014423796&action=RES_get_category_hotels&idioma=ES";
variables += "&category=" + valor;
if (document.getElementById("country")) {
//alert(document.getElementById("country").value)
variables += "&country=" + document.getElementById("country").value;
}
if (document.getElementById("destination")) {
//alert(document.getElementById("destination").value)
variables += "&destination=" + document.getElementById("destination").value;
}
page_to_function("event_category2", "indexws.php", variables, "GET")
}
function event_hotel(valor){
return false
if (valor != "") {
var variables = "sid=973413014423796&action=RES_get_boards_hotel&idioma=ES";
variables += "&hotel=" + valor;
page_to_function("event_hotel2", "indexws.php", variables, "GET")
//page("debug","indexws.php", variables ,"GET")
}
else {
rows = document.getElementById("displaysearchrowsselect").value;
for (i = 1; i <= rows; i++) {
document.getElementById("board_" + i).style.visibility = "hidden";
;
}
}
}
function pobla(cadena){
if (cadena == '') {
document.getElementById("registro").innerHTML = 'Usuario o Password incorrectos';
return false;
}
else {
if (cadena == 0 && document.getElementById("id_referer").value) {
if (document.getElementById("id_colectivo").value)
document.getElementById("id_referer").value = document.getElementById("id_colectivo").value;
document.getElementById("id_referer2").value = document.getElementById("id_referer").value;
}
else {
document.getElementById("id_referer").value = cadena;
document.getElementById("id_referer2").value = cadena;
}
document.getElementById("registro").innerHTML = 'Usuario correcto';
check_search_form();
}
}
function exec_customers_search(){
if( document.getElementById('camp_cerca').value !="") {
loading_show();
document.forms['RES_search_cli'].submit()
}
}
function exec_advanced_customers_search(){
popup_buscar_clients('https://amic.igmssl.com/buscador_amic/index.php?action=RES_customer_search_advanced', 800, 600)
}
function search_region(value){
var variables = "sid=973413014423796&action=CLI_get_regions&country="+value+"&idioma=ES";
page_to_function("search_region2","indexws.php", variables ,"GET")
}
function search_region2(dades){
generic_population(dades, "q3");
}
function check_search_form()
{
actualiza_f_fin();
var buscar = true;
n_hab = document.getElementById("nhab").value;
f = document.forms[0];
/*for (j=1 ; j <= n_hab ; j++)
{
if (document.getElementById("board_" + j).value == '') buscar = false;
}*/
if (buscar)
{
var nnits = get_nits( document.getElementById('fecha_resi').value, document.getElementById('fecha_resf').value );
if(nnits < 1 ){
alert('Intervalo de fechas incorrecto');
}else if( nnits > 31 ){
alert(' 31 Noches');
}
else
{
//document.getElementById('resultat_cerca').innerHTML = '';
//loading_show();
//actualiza_f_fin();
document.forms['RES_search'].submit()
}
}
}
function popup(url, ample, alt)
{
var winl = (screen.width-ample)/2;
var wint = (screen.height-alt)/2;
var opcions=('top='+wint+',left='+winl+',width='+ample+',height='+alt+',toolbar='+0+',menubar='+0+',status='+0+',scrollbars='+1+',resizable='+1);
var finestra = 'freetibet';
window.open(url, finestra, opcions);
}
function reserva_paquete(id_paquete)
{
url = '?action=PAQ_selecciona&id_paquete='+id_paquete+ '&idioma=ES';
popup(url, 800, 600)
}
function calcula_fecha_f()
{
fecha_ini = document.getElementById('fecha_resi').value
fecha_ini = fecha_ini.split('/');
cadena = fecha_ini[2] + "/" + fecha_ini[1] + "/" + fecha_ini[0];
var fecha_ini = new Date(cadena);
var noches = document.getElementById('noches').value;
var cont = 1;
while ((noches >= cont) && (cont<365) )
{
fecha_ini.setTime(fecha_ini.getTime() + (86400000) );
if(fecha_ini.getHours() == 1 ) fecha_ini.setTime(fecha_ini.getTime() - 3600000 );
else if( fecha_ini.getHours() == 23 ) fecha_ini.setTime(fecha_ini.getTime() + 3600000 );
cont++;
}
dia = fecha_ini.getDate();
mes = fecha_ini.getMonth()+1;
any = fecha_ini.getFullYear();
avui = new Date();
any_index = any - avui.getFullYear();
mes_index = mes - 1;
dia_index = dia-1;
document.getElementById("fecha_resf_dia").selectedIndex = dia_index;
document.getElementById("fecha_resf_mes").selectedIndex = mes_index;
document.getElementById("fecha_resf_ano").selectedIndex = any_index;
document.getElementById("fecha_resf").value = dia+'/'+mes+'/'+any;
}
function actualiza_noches() {
var fecha_fin = document.getElementById('fecha_resf').value;
fecha_fin = fecha_fin.split("/");
fecha_fin = new Date(fecha_fin[2] + '/' + fecha_fin[1] + '/' + fecha_fin[0]);
var fecha_ini = document.getElementById('fecha_resi').value;
fecha_ini = fecha_ini.split("/");
fecha_ini = new Date(fecha_ini[2] + '/' + fecha_ini[1] + '/' + fecha_ini[0]);
var noches = (((fecha_fin.getTime() - fecha_ini.getTime()) / 86400000));
document.getElementById('noches').value = noches;
}
function abreCalendar(esaFecha,elObj,idioma){
lafecha=eval("document.RES_search."+esaFecha+".value");
laurl="calendario.asp?lang="+idioma+"&elForm=RES_search&valor="+esaFecha+"&"+esaFecha+"="+lafecha;
ptop=198;
pleft=30;
palIframe(document.getElementById('verCalendario'),220,120,ptop,pleft,laurl);
}
function palIframe(capita,ancho,alto,posiTop,posiLeft,url){
capita.style.height=alto+"px";
capita.style.width=ancho+"px";
if (posiTop==0 || posiLeft==0){
centrarCapa(capita,ancho,alto,posiTop,posiLeft);
}else{
capita.style.top=135+"px";
capita.style.left=480+"px";
}
capita.src=url;
capita.style.display="block";
}
//-->
|
|||
![]()
|
|||
|
|
![]() ![]()
TUI Marathon - Palma de Mallorca
El Hotel Horizonte recomendado por su ubicación y proximidad al Paseo Marítimo, lugar donde se realizará el TUI MARATON. Ofrecemos desayunos adaptados para deportistas y sala de masajes. Tras el éxito de la primera y de la segunda edición quedan inauguradas las inscripciones para la Tercera Edición del TUI MARATON Palma de Mallorca del próximo 22de octubre 2006. Inscripción en el Marathon Palma de Mallorca PDF
![]() ![]() ![]()
|
||
| / / / / | |||