function detectIE6(){ var browser = navigator.appName; if (browser == "Microsoft Internet Explorer") { var b_version = navigator.appVersion; var re = /\MSIE\s+(\d\.\d\b)/; var res = b_version.match(re); if (res[1] <= 6) { return true; } } return false; } // include css var fileref = document.createElement('link') fileref.setAttribute('rel', 'stylesheet') fileref.setAttribute('type', 'text/css') fileref.setAttribute('href', 'http://get.2leep.com/static/styles/widget2.css?v=012bb') document.getElementsByTagName('head')[0].appendChild(fileref) // load widget var TeaserBlock = document.getElementById('_2leepwidget_36271'); if(TeaserBlock) { TeaserBlock.innerHTML = "
<\/div>\n
\n
\n\n\n\n
\n
\n
<\/div>\n<\/div>\n
\n\u041a\u0443\u043b\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\n<\/div>\n<\/div>\n<\/a>\n\n\n
\n
\n
<\/div>\n<\/div>\n
\n\u0414\u0435\u0440\u0435\u0432\u0435\u043d\u0441\u043a\u0438\u0439 \u043c\u0438\u043b\u043b\u0438\u043e\u043d\u0435\u0440\n<\/div>\n<\/div>\n<\/a>\n\n\n
\n
\n
<\/div>\n<\/div>\n
\n9 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0435\u0439 \u0437\u043d\u0430\u043c\u0435\u043d\u0438\u0442\u043e\u0441\u0442\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u043a\u0443\u043f\u0438\u0442\u044c \u0432 \u044d\u0442\u043e\u043c \u0433\u043e\u0434\u0443\n<\/div>\n<\/div>\n<\/a>\n\n\n
\n
\n
<\/div>\n<\/div>\n
\n\u041c\u0438\u043b\u043b\u0438\u043e\u043d \u043d\u0430 \u0434\u0436\u0435\u043c\u0430\u0445\n<\/div>\n<\/div>\n<\/a>\n\n
<\/div>\n\n<\/div>\n<\/div>\n"; var PromoBlock = document.getElementById('_2leepwidget_promo_36271'); if(PromoBlock) { var promo = TeaserBlock.nextSibling; while(promo && promo.nodeType != 1) { promo = promo.nextSibling } if(promo) { if(promo.className == 'leep_promo_link') { PromoBlock.appendChild(promo); } } PromoBlock.removeAttribute('id'); } TeaserBlock.removeAttribute('id'); if(detectIE6()) { var ietrans = document.createElement('link') ietrans.setAttribute('rel', 'stylesheet') ietrans.setAttribute('type', 'text/css') ietrans.setAttribute('href', 'http://get.2leep.com/static/styles/ie.css?v=df15e') document.getElementsByTagName('head')[0].appendChild(ietrans) } } else { document.write(widget); }