// // Import constants // 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 deleteString = ""; var CMD_NONE = ; var CMD_PAUSE = ; var CMD_PLAY = ; var CMD_STOP = ; var CMD_FASTFWD = ; var CMD_SLOWFWD = ; var CMD_SLOWREV = ; var CMD_FASTREV = ; var CMD_ZOOMIN = ; var CMD_ZOOMOUT = ; var CMD_PAN = ; var CMD_SCALE = ; var CMD_PREV = ; var CMD_NEXT = ; var CMD_SEEK = ; var CMD_QUERY = ; var SCALE_BASE = ; var SOUND_ON_ALARM = ; var POPUP_ON_ALARM = ; var streamMode = ""; var showMode = ""; var connKey = ''; var maxDisplayEvents = ; var monitorId = Id() ?>; var monitorWidth = Width() ?>; var monitorHeight = Height() ?>; var monitorUrl = 'Server()->Url() . ( ZM_MIN_STREAMING_PORT ? ':'. (ZM_MIN_STREAMING_PORT+$monitor->Id()) : '' ) ) ?>'; var monitorType = 'Type() ) ?>'; var monitorRefresh = 'Refresh() ) ?>'; var scale = ''; var statusRefreshTimeout = ; var eventsRefreshTimeout = ; var imageRefreshTimeout = ; var canEditMonitors = ; var canStreamNative = ; var canPlayPauseAudio = Browser.ie; CanMoveMap() ) { ?> var imageControlMode = "moveMap"; CanMoveRel() ) { ?> var imageControlMode = "movePseudoMap"; CanMoveCon() ) { ?> var imageControlMode = "moveConMap"; var imageControlMode = null; var refreshApplet = ; var appletRefreshTime = ;