/* Client-Side Standard variables uses in other .js files */
var oLibPage = window.self;
var gnMinimumHeight = 375;
var gnMinimumWidth = 750;
var gnScrollBarWidth = 16;

// Msgbox constants
var mb_OK = 1
var mb_Cancel = 2
var mb_Abort = 3
var mb_Retry = 4
var mb_Ignore = 5
var mb_Yes = 6
var mb_No = 7

var mb_Critical = 16
var mb_OKOnly = 0
var mb_OKCancel = 1
var mb_YesNoCancel = 3
var mb_YesNo = 4
var mb_Question = 32
var mb_Exclamation = 48
var mb_Information = 64

var gsGotoWarning = "%1 has been modified and not saved. If you navigate away, you will lose all changes.<br><br>Do you still wish to go to %2?"
var gsRecordDeletedMsg = "The requested record cannot be found or was deleted."
var gsRequiredFieldMissing = "Required Field Missing"
var gsInvalidAmount = "Invalid Amount"
var gsInvalidClassOf = "Invalid Class Of"
var gsInvalidDate = "Invalid Date"
var gsInvalidDateRange = "Invalid Date Range"
var gsInvalidFileName = "Invalid file name (Do not include any folder or path information in filename)."
var gsInvalidFuzzyDate = "Invalid Fuzzy Date"
var gsInvalidMinValue = "Field is less than the minimum value"
var gsInvalidMaxValue = "Field is greater than the maximum value"
var gsInvalidNumber = "Invalid Number"
var gsInvalidTime = "Invalid Time"
var gsInvalidTimeRange = "Invalid Time Range"
var gsYes = "Yes"
var gsNo = "No"
var UserPhoneFormat = "1"
var sTopicMenuBackgroundColor = "MidnightBlue"
var sTopicMenuHighliteColor = "Yellow"

var sPageColor = "White"
var sGrayText = "GrayText"
var sButtonFaceSysColor
var sButtonHiliteSysColor
var sButtonShadowSysColor
var sButtonTextSysColor
var sHighLightTextSysColor
var sHighLightSysColor
var sMenuTextSysColor
var sMenuSysColor
if (bIsMac){
	sButtonFaceSysColor = "Silver"
	sButtonHiliteSysColor = "LightGrey"
	sButtonShadowSysColor = "DarkGray"
    sButtonTextSysColor = "Black"
    sHighLightTextSysColor = "White"
    sHighLightSysColor = "MidnightBlue"
    sMenuTextSysColor = "Black"
    sMenuSysColor = "DarkGray"
}else{
	sButtonFaceSysColor = "buttonFace"
    sButtonHiliteSysColor = "highlighttext"
    sButtonShadowSysColor = "buttonShadow"
    sButtonTextSysColor = "buttonText"
    sHighLightTextSysColor = "highlighttext"
    sHighLightSysColor = "highlight"
    sMenuTextSysColor = "menutext"
    sMenuSysColor = "menu"
}

