(function() {
var insertElt = function(container, type, id, css, innerhtml) {
var div = container.ownerDocument.createElement(type);
if(id) div.id = id;
if(css) div.style.cssText = css;
if(innerhtml)
{
div.innerHTML = '
' + innerhtml;
div.removeChild(div.childNodes[0]);
}
container.appendChild(div);
return div;
};
var getDocument = function(iframe) {
var result_document = iframe.contentWindow || iframe.contentDocument;
if (result_document.document)
result_document = result_document.document;
return result_document;
};
var executeScripts = function(element) {
var sc = element.getElementsByTagName('script');
var scripts = [];
for (var scriptIdx = 0; scriptIdx < sc.length; scriptIdx++) {
scripts.push(sc[scriptIdx]);
}
for (scriptIdx = 0; scriptIdx < scripts.length; scriptIdx++) {
var oldScript = scripts[scriptIdx];
var parent = oldScript.parentNode;
var newScript = oldScript.ownerDocument.createElement('script');
if (oldScript.id) newScript.id= oldScript.id;
if (oldScript.type) newScript.type = oldScript.type;
if (oldScript.src ) newScript.src = oldScript.src;
if (oldScript.text) newScript.text = oldScript.text;
if (oldScript.defer) newScript.defer = true;
parent.replaceChild(newScript, oldScript);
}
};
var tmpString = '';
tmpString += "<"+"div id = \'cto_bnr_2acc6886\'><"+"/div>\n";
document.write(tmpString);
var c = document.getElementById('cto_bnr_2acc6886');
if (!c) return;
var content0e3b1be909 = c.ownerDocument.createElement('iframe');
content0e3b1be909.setAttribute('frameBorder', 0);
content0e3b1be909.setAttribute('allowtransparency', true);
content0e3b1be909.setAttribute('hspace', 0);
content0e3b1be909.setAttribute('marginwidth', 0);
content0e3b1be909.setAttribute('marginheight', 0);
content0e3b1be909.setAttribute('scrolling', 'no');
content0e3b1be909.setAttribute('vspace', 0);
c.appendChild(content0e3b1be909);
content0e3b1be909.setAttribute('width', '728px');
content0e3b1be909.setAttribute('height', '90px');
var frdoc = getDocument(content0e3b1be909);
frdoc.open();
frdoc.write('
');
frdoc.write('advertisement<' + '/title>');
frdoc.write('');
frdoc.write('<' + '/head>');
frdoc.write('<' + '/body>');
c = getDocument(content0e3b1be909).body;
var writeOutput = document;
var tmpString = '';
tmpString += "<"+"div id=\'writecto_bnr_2acc6886\' style=\'display: none;\'>\n";
writeOutput.write(tmpString);
var main0e3b1be909 = insertElt(c, 'div', 'main0e3b1be909', 'position:relative;padding:0;width:728px;height:90px;background-color:#ddd;cursor:pointer;overflow:hidden;display:inline-block;', null);
var slink0e3b1be909 = insertElt(main0e3b1be909, 'a', 'slink0e3b1be909', 'position:absolute;text-decoration:none;margin:0;padding:0;border:none;z-index:100;right:0px;left:auto;top:0px;bottom:auto;');
slink0e3b1be909.setAttribute('target', '_blank');
slink0e3b1be909.setAttribute('href', 'http://info.criteo.com/pac/privacy/informations?infonorm=1&partner=3274&campaignid=52171&zoneid=112859&bannerid=2472734&displayid=0e3b1be909');
var simg0e3b1be909 = insertElt(slink0e3b1be909, 'img', 'simg0e3b1be909', 'margin:0;padding:0;border:none;text-decoration:none;position:relative;width:15px;height:15px;');
simg0e3b1be909.setAttribute('src', 'http://static.eu.criteo.net/flash/icon/criteo_policy_15x15.png');
simg0e3b1be909.setAttribute('width', 15);
simg0e3b1be909.setAttribute('height', 15);
var blink0e3b1be909 = insertElt(main0e3b1be909, 'a', 'blink0e3b1be909', 'position:absolute;text-decoration:none;margin:0;padding:0;border:none;overflow:hidden;display:none;z-index:100;right:0px;left:auto;top:0px;bottom:auto;');
blink0e3b1be909.setAttribute('target', '_blank');
blink0e3b1be909.setAttribute('href', 'http://info.criteo.com/pac/privacy/informations?infonorm=1&partner=3274&campaignid=52171&zoneid=112859&bannerid=2472734&displayid=0e3b1be909');
var bdiv0e3b1be909InnerHtml = "Вы не хотите, чтобы отображались эти продукты или хотите получить подробную информацию?<"+"br /><"+"b><"+"u>Щелкните кнопкой мыши здесь<"+"/u><"+"/b>\n";
var bdiv0e3b1be909 = insertElt(blink0e3b1be909, 'div', 'bdiv0e3b1be909', 'margin:0;border:none;text-decoration:none;padding:4px;color:#fff;font-family:Arial,Helvetica,sans-serif;text-align:left;background-color:#000;position:relative;font-size: 10px', bdiv0e3b1be909InnerHtml);
(function(frwin)
{
var g=function(s) { return c.ownerDocument.getElementById(s); },
cont=g('main0e3b1be909'),
toe,
el=cont.children[0],
elo=cont.children[1];
el.x=el.style.left;
elo.x=elo.style.left;
function h(e,b) { e.style.display=(b)?'block':'none'; }
function cc(a,e) { return function() { a.apply(frwin,e); } }
function o(pev,e1,e2)
{
var ev=pev||frwin.event;
var tg=ev.relatedTarget||ev.toElement;
if(tg==null) { h(e1,false); h(e2,true); return false; }
if(ii(elo,tg)) return false;
h(e1,false);
h(e2,true);
}
function ii(p,c)
{
var n=c.parentNode;
while(n!=null)
{
if(n==p){return true;}
n=n.parentNode;
}
return false;
}
el.onmouseover=function(ev){cc(o,[ev,el,elo])();};
elo.onmouseout=function(ev){cc(o,[ev,elo,el])();};
cont.onmouseout=function(ev){var cev=ev||frwin.event;o(cev,elo,el);};
function ct(a,o)
{
for(var i=0;i\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += "\n";
cto_banner_contentInnerHtml += " <"+"style>*{ margin:0;padding:0;z-index:4}a{color:#000;text-decoration:none;outline:0}.ad{width:728px;height:90px;overflow:hidden;font-family: Arial; position:absolute;text-align:left;top:0;left:0}.border{background-image: none;background-color: #666666;background-color:rgba(102, 102, 102, 1);}#logo{top:0;left:0;width:728px;height:90px;background-image:url(\'http://static.eu.criteo.net/design/dt/3274/131217/351614.jpg\'); position:absolute;display:inline-block;z-index:1}#coupon{width:130px;height:90px; position:absolute;display:inline-block;background-repeat:no-repeat;z-index:5;top:0;right:0;}.couponSlide{position:absolute;visibility:hidden}.product{display:inline-block;float:left;position:relative;height:86px;width:196px;margin-top:2px;margin-left:3px;background-image: none;background-color: #8ba8d5;background-color:rgba(139, 168, 213, 1);}.productOver{background-image: none;background-color: #8ba8d5;background-color:rgba(139, 168, 213, 1);}.product:nth-of-type(1){margin-left:2px}.prd{position:static;height:80px;width:192px;padding:2px 1px;border: solid 1px #8ba8d5;}.prdOver{padding:1px 0;border: solid 2px #8ba8d5;}.badge{z-index:5;font-size:13px;font-weight:bold;position:absolute;top:2px;left:2px;text-align:center;color:#ffffff; background-image: none;background-color: #1494ff;background-color:rgba(20, 148, 255, 1); padding:2px;z-index:5;max-width:82px;word-wrap:break-word;overflow:hidden}.badgeOver{}.imageholder img{border-style:none;background-image: none;background-color: #FFFFFF; display:none}.imageholder{float:left;text-align:center;width:83px;height:78px;margin-left:1px;overflow:hidden;background-image: none;background-color: #FFFFFF; border: solid 1px transparent;}.imageholderOver{background-image: none;background-color: #FFFFFF; border: solid 1px transparent;}.imageholder *{vertical-align:middle}.ghost{display:inline-block;height:100%}.infoContainer{margin-left:3px;position:relative;display:inline-block;width:102px;height:78px;text-align:center}.title{height:32px;line-height:16px;width:98px;font-size:13px;margin:1px auto 0 auto;font-weight: bold; color:#062d7d; word-wrap:break-word;overflow:hidden}.titleOver{color:#062d7d; font-weight: bold; }.priceContainer{position:relative;width:100%;margin:0 auto;overflow:hidden;height:20px;line-height:20px}.priceContainer div{position:absolute;width:100%;font-size:15px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.price{font-weight: bold; color:#000000;}.priceOver{font-weight: bold; color:#000000;}.altPrice{font-weight: bold; color:#1494ff;}.altPriceOver{font-weight: bold; color:#1494ff;}.oldPrice{font-weight: bold; color:#1494ff;}.oldPriceOver{font-weight: bold; color:#1494ff;}.cta{height:20px;line-height:20px;text-align:center;font-weight:bold;font-size:14px;width:80px;margin:1px auto 0 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#ffffff; background-image: none;background-color: #1494ff;background-color:rgba(20, 148, 255, 1); border: solid 1px #1494ff; -webkit-border-radius: 5px; -moz-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px;}.ctaOver{color:#ffffff; background-image: none;background-color: #1494ff;background-color:rgba(20, 148, 255, 1); border: solid 1px #1494ff;}.revertLogo{float:left;width:130px;height:90px}<"+"/style><"+"div id=\"cto_banner_content\" class=\"ad\"> <"+"a href=\'http://cas.fr.eu.criteo.com/delivery/ck.php?ckmode=9&cb=0e3b1be909&did=0e3b1be909&nlsid=52171&c1=_evJRHA5GauMfxjX4-y4lr5jLDh4sGE2Vte1vsdkgdVUV7FQa5cdXdiBEW3vaamdHYYya5v5fMUReqGg6Pl15pRhywVdopCrW4QOdatETSsnsDdOt9p_SbOEne8oACJ7wJQ-w7pfLEQMcpT3gJaA2V0vt9yYLgkYoneh-I9g1-cPp8ym0L12U3pt04lDJG0VqRakGKugZxX3YPqhDcRqIs3aXO6c7dB6mapk8JqwJTUPXviZBnMKZnG5v7vcnus3JWFkjNa7-RC0YtGz-3J3JsGWfDVR6MavWasQ5nSxuLDUGjw6j33czQ&maxdest=http%3a%2f%2fwww.booking.com%2fhotel%2fde%2fstachus-munchen.html%3futm_medium%3dSPPC%26utm_term%3dhotel-74401%26checkin%3d2014-06-06%26checkout%3d2014-06-08%26label%3dhotel-74401%26aid%3d341431%26utm_source%3dcriteo\' target=\'_blank\' class=\"product\" id=\"p0\">\n";
cto_banner_contentInnerHtml += "<"+"div class=\"prd\" name=\"prd\">\n";
cto_banner_contentInnerHtml += " <"+"div class=\"imageholder\" name=\"imageholder\" id=\"ih0\" data-imgsrc=\"http://images.eu.criteo.net/http/6.85/.p1chFHTmNK2wtxGkJ65xsLe6/3274/static.booking.com/images/hotel/max300/316/3168757.jpg\"><"+"span class=\"ghost\"><"+"/span><"+"/div>\n";
cto_banner_contentInnerHtml += " \n";
cto_banner_contentInnerHtml += " <"+"div class=\"infoContainer\">\n";
cto_banner_contentInnerHtml += " <"+"div data-ellipsis=\"multiline\" name=\"title\" class=\"title\">Мюнхен - Hotel Stachus<"+"/div>\n";
cto_banner_contentInnerHtml += " <"+"div class=\"priceContainer\"><"+"div name=\"price\" class=\"price\">4542 руб<"+"/div><"+"/div>\n";
cto_banner_contentInnerHtml += " <"+"div name=\"cta\" class=\"cta\">поиск<"+"/div>\n";
cto_banner_contentInnerHtml += " <"+"/div>\n";
cto_banner_contentInnerHtml += "<"+"/div>\n";
cto_banner_contentInnerHtml += "<"+"/a>\n";
cto_banner_contentInnerHtml += "<"+"a href=\'http://cas.fr.eu.criteo.com/delivery/ck.php?ckmode=9&cb=0e3b1be909&did=0e3b1be909&nlsid=52171&c1=_evJRHA5GauMfxjX4-y4lr5jLDh4sGE2Vte1vsdkgdXA5wh5Mf-GIdOrSLy5y3sWASa-yA3TgiR91JFDBx7KAXHQM3PlTtDKasUafeXLLEV7jEtapBum5PcHGeZPlZzbnAbfls3mWfP1TUWa2KeuzU6E9OaePhuu-6TfLfJndfa-uIZv16pX7uN4hiUOIyVFkM_odLcs0rD0c2PaH6JqAiLpF3NUyGYYMCqybiCf7wi7ftKTdgS4QdKILZqpQXUoTnzctimgNtcgSKraUZWs4_z4ZzJIi7xF7uyO3j4e9IhilKI7b2GRNw&maxdest=http%3a%2f%2fwww.booking.com%2fhotel%2fru%2fchakalovskiy.html%3futm_medium%3dSPPC%26utm_term%3dhotel-873350%26checkin%3d2014-06-06%26checkout%3d2014-06-08%26label%3dhotel-873350%26aid%3d341431%26utm_source%3dcriteo\' target=\'_blank\' class=\"product\" id=\"p1\">\n";
cto_banner_contentInnerHtml += "<"+"div class=\"prd\" name=\"prd\">\n";
cto_banner_contentInnerHtml += " <"+"div class=\"imageholder\" name=\"imageholder\" id=\"ih1\" data-imgsrc=\"http://images.eu.criteo.net/http/6.85/.TCaqxtxbYvEam1UpRdU_qp6F/3274/static.booking.com/images/hotel/max300/264/26437811.jpg\"><"+"span class=\"ghost\"><"+"/span><"+"/div>\n";
cto_banner_contentInnerHtml += " \n";
cto_banner_contentInnerHtml += " <"+"div class=\"infoContainer\">\n";
cto_banner_contentInnerHtml += " <"+"div data-ellipsis=\"multiline\" name=\"title\" class=\"title\">Нижний Новгород - Отель Чкаловский<"+"/div>\n";
cto_banner_contentInnerHtml += " <"+"div class=\"priceContainer\"><"+"/div>\n";
cto_banner_contentInnerHtml += " <"+"div name=\"cta\" class=\"cta\">поиск<"+"/div>\n";
cto_banner_contentInnerHtml += " <"+"/div>\n";
cto_banner_contentInnerHtml += "<"+"/div>\n";
cto_banner_contentInnerHtml += "<"+"/a>\n";
cto_banner_contentInnerHtml += "<"+"a href=\'http://cas.fr.eu.criteo.com/delivery/ck.php?ckmode=9&cb=0e3b1be909&did=0e3b1be909&nlsid=52171&c1=_evJRHA5GauMfxjX4-y4lr5jLDh4sGE2Vte1vsdkgdXA5wh5Mf-GIdOrSLy5y3sWASa-yA3TgiR91JFDBx7KAXHQM3PlTtDKasUafeXLLEV7jEtapBum5PcHGeZPlZzb4OpWooTPfM5Wzx26a0TEUNYmr3NyKvwDnwUryqxJ5n1z4faEybc5yg-JPrsG2osZWHj05nrUitSxI2CAKpkcwF8SGEuYadZSXMMhakeILhzDZRDprdeQzK5LTFJWifskLElkbmUPoYIf_Je-1OoiwuQkNYGyZ1UbQlNoZHgHhh-AtXeLsAeeQw&maxdest=http%3a%2f%2fwww.booking.com%2fhotel%2fru%2ffilka-guest-house.html%3futm_medium%3dSPPC%26utm_term%3dhotel-882740%26checkin%3d2014-06-06%26checkout%3d2014-06-08%26label%3dhotel-882740%26aid%3d341431%26utm_source%3dcriteo\' target=\'_blank\' class=\"product\" id=\"p2\">\n";
cto_banner_contentInnerHtml += "<"+"div class=\"prd\" name=\"prd\">\n";
cto_banner_contentInnerHtml += " <"+"div class=\"imageholder\" name=\"imageholder\" id=\"ih2\" data-imgsrc=\"http://images.eu.criteo.net/http/6.85/.ujQEjyeCpTTqXdl6bXtkWrjX/3274/static.booking.com/images/hotel/max300/273/27386327.jpg\"><"+"span class=\"ghost\"><"+"/span><"+"/div>\n";
cto_banner_contentInnerHtml += " \n";
cto_banner_contentInnerHtml += " <"+"div class=\"infoContainer\">\n";
cto_banner_contentInnerHtml += " <"+"div data-ellipsis=\"multiline\" name=\"title\" class=\"title\">Нижний Новгород - Гостевой Дом ФилКа<"+"/div>\n";
cto_banner_contentInnerHtml += " <"+"div class=\"priceContainer\"><"+"/div>\n";
cto_banner_contentInnerHtml += " <"+"div name=\"cta\" class=\"cta\">поиск<"+"/div>\n";
cto_banner_contentInnerHtml += " <"+"/div>\n";
cto_banner_contentInnerHtml += "<"+"/div>\n";
cto_banner_contentInnerHtml += "<"+"/a>\n";
cto_banner_contentInnerHtml += " <"+"a id=\"logo\" class=\"last\" href=\'http://cas.fr.eu.criteo.com/delivery/ck.php?ckmode=9&cb=0e3b1be909&did=0e3b1be909&nlsid=52171&c1=LJ8vtd5u94JD1-BzOjx9a35teBAZd3y_p-z7eiu2R5fAfsTom79fm_8iTtpp6Js_uMRJigf7qJZDsRmroXosDVrh7EHDBJ6w1k9CrLRUez4MKPm3NgMFlWtUmXReRKlMMVjsoJ_hNByA9CAA2rq_0YcKEeIUPCtKLYYSgCThKukgE27Ex0z2ZimMspVoOyW7PCBzW_t18JPdUxnv88q0cVbgqQ-rfzNhnaQID74ROO2KW3XhM9EnUTbkuGhifPBGWIBbTystOZZMddVJFYoAOmIrAiXN6O4sG9veJr40KMo&maxdest=http%3a%2f%2fwww.booking.com%2f%3flabel%3dcriteo-ru-home%26utm_medium%3dSPPC%26utm_campaign%3dru%26utm_content%3dhome%26utm_term%3dru-homepage%26aid%3d341431%26utm_source%3dcriteo\' target=\'_blank\'\"><"+"/a>\n";
cto_banner_contentInnerHtml += "<"+"a id=\"coupon\" href=\'http://cas.fr.eu.criteo.com/delivery/ck.php?ckmode=9&cb=0e3b1be909&did=0e3b1be909&nlsid=52171&c1=LJ8vtd5u94JD1-BzOjx9a35teBAZd3y_p-z7eiu2R5fAfsTom79fm_8iTtpp6Js_uMRJigf7qJZDsRmroXosDVrh7EHDBJ6w1k9CrLRUez4MKPm3NgMFlWtUmXReRKlMMVjsoJ_hNByA9CAA2rq_0YcKEeIUPCtKLYYSgCThKukgE27Ex0z2ZimMspVoOyW7PCBzW_t18JPdUxnv88q0cVbgqQ-rfzNhnaQID74ROO2KW3XhM9EnUTbkuGhifPBGWIBbTystOZZMddVJFYoAOmIrAiXN6O4sG9veJr40KMo&maxdest=http%3a%2f%2fwww.booking.com%2f%3flabel%3dcriteo-ru-home%26utm_medium%3dSPPC%26utm_campaign%3dru%26utm_content%3dhome%26utm_term%3dru-homepage%26aid%3d341431%26utm_source%3dcriteo\' target=\'_blank\'><"+"/a>\n";
cto_banner_contentInnerHtml += "<"+"/div>\n";
cto_banner_contentInnerHtml += "<"+"script type=\"text/javascript\">var Banner=function(){function v(a){return\"undefined\"!=typeof a&&a instanceof Array?a:[]}function m(a){return null!==a&&void 0!==a}function A(a,c){a.style.visibility=c?\"visible\":\"hidden\"}function q(a,c){return RegExp(\"(\\\\s|^)\"+c+\"(\\\\s|$)\").test(a.className)}function w(a,c){q(a,c)||(a.className+=(a.className?\" \":\"\")+c)}function K(a,c){q(a,c)&&(a.className=a.className.replace(RegExp(\"(\\\\s|^)\"+c+\"(\\\\s|$)\"),\" \").replace(/^\\s+|\\s+$/g,\"\"))}function O(a){var c=a.currentStyle||window.getComputedStyle(a,\n";
cto_banner_contentInnerHtml += "!1);if(m(c)&&m(c.backgroundImage)&&(c=c.backgroundImage.slice(4,-1).replace(/[\"\']/g,\"\"),m(c))){a.infos={};var b=new Image;b.onload=function(){a.infos.height=this.height;a.infos.width=this.width};b.src=c}}function B(){var a,c,b=f.length;for(a=0;a<"+"b;a+=1)c=document.getElementById(\"p\"+a),c.className=\"product\",t(f[a].children,!0)}function P(){var a,c,b,d=f.length;x=x+1<"+"d?x+1:0;for(a=0;a<"+"d;a+=1)c=f[a].domElement,b=1===d?q(c,\"productOver\"):a!==x,c.className=b?\"product\":\"product productOver\",t(f[a].children,\n";
cto_banner_contentInnerHtml += "b)}function C(){D||n||(B(),u=u||setInterval(P,Q))}function E(){u&&(clearInterval(u),u=null)}function t(a,c){var b,d=a.length,e,g;for(b=0;b<"+"d;b+=1)e=a[b],g=e.getAttribute(\"name\"),null!==g&&(c?K(e,g+\"Over\"):w(e,g+\"Over\"))}function L(){var a,c=f.length,b;for(a=0;a<"+"c;a+=1)b=f[a],b.blinker&&b.blinker.pause();E();D=!0;-1!=F&&null!=y&&(clearInterval(y),y=null);n=\"false\";n=\"true\"===n;B();null!=p&&p.pause()}function R(a){var c=document.getElementById(\"p\"+a),b;b=[];var d,e,\n";
cto_banner_contentInnerHtml += "g=[],h=null;if(null===c)return!1;G(c,b);for(e in b)d=b[e],q(d,\"blinker\")&&g.push(d);1<"+"g.length&&(h=new z({items:g}),h.init());b={domElement:c,children:b,id:a,isOver:!1,blinker:h};S?(c.addEventListener(\"touchstart\",function(b){r(b,a,!0)},!1),c.addEventListener(\"touchend\",function(b){r(b,a,!1)},!1)):c.addEventListener?(c.addEventListener(\"mouseover\",function(b){r(b,a,!0)},!1),c.addEventListener(\"mouseout\",function(b){r(b,a,!1)},!1)):(c.attachEvent(\"onmouseover\",function(b){r(b,a,!0)}),c.attachEvent(\"onmouseout\",\n";
cto_banner_contentInnerHtml += "function(b){r(b,a,!1)}));T&&(D=n=!0,w(b,\"productOver\"),t(b.children,!1),b.isOver=!0);f.push(b)}function r(a,c,b){if(b){var d=f[c];n||(a||(a=window.event),c=d.domElement,b=a.relatedTarget||a.fromElement,d=parseInt(d.id,10),!f[d].isOver&&(!s(c,a.fromElement)&&c!==a.fromElement||s(c,a.fromElement)||s(c,b)||c===b||c===a.fromElement)&&(E(),B(),w(c,\"productOver\"),t(f[d].children,!1),f[d].isOver=!0,H()))}else b=f[c],c=b.domElement,b=parseInt(b.id,10),a||(a=window.event),d=a.relatedTarget||a.toElement,!f[b].isOver||\n";
cto_banner_contentInnerHtml += "(s(c,d)||s(c,a.toElement)||c===a.toElement)&&\"logo\"!==d.id&&d!==document.body&&s(document.body,d)||(K(c,\"productOver\"),f[b].isOver=!1,t(f[b].children,!0),C(),H())}function G(a,c){var b=a.childNodes,d,e=b.length,g;for(d=0;d<"+"e;d+=1)g=b[d],3!==g.nodeType&&c.push(g),0<"+"g.childNodes.length&&G(g,c)}function s(a,c){if(!c||!a)return!1;for(var b=c.parentNode;null!==b;){if(b===a)return!0;b=b.parentNode}return!1}function U(){if(document.getElementsByClassName)return document.getElementsByClassName(\"imageholder\");\n";
cto_banner_contentInnerHtml += "for(var a=document.getElementById(\"cto_banner_content\").getElementsByTagName(\"div\"),c=[],b=0,d=a.length,b=0;b<"+"d;b+=1)q(a[b],\"imageholder\")&&c.push(a[b]);return c}function V(){var a,c=U(),b;b=c.length;for(a=0;a<"+"b;++a){var d=document.createElement(\"img\"),e,g,h,k=c[a];d.parentRef=k;h=k.currentStyle||window.getComputedStyle(k,!1);e=l(h.width);g=l(h.height);d.infos={pw:e,ph:g,parentStyle:h,upscale:k.getAttribute(\"data-upscale\")||!1};d.style.visibility=\"hidden\";d.complete&&\"undefined\"!=typeof d.naturalWidth&&\n";
cto_banner_contentInnerHtml += "0!=d.naturalWidth?(M(d.parentRef,d),d.style.visibility=\"visible\"):d.onload=function(){M(this.parentRef,this);this.style.visibility=\"visible\"};d.src=k.getAttribute(\"data-imgsrc\");k.appendChild(d)}}function M(a,c){var b,d,e,g;e=c.infos.pw;g=c.infos.ph;c.style.display=\"inline-block\";var h=c.infos.upscale,k=0,f=0,f=c.style,k=new Image;k.src=c.src;b=k.width;d=k.height;k=l(f.borderLeftWidth)+l(f.borderRightWidth)+l(f.marginLeft)+l(f.marginRight)+l(f.paddingLeft)+l(f.paddingRight);f=l(f.borderTopWidth)+\n";
cto_banner_contentInnerHtml += "l(f.borderBottomWidth)+l(f.marginTop)+l(f.marginBottom)+l(f.paddingTop)+l(f.paddingBottom);b=(c.naturalWidth||b)+k;d=(c.naturalHeight||d)+f;var m=d/g,q=b/e,n=0,p=0;m>q?(n=g,p=b/m):(p=e,n=d/q);d<"+"=g&&b<"+"=e&&!h||(c.style.width=(p-k|0.5)+\"px\",c.style.height=(n-f|0.5)+\"px\")}function l(a){-1!==a.indexOf(\"px\")&&(a=a.split(\"px\")[0]);\"\"===a&&(a=0);return parseInt(a,10)}function W(a){a.getAttribute(\"data-content\")||a.setAttribute(\"data-content\",a.textContent||a.innerText);var c=a.currentStyle||window.getComputedStyle(a,\n";
cto_banner_contentInnerHtml += "!1),b=a.getAttribute(\"data-content\"),d=document.createElement(\"div\"),e=0,c=c.height||c.maxHeight,g=a.offsetHeight;a.style.height=\"auto\";d.style.width=a.offsetWidth+\"px\";d.style.visibility=\"hidden\";d.setAttribute(\"id\",\"buffer\");for(a.appendChild(d);d.offsetHeight<"+"=g&&e<"+"b.length;)d.textContent=d.innerText=b.substr(0,e)+\"...\",++e;a.removeChild(d);if(e!=b.length||g<"+"a.offsetHeight)a.textContent=a.innerText=b.substr(0,e-2)+\"...\";a.style.height=c}function H(){var a=document.getElementById(\"cto_banner_content\");\n";
cto_banner_contentInnerHtml += "N(X(a.getElementsByTagName(\"*\"),function(a){return\"multiline\"==a.getAttribute(\"data-ellipsis\")}),W)}var u,Q=2E3,x=-1,f=[],F=\"-1\",D=!1,n=!1,z,I,p=null,y=null,T=!1,S=\"ontouchstart\"in document.documentElement,J=!1;I=function(a,c){var b=c||{};b.delay=a.delay||3E3;b.current=v(b.items)?b.items.length-1:-1;b.swap=a.swap;b.isPaused=!1;if(v(b.items)){var d;for(d=0;d<"+"b.items.length;d++)O(b.items[d])}b.switchItems=function(){b.items[b.current]&&(b.items[b.current].style.display=\n";
cto_banner_contentInnerHtml += "\"none\");if(b.swap&&!b.isPaused)return b.isPaused=!0,\"Swaping\";b.swap&&b.isPaused&&(b.isPaused=!1);b.current=b.current<"+"b.items.length-1?b.current+1:-1;if(b.items[b.current]){var a=b.items[b.current];a.style.display=\"\";m(a.infos)&&(m(a.infos.height)&&(a.style.height=a.infos.height+\"px\"),m(a.infos.width)&&(a.style.width=a.infos.width+\"px\"))}};return b};z=function(a){var c={},b=v(a.items),d=1<"+"b.length?b.length-1:0;a=a.delay||1E3;var e;c.current=d;c.delay=a;c.items=b;c.pause=function(){var a,b=c.items.length;\n";
cto_banner_contentInnerHtml += "for(a=0;a<"+"b;a+=1)A(c.items[a],q(c.items[a],\"last\"));clearTimeout(c.interval)};e=function(){c.interval||(c.interval=setInterval(c.switchItems,c.delay));c.switchItems()};c.play=e;c.switchItems=function(a){A(b[d++],!1);d=d>=b.length?0:d;-1<"+"a&&(d=a);c.current=d;A(b[d],!0)};c.init=function(){e()};return c};var N=function(a,c){for(var b=a.length,d=0;d<"+"b;++d)c(a[d],d)},X=function(a,c){var b=[];N(a,function(a,e){c(a,e)&&b.push(a)});return b};return{AAKillHandler:L,init:function(){var a=document.getElementById(\"logo\").parentNode;\n";
cto_banner_contentInnerHtml += "if(null==a||!(0<"+"a.offsetWidth||0<"+"a.offsetHeight))setTimeout(Banner.init,100);else if(!J){J=!0;a=document.getElementById(\"logo\");document.getElementById(\"\");var c=a.parentNode,b=c.currentStyle||window.getComputedStyle(c,!1),d=b.width.split(\"px\")[0],b=b.height.split(\"px\")[0],d=[{top:0,left:0,w:d,h:\"1\"},{top:0,left:d-1,w:\"1\",h:b},{top:b-1,left:0,w:d,h:\"1\"},{top:0,left:0,w:\"1\",h:b}],e,g=d.length;for(e=0;e<"+"g;e++)b=document.createElement(\"div\"),b.style.position=\"absolute\",b.style.zIndex=100+e,b.style.top=\n";
cto_banner_contentInnerHtml += "d[e].top+\"px\",b.style.left=d[e].left+\"px\",b.style.height=d[e].h+\"px\",b.style.width=d[e].w+\"px\",b.className=\"border\",c.insertBefore(b,a);V();var h,k,a=document.getElementById(\"coupon\"),c=[];m(a)&&(h=a.currentStyle||window.getComputedStyle(a,!1));m(h)&&(k=h.backgroundImage.slice(4,-1).replace(/[\"\']/g,\"\"));for(h=0;\"3\">h;h+=1)R(h);G(a,c);m(a)&&m(a.hasAttribute)&&(h=a.hasAttribute(\"data-swap\")&&\"true\"==a.getAttribute(\"data-swap\"),0<"+"c.length?(a.style.backgroundImage=\"none\",p=new I({swap:h},new z({items:c})),\n";
cto_banner_contentInnerHtml += "p.init()):k&&\"\"!==k&&/[gif|jpg|jpeg|tiff|png]$/.test(k)&&(p=new I({swap:h},new z({items:[document.getElementById(\"coupon\")]})),p.init()));k=f[0];null!=k&&w(k.domElement,\"productOver\");C();-1!=F&&(y=setInterval(L,F));H()}},readyBound:function(){return J},startAutoAnimation:C,stopAutoAnimation:E}}();function ieFix(){if(!Banner.readyBound())try{document.documentElement.doScroll(\"left\"),Banner.init()}catch(v){setTimeout(ieFix,1)}}\n";
cto_banner_contentInnerHtml += "\"loading\"!==document.readyState?window.setTimeout(function(){Banner.init()},200):document.documentElement.doScroll?ieFix():document.addEventListener?document.addEventListener(\"DOMContentLoaded\",function(){Banner.init()},!1):Banner.init();\n";
cto_banner_contentInnerHtml += "<"+"/script>\n";
var cto_banner_content = insertElt(main0e3b1be909, 'div', 'cto_banner_content', '', cto_banner_contentInnerHtml);
cto_banner_content.setAttribute('width', "728px");
cto_banner_content.setAttribute('height', "90px");
insertElt(c, 'div', null, 'display:none', '');
var beacon_0e3b1be909 = insertElt(c, 'div', 'beacon_0e3b1be909', 'display:none', null);
var tmpString = '';
tmpString += "<"+"div id=\'beacon2_0e3b1be909\' style=\'display: none;\'>\n";
writeOutput.write(tmpString);
var tmpString = '';
tmpString += "<"+"img src=\'http://cas.fr.eu.criteo.com/delivery/lg.php?ckmode=9&cb=0e3b1be909&source=&loc=http%3a%2f%2fcontent.adfox.ru%2f140402%2fadfox%2f349029%2f962058_1.html&referer=http%3a%2f%2fski-fanatic.livejournal.com%2f60514.html&c1=VkstE6SaUoXK_BbpQAnwX1RQVYzTWfvSomrKkKeTy_Npb6urQUKtiikRo9AQBNvmWxII21uSrM9Soz1FdlmaCuWm8TNUizOj1KhbmOfGhf7eXGN5KGwtLvla3NuSYS4X5884HheigszTa3NNPNWMXD3JEUVhJZNQPoUErPaVXsXLxn3Mi6kWEob4wMB9Fs6xZ8o0FwyWuDXt18MLlOEAlnf9-zi3PkWzhKmvVlE4zZ0&c2=KJxO0rHXYdVu3Wtcr3mrQ0A6TR_qyuD7zkWiMASkocs\' width=\'0\' height=\'0\' alt=\'\' style=\'width: 0px; height: 0px;\' />\n";
tmpString += "\n";
var tmpDiv = beacon_0e3b1be909.ownerDocument.createElement("div");
tmpDiv.innerHTML = '
' + tmpString;
var tmpDivChildNodes = tmpDiv.childNodes;
while (tmpDivChildNodes.length > 1) {beacon_0e3b1be909.appendChild(tmpDivChildNodes[1]); }
insertElt(beacon_0e3b1be909, 'iframe', null).src = 'http://dis.eu.criteo.com/dis/dis.aspx?pu=39478&cb=0e3b1be909';
var tmpString = '';
tmpString += "<"+"/div>\n";
writeOutput.write(tmpString);
getDocument(content0e3b1be909).close();
executeScripts(c);
var tmpString = '';
tmpString += "<"+"/div>\n";
writeOutput.write(tmpString);
})();