var BUSY_STATE = 1;
var IDLE_STATE = 2;
var RECORD_BEING_UPDATED = 4;
var SUMMARYLIST_LOADING = 8;

// Controls ids
var CONTROL_MOVEFIRST = 1;
var CONTROL_MOVEPREVIOUS = 2;
var CONTROL_MOVENEXT = 3;
var CONTROL_MOVELAST = 4;
var CONTROL_ADDNEW = 5;
var CONTROL_SAVE = 6;
var CONTROL_CANCEL = 7;
var CONTROL_PAGEUP = 8;
var CONTROL_PAGEDOWN = 9;
var CONTROL_VIEW = 0;
var CONTROL_SUBMIT = 10;
var CONTROL_ADD = 11;
var CONTROL_REMOVE = 12;
var CONTROL_REFRESH = 13;
var CONTROL_PROP = 14;
var CONTROL_DETAILS = 15;
var CONTROL_GETLATEST = 16;
var CONTROL_CHECKIN = 17;
var CONTROL_CHECKOUT = 18;
var CONTROL_OTHER = 19;
var CONTROL_PRINT = 20;
var CONTROL_COPY = 21;
var CONTROL_UPDATESLA = 22;
var CONTROL_DELETE = 23;
var CONTROL_COPY_PARCHD = 24;

// Client Side array
var ARR_RECORD_NUMBER=0;
var ARR_REVISION_NUMBER=1;

var NO_CURRENT_RECORD=-1;

//On Set and Get
var POSITION_FIRSTONPAGE=1;
var POSITION_LASTONPAGE=2;
var POSITION_FIRSTONRS=4;
var POSITION_LASTONRS=8;
var POSITION_FIRSTPAGE=16;
var POSITION_LASTPAGE=32;
//Only on Get
var POSITION_ONEPAGE=64;
//Only on Set
var POSITION_PAGEUP=128;
var POSITION_PAGEDOWN=256;


// Constants for Status bar
var STATUS_IDLE=0;
var STATUS_LOADING=1;
var STATUS_EDITING=2;
var STATUS_NEWRECORD=3; 
var STATUS_CHANGEPAGE=4;
var STATUS_IDLESIMPLE=5;
var STATUS_COUNT=STATUS_IDLESIMPLE+1;

var STATUS_IMG_NOTHING=0;
var STATUS_IMG_PEN=1;
var STATUS_IMG_HOURGLASS=2;
var STATUS_IMG_OPENFOLDER=3;
var STATUS_IMG_COUNT=STATUS_IMG_OPENFOLDER+1;

// Features
var ANY_FEATURE=0;
var FEATURE_TOPTOOLBAR = 1;
var FEATURE_TOOLBAR = 2;
var FEATURE_SQE = 4;
var FEATURE_SUMLISTHEADER=8;
var FEATURE_SUMLIST=16;
var FEATURE_TABS=32;
var FEATURE_RECORD=64;
var FEATURE_NEW=128;
var FEATURE_CHANGE=256;
var FEATURE_PASSWORD=512;
var FEATURE_ORIGINATORS=1024;
var FEATURE_USERS=2048;
var FEATURE_REPORTS=4096;
var FEATURE_SUBMIT=8192;
var FEATURE_NOLONGONSCREEN=16384;
var FEATURE_ORIGINATOR=32768;
var FEATURE_READONLY=73727; //65535;
var FEATURE_LIMITED_EDITABLE_FLDS=131072;
var FEATURE_AUTOREFRESH=262144;
var FEATURE_KB_VIEW=524288;
var FEATURE_READONLY_REC=65536;
var FEATURE_FAQ_VIEW=1048576;
var FEATURE_SURVEY_VIEW=4194304;
var FEATURE_WIZARD_VIEW=8289;

// Frames DEFAULT_HEIGHT
var DEFAULT_TOPTOOLBAR=60;
var SOV_TOP_BORDER_RECORD=30;
var DEFAULT_TOOLBAR=40;
var DEFAULT_TOOLBARB=0;
var DEFAULT_SQE=0;
var DEFAULT_SUMLIST=-1;
var DEFAULT_TABS=30;
var DEFAULT_RECORD=-1;
var INITIALIZE_RECORD=-2;
var DEFAULT_COMMANDBAR=40;
var DEFAULT_LOADDATA=1;
var DEFAULT_SUMLISTHEADER=0;
var DEFAULT_SQE_KB=140;
var FRAMES_PADDING=5;

var DEFAULT_FIXED_FRAMES_HEIGHT=DEFAULT_TOPTOOLBAR+DEFAULT_TOOLBAR+DEFAULT_SQE+DEFAULT_TOOLBARB+DEFAULT_TABS+DEFAULT_COMMANDBAR+DEFAULT_LOADDATA+DEFAULT_SUMLISTHEADER+FRAMES_PADDING;
//Constants for commands used in ControlsSS
var COMMAND_CANCEL="Cancel";
var COMMAND_SAVE="Save";


//Constants for colors
var WHITE_COLOR="#FFFFFF";
var BLACK_COLOR="#000000";




// Constants for Cookies
var COOKIE_FRAMESET="MetaquestCensusWebFrameSet";

// Constants for the object types
var OBJ_TYPE_COMBOX="cbo";
var OBJ_TYPE_TEXTBOX="txt";

//Constants for CustomCode
var CUSTOM_ARRAY_FIELDS=  new Array("cbo_52_Combo164","cbo_13_cboOriginator","cbo_21_cboSubstate");

//Constants for DependentFields
var DEP_CALLER_FORM="Rule";

//Constants for Time
var MONTHS=new Array("#RES#689#","#RES#690#","#RES#691#","#RES#692#","#RES#693#","#RES#694#","#RES#695#","#RES#696#","#RES#697#","#RES#698#","#RES#699#","#RES#700#");

//Constans for Record state
var NORMAL_RECORD=0;
var CURRENT_RECORD=1;	
var EDIT_RECORD=2;

//Constants for messages
MSG__RECORD_EDIT_MODE=g_MqRef.RESX["SL.MSG__RECORD_EDIT_MODE"];
MSG_SUMMARY_REFRESH_WHEN_RECORD_LOADING=g_MqRef.RESX["SL.MSG_SUMMARY_REFRESH_WHEN_RECORD_LOADING"];
MSG_RECORD_LOAD_WHEN_SUMMARY_REFRESH=g_MqRef.RESX["SL.MSG_RECORD_LOAD_WHEN_SUMMARY_REFRESH"];
MSG_SUMMARY_REFRESH_WHEN_REQUEST=g_MqRef.RESX["SL.MSG_SUMMARY_REFRESH_WHEN_REQUEST"];
MSG_ERROR_ADDNEW=g_MqRef.RESX["SL.MSG_ERROR_ADDNEW"];
MSG_ERROR_COPY=g_MqRef.RESX["SL.MSG_ERROR_COPY"];

//constants for  type classes
var DIALOG_FORM_CLASS="CMqDialogForm";

//constants for dialog name forms
var DIALOG_CHECK_OUT="dlgCheckOut";
var DIALOG_GET="dlgGet";

//constants for dialog form buttons
var ACTION_OK=0;
var ACTION_CLOSE=1;
var ACTION_CANCEL=2;
var NO_ACTION=3;

//scc messages
var SCC_EXPLORER_DIALOG_TITLE ="#RES#708#";
var MSG_SCC_GET_FILE_ERR="#RES#709#";
var MSG_SCC_CHECKOUT_ERR ="#RES#710#";
var MSG_SCC_CHECKIN_ERR ="#RES#711#";

var MSG_SCC_FOLDER_NOT_FOUND = "#RES#777#";
var MSG_SCC_FILE_DOESNT_EXIST = "#RES#778#";
var MSG_SCC_FILE_NOT_FOLDER = "#RES#779#";
var MSG_CHECKIN_FROM_DIFF = "#RES#780#";
var MSG_CANT_DOWNLOAD_EXE = "#RES#781#";
var MSG_DOWNLOAD_NOT_DONE = "#RES#782#";
var MSG_ERROR_TRY_AGAIN = "#RES#783#";
var MSG_REMOVE_FILE_FROM_REC = "#RES#784#";
var MSG_SELECT_FILE = "#RES#785#";
var MSG_FILE_NOT_CHECKED_OUT = "#RES#786#";

var SCC_HEADER_NAME = "#RES#787#";
var SCC_HEADER_USER = "#RES#788#";
var SCC_HEADER_DATE = "#RES#789#";

//listView.htm
var MSG_FILES_ADDED = "#RES#790#";
var MSG_FILE_ADDED = "#RES#791#";


//TmplSCCLogin.htm
var MSG_ENTER_USERNAME = "#RES#792#";
var MSG_ENTER_CORRECT_PWD = "#RES#793#";

//confirm.htm
var MSG_CONFIRM_ISSUE =g_MqRef.RESX["CONFIRM.ISSUE"];
var MSG_CONFIRM_ISSUE_ID = g_MqRef.RESX["CONFIRM.ISSUE_ID"];
var MSG_CONFIRM_FOLLOWUP_INSTRUCTIONS = g_MqRef.RESX["CONFIRM.FOLLOWUP_INSTRUCTIONS"];
var MSG_CONFIRM_SUBMIT_ANOTHER = g_MqRef.RESX["CONFIRM.ISSUE_SUBMIT_ANOTHER"];

//logon page
var LOGON_PAGE ="logon.asp";

//tmplprefs.htm
var MSG_COMMENTS =g_MqRef.RESX["PREFS.COMMENTS"];
var MSG_COFIRM_CHANGES_SAVED =g_MqRef.RESX["PREFS.CHANGES_SAVED"];
var MSG_EMAIL_COMMENTS =g_MqRef.RESX["PREFS.EMAIL_COMMENTS"];

//Attachment.asp
var MSG_FILE_ALREADY_ATTACHED = "#RES#715#";
var MSG_FILE_ALREADY_LINKED = "#RES#716#";
var MSG_FILE_CONTAINS_SEMICOLON = "#RES#6053#";

//tmplToolbar.js
var TOOLTIP_SHOW_HIDE_ADHOC = "#RES#717#";

//tmplSQE.js
var MSG_NO_ISSUE_IN_QUERY = "#RES#718#";

//tmplCmdBar.js
var MSG_ISSUE_MODIFIED_SINCE_START = "#RES#719#";
var MSG_DROP_CHANGES_OR_COPY_TO_CLIPBOARD = "#RES#720#";

//CustomCode.js
var MSG_SAVE_CHANGES_TO_ISSUE = "#RES#721#";
var MSG_CANCEL_CHANGES_TO_ISSUE = g_MqRef.RESX["CANCEL_CHANGES_TO_ISSUE"];
var MSG_CANCEL_NEW_ISSUE=g_MqRef.RESX["CANCEL_NEW_ISSUE"];
var MSG_ON_CONFLICT = g_MqRef.RESX["CONFLICT_SAVE"];
var MSG_CONFIRM_COPY_ISSUE = "#RES#6028#";

//ControlsUI.js
var TOOLTIP_MOVEFIRST=g_MqRef.RESX["CTRLUI.MOVE_FIRST"];
var TOOLTIP_MOVEPREVIOUS="#RES#725#";
var TOOLTIP_MOVENEXT="#RES#726#";
var TOOLTIP_MOVELAST=g_MqRef.RESX["CTRLUI.MOVE_LAST"];
var TOOLTIP_ADDNEW=g_MqRef.RESX["CTRLUI.NEW_TT"];
var TOOLTIP_SAVE=g_MqRef.RESX["CTRLUI.SAVE_TT"];
var TOOLTIP_CANCEL=g_MqRef.RESX["CTRLUI.CANCEL_TT"];
var TOOLTIP_PAGEUP=g_MqRef.RESX["CTRLUI.PAGE_UP"];
var TOOLTIP_PAGEDOWN=g_MqRef.RESX["CTRLUI.PAGE_DOWN"];
var TOOLTIP_SUBMIT=g_MqRef.RESX["CTRLUI.SUBMIT"];
var TOOLTIP_ADD="#RES#734#";
var TOOLTIP_REMOVE="#RES#735#";
var TOOLTIP_REFRESH="#RES#736#";
var TOOLTIP_PROP="#RES#737#";
var TOOLTIP_DETAILS="#RES#738#";
var TOOLTIP_GETLATEST="#RES#739#";
var TOOLTIP_CHECKIN="#RES#740#";
var TOOLTIP_CHECKOUT="#RES#741#";
var TOOLTIP_OTHER="#RES#742#";
var TOOLTIP_PRINT=g_MqRef.RESX["CTRLUI.PRINT_TT"];
var TOOLTIP_COPY=g_MqRef.RESX["CTRLUI.COPY_TT"];
var TOOLTIP_UPDATESLA=g_MqRef.RESX["CTRLUI.UPDATE_SLA_TT"];
var TOOLTIP_DELETE=g_MqRef.RESX["CTRLUI.DELETE_TT"];
var TOOLTIP_COPY_PARCHD=g_MqRef.RESX["CTRLUI.COPY_CHD_TT"];

var CAPTION_ADDNEW=g_MqRef.RESX["CTRLUI.NEW"];
var CAPTION_SAVE=g_MqRef.RESX["CTRLUI.SAVE"];
var CAPTION_CANCEL=g_MqRef.RESX["CTRLUI.CANCEL"];
var CAPTION_SUBMIT=g_MqRef.RESX["CTRLUI.SUBMIT"];
var CAPTION_ADD="#RES#748#";
var CAPTION_REMOVE="#RES#749#";
var CAPTION_REFRESH="#RES#750#";
var CAPTION_PROP="#RES#751#";
var CAPTION_DETAILS="#RES#752#";
var CAPTION_GETLATEST="#RES#753#";
var CAPTION_CHECKIN="#RES#754#";
var CAPTION_CHECKOUT="#RES#755#";
var CAPTION_OTHER="#RES#756#";
var CAPTION_PRINT=g_MqRef.RESX["CTRLUI.PRINT"];
var CAPTION_COPY=g_MqRef.RESX["CTRLUI.COPY"];
var CAPTION_UPDATESLA=g_MqRef.RESX["CTRLUI.UPDATE_SLA"];
var CAPTION_DELETE=g_MqRef.RESX["CTRLUI.DELETE"];
var CAPTION_COPY_PARCHD=g_MqRef.RESX["CTRLUI.COPY_CHD"];

//ControlsSS.js
var MSG_EXIT_WITHOUT_SAVE = g_MqRef.RESX["MSG_EXIT_WITHOUT_SAVE"];
var MSG_EXIT_WHILE_VIEW_BUSY = "#RES#759#";
var MSG_SLA_APPLIED_SUCCESSFULLY = g_MqRef.RESX["MSG_SLA_APPLIED_SUCCESSFULLY"];

//ControlsAction.js
var MSG_NO_ISSUE_IN_QUERY = g_MqRef.RESX["NO_ISSUE_IN_QUERY"];
var MSG_NUM_ISSUES_IN_QUERY = g_MqRef.RESX["DISPLAY_PAGE_NUMBERS"];

//tmplPrefs.js
var MSG_ENTER_HEIGHT =  g_MqRef.RESX["PREFS.ENTER_HEIGHT"];
var MSG_HEIGHT_NUMERIC = g_MqRef.RESX["PREFS.HEIGHT_NUMERIC"];
var MSG_MAX_MIN_HEIGHT = g_MqRef.RESX["PREFS.MAX_MIN_HEIGHT"];
var MSG_ENTER_NUM_TABS = g_MqRef.RESX["PREFS.ENTER_NUM_TABS"];
var MSG_NUM_TABS_NUMERIC = g_MqRef.RESX["PREFS.NUM_TABS_NUMERIC"];
var MSG_SPECIFY_EMAIL = g_MqRef.RESX["PREFS.SPECIFY_EMAIL"];
var MSG_EMAIL_SIGNATURE_APPLIES_TO = g_MqRef.RESX["PREFS.SIG_APPLIES_TO"];

//Prefs.js
var LBL_HEIGHT = g_MqRef.RESX["PREFS.HEIGHT"];
var LBL_HEIGHT_SUMMLIST = g_MqRef.RESX["PREFS.SUMMARY_LIST"];
var LBL_HEIGHT_DETAILS = g_MqRef.RESX["PREFS.DETAILS"];
var LBL_TABS = g_MqRef.RESX["PREFS.TABS"];
var LBL_MAX_TABS = g_MqRef.RESX["PREFS.MAX_TABS"];
var LBL_SEARCH = g_MqRef.RESX["PREFS.SEARCH"];
var LBL_SIMPLE = g_MqRef.RESX["PREFS.SIMPLE"];
var LBL_ADVANCED = g_MqRef.RESX["PREFS.ADVANCED"];
var LBL_SQE_DESC = g_MqRef.RESX["PREFS.SQE_DESC"];
var LBL_REPLY_AS_ADDRESS = g_MqRef.RESX["PREFS.REPLY_AS_ADDR"];
var LBL_READ_RECEIPTS = g_MqRef.RESX["PREFS.READ_RECEIPTS"];
var LBL_EMAIL_SIGNATURE = g_MqRef.RESX["PREFS.EMAIL_SIG"];
var LBL_EMAIL_SIGNATURE_APPLY_TO = g_MqRef.RESX["PREFS.APPLY_TO"];
var LBL_EMAIL_SIGNATURE_APPLY_TO_NEW_EMAILS = g_MqRef.RESX["PREFS.APPLY_TO_NEW"];
var LBL_EMAIL_SIGNATURE_APPLY_TO_REPLIES = g_MqRef.RESX["PREFS.APPLY_TO_REPLY"];
var LBL_EMAIL_SIGNATURE_APPLY_TO_FORWARDS = g_MqRef.RESX["PREFS.APPLY_TO_FORWARD"];
var LBL_EMAIL_SIGNATURE_INSTR = g_MqRef.RESX["PREFS.SIG_INSTR"];
var LBL_EDIT_SIGNATURE = g_MqRef.RESX["PREFS.EDIT_SIG"];
var LBL_REPLY_AS_INSTR = g_MqRef.RESX["PREFS.REPLY_AS_INSTR"];
var LBL_GLOBAL_ADDRESS = g_MqRef.RESX["PREFS.GLOBAL_ADDR"];
var LBL_SPECIFIC_ADDRESS = g_MqRef.RESX["PREFS.SPECIFIC_ADDR"];
var LBL_READ_RECEIPT_INSTR = g_MqRef.RESX["PREFS.READ_RECPT_INSTR"];
var LBL_REQUEST_RECEIPT = g_MqRef.RESX["PREFS.REQUEST_RECPT"];
var OPT_YES = g_MqRef.RESX["PREFS.YES"];
var OPT_NO = g_MqRef.RESX["PREFS.NO"];
var OPT_NOT_SET_VALUE = "-1";

//status.js
var STATUS_IDLE_TEXT = g_MqRef.RESX["STATUS.IDLE_TEXT"];
var STATUS_IDLESIMPLE_TEXT = g_MqRef.RESX["STATUS.IDLESIMPLE_TEXT"];
var STATUS_LOADING_TEXT = g_MqRef.RESX["STATUS.LOADING_TEXT"];
var STATUS_EDITING_TEXT = g_MqRef.RESX["STATUS.EDITING_TEXT"];
var STATUS_NEWRECORD_TEXT = g_MqRef.RESX["STATUS.NEWRECORD_TEXT"];
var STATUS_CHANGEPAGE_TEXT = g_MqRef.RESX["STATUS.CHANGEPAGE_TEXT"];
var STATUS_SCC_TEXT = "#RES#830#";

//censusmain.js
var MSG_TRANSACTION_IN_PROGRESS = "#RES#2229#";
var MSG_RELOAD_TO_TAKE_EFFECT = "#RES#2230#";
var MSG_CANT_MOVE_TABS = "#RES#2231#";

//tmplcensusmain.htm
var CURRENT_REC_RPT = "5002.10";
var COPYRIGHT_MSG="#BRAND#5#";
var mblnShowQuickLinks = true;
var MAIN_BG_CLASS="MainBackground";
var COPYRIGHT_CLASS="copyright";
var mblnShowSidePanel=true;

//controls.js
var MSG_ENTER_VALID_ISSUE_NUMBER = "#RES#2520#";

var FEATURE_NORMAL_REPORT_VIEWER=17;
var FEATURE_EXT_REPORT_VIEWER_1=80;
var FEATURE_EXT_REPORT_VIEWER_2=84;

//TmplConfirmDeleteIssue.htm
var MSG_DELETE_QUESTION=g_MqRef.RESX["DEL.CONFIRM_DELETE"];
var MSG_RECYCLE_ISSUE_NUM=g_MqRef.RESX["DEL.RECYCLE_ID"];
var MSG_DELETE_TITLE=g_MqRef.RESX["DEL.WINTITLE"];
var RECYCLE_ISSUE_OPTION_AVAILABLE = true;

//commandbar.htm
var CMD_BAR_ISSUE_CAPTION="#Mq_vw_caption_sg#:";
var CSS_CMD_BAR_BODY="CommandBarBody";
var DISPLAY_REC_TXT_SIZE="5";

//tmplsummarylist.htm
var SUMM_LST_ISSUE_IMG="CMTrecordWhite.gif";
var SUMM_LST_CURRENT_ISSUE_IMG="CMTRecordCur.gif";

//tmplRecord.htm (start.rec)
var CSS_RECORD_BODY="RecordBody";
var mblnIsUserView=false;
var mblnIsSurveyView=false;
var TITLE_USER_DETAILS=g_MqRef.RESX["TITLE_USER_DETAILS"];
var TITLE_SELECT_VALUE=g_MqRef.RESX["TITLE_SELECT_VALUE"];
var TITLE_START_REMOTE_CONTROL=g_MqRef.RESX["TITLE_START_REMOTE_CONTROL"];
var TITLE_CONNECT_TO_WEB_ADDRESS=g_MqRef.RESX["TITLE_CONNECT_TO_WEB_ADDRESS"];

//Loading.htm
var MSG_LOADING = g_MqRef.RESX["LOADING_PLEASE_WAIT"];


var IMG_STATUS_READY = "ImgOpenFolder.gif";

var COOKIE_NAME_SQE_DEF="DefSQE";
var COOKIE_VAL_SQE_DEF_SIMP="1";
var COOKIE_VAL_SQE_DEF_ADV="2";

var WV_ATTRIB_VAL_YES = "yes";
var WV_ATTRIB_VAL_NO = "no";

var cenTableTypeID_Query=6;
var cenTableTypeID_UsrQry=20;

// Optional behaviours
var SCROLL_TOP_CURR_REC=false;

//Misc
var MSG_NAVIGATE_AWAY = "#RES#6904#";

//TmplTopToolbar

var CURRENT_ISSUE_TMPL_NAME="#RES#6800#";

var MSG_SELECT_REC_REVHIST = g_MqRef.RESX["MSG_SELECT_ISSUE_REV_HIST"];
var MSG_SELECT_REC_EMAIL = g_MqRef.RESX["MSG_SELECT_ISSUE_EMAIL"];
var MSG_SELECT_REC_CONV = g_MqRef.RESX["MSG_SELECT_ISSUE_CONV"];
var MSG_SAVE_REC_CONV = "#RES#7597#";
var MSG_SAVE_REC_EMAIL = "#RES#7598#";
var EDITOR_DLG_TITLE="#RES#6798#";
var EDITOR_DLG_CAPTION="#RES#6799#";

var CAPTION_REPORTS_BUTTON = g_MqRef.RESX["TTOOLBAR.REPORTS"];
var CAPTION_HISTORY_BUTTON = g_MqRef.RESX["TTOOLBAR.HISTORY"];
var CAPTION_EMAIL_BUTTON = g_MqRef.RESX["TTOOLBAR.EMAIL"];
var CAPTION_CONVERSATION_BUTTON = g_MqRef.RESX["TTOOLBAR.CONVERSATION"];
var CAPTION_QUEUE_BUTTON = g_MqRef.RESX["TTOOLBAR.QUEUE"];
var CAPTION_CONTACTS_BUTTON = g_MqRef.RESX["TTOOLBAR.CONTACTS"];
var CAPTION_PASSWORD_BUTTON = g_MqRef.RESX["TTOOLBAR.PASSWORD"];
var CAPTION_DEFAULTS_BUTTON = g_MqRef.RESX["TTOOLBAR.DEFAULTS"];
var CAPTION_OPTIONS_BUTTON = g_MqRef.RESX["TTOOLBAR.OPTIONS"];
var CAPTION_HELP_BUTTON = g_MqRef.RESX["TTOOLBAR.HELP"];
var CAPTION_SWITCH_BUTTON = "#RES#6912#";
var CAPTION_LOGOFF_BUTTON = g_MqRef.RESX["TTOOLBAR.LOGOFF"];
var CAPTION_CONTACTS_SOV_BUTTON = "#RES#552#";
var CAPTION_SOFTWARE_INV_REPORTS = "#RES#4781#";
var CAPTION_HARDWARE_INV_REPORTS = "#RES#4782#";

var TOOLTIP_REPORTS_BUTTON = g_MqRef.RESX["TTOOLBAR.REPORTS"];
var TOOLTIP_HISTORY_BUTTON = g_MqRef.RESX["TTOOLBAR.HISTORY_TT"];
var TOOLTIP_EMAIL_BUTTON = g_MqRef.RESX["TTOOLBAR.EMAIL_TT"];
var TOOLTIP_CONVERSATION_BUTTON = g_MqRef.RESX["TTOOLBAR.CONVERSATION_TT"];
var TOOLTIP_QUEUE_BUTTON = g_MqRef.RESX["TTOOLBAR.QUEUE_TT"];
var TOOLTIP_CONTACTS_BUTTON = g_MqRef.RESX["TTOOLBAR.CONTACTS"];
var TOOLTIP_PASSWORD_BUTTON = g_MqRef.RESX["TTOOLBAR.PASSWORD"];
var TOOLTIP_DEFAULTS_BUTTON = g_MqRef.RESX["TTOOLBAR.DEFAULTS_TT"];
var TOOLTIP_OPTIONS_BUTTON = g_MqRef.RESX["TTOOLBAR.OPTIONS"];
var TOOLTIP_HELP_BUTTON =  g_MqRef.RESX["TTOOLBAR.HELP"];
var TOOLTIP_SWITCH_BUTTON = "#RES#6911#";
var TOOLTIP_LOGOFF_BUTTON = g_MqRef.RESX["TTOOLBAR.LOGOFF"];
var TOOLTIP_SOFTWARE_INV_REPORTS = "#RES#4038#";
var TOOLTIP_HARDWARE_INV_REPORTS = "#RES#4039#";
	
//TmplSQESimple
var MSG_SPECIAL_CHAR_SEARCH_INFO="#RES#6569#";
var LABEL_SIMPLE_SEARCH_TEXTBOX = g_MqRef.RESX["SQE.SEARCH_FOR_LBL"];
var LABEL_SIMPLE_SEARCH_ADVANCED_BUTTON = g_MqRef.RESX["SQE.ADV_SEARCH_TT"];

//TmplSQE
var LABEL_SQE_RETAIN_QUERY = g_MqRef.RESX["SQE.RETAIN_QUERY_LBL"];
var LABEL_SQE_FIELD = g_MqRef.RESX["SQE.FIELD_LBL"];
var LABEL_SQE_TEST = g_MqRef.RESX["SQE.TEST_LBL"];
var LABEL_SQE_VALUE = g_MqRef.RESX["SQE.VALUE_LBL"];
var TOOLTIP_SQE_REFRESH_BUTTON = g_MqRef.RESX["TOOLBAR.REFRESH_QUERY_TT"];
var TOOLTIP_SQE_SAVE_QUERY_BUTTON = g_MqRef.RESX["SQE.SAVE_QUERY_TT"];
var TOOLTIP_SQE_SIMPLE_SEARCH_BUTTON = g_MqRef.RESX["SQE.SIMPLE_SEARCH_TT"];

//TmplToolbar.htm
var LABEL_TOOLBAR_QUERY = g_MqRef.RESX["TOOLBAR.QUERY_LBL"];
var LABEL_TOOLBAR_SORT = g_MqRef.RESX["TOOLBAR.SORT_LBL"];
var LABEL_TOOLBAR_LAYOUT = g_MqRef.RESX["TOOLBAR.LAYOUT_LBL"];
var TOOLTIP_CHANGE_QUERY = g_MqRef.RESX["TOOLBAR.CHANGE_QUERY_TT"];
var TOOLTIP_REFRESH_QUERY = g_MqRef.RESX["TOOLBAR.REFRESH_QUERY_TT"];
		
//TmplQueryList
var MSG_DELETE_SELECTED_QRY="#RES#6557#";
var MSG_CANT_DELETE_CURRENT_QRY="#RES#6558#"
var TOOLTIP_EXECUTE_QUERY = g_MqRef.RESX["QRY_RUN_TT"];
var TOOLTIP_REMOVE_QUERY = g_MqRef.RESX["QRY_DEL_TT"];

//TmplQueries.htm
var HTML_TITLE_QUERIES = "#RES#6556#";

//Generic Tooltips for use with buttons
var TOOLTIP_BTN_CLOSE = g_MqRef.RESX["BUTTON_CLOSE"];
var TOOLTIP_BTN_CANCEL = g_MqRef.RESX["BUTTON_CANCEL"];

//TmplEditMemo.htm
var HTML_TITLE_EDIT_MEMO = "#RES#6404#";
var TOOLTIP_BTN_APPLY_CHANGES_TO_FIELD = "#RES#6546#";

//Tabs.htm
var TOOLTIP_BTN_SHRINK_SUMMARY_LIST = "#RES#524#";
var TOOLTIP_BTN_EXPAND_SUMMARY_LIST = "#RES#525#";
var TOOLTIP_BTN_MAXIMIZE_SUMMARY_LIST = "#RES#7310#";

var CSS_TOOLBAR_BODY="ToolbarBody";
var CSS_TOOLBARB_BODY="ToolbarBBody"
var CSS_SL_HEADER_BODY="headerSummaryList"
var CSS_SQE_BODY="ToolbarMBody";
var CSS_COMMANDBARB_LEFT="CommandBarBLeft";
var CSS_COMMANDBARB_RIGHT="CommandBarBRight";

'<Mq_WVT_3>

MSG_NO_ISSUE_IN_QUERY = "#RES#6420#";

DISPLAY_REC_TXT_SIZE="10";

SUMM_LST_ISSUE_IMG="CMTrecordWhite_KB.gif";
SUMM_LST_CURRENT_ISSUE_IMG="CMTRecordCur_KB.gif";

IMG_STATUS_READY = "ImgOpenFolder_KB.gif";

CSS_CMD_BAR_BODY="CommandBarBody CommandBarBody_KB";

CSS_RECORD_BODY="RecordBody RecordBody_KB";

MSG_LOADING = "";

CURRENT_REC_RPT = "5004.10";

DEFAULT_FIXED_FRAMES_HEIGHT=DEFAULT_SQE_KB+DEFAULT_TABS+DEFAULT_COMMANDBAR+DEFAULT_LOADDATA+DEFAULT_SUMLISTHEADER;

'</Mq_WVT_3>

'<Mq_WVT_4>

MSG_NO_ISSUE_IN_QUERY = "#RES#7259#";

DISPLAY_REC_TXT_SIZE="10";

SUMM_LST_ISSUE_IMG="CMTrecordWhite_KB.gif";
SUMM_LST_CURRENT_ISSUE_IMG="CMTRecordCur_KB.gif";

IMG_STATUS_READY = "ImgOpenFolder_KB.gif";

CSS_CMD_BAR_BODY="CommandBarBody CommandBarBody_KB";

CSS_RECORD_BODY="RecordBody RecordBody_KB";

MSG_LOADING = "";

CURRENT_REC_RPT = "5005.10";

DEFAULT_FIXED_FRAMES_HEIGHT=DEFAULT_SQE_KB+DEFAULT_TABS+DEFAULT_LOADDATA+DEFAULT_SUMLISTHEADER;

'</Mq_WVT_4>

'<Mq_WVT_2>
MSG_NO_ISSUE_IN_QUERY = "#RES#7398#";
STATUS_IDLE_TEXT = "#RES#7399#";

TOOLTIP_ADDNEW="#RES#7602#";
TOOLTIP_PRINT="#RES#7603#";
TOOLTIP_COPY="#RES#7604#";
TOOLTIP_DELETE="#RES#7605#";

SUMM_LST_ISSUE_IMG="CMTrecordWhite_Cnct.gif";
SUMM_LST_CURRENT_ISSUE_IMG="CMTRecordCur_Cnct.gif";

IMG_STATUS_READY = "ImgOpenFolder_Cnct.gif";

MSG_LOADING = "";

CSS_CMD_BAR_BODY="CommandBarBody_Cnct";
CSS_TOOLBAR_BODY="ToolbarBody_Cnct";
CSS_TOOLBARB_BODY="ToolbarBBody_Cnct";
CSS_SL_HEADER_BODY="headerSummaryList_Cnct";
CSS_SQE_BODY="ToolbarMBody_Cnct";
CSS_COMMANDBARB_LEFT="CommandBarBLeft_Cnct";
CSS_COMMANDBARB_RIGHT="CommandBarBLeft_Cnct";

MSG_DELETE_QUESTION="#RES#7551#";
MSG_RECYCLE_ISSUE_NUM="#RES#7552#";
MSG_DELETE_TITLE="#RES#7553#";
RECYCLE_ISSUE_OPTION_AVAILABLE = false;

if (g_MqRef.MqBrowser.ie){ //IE add the header		
	DEFAULT_SUMLISTHEADER=20;
}
'</Mq_WVT_2>

'<!_Mq_WVF_1>
DEFAULT_TOPTOOLBAR=0;
FRAMES_PADDING = 10;
DEFAULT_FIXED_FRAMES_HEIGHT=DEFAULT_TOOLBAR+DEFAULT_SQE+DEFAULT_TABS+DEFAULT_COMMANDBAR+DEFAULT_LOADDATA+DEFAULT_SUMLISTHEADER+FRAMES_PADDING;
'</!_Mq_WVF_1>

'<Mq_WVF_4218945>
	var mblnIsSurveyView=true;
	DEFAULT_COMMANDBAR = 40;
	DEFAULT_TOPTOOLBAR = 60;
	CSS_RECORD_BODY="RecordBody";
'</Mq_WVF_4218945>

'<Mq_WVF_8192>
DEFAULT_FIXED_FRAMES_HEIGHT=DEFAULT_TOPTOOLBAR+DEFAULT_TABS+DEFAULT_COMMANDBAR+DEFAULT_LOADDATA;
'</Mq_WVF_8192>


'<Mq_WVF_8289>
FRAMES_PADDING=-30;
DEFAULT_TOPTOOLBAR=0;
DEFAULT_TOOLBAR=0;
DEFAULT_SUMLIST=0;
DEFAULT_FIXED_FRAMES_HEIGHT=DEFAULT_TOPTOOLBAR+DEFAULT_TOOLBAR+DEFAULT_SQE+DEFAULT_TABS+DEFAULT_COMMANDBAR+DEFAULT_LOADDATA+DEFAULT_SUMLISTHEADER+FRAMES_PADDING;
COPYRIGHT_MSG="Powered by Vector Connect";
mblnShowQuickLinks = false;
MAIN_BG_CLASS="MainBackgroundWizard";
COPYRIGHT_CLASS="copyrightWizard";
'</Mq_WVF_8289>

'<Mq_WVT_6>
SUMM_LST_ISSUE_IMG="CMTrecordWhite_Comp.gif";
SUMM_LST_CURRENT_ISSUE_IMG="CMTRecordCur_Comp.gif";
IMG_STATUS_READY = "ImgOpenFolder_Comp.gif";
'</Mq_WVT_6>

<!--!_Mq_WVF_32-->
FRAMES_PADDING=0;
DEFAULT_TOOLBAR=0;
DEFAULT_SUMLIST=0;
DEFAULT_FIXED_FRAMES_HEIGHT=DEFAULT_TOPTOOLBAR+DEFAULT_TOOLBAR+DEFAULT_SQE+DEFAULT_TABS+DEFAULT_COMMANDBAR+DEFAULT_LOADDATA+DEFAULT_SUMLISTHEADER+FRAMES_PADDING;
<!--/!_Mq_WVF_32-->