function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}
function CheckField2()
{
   // Get ASCII value of key that user pressed
   var key = window.event.keyCode;

   // Was key that was pressed a numeric character (0-9)?
    if ( key ==91 || key == 93 || key == 34 || key == 38 || key == 39 || key == 63 || key == 59 || key == 60 || key == 62 )
      window.event.returnValue = null; // if so, do nothing
   else
      return; // otherwise, discard character
}

function clearSearch2()
{
frmSearch2.terms2.value=""
}

function showRemote2() {
self.name = "current"; // names current window as "current"

var windowprops = "toolbar=0,location=0,directories=0,status=0, " +
"menubar=0,scrollbars=1,resizable=0,width=550,height=600,left=240,top=5";

	if (document.frmSearch2.terms2.value != "" )
	{
		if (document.frmSearch2.terms2.value != "Search for..." )
		{
		OpenWindow = window.open("results.asp?terms=" +document.frmSearch2.terms2.value , "remote", windowprops); // opens remote control
//		OpenWindow = window.open("results.asp?terms=" +document.frmSearch.terms.value , "remote", windowprops); // opens remote control
		}
		else
		{
		alert("Please fill in the search critera.");
		}
	}
	else
	{
		alert("Please fill in the search critera.");
	}
}

function new_window(url) {
link = window.open(url,"Link","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=500,height=150,,left=1,top=1");
}

