	    var nTimer ;
        window.onload = function()
       {
 
       }   

	function Play() {
		window.clearInterval(nTimer);

	       NV1.MediaType = 1 ;                     //NOTE=> Input your MediaType 
               NV1.CodecType= 3 ;
               NV1.ID = 1 ;
	       NV1.SetControlActive(0);
               NV1.DisplayTitleBar(0);

<!--LOGIN RELATED CHANGES BEGIN------------------------------------------------------------------------------>
    NV1.MediaSource = "scazicamera2008.dyndns.org";	               //NOTE=> Input your Video Server IP
		NV1.MediaUserName = "user";		          //NOTE=> Input your Video Server User Name
		NV1.MediaPassword = "user";                 //NOTE=> Input your Video Server Password
              	 
		NV1.HttpPort = "81";			             //NOTE=> Input your Video Server Http Port
		NV1.MulticastIP = "228.5.6.1" ;
		NV1.RegisterPort = "6000";		            //NOTE=> Input your Video Server Register Port
		NV1.ControlPort = "6001";		           //NOTE=> Input your Video Server Control Port
		NV1.StreamingPort = "6002";		         //NOTE=> Input your Video Server Streaming Port 
		NV1.MulticastPort = "5000";             //NOTE=> Input your Video Server Multicast Port
		NV1.RTSPPort = "7070";                     
    
    NV1.Vendor="DynaColor";//"PELCO";			            //NOTE=> Input your PTZ Vendor, IN CAPTICALS
		NV1.Protocol="DynaColor";//"PELCO-P";		       //NOTE=> Input your PTZ Protocol, IN CAPTICALS
		NV1.AddressID="1";			                      //NOTE=> Input your PTZ Address ID
    NV1.PTZPostMode="1";
		NV1.Parity="N81";			                     //NOTE=> Input your PTZ Parity
		NV1.BaudRate="9600";			                //NOTE=> Input your PTZ Baudrate
        
		NV1.Connect(0) ;
		NV1.Mute=0;										//NOTE=> 1 to mute
		NV1.Play();
	     

		if (NV1.ContentStatus>=2) {
			
		}
	             
	}
        
		var bfrEnd = 640 ;
		var nLivingTime = 60;		                //NOTE=> Select the time of this demo display
		var nStep = parseInt(bfrEnd/nLivingTime)
<!--LOGIN RELATED CHANGES END------------------------------------------------------------------------------>


	function winClose() {
		NV1.DisConnect() ;
		window.opener=null ;
		window.close() ;
	}

