// JavaScript Document function toggleAdvancedSearch() { document.getElementById('advsearch').style.display = 'none'; document.getElementById('locsearch').style.display = 'block'; } function toggleWhyReg() { document.getElementById('reg').style.display = 'none'; document.getElementById('whyreg').style.display = 'block'; } function toggleForgotPassword() { document.getElementById('loginf').style.display = 'none'; document.getElementById('passwordf').style.display = 'block'; } function clearTextID(control) { document.getElementById(control).value = ''; } function clearText(control) { document.forms['loginform'][control].value=''; } function clearTextSearch(control) { document.forms['searchform'][control].value=''; }