function OpenWin(strTitle, swfURL, height, width)
{
	var winFeatures = 'width=' + width + ',height=' + (height) + ',fullscreen=no,status=no,menubar=no,left=200,top=200,resizable=no,scrollbars=no';
	try
	{
		var strHtml = "<html>\n"+
					"<head>\n" + 
					"<title>" + strTitle + "</title>\n" + 
					"<script type=\"text/javascript\" src=\"js/utils.js\"><\/script>\n" + 
					"<script type=\"text/javascript\" src=\"js/links.js\"><\/script>\n" + 
					"</head>\n" + 
					"<body id=\"\" topmargin=0 leftmargin=0>\n" + 
					"<div id=\"Layer2\">\n" +
					"<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"" + width + "\" height=\"" + height + "\">\n" + 
					"	<param name=\"movie\" value=\"" + swfURL + "\">\n" + 
					"	<param name=\"quality\" value=\"high\">\n" + 
					"	<embed src=\"" + swfURL + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"" + 
					"	type=\"application/x-shockwave-flash\" width=\"" + width + "\" height=\"" + height + "\"></embed>\n" + 
					"</object>\n</div>\n" +
					"</body>\n</html>\n";
	
		//write the contents to the new window
		var myWin = window.open("", "", winFeatures);
		myWin.document.write(strHtml);
		myWin.document.close();		
	}
	catch(err)
	{
//		alert("Error opening new window " + err.name + ";" + err.message);
	}
}

function EmbedSWF(divID, swfURL, height, width)
{
	var strHTML = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"" + width + "\" height=\"" + height + "\">" + 
				"	<param name=\"movie\" value=\"" + swfURL + "\">" + 
				"	<param name=\"quality\" value=\"high\">" + 
				"	<embed src=\"" + swfURL + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"" + 
				"	type=\"application/x-shockwave-flash\" width=\"" + width + "\" height=\"" + height + "\"></embed>" + 
				"</object>";
	document.getElementById(divID).innerHTML = strHTML;
}

function openHelp(){
	window.open("help.htm","","width=660,height=650,fullscreen=no,status=no,menubar=no,left=0,top=0,resizable=no,scrollbars=yes");
}

function openGlossary(){
	window.open("glossary.htm","","width=790,height=650,fullscreen=no,status=no,menubar=no,left=0,top=0,resizable=no,scrollbars=no");
}