if ( document.location.search.indexOf('height') == -1 ){ // HyperBase Parser, Written by Khashayar. var ct = { formId : 492 ,formPrefix : 'hbjform_' ,addr : 'http://www.icyhollow.hyperoffice.com/interact/hbhform.cfm' } var v = document.getElementById(ct.formPrefix + ct.formId).parentNode; var dv = document.createElement( 'div' ); dv.innerHTML = "" v.appendChild(dv); function setHeight(h) { dv.firstChild.style.height = (h + 50) + "px"; } function func(){ if ( window.location.hash != '' ){ window.setHeight( parseInt( window.location.hash.substr( 1 ), 10 ) ); window.location.href = window.location.href.substr( 0, window.location.href.indexOf("#")+1 ); } setTimeout( func, 300 ); } setTimeout( func, 300 ); }else{ // Ok... This is for changing the height parent.parent.setHeight( parseInt( document.location.search.substr( document.location.search.indexOf('height=') + 7 ), 10 ) ); }