var client;var appVersion="42767";var scriptProperties={};var creatives=[];var focusedOut;var active_element;var msg1="The <a href='http://www.adap.tv'>adap.tv</a> console requires an updated version of this browser. Click one of the web browser icons below to visit its download page.";var br1="Internet Explorer 7+";
var br2="Firefox 3+";var url1="http://www.microsoft.com/windows/Internet-explorer/default.aspx";var url2="http://www.mozilla.com/firefox/";function detectBrowser(){if(BrowserDetect.browser=="Explorer"){if(BrowserDetect.version<=6){showIE6Warning("assets/images/");}else{loadMain();}}else{loadMain();}}function loadMain(){var a={};
var c={"allowScriptAccess":"always","swliveconnect":"true","bgcolor":"#000000"};var b={id:"osclient",name:"osclient"};swfobject.embedSWF("main.swf?appVersion="+appVersion,"osclient","100%","100%","10.0.0","assets/SWF/expressInstall.swf",a,c,b);swfobject.addLoadEvent(focal);}function focal(){client=document.getElementById("osclient");
if(client){client.style.visibility="visible";client.focus();}}var setThirdPartyAdTag=function(a){creatives=[{"overrideUrl":a}];};function openWindow(c,b){var a="";if(typeof(b)=="undefined"){var b=new Object();}if(typeof(b.name)=="undefined"){b.name="win"+Math.round(Math.random()*100000);}if(typeof(b.height)!="undefined"&&typeof(b.fullscreen)=="undefined"){a+="height="+b.height+",";
}if(typeof(b.width)!="undefined"&&typeof(b.fullscreen)=="undefined"){a+="width="+b.width+",";}if(typeof(b.fullscreen)!="undefined"){a+="width="+screen.availWidth+",";a+="height="+screen.availHeight+",";}if(typeof(b.center)=="undefined"){b.x=0;b.y=0;a+="screenx="+b.x+",";a+="screeny="+b.y+",";a+="left="+b.x+",";
a+="top="+b.y+",";}if(typeof(b.center)!="undefined"&&typeof(b.fullscreen)=="undefined"){b.y=Math.floor((screen.availHeight-(b.height||screen.height))/2)-(screen.height-screen.availHeight);b.x=Math.floor((screen.availWidth-(b.width||screen.width))/2)-(screen.width-screen.availWidth);a+="screenx="+b.x+",";
a+="screeny="+b.y+",";a+="left="+b.x+",";a+="top="+b.y+",";}if(typeof(b.scrollbars)=="undefined"){a+="scrollbars=1,";}else{a+="scrollbars="+b.scrollbars+",";}if(typeof(b.menubar)=="undefined"){a+="menubar=1,";}else{a+="menubar="+b.menubar+",";}if(typeof(b.locationbar)=="undefined"){a+="location=1,";}else{a+="location="+b.locationbar+",";
}if(typeof(b.resizable)=="undefined"){a+="resize=1,";}else{a+="resize="+b.resizable+",";}var d=window.open(c,b.name,a);return false;}function openTestWindow(b,a,c){scriptProperties=c;openWindow(b,a);return false;}function getBrowserInfo(){return{"browser":BrowserDetect.browser,"version":BrowserDetect.version};
}function showIE6Warning(q){var B=document.getElementById("alternateContent");B.style.visibility="hidden";var d=document.getElementsByTagName("body")[0];var h=document.createElement("div");var a=document.createElement("div");var w=document.createElement("h5");var c=document.createElement("ul");var v=document.createElement("li");
var u=document.createElement("li");var A=document.createElement("div");var z=document.createElement("div");var i=document.createElement("div");var g=document.createElement("div");d.appendChild(a);d.appendChild(h);h.appendChild(w);h.appendChild(c);v.style.cssFloat="left";c.appendChild(v);u.style.cssFloat="left";
c.appendChild(u);v.appendChild(A);u.appendChild(z);v.appendChild(i);u.appendChild(g);h.setAttribute("id","_d");a.setAttribute("id","_l");w.setAttribute("id","_p1");c.setAttribute("id","_ul");v.setAttribute("id","_li1");u.setAttribute("id","_li2");A.setAttribute("id","_ico1");z.setAttribute("id","_ico2");
i.setAttribute("id","_lit1");g.setAttribute("id","_lit2");var j=document.body.clientWidth;var F=document.body.clientHeight;var o=document.getElementById("_d");var E=500;var k=130;o.style.width=E+"px";o.style.height=k+"px";o.style.position="absolute";o.style.top=((F-k)/2)-20+"px";o.style.left=((j-E)/2)-20+"px";
o.style.padding="20px";o.style.border="4px solid #383838";o.style.listStyleType="none";o.style.color="#000000";o.style.background="transparent url('http://adap.tv/wp-content/themes/adaptv/images/content.jpg') white no-repeat scroll right middle";w.innerHTML=msg1;var x=document.getElementById("_p1");x.style.marginBottom="1.5em";
var p=document.getElementById("_ul");p.style.listStyleImage="none";p.style.listStylePosition="outside";p.style.listStyleType="none";p.style.display="inline";var l=document.getElementById("_li1");var y=document.getElementById("_li2");var s=l.style;var f=y.style;s.background=f.background="transparent url('"+q+"background_browser.gif') no-repeat scroll left top";
s.cursor=f.cursor="pointer";l.onclick=function(){window.location=url1;};y.onclick=function(){window;window.location=url2;};s.styleFloat=f.styleFloat="left";s.width=f.width="120px";s.height=f.height="100px";s.margin=f.margin="0 10px 10px 0";var b=document.getElementById("_ico1");var n=document.getElementById("_ico2");
var r=b.style;var e=n.style;r.width=e.width="100px";r.height=e.height="100px";r.margin=e.margin="1px auto";r.background="transparent url('"+q+"browser_ie.gif') no-repeat scroll left top";e.background="transparent url('"+q+"browser_firefox.gif') no-repeat scroll left top";i.appendChild(document.createTextNode(br1));
g.appendChild(document.createTextNode(br2));var t=document.getElementById("_lit1");var C=document.getElementById("_lit2");var m=t.style;var D=C.style;m.color=D.color="#808080";m.fontSize=D.fontSize="0.8em";m.height=D.height="18px";m.lineHeight=D.lineHeight="17px";m.margin=D.margin="1px auto";m.width=D.width="118px";
m.textAlign=D.textAlign="center";}