play_btn.value = "Play";

}

}

function capture_click()

{

JPEGViewer.Capture();

}

//*************** 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.UserLevel = 1; //operator PTZCtrl.MODEL = 0; PTZCtrl.Initialize();

f_init = 1;

}

function mouse_up(){ PTZCtrl.Stop();

}

function close_window(){ PTZCtrl.Destroy();

}

</SCRIPT>

<BODY STYLE="font-size:12px;font-family:arial;color:#ffffff" bgcolor="#000000" onunload="close_window()">

<!-- JPEG Viewer ActiveX --> <OBJECT ID="JPEGViewer"

WIDTH = 640

HEIGHT= 480 CLASSID="CLSID:13BAD612-9219-4535-A001-2B88AD8526AD" STYLE="border-style:solid;border:1px;border-color:#ffffff;">

<PARAM NAME="IP"

VALUE="192.168.0.2">

<PARAM NAME="HttpPort"

VALUE="80">

<PARAM NAME="DispWidth"

VALUE="640">

109

Page 109
Image 109
JVC 686BU, 686U, VN-V685U manual 109, Script