(function(){var a="byburt_version",b="byburt_placementToId",c="byburt_persistentReferer",d="byburt_click",e="byburt_write",f="byburt_afterAdCloserScript",g="byburt_pushWrite",h="byburt_popWrite",i="byburt_documentWritten",j="byburt_documentWrite",k="byburt_placementName",l="byburt_permanentDocumentWrite",m="byburt_recursiveScript",n="onDomReady",o="byburt_end",p="richUserId",q="byburt_adtags",r="byburt_adapt",s="byburt_onmessage",t="byburt_messagebuffer",u="byburt_addMessageListener",v="http://rich-agent.s3.amazonaws.com/recursive.js",w=1900,x=7,y=7,z=1085;window[a]=z;var A=z+"-JS",B="byburt_ads_",C=B+y,D="byburt_pageid",E="byburt_adid_",F="byburt_before_adtag",G="byburt_after_adtag",developmentModeIdentifier="byburt_developmentMode",H=500,I="rich-agent.s3.amazonaws.com",J=10,agentUrlPrefix="http://rich-agent.s3.amazonaws.com/rfm/",K=2,L=0;window.byburt_siteName="amelia",function(){var a=agentUrlPrefix+window.byburt_siteName+"/rich-agent.js",b=document.getElementsByTagName("head")[0];if(b){var c=document.createElement("script");c.type="text/javascript",c.src=a,b.appendChild(c)}else document.write('<script src="'+a+'"></scr'+"ipt>")}();var M=function(a,b){var c=(new RegExp("(?:^|; )"+encodeURIComponent(a)+"=([^;]*)")).exec(document.cookie);return c?b?c[1]:decodeURIComponent(c[1]):null},N=function(a,b,c){c=c||{},b||(c.expires=-1);if(typeof c.expires=="number"){var d=c.expires;c.expires=new Date,c.expires.setDate(c.expires.getDate()+d)}var e=[encodeURIComponent(a)+"="+(c.raw?String(b):encodeURIComponent(String(b)))];c.expires&&c.expires.toUTCString&&e.push("expires="+c.expires.toUTCString()),c.path&&e.push("path="+c.path),c.domain&&e.push("domain="+c.domain),c.secure&&e.push("secure"),document.cookie=e.join("; ")},O=function(a){document.addEventListener?window.addEventListener("load",a,!1):document.attachEvent&&window.attachEvent("onload",a)},P=function(a,b,c){return function(){return a.apply(b,(c||[]).concat(Array.prototype.slice.call(arguments,0)))}},Q=function(a,b){return P(a,b||{})},R=function(a){var b=1,c=0,d=65521;for(var e=0;e<a.length;e++)b=(b+a.charCodeAt(e))%d,c=(c+b)%d;return c<<16|b},S=function(a){return Object.prototype.toString.call(a)},T=function(a){return S(a)==="[object Array]"},U=function(a,b){if(T(a)||S(a)==="[object HTMLCollection]")for(var c=0;c<a.length;c++)b(a[c]);else for(var d in a)a.hasOwnProperty(d)&&b(d,a[d]);return a},V=function(a){var b=[];for(var c=0;c<a.length;c++)a[c].nodeType!=3&&a[c].nodeType!=8&&b.push(a[c]);return b},W=function(a){if(a.match(/<script/i))return null;var b=document.createElement("div");return b.innerHTML=a,V(b.childNodes)},X=function(a){var b=2636928640,c=4022730752,d=2147483648,e=624,f=2147483647,g=2567483615,h=1812433253,i=397,j=4294967296,k=65535,l=11,m=15,n=18,o=7,p=[],q=e,r={};return r.seed=function(a){q=e,p[0]=a>>>0;for(var b=1;b<e;b++)p[b]=p[b-1]^p[b-1]>>>30,p[b]=(h*((p[b]&k<<16)>>>16)<<16)+(p[b]&k)*h+b>>>0},r.random=function(){if(q>=e){for(var a=0;a<e;a++)p[a]=((p[(a+1)%e]&1)===1?g:0)^(p[a]&d|p[(a+1)%e]&f)>>>1^p[a+i-(a<e-i?0:e)];q=0}var h=p[q];return h^=h>>>l,h^=h<<o&b,h^=h<<m&c,h^=h>>>n,q++,(h>>>0)*(1/j)},r.seed(a||(new Date).getTime()),r},Y=function(){return window&&Z(window.top,"location")&&Z(window.top.location,"href")?window.top.location.href:window.location.href},Z=function(a,b){try{var c=a[b];return typeof c!="undefined"}catch(d){return!1}},$=0,_=0,ba,bb=(new Date).getTime(),bc=!1,bd=!1,be=!(Z(window,"top")&&Z(window.top,"document")&&Z(window.top.document,"firstChild")),bf=navigator.appName=="Microsoft Internet Explorer"||navigator.appName=="Opera",bg=navigator.appName=="Microsoft Internet Explorer"&&parseFloat(navigator.appVersion.split("MSIE")[1])<=9,bh=window.WebSocket||window.MozWebSocket,bi=!1;(function(){(function(){var a=window[t]=[];if(window[u])return;var b=[];window[u]=function(c){b.push(c),U(a,function(a){c.apply(this,a)})},window[s]=function(){var c=arguments;a.length<H&&a.push(c),U(b,function(a){a.apply(this,c)})}})();var a=function(a,b,c){if(a.length>w)return;var d=document.head||document.getElementsByTagName("head")[0]||document.documentElement,e=document.createElement("script");b||(e.async="async"),e.src=a,e.onload=e.onerror=e.onreadystatechange=function(){if(!e.readyState||/loaded|complete/.test(e.readyState))c&&c(),e.onload=e.onerror=e.onreadystatechange=null,d&&e.parentNode&&d.removeChild(e),e=undefined},d.insertBefore(e,d.firstChild)},b=function(a,b){if(a&&!/^[A-Za-z0-9]*$/.test(a))throw new Error("Invalid seed-parameter: "+a);var c=a||"";b=b||12;while(c.length<b)c=Math.floor(Math.pow(36,5)*ba.random()).toString(36)+c;var d=c.substring(c.length-b).toUpperCase();if(!/^[A-Z0-9]*$/.test(d))throw new Error("Invalid id generated: "+d);return d},c=function(){var a=new Date,c=Math.floor(a.getTime()/1e3).toString(36).toUpperCase(),d=b("",6),e=c+d;if(!/^[A-Z0-9]*$/.test(e))throw new Error("Invalid id generated from time: "+e);return e},d=function(){if(!window[D]){var a=c();window[D]=a}if(!be&&Z(window,"document"))return window[D]},g=function(a){return M(a)||!be&&window.top[a]||window[a]},h=function(a,b){N(a,b,{path:"/",expires:365}),window[a]=b,be||(window.top[a]=b)},i=function(){var a=g(p);return a||(a=c(),h(p,a)),a},j=function(a,b){if(!b||!a)return!0;var c=parseInt("00"+a.substring(0,6),36),d=parseInt("00"+a.substring(6,12),36);if(isNaN(c)||isNaN(d))throw new Error("Invalid ID-parts. Top half is "+c+" and bottom half is "+d);return(c+d)%b===0},k=function(a){if(typeof a=="string")return'"'+a.replace(/"/g,'\\"').split("\n").join("\\n")+'"';if(typeof a=="number")return a;if(typeof a=="boolean")return a;var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push('"'+c+'":'+k(a[c]));return"{"+b.join(",")+"}"};(function(){var b=function(){return this}(),e=function(b){O(function(){a(b)})},g=function(a){return a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(/<\/script>/ig,"</scr' + 'ipt>").split("\n").join("\\n").split("\r").join("\\r")},h=function(a){return a.childNodes?V(a.children||a.childNodes):[]},l=function(a,b,c){var d=function(b){var c=a.match(b);return c?{index:c.index,length:c[0].length}:{index:-1}};for(;;){var e=d(new RegExp("[\\n\\r]?<"+b+"[^>]*>","i")).index,f=d(new RegExp("[\\n\\r]?</"+b+"\\s*>[\\n\\r]?","i"));if(e===-1||f===-1||e>f.index)break;var g=a.substring(e,f.index+f.length);a=a.replace(g,""),c(g)}},n=function(a){var b="";return l(a,"script",function(b){a=a.replace(b,"")}),l(a,"noscript",function(a){b+=a}),b},o=function(a){var b=[],c=0;l(a,"script",function(d){b.push(d),a=a.replace(d,"#{byburt_script}"+c++)}),l(a,"noscript",function(b){a=a.replace(b,"")});for(var d=0;d<b.length;d++)a=a.replace("#{byburt_script}"+d,b[d]);return a},p=Q(function(a,b,c,d,e){var f=null,g=window[s];g&&typeof g=="function"&&g(b,c);var h="type="+b;for(var i in c)c.hasOwnProperty(i)&&(i==e?f=c[i]:h+="&"+i+"="+c[i]);if(f){h+="&"+e+"=";if(f.length+h.length>a){var j=Math.floor((new Date).getTime()/1e3).toString(36).toUpperCase(),k=Math.abs(R(++this.fragmentCount+f+navigator.userAgent+window.location.href)).toString(36).substring(0,6).toUpperCase(),l=2;while(h.length+Math.ceil(f.length/l)>a)l++;var m=Math.ceil(f.length/l),n=0;for(var o=0;n<f.length;o++){var p=j+k+"_"+o,q=m,r=f.substr(n,q);while(r.length>=1&&r[r.length-1]=="%"||r.length>=2&&r[r.length-2]=="%")q++,r=f.substr(n,q);n+=q,d(h+r+"&fn="+p)}}else d(h+f)}else d(h)},{fragmentCount:0}),q=function(a,b,c,e,f,g,h){g=g||"' + si + '",b=b||"";var j={type:"click",si:g,pi:d(),ui:i(),av:A},k=function(a,c,d){c||(c="&"),d||(d="="),a||(a="?");var e=[];return U(j,function(a){var b=j[a];e.push(a+d+b)}),a+e.join(c)+c+"rd"+d+b};return a?c?a+"/rk/"+c+"/si/"+g+"/url/"+b:f?(delete j.rd,escape(a)+k(escape("?"),escape("&"),escape("="))):e?a+k("?","%26"):a+k():b},t=function(a,b,c,d,e){var f=/^http/.test(b)?"":window.location.protocol,i=g,j=function(a,g,h){return e&&(a=e+(a||"")),q(f+b,a,c,g,h,d)},k,l,m;if(/ADM_PL.*clk.*External click-tracking here/.test(a)){k=a.match(/ADM_PL.*clk\:([^}]*)/);if(k)return g(a).replace(g(k[1]),i("'")+j(null,!1)+i("'"))}var n=a;if(a.match(/_version/)){var o=/^<script[^>]+><!--_version=10;\/\/--><\/sc[^>]+><script[^>]+><!--_version=11;\/\/ --><\/sc[^>]+><script[^>]+><!--[^<]+MSIE 3[^<]+<IFRAME.*\/\/--><\/scr[^>]+>/i;n=a.replace(o,"")}var p=W(n);if(p&&(p.length==1||p.length==2&&p[1].tagName=="IMG")&&p[0].tagName=="A"){var r=h(p[0]);if(r.length==1&&r[0].tagName=="IMG"){var s=r[0];return b=j(null,!1),g(a).replace(/href="([^"]*)"/i,'href="'+(b||"")+'$1"')}}var t=[],u,v=a,w=5;u=v.match(/<script[^>]*src=(["']?)([^"'> ]+)(\1|>)/i);while(u&&--w>0)t.push(u[2]),v=v.replace(u[0],""),u=v.match(/<script[^>]*src=(["']?)([^"'> ]+)(\1|>)/i);var x=[],y;for(var z=0;z<t.length;z++){var A=t[z],B,C;if(A){var D=A.match("^http://track.adform.net/adfscript/\\?bn=([0-9]+)(;click=(.*))?");D&&(B=D[1],D.length==4&&(y=";click="+j(D[3])),x.push([A,"http://track.adform.net/adfscript/?bn="+B+(y||"")]));var E=A.match("^(http://view.atdmt.com(?:/[a-zA-Z0-9]+)+)(?:\\?click=(.*))?");E&&(E.length==3&&(y="?click="+j(E[2],!0)),x.push([A,E[1]+(y||"")]));var F,G,H,I,J,K=A.match("^http://ad([-a-z]*).doubleclick.net/adj/([^;]*)");if(K){I=A.replace(K[0],""),J=I.split(";"),y="";for(var L=0;L<J.length;L++)J[L].length>0&&(F=J[L].split("="),G=F[0],H=F[1],G.match("^click([0-9]?)")&&H&&H.length>0&&(H=j(H,!1)),H&&H.length>0&&(y+=";"+G+"="+H));/click([0-9])=/.test(y)||(y+=";click0="+j()),x.push([A,"http://ad"+K[1]+".doubleclick.net/adj/"+K[2]+(y||"")])}var M=A.match(/^http:\/\/ad([0-9]+)\.emediate\.dk\/eas([^;]*)/);if(M){I=A.replace(M[0],""),J=I.split(";"),y="";for(var N=0;N<J.length;N++)J[N].length>0&&(F=J[N].split("="),G=F[0],H=F[1],G.match("^EASClick([0-9]?)")&&H&&H.length>0&&(H=j(H,!1)),H&&H.length>0&&(y+=";"+G+"="+H));x.push([A,"http://ad"+M[1]+".emediate.dk/eas"+M[2]+(y||"")])}}}if(x.length>0){var O=g(a);for(var P=0;P<x.length;P++)O=O.replace(x[P][0],x[P][1]);return O}if(a.indexOf("var TFSMFlash_SWFCLICKVARIABLE")>0)return y=j(null,!0),a=g(a).replace(/(var TFSMFlash_SWFCLICKVARIABLE)/,'TFSMFlash_OASCLICK = "'+y+'" + encodeURIComponent(TFSMFlash_OASCLICK);'+i("\n")+"$1"),a;if(a.indexOf("window.Fusion.getAdvertEventUrl")>0)return y=j(null,!1),a=g(a).replace("window.Fusion.getAdvertEventUrl",'"'+(y||"").replace(/^http\:/,"")+'http:" + window.Fusion.getAdvertEventUrl'),a;var Q=/<a.*onclick\s*\=\s*\"window\.Fusion\.countAdvertEvent\(\d+.*<\/a\>/;if(Q.test(a)){k=a.match(Q);if(k.length===1){var R=k[0],S=R.match(/onclick=\"[^\"]*\"/)[0],T=S.match(/^onclick\=\"([^\"]*)\"/)[1],U="#{BYBURT_CLICK}"+T;return a=g(a.replace(R,R.replace(T,U))),a=a.replace("#{BYBURT_CLICK}",i("window.byburt_click('#{logurl}');").replace("#{logurl}",j())),a}}var V=/http/,X=/http\:\/\/altfarm.mediaplex.com\/ad\/js\/.*mpvc.*/g;if(X.test(a))return l=/mpvc\=(.+\?)/,k=a.match(l),m=j(k[1]),a=g(a.replace(k[1],m)),a;var Y=/http:\/\/de17a.com\//;if(Y.test(a))return l=/\?url=(.*.click)/,k=a.match(l),m=j(k[1]),a=g(a.replace(k[1],m)),a;var Z=/http:\/\/ai.admeta.com\/adserve\/public/;if(Z.test(a))return l=/\?url=([^&]*)&/,k=a.match(l),k?(m=j(k[1]),a=a.replace(/\?url=[^&]*&/,"?url="+escape(escape(escape(m)))+"&"),m=escape(escape(m)),a=a.replace(/\?url=[^&]*&/,"?url="+m+"&"),a):a.replace(/&urlPrefix=(.+?\?)(.+?)\"/,function(a,b,c){return"&urlPrefix="+escape(j(b,!0))+'"'});var $=/^(<div\sclass=\"at_ad\")\s((.*?)[^\s](.+\n)+.+oas.+k2a1,k2a2,k2a3,k2a4)/mig;if($.test(a)){var _=a.replace(/(class=\"at_ad\")/,function(a,b){return b+' onclick="'+j()+'"'});return _}var ba=a.match(/http:\/\/openx\.bonniertidskrifter\.se\/www\/delivery\/ajs.php[^']*/g);if(ba&&a.match(/<\w+/g).length===1){a=g(a);var bb=ba[0];return bb=g(bb),a=a.replace(bb,bb+"&amp;ct0="+j(null,!1,!0)),a}var bc=a.match(/bs\.serving-sys\.com\/BurstingPipe.+?ncu=/mig);return bc?(l=/ncu=(.*?)">/,a.replace(l,function(a,b,c,d){return"ncu="+j(b,!0,!0)+'">'})):null},u=function(a){return/\AdPlayTracking\d+langstner/.test(a)?!1:4===(a.match(/document\.write\('<script type="text\/javascript" src="http:\/\/oas-se\.bonnierdigitalservices\.com\/3\/' \+ at_page \+ '\/\d+/g)||[]).length?!1:!0},v=function(a){var b,c;return a.currentStyle&&a.currentStyle.width&&a.currentStyle.height?(b=parseInt(a.currentStyle.width,10),c=parseInt(a.currentStyle.height,10)):(b=a.getAttribute("width"),c=a.getAttribute("height")),{width:b,height:c}},x=function(){var a=6,b,c=navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]?navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin:0;if(c){var d=navigator.plugins["Shockwave Flash"].description.split(" "),e;for(var f=0;f<d.length;++f){if(isNaN(parseInt(d[f],10)))continue;e=d[f]}b=e>=a}return b},y=function(a){var b=W(a);if(b){if(b.length==1&&b[0].tagName=="A"){var c=h(b[0]);if(c.length==1&&c[0].tagName=="IMG"){var d=v(c[0]);if(d.width==1&&d.height==1)return g(a)}}if(b.length==1&&b[0].tagName=="DIV"&&b[0].className=="byburt_empty")return g(a)}return/<script.*navigator\.appversion\.indexof\(\'msie 3\'\).*iframe.*oas_url.*realmedia\/ads\/click_nx\.ads.*(<a.*empty\.gif.*<img.*width=1.*height=1.*)<\/a/i.test(a.replace(/\x0a|\x0d/g,""))||/<a.*?href=\"http:\/\/oas.*?\.gif.*?<img.*?width="*1"*.*?height="*1"*.*?/i.test(a.replace(/\x0a|\x0d/g,""))?g(a):null},z=function(a){return(a.match(/class="at_ad"/mg)||[]).length===4&&a.match(/Annonstorget/i)};b[r]=function(a,h,l){var q=function(a,b){var c=h.logurl+"?"+b;e(c);var d=l.onMessage;d&&typeof d=="function"&&d(c)};try{l=l||{},h=h||{};if(!a)throw"Must supply an ad tag";if(!h.agentVersion)throw"Must supply an agent version";if(l.mediaKey&&l.apiKey)throw"Cannot supply both a media key and an api key";if(!l.mediaKey&&!l.apiKey)throw"Must supply either a media key or an api key";if(!h.afterAdCloserUrl)throw"Must supply an afterAdCloserUrl";if(!ba){var s=[];s.push(bb-(new Date).getTime()),s.push(navigator.userAgent),s.push(window.location.href),ba=X(R(s.join(" ")))}if(z(a)){var v=/<div class=\"at_ad\" id=\"([a-z0-9_]+)\"(.+\n)+?.+<\/div>/gm,x=a.replace(v,function(a,c){var d={};return U(l,function(a,b){a==="placementName"?d[a]=c:d[a]=b}),b[r](a,h,d)});return x}h.rfm&&(g=function(a){return a.replace(/(['"])<\/script>(['"])/g,"$1</scr$1 + $1ipt>$2")},l.sessionId=l.sessionId||c(),l.adId=l.adId||E+ ++L+"_"+l.sessionId);if(h.rfm&&!j(i(),l.sample))return a;var C="",D=h.noscriptIgnore?null:n(a),H=!1;a=o(a);var M=y(a);if(M)l.empty=!0,l.clickEnabled=!1,C=M;else if(!h.logurl)l.clickEnabled=!1,C=g(a);else{var N=t(a,h.logurl,l.apiKey,l.sessionId,h.clickMacro);if(N)C=N,l.clickEnabled=!0;else{C=g(a),l.clickEnabled=!1;if(!!l.mediaKey&&u(a)){var O=Y(),P=/https?:\/\/localhost/,Q=!1;Q=h.logurl&&!P.test(O),Q=Q||l.onMessage,Q?p(w-h.logurl.length,"parsefail",{av:A,mk:l.mediaKey,wn:l.siteName,eu:escape(O),pi:d(),ui:i(),ms:escape(k({adtag:a,params:h,config:l}))},function(a){q(h.logurl,a)},"ms"):H=!0}}}var S=function(){var a=B+h.agentVersion,b=[],c=bf&&!l.empty;h.noAgent||b.push('<script type="text/javascript" src="http://'+I+"/agent-v"+h.agentVersion+'.js"></script>');var d=function(){var a=[];for(var b in l)l.hasOwnProperty(b)&&a.push("  "+b+": "+k(l[b]));return a.join(",\n")};return h.rfm?(b=b.concat(['<span style="display:none" class="'+F+'" id="'+l.adId+'"></span>',C,c?"":'<span style="display:none" class="'+G+'"></span>','<script type="text/javascript">',"window."+a+" = window."+a+" || [];","window."+a+".push({",d(),"});","</script>"]),c&&(b=b.concat(['<script type="text/javascript">window.'+m+" = { counter: "+J+', url: "'+h.afterAdCloserUrl+'", callback: function() { if (window.'+f+") { document.write(window."+f+"); window."+f+' = null; } document.write("<span style=\\"display:none;\\" class=\\"'+G+'\\"></span>"); } };</scr'+"ipt>",'<script type="text/javascript" src="'+h.afterAdCloserUrl+'"></scr'+"ipt>"]))):b=b.concat(['<script type="text/javascript">',"window."+a+" = window."+a+" || [];","window."+a+".push({",d()+",","  callback: function(si, ai, qs, inline) {",'    document.write(\'<span style="display:none" class="'+F+"\" id=\"' + ai + '\"></span>');","    document.write('"+C+"');","    if (inline) {",'      document.write(\'<span style="display:none" class="'+G+"\"></span>');","    } else {",'      document.write(\'<script type="text/javascript">window.'+m+" = { counter: "+J+', url: "'+h.afterAdCloserUrl+'", callback: function() { if (window.'+f+") { document.write(window."+f+"); window."+f+' = null; } document.write("<span style=\\\\\\"display:none;\\\\\\" class=\\\\\\"'+G+"\\\\\\\"></span>\"); } };</scr' + 'ipt>');",'      document.write(\'<script type="text/javascript" src="'+h.afterAdCloserUrl+"\"></scr' + 'ipt>');","    }","  }","});","</script>"]),D&&b.push(D),h.showParseFail&&b.push("<!-- parseFail = "+H+"-->"),b.join("\n")};return S()}catch(T){try{return p(w-h.logurl.length,"error",{av:K+"-adapt",eu:escape(Y()),wn:escape(l.sitename),ms:escape("adapt: "+(T.message?T.message:T))},function(a){q(h.logurl,a)},"ms"),a}catch(V){return a}}}})(),function(){(function(){var a="BINKQSYR38BG",b="amelia.se",c="//binkamelialog.richmetrics.com/log",sampleFreq=1,d="byburt_trigger",f={rich_media1:"popup",rich_media2:"popup",Top1:"absolute",Top2:"absolute",k2a1:"absolute",k3a1:"absolute",k4a1:"absolute",k4a2:"absolute",k4a3:"absolute",k4a4:"absolute",k4a5:"absolute",k4a6:"absolute",k4a7:"absolute"},g=function(a,b){},h=function(a,b){return typeof a=="function"&&(b=a,a="Unknown error"),function(){try{b.apply(null,arguments)}catch(c){g(a,c.toString())}}},i=function(a){return a()},j=function(d,e){var g={mediaKey:a,siteName:b,sample:sampleFreq,mediaLogUrl:c};d&&(g.placementName=d),d&&f[d]&&(g.placementKind=f[d]);try{var h=window.location.pathname.split("/");h.length>=2&&(h.shift(),h[0][0]=="("&&h.shift(),h.length==0&&h.push(""),g.category=h[0]==""?"ettan":h[0],g.category=g.category.replace(/\.[a-z]+$/,""))}catch(i){g.category="unknown"}return window.OAS_sitepage&&(g.canonicalPath=window.OAS_sitepage),window[r](e,{rfm:!0,agentVersion:x,afterAdCloserUrl:v,noAgent:!0,noscriptIgnore:!0,logurl:c},g)},k=function(){var a={},b=OAS_listpos.split(","),c=document.write;for(var d=0;d<b.length;d++){var e="";document.write=function(a){e+=a},window.OAS_RICH(b[d]),a[b[d]]=e}return document.write=c,a},l=function(){var a=k();q&&(window[q]=a);for(var b in a)a.hasOwnProperty(b)&&(a[b]=j(b,a[b]));window.OAS_RICH=function(b){var c=a[b];c&&document.write(c)}};i(h("openx invoker",function(){var a="<script type='text/javascript' src='"+(location.protocol=="https:"?"https://openx.bonniertidskrifter.se/www/delivery/ajs.php":"http://openx.bonniertidskrifter.se/www/delivery/ajs.php"),b="'></script>",c=!1,d=[],f={};document[e]=document.write,document.write=h("document.write for openx",function(k){arguments.length>1&&g("Too many arguments for document.write in the openx-handler",arguments.length+" arguments"),a==k&&(c=!0);if(!c)document[e](k);else{d.push(k);if(b==k){var l=d.join("");i(h(function(){var a=l.match(/zoneid=([0-9]+)/),b=a&&a.length>1&&a[1],e=!1;for(var g in f)f.hasOwnProperty(g)&&g==b&&(f[g]++,e=!0);e||(f[b]=1);var h="OpenX zone "+b;f[b]>1&&(h+=String.fromCharCode(64+f[b])),d=[],c=!1,l=j(h,l)})),document[e](l)}}})})),i(h("highjackAds invoker",function(){if(window.OAS_RICH)l();else{document[d]=document.write;var a='<SCRIPT LANGUAGE=JavaScript1.1 SRC="http://oas.amelia.se/adstream_mjx.ads',b=!1;document.write=h("document.write for highjackAds",function(c){arguments.length!=1&&g("Too many arguments for document.write in the highjackAds-handler",arguments.length+" arguments"),b&&(l(),b=!1),document[d](c),c.substr(0,a.length)==a&&(b=!0)})}}))})()}(),function(){var a="http://rich-inpage.s3.amazonaws.com/head.load.min.js",b=-1,c={};window.byburt_headjs=function(d){if(b==-1){var e=document.getElementsByTagName("head")[0],f=document.createElement("script");f.src=a,f.type="text/javascript",f.onload=function(){d(b,c),b++},e.appendChild(f),b=0}else b>0&&(d(b,c),b++)}}()})()})()
