var monitorData = new Array(); monitorData[monitorData.length] = { 'id': Id() ?>, 'connKey': connKey() ?>, 'width': ViewWidth() ?>, 'height':ViewHeight() ?>, 'url': 'UrlToIndex( ZM_MIN_STREAMING_PORT ? ($monitor->Id() + ZM_MIN_STREAMING_PORT) : '') ?>', 'url_to_zms': 'UrlToZMS( ZM_MIN_STREAMING_PORT ? ($monitor->Id() + ZM_MIN_STREAMING_PORT) : '') ?>', 'type': 'Type() ?>', 'refresh': 'Refresh() ?>' }; var STATE_IDLE = ; var STATE_PREALARM = ; var STATE_ALARM = ; var STATE_ALERT = ; var STATE_TAPE = ; var stateStrings = new Array(); stateStrings[STATE_IDLE] = ""; stateStrings[STATE_PREALARM] = ""; stateStrings[STATE_ALARM] = ""; stateStrings[STATE_ALERT] = ""; stateStrings[STATE_TAPE] = ""; var CMD_PAUSE = ; var CMD_PLAY = ; var CMD_STOP = ; var CMD_QUERY = ; var CMD_QUIT = ; var statusRefreshTimeout = ;