function clearSearch() { if(document.getElementById('Query').value!=""){ document.getElementById('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="/gealiquid/cmsdoc.nsf/Search/SearchwebFormResult?readform&query=" + SearchStr + "&unid=" + docid; } } function sendLink(id) { window.open(".." +"/webdlgsendlink?readform&ref=" + id , "Mail" , "scrollbars=yes, left=100, top=100, height=300, width=450, status"); } 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 ; }