function clearSearch() { if (document.forms["actionbar"].Query.value == document.forms["actionbar"].Query.defaultValue) document.forms["actionbar"].Query.value = ""; } function DoGEASearch() { //alert("søgning"); if ( !document.forms["actionbar"].Query.value.length == 0) { SearchStr = escape( document.forms["actionbar"].Query.value ); docid=document.getElementById("WebDocUNID").value; //alert(SearchStr); //explorer_open('http://search.gea-explorer.com/?lang=&s=0&t=&w=1&q=' + SearchStr + '&tpl='); document.location.href="/npsportal/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; }