function isIE6479b8a20(){ var browser=navigator.appName; var b_version=navigator.appVersion; var version=parseFloat(b_version); if(browser=="Microsoft Internet Explorer" && version==4) return true; return false; } function wCf479b8a20() { var catfish479b8a20 = document.getElementById('catfish479b8a20'); var subelements = []; for (var i = 0; i < document.body.childNodes.length; i++) { subelements[i] = document.body.childNodes[i]; } var zip479b8a20 = document.createElement('div'); zip479b8a20.id = 'zip479b8a20'; for (var i = 0; i < subelements.length; i++) { zip479b8a20.appendChild(subelements[i]); } document.body.appendChild(zip479b8a20); document.body.appendChild(catfish479b8a20); } var catfish479b8a20; function dCf479b8a20(){ catfish479b8a20 = document.getElementById('catfish479b8a20'); catfish479b8a20.style.display='block'; catfish479b8a20.style.marginBottom ='0px'; catfish479b8a20.style.background= '#FFFFFF'; document.body.parentNode.style.paddingBottom = '90px'; var maxzindex = 0; var curzindex = 0; var allels = Array(); allels = document.getElementsByTagName('*'); for(var i=0; i < allels.length; i++){ if (allels[i].currentStyle){curzindex = parseFloat(allels[i].currentStyle['zIndex']);} else if(window.getComputedStyle){curzindex = parseFloat(document.defaultView.getComputedStyle(allels[i],null).getPropertyValue('z-index'));} if(!isNaN(curzindex) && curzindex > maxzindex){ maxzindex = curzindex; } } catfish479b8a20.style.zIndex=maxzindex+1; } function displayads479b8a20(){ var docwidth; var docheight; if (typeof window.innerWidth != 'undefined') { docwidth = window.innerWidth; docheight = window.innerHeight; } else if (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth !='undefined' && document.documentElement.clientWidth != 0){ docwidth = document.documentElement.clientWidth; docheight = document.documentElement.clientHeight; } else { docwidth = document.getElementsByTagName('body')[0].clientWidth; docheight = document.getElementsByTagName('body')[0].clientHeight; } if(!document.getElementsByTagName("FRAMESET")[0] && docwidth > 728 && docheight > 180){ dCf479b8a20(); if (isIE6479b8a20()){ document.getElementsByTagName('html')[0].style.padding= '0 0 90px 0'; wCf479b8a20(); } } if(!document.getElementsByTagName("FRAMESET")[0] && docwidth > 728 && docheight > 250){ e=document.getElementById("topad479b8a20"); e.innerHTML=''; e2=document.getElementById("catfish479b8a20"); e2.innerHTML=''; } } displayads479b8a20();