<!--//Standard support code for email links
			function SetUpEmail(msgSrc,toAdd,subMsg) {
				document.getElementById('EmailSetUp').MessageSource.value=msgSrc; 
				document.getElementById('EmailSetUp').ToAddress.value=toAdd;
				document.getElementById('EmailSetUp').SubjectMsg.value=subMsg; 
				document.getElementById('EmailSetUp').StartURL.value=location.href; 
				window.document.getElementById('EmailSetUp').submit();
				}
			function SetUpEmail2(msgSrc,toAdd,subMsg) {
				document.getElementById('EmailSetUp2').MessageSource.value=msgSrc; 
				document.getElementById('EmailSetUp2').ToAddress.value=toAdd;
				document.getElementById('EmailSetUp2').SubjectMsg.value=subMsg; 
				document.getElementById('EmailSetUp2').StartURL.value=location.href; 
				window.document.getElementById('EmailSetUp2').submit();
				}
				/* 
					This function is called from code in content blocks based on the form 'EmailSetUp' 
					in the file BodyInclude.txt 
					Put code like the following in a content block when you want to send email.
					<a onclick="javascript:SetUpEmail('Where_this_Msg_is_From','target@hutchcc.edu','Subject_line_message');" href="#">target@hutchcc.edu</a>-->
				*/
			
		if (window != top)
				top.location.href=location.href
		
/*		
<!-- Idea by:  Nic Wolfe (Nic@TimelapseProductions.com) -->
<!-- Web URL:  http://fineline.xs.mw -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=360,height=300,left = 365,top = 287');");
}
function popUpBig(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=650,height=530,left = 365,top = 287');");
//alert('hey you opened big');
}
*/
		function popUp(URL) {
		//window.alert("in popUp");
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=380,height=300,left = 100,top = 100');");
		}

		function popUpCustom(URL,pxwidth,pxheight) {
		//window.alert("in popUpCustom");
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=" + pxwidth + ",height=" + pxheight + ",left = 100,top = 100');");
		}

		function popUpPrint(QSName) {
		//window.alert("in popUpCustom");
			// assigns the query string to the querydata array
			var querydata = location.search;
			// removes the opening questionmark
			querydata = querydata.substring(1, querydata.length);
			// splits query data into an array
			var queryArray = querydata.split("&");
	//window.alert("in popUpprint" + queryArray[i]);
			var targetCB2Print = ""
			for  (var i=0; i<queryArray.length; ++i) {
	//window.alert("in popUpprint" + queryArray[i]);
				var namedata = queryArray[i];
				var nameArray = namedata.split("=");
				for (var j=0; j<nameArray.length; ++j) {
					if (nameArray[j] == QSName) {
						targetCB2Print = nameArray[j=1]
						break;
					}
				}
			}
			var URL = "/www/printview.aspx?id=" + targetCB2Print;
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,left = 100,top = 100, resizable=1,statusbar=1,menubar=1');");
		}
		function popUpPrintSyllabus(QSName) {
		//window.alert("in popUpCustom");
			// assigns the query string to the querydata array
			var querydata = location.search;
			// removes the opening questionmark
			querydata = querydata.substring(1, querydata.length);
			// splits query data into an array
			var queryArray = querydata.split("&");
	//window.alert("in popUpprint" + queryArray[i]);
			var targetCB2Print = ""
			for  (var i=0; i<queryArray.length; ++i) {
	//window.alert("in popUpprint" + queryArray[i]);
				var namedata = queryArray[i];
				var nameArray = namedata.split("=");
				for (var j=0; j<nameArray.length; ++j) {
					if (nameArray[j] == QSName) {
						targetCB2Print = nameArray[j=1]
						break;
					}
				}
			}
			var URL = "../printviewSyllabus.aspx?id=" + targetCB2Print;
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,left = 100,top = 100, resizable=1,statusbar=1,menubar=1');");
		}
		function popUpPrintCatalog(QSName) {
		//window.alert("in popUpCustom");
			// assigns the query string to the querydata array
			var querydata = location.search;
			// removes the opening questionmark
			querydata = querydata.substring(1, querydata.length);
			// splits query data into an array
			var queryArray = querydata.split("&");
	//window.alert("in popUpprint" + queryArray[i]);
			var targetCB2Print = ""
			for  (var i=0; i<queryArray.length; ++i) {
	//window.alert("in popUpprint" + queryArray[i]);
				var namedata = queryArray[i];
				var nameArray = namedata.split("=");
				for (var j=0; j<nameArray.length; ++j) {
					if (nameArray[j] == QSName) {
						targetCB2Print = nameArray[j=1]
						break;
					}
				}
			}
			var URL = "../printviewCatalog.aspx?id=" + targetCB2Print;
			day = new Date();
			id = day.getTime();
			eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,left = 100,top = 100, resizable=1,statusbar=1,menubar=1');");
		}
// End -->
