function openWin(winurl,wintitle){var pwin=pwinif (pwin == null)     //add{	var handle = window.open(winurl);	self.pwin=handle	self.pwin.focus();}else{self.pwin.focus();}}function doSearch() {	var q = document.forms[0].Query.value;	if (q == "") {			alert("Nothing to search");			return false;			}	else {window.location=thisDB+'Search?SearchView&Query="'+q+'"'}}function openNewWin(winurl,wintitle){var pwin=pwinif (pwin == null)     //add{	var handle = window.open(winurl,"pwin","width=600,height=600,resizable,scrollbars,left=400,screenx=400,screeny=50,top=50",true);	self.pwin=handle	self.pwin.focus();}else{self.pwin.focus();}}function openNewWin2(winurl,wintitle) //came from $$VT for DW (without the "2") - is it needed???{var pwin=pwinif (pwin == null)     //add{	var handle = window.open(winurl,"pwin","width=620,height=550,resizable,scrollbars,left=10,screenx=10,screeny=50,top=50",true);	self.pwin=handle	self.pwin.focus();}else{self.pwin.focus();}}function displayDiv(which, OnOrOff) {	if (document.getElementById) {		thisDiv = document.getElementById("SLN"+which);//		callingDiv = document.getElementById("LN"+which);	}	else if (document.all) {		thisDiv = document.all["SLN"+which];//		callingDiv = document.all["LN"+which];	}	else {return(false)}	thisDiv.style.display = OnOrOff;}function checkID() {var thisURL = window.location;var thisID = document.forms[0].id.value;if (thisID != "") {thisURL.replace(thisURL.pathname + "?OpenView&E=" + thisID.substring(2,4) + thisID.substring(5,6) + thisID.substring(4,5) + thisID.substring(0,2))}}function openDoc(winurl){	window.location= winurl+qs}function openWindow(url,name,options){	window.open(url,name,options);}