function clearSearch() { if (document.forms["actionbar"].Query.value == document.forms["actionbar"].Query.defaultValue) document.forms["actionbar"].Query.value = ""; } function DoGEASearch() { if ( !document.getElementById('Query').value.length == 0) { SearchStr = escape( document.getElementById('Query').value ); docid=document.getElementById("WebDocUNID").value; //explorer_open('http://search.gea-explorer.com/?lang=&s=0&t=&w=1&q=' + SearchStr + '&tpl='); document.location.href="/geaalbro/cmsdoc.nsf/Search/SearchwebFormResult?readform&query=" + SearchStr + "&unid=" + docid; } } function mailForm(id) { window.open(".." +"/SendMail?openform&id=" + id , "Mail" , "scrollbars=yes, left=100, top=100, height=560, width=420, status"); } function doChangePage2(field,ref){ val = document.getElementById(field)[ref.selectedIndex].value; //location.href = val; location.href= "../webdoc/" + val; } function doChange(field,ref){ val = document.getElementById(field)[ref.selectedIndex].value; location.href = val; //return ; }