var cameras = new Array();
			// **************************************************************
			// Edit the three variables below
			// **************************************************************

			var Software_Version = "5,0,0,3801"; //Software Version (terms section 4)
			var ActiveX_clsid =	"77522254-8A8D-4365-A06E-6D7BD10785DD"; // ActiveX Class ID (terms section 5)
			var Resolution =	"CIF"; // Camera Resolution (terms section 6)

			// **************************************************************
			// ADD CAMERAS
			// --------------------------------------------------------------
			// repeat the line below to add multiple cameras. Rember cameras 
			// cannot share both the same IP Address and Port.
			// **************************************************************

			addCamera("72.71.201.125", 1050, 554); //You can repeat this line to add as many cameras as you would like.

			// **************************************************************
			// **************************************************************
			// DO NOT EDIT ANYTHING BELOW THIS!
			// **************************************************************
			// **************************************************************

			var objectwidth = "";
			var objectheight = "";

			Software_Version = Software_Version.replace(".", ",");
			switch(Resolution)
			{
				case "QCIF":
					objectwidth = 176;
					objectheight = 112;
					break;
				case "CIF":
					objectwidth = 320;
					objectheight = 240;
					break;
				case "4CIF":
					objectwidth = 702;
					objectheight = 480;
					break;
				default:
					alert("Imporoper camera resolution, see step 5.");
			}

			function addCamera(IPAddress, HTTPPort, RTSPPort)
			{
				var camera = new Object();
				camera.Public_IPAddress = IPAddress;
				camera.Public_HTTPPort = HTTPPort;
				camera.Public_RTSPPort = RTSPPort;
				cameras.push(camera);
			}

			function drawCamera(cameraID)
			{

				if (cameras.length >= cameraID && cameraID > 0)
				{
					var camera = cameras[cameraID-1];
					var outputObjectHTML = "";

					if (navigator.appName.toLowerCase().indexOf("microsoft") == -1)
					{
						if (camera.Public_HTTPPort == 80)
							outputObjectHTML = "<img alt=\"Live Webcam\" width=\" + objectwidth + \" height=\" + objectheight + \" src=\"http://" + camera.Public_IPAddress + "/video.cgi?resolution=" + Resolution + "&amp;random=" + Math.random() + "\" />";
						
						if (camera.Public_HTTPPort != 80)
							outputObjectHTML = "<img alt=\"Live Webcam\" width=\" + objectwidth + \" height=\" + objectheight + \" src=\"http://" + camera.Public_IPAddress + ":" + camera.Public_HTTPPort + "/video.cgi?resolution=" + Resolution + "&amp;random=" + Math.random() + "\" />";
	
						document.write(outputObjectHTML);
						return;
					}

					outputObjectHTML += "<object classid=\"clsid:" + ActiveX_clsid + "\" id=\"CamV\" width=\"" + objectwidth + "\" height=\"" + objectheight + "\" codebase=\"http://" + camera.Public_IPAddress + ":" + camera.Public_HTTPPort + "/classes/" + "IPSYSCamV_H264" + ".cab#Version=" + Software_Version + "\">";
					outputObjectHTML += "<param name=\"MediaURL\" value=\"rtsp://" + camera.Public_IPAddress + ":" + camera.Public_RTSPPort + "/h264/media.amp?resolution=" + Resolution + "\">";
					outputObjectHTML += "<param name=\"HttpPort\" value=\"" + camera.Public_HTTPPort + "\">";
					outputObjectHTML += "<param name=\"RTSPStream\" value=\"TCP\">";
					outputObjectHTML += "<param name=\"StretchToFit\" value=\"1\">";
					outputObjectHTML += "<param name=\"AutoStart\" value=\"1\">";
					outputObjectHTML += "<param name=\"EnableReconnect\" value=\"1\">";
					outputObjectHTML += "<param name=\"UIMode\" value=\"0\">";
					outputObjectHTML += "</object>";

					document.write(outputObjectHTML);
					return;
				}

				alert("Invalid Camera ID: " + cameraID);
				return;
			}
