function replaceImgByID(id,imgpath) { document.getElementById(id).src = imgpath; } function replaceImgByName(name,imgpath) { document.getElementByName(id).src = imgpath; } function openpopup(url,name,w,h,s,r) { checkout = window.open(url,'checkout','fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars='+s+',resizable='+r+',directories=no,location=no,width='+w+',height='+h+',left=((screen.width/2)-('+w+'/2),top=((screen.height/2)-('+h+'/2)'); } function popUp(ref) { var strFeatures = "toolbar=no,status=no,menubar=no,location=no" strFeatures = strFeatures + ",scrollbars=yes,resizable=yes,height=500,width=500" newWin = window.open(ref,"TellObj",strFeatures); newWin.opener = top; } function search(form) { var sel = form.elements["node"].selectedIndex; if (sel == 0) { alert("Please select a search category."); return false; } else { return true; } }