function createStreamWindow(serverLocation)
{
	var header = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\n<html>\n<head><title>Streaming Video</title></head>\n<body style=\"margin: 0px; background-color: #000000;\">\n";
	var footer = "</body>\n</html>";
	var streamCode = '<object id="MediaPlayer1" width="320" height="265" ' +
			'classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" ' +
			'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" ' +
			'standby="Streaming Video" ' +
			'type="application/x-oleobject" align="middle"> ' +
			'<param name="FileName" value="mms://' + serverLocation + '/"> ' +
			'<param name="ShowStatusBar" value="true"> ' +
			'<param name="DefaultFrame" value="mainFrame"> ' +
			'<param name="ShowControls" value="false"> ' +
			'<param name="ShowDisplay" value="false"> ' +
			'<param name="enableContextMenu" value="false"> ' +
			'<embed type="application/x-mplayer2" ' +
				'pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/" ' +
				'src="mms://' + serverLocation + '/" ' +
				'height="265" ' +
				'width="320" ' +
				'showcontrols="0"' +
				'showstatusbar="1">' +
			'</embed>' +
			'</object>';
	playerWidth = 320;
	playerHeight = 265;
	xPos = (screen.width - playerWidth) / 2;
	yPos = (screen.height - playerHeight) / 2;
	winSettings = "location = no, menubar = no, resizable = no, scrollbars = no, status = no, toolbar = no, width = " + playerWidth + ", height = " + playerHeight;
	winName = "streamingVideo" + serverLocation.substring( serverLocation.indexOf(":")+1 );
	streamWindow = window.open("Streaming Video",winName,winSettings);
	streamWindow.document.writeln(header + streamCode + footer);
	streamWindow.focus();
	streamWindow.moveTo(xPos,yPos);
}