zooma.search = new Object(); zooma.search.doSearch = function(strUrl) { // post the result ... var frm = document.formsearchform; if(frm.SearchCriteriaHead.value=='' && frm.SearchCriteriaText.value=='' && frm.SearchCriteriaNumber.value=='') { //alert('You must enter at least one search-criteria'); return; } frm.action = strUrl; frm.submit(); } zooma.search.changePage = function(page, strNewUrl) { // post the result ... var frm = document.searchresult; var strUrl = strNewUrl+'?CurrentPage='+page; frm.action = strUrl; frm.submit(); } zooma.search.changeMachineNavState = function(strUrl) { // post the result ... var frm = document.machinenavigator; frm.action = strUrl; frm.submit(); } zooma.search.setNewsState = function(strUrl) { // post the result ... var frm = document.machinenavigator; frm.action = strUrl+'?UseNewsState=1'; frm.submit(); }