function doSearch ( s, language ) { openDbRelativeURL("SearchView?SearchView&Query=" + s.value + " AND ([SiteLanguage]=" + document.forms(0).SiteLanguage.value + ")&ParentUNID=" + document.forms(0).DocID.value); return false; } function openDbRelativeURL( url ){ //Work out the path of the database; path = location.pathname.split('.nsf')[0] + '.nsf/'; //parent.frames[2].location.href = path + url; ///window.opener.location.href = path + url; window.location.href = path + url; } function returnFalse(s){ //guess the field if not supplied s = (s == null) ? document.forms[0].Query : s; //if you want to do the search, use this line doSearch(s); //if you want to alert the user, use this line //alert('Please use the \'Go!!\' button to do a search'); //this line should always be here!! return false; } function over(){ if(obj=event.srcElement) if(obj.className=="flyoutLink"){ obj.style.backgroundColor='#cccccc' //obj.style.borderColor = '#999999' } } function out(){ if(obj=event.srcElement) if(obj.className=="flyoutLink"){ obj.style.backgroundColor='#333333' //obj.style.borderColor = '#666666' } } function show(d){ if(obj=document.all(d)) obj.style.display=""; } function hide(d){ if(obj=document.all(d)) obj.style.display="none" } function openWindow(url,name,settings){ window.open(url,name,settings); } function setLogoEvents(logoObj) { logoObj.onmousedown=rightClickRedirect; logoObj.onmouseup=rightClickRedirect; logoObj.oncontextmenu=new Function('return false'); } function rightClickRedirect(e) { if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) { location.href = '/internet/acms.nsf/WebPages/logo'; return false; } else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) { location.href = '/internet/acms.nsf/WebPages/166E21DD2F199EE5C1256DCF003735BC'; return false; } return true; } function captureLogoRightClick() { var logoImage = document.images["logo"]; logoImage.onmousedown=rightClickRedirect; logoImage.onmouseup=rightClickRedirect; logoImage.oncontextmenu=new Function('return false'); } document.onload=captureLogoRightClick;