function placeGlobe() { hdr = document.getElementById('bodyBkgd'); globeX = findPosX(hdr); document.getElementById('globe').style.left = (globeX+logoX+13)+"px"; searchX = globeX+680; document.getElementById('searchBox').style.left = searchX+"px"; //alert(searchX); } //------------------------------------------------------------------------------------------ // If we need to wait for bodyBkgd (centered rounded rectangle body), set globe position on load //------------------------------------------------------------------------------------------ // hdr.onload = function() { // globeX = findPosX(hdr); // document.getElementById('globe').style.left = (globeX+logoX+12)+"px"; // }