$.as24=$.as24||{};$.as24.cookieInfoLayerTranslations=$.as24.cookieInfoLayerTranslations||{};$.as24.cookieInfoLayerTranslations.infoPage="http://about.autoscout24.com/es-es/au-company/au-company-privacy-cookie.aspx";$.as24.cookieInfoLayerTranslations.infoPageText="Esta web utiliza cookies propias y de terceros para mejorar nuestros servicios y mostrarle publicidad relacionada con sus preferencias.<br/>Si continua navegando (utiliza cualquiera de nuestros servicios o hace clic en cualquier link existente en esta web), consideramos que acepta su uso. M\u00e1s informaci\u00f3n.";
$.as24.cookieInfoLayerTranslations.closeLinkText="Cerrar";$.as24.cookieInfoLayerTranslations.omnitureAccount="autoscout24es";

(function(){$.as24=$.as24||{};$.as24.cookieInfoLayer=$.as24.cookieInfoLayer||{};$.as24.cookieInfoLayer=function(){var a=function(){var b=$.as24.cookieInfoLayerTranslations;return'<div id="cookieInfoLayer" style="position:fixed;top:0;z-index:19000;width:100%;background-color:#333;-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);filter: alpha(opacity=70);opacity:0.7;">   <a style="display:block;margin:9px 10px;color:white;font-family: Verdana;font-size:12px;text-decoration:none;" href="'+
b.infoPage+'?intcidm=cookielayerInfo" target="_blank">       <div style="text-align:center;line-height:18px">'+b.infoPageText+'</div>   </a>   <div class="close" style="position:absolute;top:0px;right:0px;font-family: Verdana;background-color:black;color:white;cursor:pointer;line-height:20px;padding: 0 15px;margin:8px 10px 0 0;font-size:12px">'+b.closeLinkText+"</div></div>"},d=function(b,a){var c=location.host.substring(location.host.indexOf("."));$.cookie(b,a,{domain:c,expires:3650,path:"/"})},
f=function(){var b=$.cookie("as24-cookieinfolayer");"0"!==b&&"1"!==b&&("undefined"!==typeof s&&"undefined"!==typeof s.as24&&"function"===typeof s.as24.trackClick&&s.as24.trackClick("cookieLayerShown",{list1:"cookieLayerShown"}),$(document).trigger("cookieLayerFirstTimeShown"),d("as24-cookieinfolayer","0"))},c=function(b){$(".bubble").has(".bubbleContent").css("margin-top",-b)},e=function(b){var a=$("#cookieInfoLayer").height();$("body").css({marginTop:a});c(a);$(document).trigger(b,[a])};return{show:function(){0===
$("#cookieInfoLayer").length&&"1"!==$.cookie("as24-cookieinfolayer")&&($("body").prepend(a()).css({position:"relative"}),$("#cookieInfoLayer a").css("margin-right",$("#cookieInfoLayer .close").outerWidth()+20).hover(function(){$(this).css("text-decoration","underline")},function(){$(this).css("text-decoration","none")}),$(window).resize(function(){0!==$("#cookieInfoLayer").length&&e("cookieLayerResize")}),$(function(){c($("#cookieInfoLayer").height())}),e("cookieLayerShown"),$("#cookieInfoLayer .close").click(function(){"function"===
typeof s_gi&&"undefined"!==typeof s&&"undefined"!==typeof s.tl&&(s=s_gi($.as24.cookieInfoLayerTranslations.omnitureAccount),s.tl(this,"o","cookielayerClose"));d("as24-cookieinfolayer","1");null!==$(document).closeBubbles&&"function"===typeof $(document).closeBubbles&&($(document).closeBubbles(),c(0));$("body").css({position:"static",marginTop:"0"});$("#cookieInfoLayer").remove();$(document).trigger("cookieLayerClosed");return!1}),f())}}}()})();
$(function(){var a=$.as24.cookieInfoLayerTranslations;a&&a.infoPage&&a.infoPageText&&a.closeLinkText&&a.omnitureAccount&&$.as24.cookieInfoLayer.show()});

