var r = new Array(); var genericText; var rolloverNode; function init() { fillWindow(); window.onresize = fillWindow; r.push("The PUPI division of Geotek, Inc. designs, manufactures and markets pultruded fiberglass composite crossarms and construction components for use in the electrical and utilities industries."); r.push("SunGUARD® II fiberglass fence posts include our patented ultraviolet resistant coating for unmatched resistance to weathering. "); r.push("GEOTEK, Inc. manufactures, sells and distributes industry-leading animal containment fencing systems utilizing Common Sense Fence™, The Mule™, SunGUARD II ™ posts and Electrobraid ™."); r.push("The maintenance-free fiberglass stake that takes the headache out of tree staking!"); r.push("GEOTEK, Inc. manufactures fiberglass retaining wall pins developed and distributed exclusively through Keystone™ Retaining Wall Systems."); r.push("Smart Stake™ fiberglass vineyard stakes provide a strong yet flexible support that is ideal for establishing new vineyard plantings as well as providing excellent support for older vines."); r.push("GEOTEK, Inc. manufactures Fibermax™ tension bars specifically designed for fastening chain link fencing. "); r.push("GEOTEK, Inc. manufactures Delron™ fiberglass spindles for use in the architectural design and construction of decks and railings. "); rolloverNode = document.getElementById("rollover").firstChild; genericText = rolloverNode.data; } function changeText(index) { if (rolloverNode) { if (isNaN(index) || index.length == 0) { rolloverNode.data = genericText; } else { rolloverNode.data = r[index]; } } } function getWindowHeight() { var windowHeight = 0; if (typeof(window.innerHeight)=='number') { windowHeight = window.innerHeight; } else { if (document.documentElement && document.documentElement.clientHeight) { windowHeight = document.documentElement.clientHeight; } else { if (document.body && document.body.clientHeight) { windowHeight = document.body.clientHeight; } } } return windowHeight; } function fillWindow() { if (document.getElementById) { var windowHeight = getWindowHeight(); if (windowHeight > 0) { var pageElement = document.getElementById('page'); var pageHeight = pageElement.offsetHeight; var footerElement = document.getElementById('footer'); var footerHeight = footerElement.offsetHeight; if (windowHeight >= pageHeight + footerHeight) { pageElement.style.height = (windowHeight-footerHeight)+'px'; } else { pageElement.style.height = "auto"; } } } }