Economy Rent a Car


]]> We are in this together. We have made our cancellation policies more flexible. For your safety. 1000){ $.ajax( { url: ulr + “/cargaBanners”, data: actionData, dataType: “json”, type: “POST”, contentType: “application/json; charset=utf-8”, success: function (msg) { $(function () { try { $(msg.d).each(function () { $(““)[0].src = this[“Src”]; //$(““)[0].attr = this[“Url”]; }); $(‘.reservationBox’).backstretch(msg.d[index][“Src”], { duration: 5000, fade: 2500, fadeFirstImage: false, speed: 500 }); var cambiaImg = function () { index = (index >= msg.d.length – 1) ? 0 : index + 1; $(‘.reservationBox’).backstretch((msg.d[index][“Src”])) //$(‘.linkRef’).backstretch((msg.d[index][“Src”])) }; var cambiahref = function () { //if (msg.d[index2][“Url”] != “”) { index2 = (index2 >= msg.d.length – 1) ? 0 : index2 + 1; $(‘.linkRef’).attr(‘href’, (msg.d[index2][“Url”])) //} else { // $(‘.linkRef’).attr(‘href’, “”) //} }; (function loopingFunction() { cambiaImg(); cambiahref(); setTimeout(loopingFunction, msg.d[index][“Time”]); })(); } catch (e) { } }); } }); }/// } } // if (Request.Browser.IsMobileDevice == false) { //var interval = setInterval(sendDataAjax(), index); sendDataAjax(); ]]> = msg.d.length – 1) ? 0 : indexLateral + 1; if(msg.d[indexLateral][“Url”]) { $(“#link”).remove(); $(““).insertAfter(“#chat”); } else { $(“#link”).remove(); $(“#imgBanner”).remove(); $(““).insertAfter(“#chat”); } }; (function loopingFunctionImgLateral() { debugger; cambiaImgLateral(); setTimeout(loopingFunctionImgLateral, msg.d[indexLateral][“Time”]); })(); } catch (e) { } }); } }); } } cambiaBannerLateral(); (function($) { function getGif() { var gif = []; $(“.DisGif”).each(function() { var data = $(this).data(‘alt’); gif.push(data); }); return gif; } var gif = getGif(); var image = []; $(“.DisGif”).each(gif, function(index) { image[index] = new Image(); image[index].src = gif[index]; }); })(jQuery); function onGif() { var $this = $(“.DisImg”), $index = $this.index(), $img = $this.children(‘img’), $imgSrc = $img.attr(‘src’), $imgAlt = $img.attr(‘data-alt’), $imgExt = $imgAlt.split(‘.’); if($imgExt[1] === ‘gif’) { $img.attr(‘src’, $img.data(‘alt’)).attr(‘data-alt’, $imgSrc); } else { $img.attr(‘src’, $imgAlt).attr(‘data-alt’, $img.data(‘alt’)); } $this.toggleClass(‘play’); } ]]>

Source

Leave a Reply

Your email address will not be published. Required fields are marked *