// HSC Media Show Pop Up
// To Call this function use the following code:
//   <script language="JavaScript" src="/_includes/hscmediaplayer.js" type="text/javascript"></script>
//   <cfoutput>
//   <a href="JavaScript:hscmediashow('http://hscapp.unm.edu/hscmedia/act__GetMediaURL.cfm?MediaKey=[ID Number]');">Play</a>
//   </cfoutput>

// Where [ID Number] is the ID of the media file requested.
// Programmer: Garth Colasurdo (gcolasurdo@salud.unm.edu)
// Client: John Tregear (jtregear@salud.unm.edu)
// Date: Nov  7, 2003
// Use: All web sites with material on the HSC Media Server. Web pages uses pop up to call data from hscapp.unm.edu/hscmedia.

function hscmediashow(url) {
		var newWin;
		newWin = window.open(url, "show", "height=600,width=800,toolbar=0,menubar=0,scrollbars=0,resizable=1,status=1");
		if (!newWin.opener) newWin.opener = window;
		if (navigator.appName == "Microsoft Internet Explorer") newWin.location.reload(true);
		newWin.focus();
		}
