// ipcam_recordsetting.asp
var msg_av_box_title = 'AUDIO AND VIDEO';
var msg_av_box_text = 'You may wish to modify the parameters in this page or directly go to the camera web site. The NVR will display all the necessary information of the selected camera.';
var msg_av_box_title2 = 'CAMERA PARAMETER';
var msg_av_cameraname = 'Name';
var msg_av_videofmt = 'Video Format';
var msg_av_mjpg = 'Motion JPEG';
var msg_av_mp4 = 'MPEG4';
var msg_av_framerate = 'Frame Rate';
var msg_av_resolution = 'Resolution';
var msg_av_quality = 'Quality';
var msg_av_compression = 'Compression';
var msg_av_audio = 'Audio';
var msg_av_enableaudio = 'Enable Audio';
var msg_av_cameralist = 'CAMERA LIST';
var msg_av_help_text = 'The following list briefly describes the <b>Audio and Video</b> menu items:<br><br>'+
'<b>Video Format:</b> Select the type of format the camera supports.<br><br>'+
'<b>Frame rate:</b> Select the frame rate of the camera.<br><br>'+
'<b>Resolution:</b> Select the resolution of the camera.<br><br>'+
'<b>Quality:</b> Select the image quality of the camera.<br><br>'+
'<b>Audio:</b> Select Enable Audio to view and enable audio recording.<br><br>'+
'<b>Note</b><br>'+
'<em>The system will automatically adjust the frame rate, based on the maximum frame rate of the camera.</em>';
var msg_av_updateok = 'Update camera parameters successfully!';
var msg_av_updatefailed = 'Update camera parameters failed!';
var msg_av_gotoweb = 'Go to Web';
var msg_av_cameraidx = 'Index';
var msg_av_ipaddr = 'Address';
var msg_av_vendor = 'Vendor';
var msg_av_model = 'Model';
var msg_av_orgweb = 'Original Web';
var msg_av_loadparam = 'Load Camera Parameters...';

// ipcam_schedule-beta.asp
var msg_sched_box_title = 'RECORDING SCHEDULE';
var msg_sched_box_text = 'You can set up individual cameras to record at specific times, day or night, one time or each day of the week.';
var msg_sched_box_title2 = 'RECORDING MODE';
var msg_sched_norec = 'No Record';
var msg_sched_bysched = 'Record by Schedule';
var msg_sched_alwaysrec = 'Always Record';
var msg_sched_label_camera = 'Camera';
var msg_sched_box_title3 = 'VIDEO DATA';
var msg_sched_autorecyclic = 'Automatic Overwrite';
var msg_sched_label_enable = 'Enable';
var msg_sched_keepday = 'Store Videos';
var msg_sched_label_keepdays = 'Store Videos by Schedule';
var msg_sched_label_keepdays2 = 'Days';
var msg_sched_box_title3 = 'RECORDING SCHEDULE';
var msg_sched_label_cameralist = 'Camera List';
var msg_sched_label_schedule = 'Schedule';
var msg_sched_label_mode_day = 'Day';
var msg_sched_label_mode_week = 'Week';
var msg_sched_help_text = 'The following list briefly describes the <b>Recording Schedule</b> menu items:<br><br>'+
'<b>Automatic Overwrite:</b> Select this option to automatically empty disk'+
'space when the disk space is full. This will overwrite the earliest recorded'+
'video with the latest video one day at a time.<br><br>'+
'<b>Store Videos by Schedule:</b> Set duration to store recorded video clips.'+
'After this, the clips will be purged and cannot be recovered.'+
'<b>Insert:</b> Insert new schedules.<br><br>'+
'<b>Delete:</b> Delete the selected schedule.<br><br>'+
'<b>Configure:</b> Modify the schedule and recording mode setting.<br><br>'+
'<b>Notes</b><br>'+
'<em>'+
'- The <b>Always Record</b> option will start recording immediately.<br><br>'+
'- When configuring the <b>Motion Detection</b> event, ensure to setup the motion detection'+
'function in your camera first.<br><br>'+
'- When changing the motion detection settings of your camera, ensure to disconnect'+
'the NVR and then re-connect to update the settings in your NVR.<br><br>'+
'- When setting up an event, a video motion or digital input can be used to trigger the'+
'other cameras. This means that when motion is detected by a camera, it can send'+
'out warning signals to the other connected cameras.<br><br>'+
'- An alternative option is to drag the time bar to change the recording time period.'+
'The red bar represents the ¡§Always Record¡¨ feature and the blue bar represents the'+
'"Event Recording" feature.</em>';
var msg_sched_kday_posnum = 'The keep video days should be a positive number!';
var msg_sched_kday_130 = 'The keep video days should be between 1 and 30!';
var msg_sched_err_badstime = 'Your start time is not correct.';
var msg_sched_err_badetime = 'Your end time is not correct.';
var msg_sched_err_badsetime = 'The start time is not small than end time!';
var msg_sched_err_badpretime = 'Your pre-recording time is not correct';
var msg_sched_err_badposttime = 'Your post-recording time is not correct';
var msg_sched_label_always = 'Always';
var msg_sched_label_event = 'Event';
var msg_sched_err_badsetting = 'Your setting data is not correct!';
var msg_sched_err_badtimesetting = 'Your time setting is not correct!';
var msg_sched_label_insert = 'Insert';
var msg_sched_label_delete = 'Delete';
var msg_sched_label_configure = 'Configure';
var msg_sched_label_starttime = 'Start Time';
var msg_sched_label_endtime = 'End Time';
var msg_sched_label_record = 'Record';
var msg_sched_label_audio = 'Audio';
var msg_sched_dialog_title1 = 'Schedule Configuration';
var msg_sched_dialog_label_time = 'Time';
var msg_sched_dialog_label_starttime = 'Start Time:';
var msg_sched_dialog_label_endtime = 'End Time:';
var msg_sched_dialog_label_prerecord = 'Pre-record';
var msg_sched_dialog_label_postrecord = 'Post-record';
var msg_sched_dialog_label_sec = '&nbsp;sec.';
var msg_sched_dialog_label_max = 'Max';
var msg_sched_label_enableaudio = 'Enable Audio';
var msg_sched_dialog_label_alwaysrec = 'Always Record';
var msg_sched_dialog_label_eventrec = 'Record on Event';
var msg_sched_dialog_label_motion = 'Motion';
var msg_sched_dialog_label_on = 'on';
var msg_sched_dialog_label_di = 'Digital Input';
var msg_sched_dialog_label_input = 'Input';
var weekStr = new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat");

// ipcam_settings.asp
var msg_set_box_title = 'CAMERA SETUP';
var msg_set_box_text = 'To manually add the camera, enter the IP address of the camera.';
var msg_set_label_cameraidx = 'Index';
var msg_set_label_cameraname = 'Name';
var msg_set_label_address = 'Address';
var msg_set_label_port = 'Port';
var msg_set_label_username = 'Administrator Name';
var msg_set_label_password = 'Password';
var msg_set_label_camerachannel = 'Camera Channel';
var msg_set_label_protocol = 'Protocol';
var msg_set_label_tcp = 'TCP';
var msg_set_label_udp = 'UDP';
var msg_set_label_http = 'HTTP';
var msg_set_label_vendor = 'Vendor';
var msg_set_label_model = 'Model';
var msg_set_btn_autodetection = 'Auto Detection';
var msg_set_btn_clear = 'Clear';
var msg_set_box_title2 = 'CAMERA LIST';
var msg_set_help_text = 'The following list briefly describes the <b>Camera Setup</b> menu items:<br><br>'+
'<b>Camera Channel:</b> Select the number of analog cameras supported by one video server from the list.<br><br>'+
'<b>Vendor:</b> Displays the manufacturer\'s name.<br><br>'+
'<b>Auto Detection:</b> Click to automatically detect all the information (such as'+
'        camera channel, protocol used, vendor, model number) of the camera.<br><br>'+
'<b>Note:</b> <br>'+
'<em>Some cameras will limit the login authority to the administrator only.</em>';
var msg_set_tooltip_edit = 'Modify this IP Camera';
var msg_set_label_camera = 'Camera';
var msg_set_updateok = 'Update IP Camera Setting Successfully!!!';
var msg_set_updatefailed = 'Update IP Camera Setting Failed!!!';
var msg_set_invalidsettings = 'Your camera settings is not valid';
var msg_set_err_cameraname = 'Camera name Can\'t contain \',\'';
var msg_set_err_porterr1 = 'The port should be a positive number';
var msg_set_err_porterr2 = 'The port should be between 1 and 65535';
var msg_set_err_selectfirst = 'You should select a camera to modyfy first!';
var msg_set_confirm_emptyusername = 'The administrator name is empty.\nAre you sure?';
var msg_set_label_index = 'Index';

// ipcam_status.asp
var msg_status_box_title = 'CAMERA STATUS';
var msg_status_box_text = 'This page displays the camera and recording status of the camera.';
var msg_status_label_lastupdate = 'Last Update at';
var msg_status_box_title2 = 'DISK STATUS';
var msg_status_help_text = 'The following list briefly describes the Camera and Recording Status menu items:<br><br>'+
'<b>Connection Status:</b> Click Connect or Disconnect to change the connection status.<br><br>'+
'<b>Recording Status:</b> Set the recording schedule of the camera.<br><br>'+
'<b>Frame Rate:</b> Displays the frame rate of the camera.<br><br>'+
'<b>Bit Rate:</b> Displays the transmission bit rate of the camera.';
var msg_status_label_totalhd = 'Total Hard Drive Capacity:';
var msg_status_label_freespace = 'Unused Space:';
var msg_status_label_estime = 'Estimated Total Recording Time:';
var msg_status_label_daysand = '&nbsp;day(s) and&nbsp;';
var msg_status_label_hours = '&nbsp;hour(s)';
var msg_status_label_estime2 = 'Estimated Remaining Recording Time:';
var msg_status_btn_disconnect = 'Disconnect';
var msg_status_btn_connect = 'Connect';
var msg_status_label_connecting = 'Connecting';
var msg_status_label_connected = 'Connected';
var msg_status_label_disconnect = 'Disconnect';
var msg_status_label_recording = 'Recording';
var msg_status_label_norecording = 'No Recording';
var msg_status_label_alwaysrecording = 'Always recording';
var msg_status_label_stopped = 'Stopped';
var msg_status_label_recording2 = 'Recording';
var msg_status_label_schedrecording = 'Schedule Recording';
var msg_status_label_index = 'Index';
var msg_status_label_name = 'Name';
var msg_status_label_address = 'Address';
var msg_status_label_connstatus = 'Connection Status';
var msg_status_label_recstatus = 'Recording Status';
var msg_status_label_framerate = 'Frame Rate';
var msg_status_label_bitrate = 'Bit Rate';
var msg_status_text_loading = 'Load Camera Status...';

// ipcam_upnp.asp
var msg_upnp_box_title = 'CAMERA SEARCH';
var msg_upnp_box_text = 'Click <b>Search</b> to list out all the UPnP cameras.';
var msg_upnp_box_title2 = 'CAMERA LIST';
var msg_upnp_box_title3 = 'UPNP SEARCH';
var msg_upnp_btn_search = 'Search';
var msg_upnp_help_text = 'To add a camera:<br>'+
'1. Click + to add a camera into the list.'+
'The camera setting page appears.<br><br>'+
'2. Select the camera you want to add.<br><br>'+
'3. Enter the camera name, user name and password details. Please input user name ("admin" is the user name for every D-link\'s cameras) and password in order to access and configure the cameras using the NVR\'s UI.<br><br>'+
'<b>Notes</b><br><em>'+
'- Some cameras will limit the login authority to the administrator only.<br><br>'+
'- To add cameras without the UPnP function, please go to <b>Camera Setup</b> menu and'+
'enter the IP address manually.<br><br>'+
'- You may not be able to see all the cameras on your first search. It takes time for the devices to respond to UPnP request.'+
'Please click search again.</em>';
var msg_upnp_box_title4 = 'CAMERA SETTINGS:';
var msg_upnp_box_title5 = 'Add IP Camera';
var msg_upnp_label_cameraname = 'Camera Name';
var msg_upnp_label_ipaddr = 'IP Address';
var msg_upnp_label_port = 'Port';
var msg_upnp_label_username = 'Administrator Name';
var msg_upnp_label_password = 'Password';
var msg_upnp_label_addtoch = 'Add to channel';
var msg_upnp_label_protocol = 'Protocol';
var msg_upnp_label_vendor = 'Vendor';
var msg_upnp_label_model = 'Model';
var msg_upnp_box_title6 = 'Current Camera Settings';
var msg_upnp_btn_add = 'Add';
var msg_upnp_btn_cancel = 'Cancel';
var msg_upnp_text_searching = 'Search UPnP devices...';
var msg_upnp_text_waiting = 'Please wait...';
var msg_upnp_text_noupnpdev = 'Can\'t find UPnP devices!';
var msg_upnp_label_index = 'Index';
var msg_upnp_label_ipaddr2 = 'IP Addr';
var msg_upnp_tooltip_addcamera = 'Add IP Camera';
var msg_upnp_label_mac = 'MAC';
var msg_upnp_label_searching = 'Searching...';
var msg_upnp_label_searchover = 'Search Complete';
var msg_upnp_confirm_emptyusername = 'The administrator name is empty.\nAre you sure?';
var msg_upnp_confirm_overwrite = 'Do you want to overwrite the settings?';
var msg_upnp_updateok = 'Update IP camera successfully!';
var msg_upnp_updatefailed = 'Update IP camera failed!';

// liveserver.asp
var msg_service_box_title = 'LIVE AND PLAYBACK SETUP';
var msg_service_box_text = 'For live viewing and playback over the internet, you need to dedicate a port for the streaming server.';
var msg_service_box_title2 = 'LIVE STREAMING SERVER';
var msg_service_label_port = 'Port';
var msg_service_label_maxconn = 'Maximum Connections';
var msg_service_label_title3 = 'PLAYBACK SERVER';
var msg_service_label_maxusers = 'Maximum Users';
var msg_service_label_wblist = 'ALLOWED/BLOCKED LIST';
var msg_service_label_whitelist = 'Allowed List';
var msg_service_label_blacklist = 'Blocked List';
var msg_service_label_enable = 'Enable';
var msg_service_label_iprange = 'IP Range';
var msg_service_label_to = 'to';
var msg_service_btn_addwhite = 'Add to Allowed List';
var msg_service_btn_addblack = 'Add to Blocked List';
var msg_service_help_text = 'If NVR is placed behind a NAT router, open the port on the router for the Live'+
'and Playback streaming server. The following list briefly describes the <b>Live and Playback Setup</b> menu items:<BR><BR>'+
'<b>Maximum Connections:</b> The maximum number of remote connections is 32.<BR><BR>'+
'<b>Maximum Users:</b> The maximum number of users for the playback server is 8.<BR><BR>'+
'<b>Allowed List:</b> Allows only certain IP Addresses to log in for live view and playback<BR><BR>'+
'<b>Blocked List:</b> IP addresses in this list will always be blocked<BR><BR>'+
'<b>Note</b> <BR>'+
'<EM>If the maximum number of'+
'connections is 16 and if a user connects to 4 cameras, the number of connected users'+
'is 4 and not 16.</EM>';
var msg_service_tooltip_deleteiprange = 'Delete this ip range';
var msg_service_label_deny = 'Deny';
var msg_service_label_accept = 'Accept';
var msg_service_label_index = 'Index';
var msg_service_label_access = 'Access';
var msg_service_label_delete = 'Delete';
var msg_service_label_checkport = 'Check port...';
var msg_service_label_emptyip = 'IP can not be Empty.';
var msg_service_label_badipfmt = 'IP Address Format Error.';
var msg_service_confirm_delete = 'Are you sure to delete it?';
var msg_service_label_pbportused = 'Playback Server Port(';
var msg_service_label_lvportused = 'Live Server Port(';
var msg_service_label_portused = ') is used!';
var msg_service_label_fetcherr = 'Fetch Port Check Result failed!';
var msg_service_label_lvporterr = 'The port for Live Streaming Server should be a positive number';
var msg_service_label_lvporterr2 = 'The port for Live Streaming Server should be between 1 and 65535';
var msg_service_label_pbporterr = 'The port for Playback Server should be a positive number';
var msg_service_label_pbporterr2 = 'The port for Playback Server should be between 1 and 65535';
var msg_service_label_lvmaxconnerr = 'The maximum connections for Live Streaming Server should be a positive number';
var msg_service_label_lvmaxconnerr2 = 'The connections for Live Streaming Server should be between 1 and 32';
var msg_service_label_pbmaxusererr = 'The maximum users for Playback Server should be a positive number';
var msg_service_label_pbmaxusererr2 = 'The users for Playback Server should be between 1 and 8';
var msg_service_label_sameport = 'You can\'t set those two services as the same port!';
var msg_service_label_lvbadport = 'You can\'t set the port of Liveview service as ';
var msg_service_label_pbbadport = 'You can\'t set the port of Playback service as ';
var msg_service_label_badportrange = 'It should be between 1 and 65535.';

// nvrlog.asp
var msg_nvrlog_box_title = 'NVR LOG';
var msg_nvrlog_box_text = 'The screen displays the system event list of your NVR.';
var msg_nvrlog_box_title2 = 'NVR LOG INFORMATION';
var msg_nvrlog_box_title3 = 'NVR EVENT LOG INFORMATION';
var msg_nvrlog_btn_query = 'Query';
var msg_nvrlog_help_text = 'The following list briefly describes the NVR Event list items:<br><br>'+
'<b>NVR Log:</b> Displays the log information of NVR, for example stop recording'+
'or NVR system start.<br><br>'+
'<b>NVR Event Log:</b> Displays the event log information, for example motion'+
'detection or when a camera connection is lost.';
var msg_nvrlog_label_date = 'Date';
var msg_nvrlog_label_time = 'Time';
var msg_nvrlog_label_log = 'Log';
var msg_nvrlog_label_nologs = 'No logs';
var msg_nvrlog_label_nologsyet = 'There are no logs yet!';
var msg_nvrlog_label_load = 'Load';
var msg_nvrlog_label_logs = ' logs...';
var msg_nvrlog_label_thereno = 'There are no ';
var msg_nvrlog_label_logsyet = ' logs yet...';

// smtp.asp
var msg_smtp_box_title = 'E-MAIL SETUP';
var msg_smtp_box_text = 'You can set up your SMTP server to send e-mail alerts to notify you when an event occurs.';
var msg_smtp_box_title2 = 'SMTP SERVER';
var msg_smtp_label_serverip = 'Server Address';
var msg_smtp_label_sender = 'Sender';
var msg_smtp_label_subject = 'Subject';
var msg_smtp_label_body = 'Body of Message';
var msg_smtp_label_auth = 'SMTP Authentication';
var msg_smtp_label_username = 'User Name';
var msg_smtp_label_password = 'Password';
var msg_smtp_box_title3 = 'CONTACT';
var msg_smtp_label_email = 'Email';
var msg_smtp_help_text = 'The following list briefly describes the <b>SMTP Server</b> settings menu items:<br><br>'+
'<b>Body of Message:</b> Enter your e-mail message.<br><br>'+
'<b>SMTP Authentication:</b> Before sending out an e-mail, enter the user name'+
'and password for SMTP authentication.<br><br>'+
'<b>Add Contact:</b> Add a new contact into the contact list.';
var msg_smtp_tooltip_delete = 'Delete this contactor';
var msg_smtp_label_name = 'Name';
var msg_smtp_label_delete = 'Delete';
var msg_smtp_label_emptyinsert = 'Name and E-Mail can not be Empty.';
var msg_smtp_label_bademail = 'Your email address is not correct!';
var msg_smtp_confirm_delete = 'Are you sure to delete this contactor?';
var msg_smtp_btn_addcontact = 'Add Contact';

// ipcam_event.asp
var msg_event_box_title = 'EVENT SETUP';
var msg_event_box_text726 = 'Select the camera from the <b>Camera List</b>, and then choose one of the following three events. Connection Lost, Motion Detected or External Input.<br><br><b>Hard Disk Space Full:</b> When the hard disk space is full, the NVR triggers an action.<br><br><b>E-Mail:</b> When an event occurs, the system will send out e-mail notifications. Please do ensure that you have configured the E-Mail Setup first.';
var msg_event_box_text722 = 'Select the camera from the <b>Camera List</b>, and enable the event by selecting the checkbox of <b>Hard Disk Space Full</b>. Then, select <b>Add</b> and then <b>Email</b>. Last, select the pre-set email address/ contact who will receive the email notification (action).';
var msg_event_box_title2 = 'EVENT ACTION MANAGER';
var msg_event_label_cameralist = 'Camera List';
var msg_event_label_eventandact = 'Event &amp; Action';
var msg_event_help_text726 = '<b>Connection Lost:</b> When a connection between the camera and NVR is lost, the NVR triggers an action.<br><br>'+
'<b>Motion Detected:</b> When video motion is detected, the camera triggers an action.<br><br>'+
'<b>Input:</b> Any external input can trigger an action.'+
'<b>Output:</b> When an event occurs, the system sends out an output signal to other connected devices.<br><br>'+
'<b>E-Mail:</b> When an event occurs, the system will send e-mail notifications. Ensure to add an e-mail address first.<br><br>'+
'<b>Notes</b><br>'+
'<em>'+
'- When configuring the <b>Motion Detected</b> event, ensure to setup the motion detection function in your camera first.<br><br>'+
'- You can also set up an event action, when the hard disk space is full.'+
'</em>';
var msg_event_help_text722 = '<b>Hard Disk Space Full:</b> When the hard disk space is full, the NVR triggers an action.<br><br>'+
'<b>E-Mail:</b> When an event occurs, the system will send out e-mail notifications. Please do ensure that you have configured the E-Mail Setup first.<br><br>';
var msg_event_label_errstarttime = 'Your start time is not correct.';
var msg_event_label_errendtime = 'Your end time is not correct.';
var msg_event_label_erracttime = 'Active time settings are not valid!';
var msg_event_label_camera = 'Camera';
var msg_event_label_connlost = 'Connection Lost';
var msg_event_label_motiondet = 'Motion Detected';
var msg_event_label_input = 'Input';
var msg_event_label_diskfull = 'Hard Disk Space Full';
var msg_event_label_output = 'Output';
var msg_event_label_email = 'Email';
var msg_event_label_trigger = 'Trigger';
var msg_event_label_action = 'Action';
var msg_event_label_option = 'Options';
var msg_event_label_configure = 'Configure';
var msg_event_label_add = 'Add';
var msg_event_label_delete = 'Delete';
var msg_event_label_contactlist = 'Contact List';
var msg_event_label_dolist = 'Digital Output List';
var msg_event_label_digitaloutput = 'Digital Output';
var msg_event_label_on = 'on';
var msg_event_label_eventconf = 'Event Configuration';
var msg_event_label_enableevent = 'Enable Event';
var msg_event_label_activeperiod = 'Activation Period';
var msg_event_label_alwaysactive = 'Always Active';
var msg_event_label_activeat = 'Activate according to set schedule';
var msg_event_label_to = 'to';
var msg_event_label_iotype = 'IO Type';
var msg_event_label_normalopen = 'N/O';
var msg_event_label_normalclose = 'N/C';
var msg_event_label_ok = 'Ok';
var msg_event_label_cancel = 'Cancel';

// modify_user_privileges.asp
var msg_modpriv_label_username = 'User Name';
var msg_modpriv_label_lvpriv = 'Live View Privileges';
var msg_modpriv_label_channel = 'Channel';
var msg_modpriv_label_ptzcontrol = 'PTZ Control';
var msg_modpriv_label_iocontrol = 'IO Control';
var msg_modpriv_label_pbpriv = 'Playback Privileges';
var msg_modpriv_label_pbbackup = 'Backup Data';
var msg_modpriv_label_submitfailed = 'Submit failed.';

// camera_wizard.asp
var msg_camwizard_box_title = 'NVR CAMERA CONFIGURATION';
var msg_camwizard_box_text = 'New Camera Configuration<br>'+
'1. The NVR will automatically search for any available network cameras.<br>'+
'2. Cameras will be added in order based on their default ID, password, and name.<br>'+
'3. Once the search finishes, if the NVR has found any cameras, they will now be available for recording and live display.<br>'+
'4. If the wizard does not find any cameras, please first make sure that your cameras are properly connected. Click Live View to try again.<br>';
var msg_camwizard_confirm_exitwizard = 'Are you sure to exit camera setup wizard?';
var msg_camwizard_label_startrec = '<p>Start Always Recording Mode</p>';
var msg_camwizard_label_addcamera = 'Add Camera';
var msg_camwizard_label_pleasewait = '<p>Finish Setup Camera. Please wait a moment...</p>';
var msg_camwizard_label_searching = 'Search Camera...';
