// Replace 'viewName' with the name of the view you wish to search. view='viewName' path=location.href.toLowerCase(); openviewPos=path.indexOf('.nsf'); db=path.substring(0,openviewPos+5) QueryString=prompt('Search:','') if(QueryString!=null){ go=db+view+'?Openview&StartKey='+QueryString+'&Count=50&Col lapseView' window.location=go}