script> function showModalLoadingData(){ var modal_loading_data = $("#modal_loading_data"); function centradoModal(event){ if (typeof mobileAjax !== 'undefined') { var dialog = $(event.target); var dialogHeight = $(dialog).height(); if (dialogHeight == 0){ dialogHeight = $(dialog).children().height(); } var windowHeight = $(window).height(); var freeHeight = windowHeight - dialogHeight; if (freeHeight > 0 && freeHeight != windowHeight){ freeHeight = freeHeight / 2; $(".ui-dialog").css("margin-top",freeHeight + "px"); } event.stopPropagation(); } } modal_loading_data.dialog({ modal : true, width : 350, open: function(event){ centradoModal(event) } }); $("button[title='close']").hide(); } function closeModalLoadingData() { $(".ui-dialog-content").dialog("close") //$("#modal_loading").dialog("close"); }
At Endesa we always want you to enjoy the best conditions, advising you at all times and offering you the best benefits.
Enjoy a guaranteed discount on your electricity bill for an unlimited time.
With the Tempo 24 horas tariff, all communities of home owners will enjoy a discount in their electricity bill or an unlimited time.