function InitSender(ip, http_port)
{
AudioSender.Password = "jvc"; AudioSender.IP = ip.value; AudioSender.Port = http_port.value;
}
//*************** PTZ Control ***************
var f_init = 0;
function PTControl(num){ if (f_init == 0) InitPTZCtrl();
PTZCtrl.ManualCtrl(num);
}
function ZoomControl(num){ if (f_init == 0)
InitPTZCtrl();
PTZCtrl.ZoomCtrl(num);
}
function InitPTZCtrl(){ PTZCtrl.OpPassword = "jvc"; PTZCtrl.IP = myForm.IP.value; PTZCtrl.HttpPort = myForm.HTTP_PORT.value; PTZCtrl.Initialize();
f_init = 1;
}
function mouse_up(){ PTZCtrl.Stop();
}
function close_window(){ AudioSender.Destroy(); PTZCtrl.Destroy();
}
</SCRIPT>
<BODY
WIDTH = 640
HEIGHT= 360
</OBJECT>
WIDTH = 1
HEIGHT= 1
</OBJECT>
WIDTH = 1
HEIGHT= 1