<!--
	function openWindow(strURL,strNameReference)
	{
	
		if (strURL == "EmailSignup.asp")
		{
			var objEmailWindow = window.open(strURL,"EmailWindow","height=380,width=630,toolbar=no,directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes");
			objEmailWindow.focus();
		}
		else if (strURL == "Tutorial")
		{
			var objTutorialWindow = window.open("./tutorial/800x600/slide1.html","TutorialWindow","height=685,width=825,left=0,top=0directories=no,toolbar=no,location=no,menubar=no,resizable=yes,scrollbars=yes");
			objTutorialWindow.focus();
		}
		else if (strURL == "Glossary")
		{
			var objGlossaryWindow = window.open("./HelpGlossarySmallWindow.asp" + "#" + strNameReference,"GlossaryWindow","height=200,width=500,toolbar=no,directories=no,location=no,menubar=no,resizable=yes,scrollbars=yes");
			objGlossaryWindow.focus();
		}
		else if (strURL == "PubMed" && strNameReference.substring(0,7) == "http://" )
		{
			var objPubMedWindow = window.open(strNameReference,"PubMedWindow","resizable=yes,toolbar=yes,location=yes,menubar=yes,directories=no,status=yes,scrollbars=yes");
			objPubMedWindow.focus();
		}
		else
		{
			var objMiscWindow = window.open(strURL,"MiscWindow","resizable=yes,toolbar=yes,location=yes,menubar=yes,directories=no,status=yes,scrollbars=yes");
			objMiscWindow.focus();
		}

	}

function MM_openBrWindow(strUrl, strWindowName,features)
{
	var picWin = window.open(strUrl, strWindowName,features);
	picWin.focus();

	//Implementation:
	// <A HREF = "ExampleParticipantImages/JPEG/Stu1.html"  onclick="MM_openBrWindow(this.href,'Examples','resizable=yes');return false;">
	//The 'return false' part effectively cancels out the default action of the href, so won't get the pop-up and a normal HTML window opening	
}

	function OpenCommentWindow(strURL)
	{
		var objCommentWindow = window.open(strURL,"CommentWindow","height=500,width=800,toolbar=yes,location=no,menubar=no,resizable=yes,scrollbars=yes");
		objCommentWindow.focus();
	}


function clearTextSearch()
{
	document.oFormCatVisit.TextSearch.value=""
}


//-->
