function checkSearchFrm(frm){ if(frm.contentType.value==""){ return false; } return true; } function runSearch(contentType){ frm = document.frm_search; if(frm.searchText.value != ""){ frm.contentType.value = contentType; frm.submit(); } else { frm.searchText.value = ''; frm.contentType.value = contentType; frm.submit(); } } var searchByDividerOffOpacity = 30; var searchByDividerOnOpacity = 100; function rolloverSearchByOption(contentType, mode){ if(mode=="on"){ if(navigator.appName.indexOf("Microsoft")!=-1&&parseInt(navigator.appVersion)>=4){ document.getElementById('sbDivider' + contentType).filters.alpha.opacity = searchByDividerOnOpacity; } else{ document.getElementById('sbDivider' + contentType).style.opacity = (searchByDividerOnOpacity / 100); document.getElementById('sbDivider' + contentType).style.MozOpacity = (searchByDividerOnOpacity / 100); } } else{ if(navigator.appName.indexOf("Microsoft")!=-1&&parseInt(navigator.appVersion)>=4){ document.getElementById('sbDivider' + contentType).filters.alpha.opacity = searchByDividerOffOpacity; } else{ document.getElementById('sbDivider' + contentType).style.opacity = (searchByDividerOffOpacity / 100); document.getElementById('sbDivider' + contentType).style.MozOpacity = (searchByDividerOffOpacity / 100); } } }