var min_width=1020;var min_height=730;var BO=new detectBrowser();function checkSize(){var client_width,client_height,elm,doc_width,doc_height;BO.ff?client_width=document.documentElement.clientWidth:client_width=document.body.clientWidth;BO.ff?client_height=document.documentElement.clientHeight:client_height=document.body.clientHeight;elm=document.getElementById("homepage");doc_width=client_width;doc_height=client_height;elm.style.width="100%";elm.style.height="100%";elm.style.overflowX="auto";elm.style.overflowY="auto";doc_width<=min_width?elm.style.width=min_width+"px":null;doc_height<=min_height?elm.style.height=min_height+"px":null;doc_height>min_height?document.getElementsByTagName("html")[0].style.overflowY="hidden":document.getElementsByTagName("html")[0].style.overflowY="auto";doc_width>min_width?document.getElementsByTagName("html")[0].style.overflowX="hidden":document.getElementsByTagName("html")[0].style.overflowX="auto";BO.ie6?document.getElementById("ls-row-8-area-1").style.overflow="auto":null;BO.ie6?document.getElementsByTagName("body")[0].style.overflow="hidden":null;BO.ie6&&document.getElementById("ls-row-3")!=undefined?document.getElementById("ls-row-3").style.display="none":null;}function showHomepage(akamaiURL,XMLData,flashFile){if(swfobject.hasFlashPlayerVersion("9.0.0")&&document.getElementById("homepage")!=undefined){var homepageDiv=document.getElementById("homepage");var flashvars={};flashvars.contenturl=XMLData;var thisURL=window.location.href;var searchurl="";if(thisURL.indexOf("ConsumerWeb")!=-1){searchurl="SearchResult.page";}else{searchurl="ConsumerWeb/SearchResult.page";}flashvars.searchurl=searchurl;var params={};params.allowScriptAccess="always";params.menu="false";params.wmode="opaque";var attributes={};document.getElementsByTagName("body")[0].style.backgroundImage="url('')";document.getElementsByTagName("body")[0].style.backgroundColor="#000";BO.ie?addWindowEvent(window,function(){swfobject.embedSWF(akamaiURL+"/images/flash/"+flashFile,"homepage","100%","100%","9.0.0",akamaiURL+"/images/flash/expressInstall.swf",flashvars,params,attributes);},"load"):swfobject.embedSWF(akamaiURL+"/images/flash/"+flashFile,"homepage","100%","100%","9.0.0",akamaiURL+"/images/flash/expressInstall.swf",flashvars,params,attributes);addWindowEvent(window,checkSize,"load");addWindowEvent(window,checkSize,"resize");}else{if(document.getElementById("ls-row-8")!=undefined){document.getElementById("ls-row-8").style.display="none";}if(document.getElementById("ls-row-1")!=undefined){document.getElementById("ls-row-1").style.display="block";}if(document.getElementById("ls-row-2")!=undefined){document.getElementById("ls-row-2").style.display="block";}if(document.getElementById("ls-row-3")!=undefined){document.getElementById("ls-row-3").style.visibility="visible";}if(document.getElementById("ls-row-4")!=undefined){document.getElementById("ls-row-4").style.display="block";}if(document.getElementById("ls-row-5")!=undefined){document.getElementById("ls-row-5").style.display="block";}if(document.getElementById("ls-row-6")!=undefined){document.getElementById("ls-row-6").style.display="block";}if(document.getElementById("ls-row-7")!=undefined){document.getElementById("ls-row-7").style.display="block";}}}function removeNodeFromPage(nodeId){if(document.getElementById(nodeId)!=undefined){var thisNode=document.getElementById(nodeId);while(thisNode.hasChildNodes()){thisNode.removeChild(thisNode.lastChild);}thisNode.parentNode.removeChild(thisNode);}}function getStyle(el,styleProp){var x=document.getElementById(el);if(x.currentStyle){var y=x.currentStyle[styleProp];}else{if(window.getComputedStyle){var y=document.defaultView.getComputedStyle(x,null).getPropertyValue(styleProp);}}return y;}