ICA-500 Live View url="http://210.66.155.82/"+window.location.host; var cam_width=640; function OnGetStatus() { temp_num = camerastatus.substring(24,30); Capture_JPEG_NUM.value = temp_num; if( camerastatus.charAt(21)==0 ) cam_width=176; else if( camerastatus.charAt(21)==1 ) cam_width=352; else if( camerastatus.charAt(21)==2 ) cam_width=320; else if( camerastatus.charAt(21)==3 ) cam_width=640; cam_obj.CamWidth=cam_width; }

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;