as = sframerate.split(" = ");
if ( as[1] != 0 )
i = Math.floor( 1000/as[1] );
else
i = 0;
cam_obj.ShowIntervalTime = i;
cam_obj.URL=url;
setTimeout("GetMotionStatus()",1);
var ID;
function GetMotionStatus()
{
getstatus.src=url+"/GetStatus.cgi?JsVar=camerastatus&OnJs=OnGetStatus";
clearTimeout(ID);
ID=setTimeout("GetMotionStatus();",1200);
}
as = sGetAudio.split(" = ");
if ( as[1] == "0" )
cam_obj.Audio = 0;
else
cam_obj.Audio = 1;