EAS_flash=1;EAS_proto="http:";if(location.protocol=="https:"){EAS_proto="https:"}if(document.getElementById){EAS_dom=true}else{EAS_dom=false}EAS_server=EAS_proto+"//eas3.emediate.se";function EAS_load(A){document.write('<script language="JavaScript" src="'+A+'"><\/script>')}function EAS_init(A,D){var B=new Date().getTime();var C=EAS_server+"/eas?target=_blank&EASformat=jsvars&EAScus="+A+"&ord="+B;EAS_detect_flash();C+="&EASflash="+EAS_flash;if(D){C+="&"+D}EAS_load(C);return }function EAS_detect_flash(){if(EAS_flash>1){return }var G=11;var D=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;var E=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var C=(navigator.appVersion.indexOf("Windows")!=-1)?true:false;if(E&&C&&!D){document.write("<SCRIPT LANGUAGE=VBScript> \n");document.write("on error resume next \nDim eas_flobj("+G+") \n");for(i=2;i<G;i++){document.write("Set eas_flobj("+i+') = CreateObject("ShockwaveFlash.ShockwaveFlash.'+i+'") \n');document.write("if(IsObject(eas_flobj("+i+"))) Then EAS_flash="+i+" \n")}document.write("</SCRIPT> \n")}else{if(navigator.plugins){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var F=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var A=navigator.plugins["Shockwave Flash"+F].description;var B=parseInt(A.substr(A.indexOf(".")-2,2),10);if(B>1){EAS_flash=B}}}}}function EAS_show_flash(D,B,E,A){var C=[];if(A){C=A.split(",")}document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+D+'" height="'+B+'"><param name=src value='+E+">");for(i=0;i<C.length;i++){EAS_eq=C[i].indexOf("=");EAS_nv0=C[i].substring(0,EAS_eq);EAS_nv1=C[i].substring(EAS_eq+1,C[i].length);document.write('<param name="'+EAS_nv0+'" value="'+EAS_nv1+'">')}document.write('<embed src="'+E+'" width="'+D+'" height="'+B+'" type="application/x-shockwave-flash"');for(i=0;i<C.length;i++){EAS_eq=C[i].indexOf("=");EAS_nv0=C[i].substring(0,EAS_eq);EAS_nv1=C[i].substring(EAS_eq+1,C[i].length);document.write(" "+EAS_nv0+'="'+EAS_nv1+'"')}document.write("></embed></object>")}function EAS_statistics(){var I=new Date();var G=I.getTime();var K=0;var B=0;var H=0;var E="";var J=I.getTimezoneOffset()/60;if(navigator.plugins){var A=navigator.plugins;var C=new Array();for(var F=0;F<A.length;F++){if(A[F].name.indexOf("RealPlayer")!=-1){C[0]=1}else{if(A[F].name.indexOf("Adobe Reader")!=-1){C[1]=1}else{if(A[F].name.indexOf("Adobe Acrobat")!=-1){C[1]=1}else{if(A[F].name.indexOf("Windows Media Player")!=-1){C[2]=1}else{if(A[F].name.indexOf("QuickTime")!=-1){C[3]=1}}}}}}for(var F=0;F<4;F++){if(C[F]){E+=F+","}}}if(typeof (EAS_cu)=="undefined"){return }if(EAS_flash==1){EAS_detect_flash()}if(screen&&screen.colorDepth){H=screen.colorDepth}if(document.body&&document.body.clientHeight>50){K=document.body.clientWidth;B=document.body.clientHeight}else{if(document.documentElement&&document.documentElement.clientHeight>50){K=document.documentElement.clientWidth;B=document.documentElement.clientHeight}else{if(typeof (window.innerHeight=="number")){K=window.innerWidth;B=window.innerHeight}}}var D=EAS_server+"/eas?cu="+EAS_cu+";ord="+G;D+=";logrest=width="+screen.width+";height="+screen.height+";bwidth="+K+";bheight="+B+";time="+I.getHours()+":"+I.getMinutes()+":"+I.getSeconds();D+=";tmz="+J;if(EAS_flash>2){D+=";flash="+EAS_flash}if(typeof (EAS_page)!="undefined"){D+=";page="+EAS_page}if(typeof (java)!="undefined"&&java.installed){D+=";jversion="+java.lang.System.getProperty("java.version")}if(typeof (EAS_jsversion)!="undefined"){D+=";jsversion="+EAS_jsversion}if(H){D+=";cdepth="+H}if(E){D+=";plugins="+E}if(document.referrer){D+=";ref="+escape(document.referrer)}if(document.location){D+=";url="+escape(document.location)}if(typeof (EAS_capture)!="undefined"){D+=";EAScapture="+escape(EAS_capture)}document.write('<img width="1" height="1" src="'+D+'">')}function EAS_duplicate(H,C){var K=document.cookie.split("; ");var B;var J;var I=0;var E=0;var A=Math.round(new Date().getTime()/1000);var D="";if(K.length>0){for(var G=0;G<K.length;G++){B=K[G].split("=");if(B[0]=="eas_dup"){J=B[1].split(":");for(var F=0;F<J.length;F++){cu_val=J[F].split("_");if(A-cu_val[1]<C){if(cu_val[0]==H){E=1;I=1;break}else{if(D){D+=":"}D+=J[F]}}}break}}}if(!I){if(!E){if(D){D+=":"}D+=H+"_"+A}document.cookie="eas_dup="+D+"; path=/; expires=Mon, 16-Mar-20 01:00:00 GMT;"}if(I){return true}return false}function EAS_place_ad(cus,EAS_options){if(!EAS_dom){return }var set_size=1;var safe_log=0;var move_pos=1;if(EAS_options){var EAS_options_arr=EAS_options.split(",");for(var i=0;i<EAS_options_arr.length;i++){var EAS_temp=EAS_options_arr[i].split("=");var EAS_temp_val=0;if(EAS_temp[1]=="1"||EAS_temp[1]=="y"||EAS_temp[1]=="yes"){EAS_temp_val=1}if(EAS_temp[0]=="set_size"){set_size=EAS_temp_val}else{if(EAS_temp[0]=="safe_log"){safe_log=EAS_temp_val}else{if(EAS_temp[0]=="move_pos"){move_pos=EAS_temp_val}}}}}var EAS_cu_arr=cus.split(",");for(var i=0;i<EAS_cu_arr.length;i++){var EAS_cu=EAS_cu_arr[i];if(set_size||move_pos){var EAS_temp="EAS_position_"+EAS_cu;var EAS_div_position=document.getElementById(EAS_temp);if(EAS_div_position){EAS_temp="EAS_tag_"+EAS_cu;var EAS_div_tag=document.getElementById(EAS_temp);if(EAS_div_tag){if(set_size){var EAS_width=eval("EAS_found_width_"+EAS_cu);var EAS_height=eval("EAS_found_height_"+EAS_cu);if(EAS_width&&EAS_height){EAS_div_position.style.width=EAS_width+"px";EAS_div_position.style.height=EAS_height+"px"}}if(move_pos){var EAS_pos_top=EAS_pos_left=0;var EAS_pos_obj=EAS_div_position;if(EAS_pos_obj.offsetParent){do{EAS_pos_top+=EAS_pos_obj.offsetTop;EAS_pos_left+=EAS_pos_obj.offsetLeft}while(EAS_pos_obj=EAS_pos_obj.offsetParent);EAS_div_tag.style.position="absolute";EAS_div_tag.style.top=EAS_pos_top+"px";EAS_div_tag.style.left=EAS_pos_left+"px"}}EAS_div_tag.style.display="block"}}}if(safe_log){var confirm_img_src=eval("EAS_confirm_"+EAS_cu);if(confirm_img_src){var confirm_img=new Image(1,1);confirm_img.src=confirm_img_src}}}}(function(A,B){window.onload=function(){if(A&&typeof B=="function"){try{A()}catch(C){}}B()}})(window.onload,function(){function C(G,E,F){function D(){if(G){G[E].apply(G,arguments)}}B.adDispatcher.addHandler(F,D)}var A=window.ad,B=window.userNav||window.dido;if(B&&B.adDispatcher){C(A,"playlist","getVideoAds");C(A,"callback","logVideoAdDisplay");C(A,"callback","injectAd")}});function ad(U){window.ad=new function(){function y(AE,AC){function AD(){var AF=n(AE,"camp"),AG=n(AE,"cre");if(AF){M(AC,AE,AF,AG,AB)}else{K(AC);P(AE,AB)}}window[AC]=AD}var x=U.site,AB=U.page,AA=[],z,v;if(AB){AB=C(AB)}for(var w in x){z=x[w];v=z[w];if(v){continue}else{y(z,w);AA.push(z)}}if(AA.length){s(AA,AB)}};function C(z,x){var AB={},w,AA,y;if(z){w=z.charAt(0);z=z.split(w);for(var v=1;v<z.length;v++){AA=z[v].split(/=/)[0];y=z[v].split(/=/)[1];if(/^\$\{\d+\}/.test(y)&&!(y=(x||[])[parseInt(y.substring(2,y.length-1))])){continue}else{AB[AA]=y}}z="";for(var AC in AB){z+=w;z+=[AC,AB[AC]].join("=")}}return z}function J(w,v,x){return[w,("camp="+v),("no="+x)].join(w.charAt(0)||"&")}window.ad.playlist=function(){function z(){for(var AH=0,AG=1,AF=0,AE=0;AF<AA.length;AF++){AH=AA[AF];if(n(AH)){AE++}else{if(AG&&t(AF)){P(AH,AC)}else{AG=0}}}if(!AE){w()}else{p(x,y,v,(window.ad.callback=f(x,AC,y)));O()}}function w(){v(h,A)}var v=Array.prototype.slice.call(arguments,-1)[0],y=Array.prototype.slice.call(arguments,0)[0],AD=Array.prototype.slice.call(arguments,1,-1);if(arguments.length<3){AD=[]}if(!g||B()){w()}else{var x=U.site,AC=U.page,AA=L(x,y,c),AB=AA.concat(L(x,y,u));if(AC){AC=C(AC,AD)}m(AB,AC,z)}};function t(v){if(U.etc.estimate){if(v){return Math.random()<U.etc.estimate_finish}else{return Math.random()>U.etc.estimate_cancel}}else{return !v}}function A(){}window.ad.callback=A;function L(w,AC,AG,AD){var AE=[],x,z,AF,y,v,AB;for(var AA=0;AA<AC.length;AA++){z=w[x=AC[AA]]||{};AF=z[x];if(!AF){continue}else{for(var y in z){v=z[y];if(!AG||AG(y,v,x)){AB=v}else{AB=0}if(AB){if(AD){AB=[y,v]}AE.push(AB)}}}}return AE}var D=1;function c(x,w,v){return(v==x)}function u(x,w,v){return(v!=x)}function k(w,v){var AB=L(w,[v],u,D),z=[],AA,y;for(var x=0;x<AB.length;x++){AA=AB[x][0];y=AB[x][1];if(n(y)){z.push(AA)}}return z}function p(v,x,w,y){N(Y(v,x),F(v,x),w,y)}function N(x,w,v,z){function y(AA,AB){for(var AC in AB){if(w.ad&&w.ad[AA]){w.ad[AA][AC]=AB[AC]}}N(x,w,v,z)}if(x.length){x.pop().load(y);return }v(w,z)}function Y(w,y){var AE=L(w,y,c,D),AB=[],x,v,AD,AC,AA;for(var z=0;z<AE.length;z++){x=AE[z][0];v=AE[z][1];AD=n(v,"camp");AC=n(v,"cre");if(AD){AA=q(x,v,AD,AC);AB.push(AA)}}return AB}function F(v,AB){var AA=L(v,AB,c,D),x={},z,y;for(var w=0;w<AA.length;w++){z=AA[w][0];y=AA[w][1];if(!n(y)){continue}else{while(1){if(x[z]){x[z].companionId=z;x[z].companions=k(v,z);break}x[z]={}}}}return{ad:x}}var h={ad:{}};function f(v,x,z){function y(AB,AE){function AC(AL){var AM;while(AL&&AL.length){AM=AL.pop();if(AM){AM()}}w[AB]=1;d(AB,AH,AK,AJ,x)}function AD(){S(AB,AH,AK,AJ,x,AI,AG)}var AF=v[AE],AH=AF[AB],AK,AJ,AI,AG;if(AH){AK=n(AH,"camp");AJ=n(AH,"cre");AI=n(AH,"width");AG=n(AH,"height");if(!AK){return }else{if(AB==AE){AC(AA[AE])}else{if(w[AE]){AD()}else{while(1){if(AA[AE]){AA[AE].push(AD);break}AA[AE]=[]}}}}}}var w={},AA={};if(!a){return y}b(y,v,z);return A}function d(v,z,w,y,x){P(z,J(x,w,y))}function S(x,AD,AA,AC,AB,v,z){var y=document.getElementById(x);if(y&&y.parentNode){y.parentNode.innerHTML=r(x,AD,AA,AC,AB,v,z)}}function b(AB,w,AA){for(var z=0,y=0,x=0;x<AA.length;x++){z=AA[x];y=[z];if(!x){y=y.concat(k(w,z))}else{if(!t(x)){y=[]}}for(var v=0;v<y.length;v++){AB(y[v],z)}}}function B(){var w=U.etc.freq,v=U.etc.freq_ckey,x=U.etc.freq_cval;if(w){return X(v,x)}else{return 0}}function X(x,AB){var AC=document.cookie.split(";"),y=0,AA,z;for(var w=0;w<AC.length&&!z;w++){AA=AC[w];z=0;for(var v=0;v<AA.length;v++){if(AA.charAt(v)!=" "){z=AA.substring(v,y=AA.indexOf("=",v));break}}if(z&&z==x){z=AA.substring(y+1,AA.length)}else{z=0}}if(AB&&z){z=z.indexOf(AB)>=0}return z}var l=[];function O(){function AA(){function AB(AC){return new Date(new Date().getTime()+(AC*1000)).toGMTString()}document.cookie=[[v,z].join("="),["expires",AB(y)].join("="),"path=/"].join("; ")}var x=U.etc.freq,v=U.etc.freq_ckey,z=U.etc.freq_cval,y=U.etc.freq_expires,w=U.etc.freq_timeout;if(!x){return }else{W(l);H(l,AA,w*1000)}}function H(y,x,z){function v(){if(w){W(y,w)}x()}var w=0;if(!z||z<0){v()}else{w=setTimeout(v,z);y.push(w)}}function W(x,z){function w(AC){for(var AB=0,AA=0;AB<AC.length;AB++){AA=AC[AB];if(AA){clearTimeout(AA)}}}var v=x.length,y=x.length;if(!z){v=0}else{y=0;while(v){if(z==x[--v]){y=1;break}}}w(x.splice(v,y))}function V(){return(U.etc.server||window.EAS_server)}function s(w,v){document.write('<script src="@/eas?EASformat=nocontent&EAScus=@&ord=@"><\/script>'.replace("@",V()).replace("@",w).replace("@",I()+v))}function M(v,z,w,y,x){document.write(('<span id="@" class="adcontent"></span><script src="@/eas?target=_blank&cu=@&camp=@&no=@&cre=mu&js=y&ord=@"><\/script>').replace("@",v).replace("@",V()).replace("@",z).replace("@",w).replace("@",y).replace("@",I()+x))}function K(v){document.write('<span id="@" class="adcontent"></span>'.replace("@",v))}function P(w,v){new Image(1,1).src="@/eas?cre=log&cu=@&ord=@".replace("@",V()).replace("@",w).replace("@",I()+v)}function m(z,w,y){function x(){for(var AA=0,AB=z.length;AA<AB;AA++){if(e(z[AA])){break}}return(AA!=AB)}for(var v=0;v<z.length;v++){R(z[v])}new E("","@/eas?EASformat=nocontent&EAScus=@&ord=@".replace("@",V()).replace("@",z).replace("@",I()+w)).load(y,x)}function q(v,y,w,x){return new E(v,"@/eas?cu=@&camp=@&no=@&cre=mu&js=y&dont_log=1&ord=@".replace("@",V()).replace("@",y).replace("@",w).replace("@",x).replace("@",I()))}function r(x,AC,z,AB,AA,v,y){return(('<span id="@" class="adcontent"></span><iframe src="@/eas?target=_blank&cu=@&camp=@&no=@&ord=@" width="@" height="@" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"></iframe>').replace("@",x).replace("@",V()).replace("@",AC).replace("@",z).replace("@",AB).replace("@",I()+AA).replace("@",v).replace("@",y))}function I(){return new Date().getTime()}function n(x,w){var v=window[Q(x,w)];if(v&&v<0){return 0}else{return v}}function R(x){var w=["camp","cre","width","height"];for(var v=0;v<w.length;v++){window[Q(x,w[v])]=-1}}function e(w){var v=window[Q(w)];if(v&&v<0){return 1}else{return 0}}function Q(w,v){return["EAS_found",(v||"camp"),w].join("_")}function E(v,w){this.name=v;this.file=w}E.prototype.load=function(AB,AA){function v(AD){if(AB){AB(w,AD)}}var w=this.name,y=this.file,AC=U.etc.feed||"adfeed",z,x;window[AC]=v;if(AA){j(AA,v)}G(y)};function G(x){var v=document.createElement("script"),w=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0];v.setAttribute("src",x);if(w){w.appendChild(v);Z(v)}}function Z(w){function v(){if(w&&w.parentNode){w.parentNode.removeChild(w)}}setTimeout(v,1000*5)}function j(z,v){function y(){if(x>0&&z()){x--}else{clearInterval(w);if(v){v();v=0}}}var x=20,w=setInterval(y,50)}var g=1;var a=0;var o={};(function(){var y=navigator.userAgent,z=navigator.plugins,x=/np-mswmp/i,w=/windows media player firefox plugin/i;o.windows=/windows/i.test(y);o.msie=/msie/i.test(y)&&!/opera/i.test(y);o.webkit=/webkit/i.test(y);o.opera=/opera/i.test(y);o.mozilla=/mozilla/i.test(y)&&!/(compatible|webkit)/i.test(y);o.plugin=0;for(var AB=0,v=0,AA=z.length;v<AA;v++){AB=z[v];if(x.test(AB.filename)||w.test(AB.name)||w.test(AB.description)){break}}if(v<AA){o.plugin=1}})();if(U.etc.wmp){if(U.etc.wmp_require_windows){g=o.windows}if(U.etc.wmp_require_activex){g=((o.windows&&o.msie)||o.plugin)}if(U.etc.wmp_emulate_activex){a=!((o.windows&&o.msie)||o.plugin);if(o.opera){a=1}}}function T(){if(window.console){window.console.log(Array.prototype.slice.call(arguments,0).join(" "))}}};