function openNewWindow( newURL ) { var w = (window.open (newURL, 'relsearch', 'width=550,height=650,status=yes,scrollbars=yes,resizable')); w.focus (); return false; } function setToolVisibility(obj, sVisible, obj2, sVisible2) { if ( !document.images ) return; if ( typeof obj == "string" ) obj = document.getElementById (obj); obj.style.display = sVisible; if ( typeof obj2 == "string" ) obj2 = document.getElementById (obj2); obj2.style.display = sVisible2; return false; } //SORT FUNCTIONS function sortBrowse(){ if( document.searchtool.searchtype != null && savedTag != null ) document.searchtool.searchtype.options.selectedIndex = savedTag; if( document.searchtool.searcharg != null && savedSearch != null ) document.searchtool.searcharg.value = savedSearch; if( document.searchtool.searchscope != null && savedScope != null ) document.searchtool.searchscope.options.selectedIndex = savedScope; document.searchtool.submit(); } function sortExactBrowse() { var new_url; var k = sortExactBrowseURL.lastIndexOf("indexsort="); var selector = document.searchtool.sortdropdown; var sortopt = selector.options[ selector.selectedIndex ].value; if( k == -1) new_url = sortExactBrowseURL + "/indexsort=" + sortopt; else new_url = sortExactBrowseURL.substring(0, k) + "indexsort=" + sortopt; window.location = new_url; } isIE=document.all; isNN=!document.all && document.getElementById; isHot=false; revIdent = null; function getReview(id){ revIdent=document.getElementById(id); }