// Constants that configure the site.

var DEBUG_ENABLE = false;							// Global enable flag for debugging
var DEBUG_EVENT_TYPES = true;						// Logs the event handler that triggered the function call (if possible)
var DEBUG_FUNCTION_OWNERS = true;					// Logs the owner id html attribute of the object that triggered the function call (if possible)
var DEBUG_LOG_CRONOLOGICALLY = false;				// Log newest messages in bottom of console (true) or newest messages in top (false)
var CLEAR_CONSOLE_ON_PAGELOAD = true;
var DEBUG_CONSOLE_INIT_MESSAGE = "ZENDebug v1.0";
var DEBUG_ALL = 1;
var DEBUG_ZPS_ONLY = 2;
var DEBUG_LEVEL = DEBUG_ZPS_ONLY;

var MAIN_GFX_DIR = "gfx";

var APP_IS_BUSY = false;



// Global flags for autospeaks
var SHOW_PROGRESS_BAR = true;
var SHOW_PERCENT_LOADED_IN_PROGRESS_BAR = true;
var SHOW_DRAG_BAR = true;
var SHOW_NUMERICAL_PROGRESS = false;
//var AUTOPLAY_ON_FIRST_ENTRY = false;

var ZENMediaPlayerSingeltonInstance;

var ZENMediaPlayerRewindsToFrame = 2;


// Config for autospeak / video dragbar
var DRAGBAR_MIN_X = 691;
var DRAGBAR_WIDTH = 97;

var AUTOPLAY_ALWAYS = 1;
var AUTOPLAY_ON_FIRST_ENTRY = 2;
var AUTOPLAY_NEVER = 4;

var FORCE_FLASH_RECACHE = false;



// Effect controller related
var EFFECT_FADE = 1;
var EFFECT_SLIDE_VERTICALLY = 2;
var EFFECT_SLIDE_HORIZONTALLY = 4;
var EFFECT_PUFF = 8;
var EFFECT_WIDTH = 16;
var EFFECT_HEIGHT = 32;
var EFFECT_REVERSED_PUFF = 64;
var EFFECT_ZOOM = 128;

var ZEN_MOVIE_HAS_ENDED = 1;



// SCORM Related
var SCO_RIGHT = 1;
var SCO_WRONG = 2;

var ZENSCOIdPrefix = "ZENID";

