﻿/****[ Data Structures ]************************************************/

var JExceptionType =
{
    Alert: 0,
    OK: 1
}

function Contact()
{
    this.FirstName = null;
    this.LastName = null;
    this.EmailAddress = null;
    this.Affiliation = {};
    this.FieldCenter = null;
}

function NASAContact()
{
    this.FieldCenter = {};
}
NASAContact.prototype = new Contact();

function OtherContact()
{
    this.CountryName = {};
}
OtherContact.prototype = new Contact();

function AssessmentRequest()
{
    this.Contact = null;
    this.AssessmentCategory = null;
    this.InformationSection = null;
    this.isNewRegistration = false;
}

var Affiliation =
{
    NASA: {
        Id: 1,
        Name: "NASA",
        Description: LocalizedString.Affiliation_NASA
    },
    US: {
        Id: 2,
        Name: "US",
        Description: LocalizedString.Affiliation_US
    },
    FED: {
        Id: 3,
        Name: "FED",
        Description: LocalizedString.Affiliation_FED
    },
    WILEY: {
        Id: 4,
        Name: "WILEY",
        Description: LocalizedString.Affiliation_WILEY
    },
    KOREA: {
        Id: 5,
        Name: "KOREA",
        Description: LocalizedString.Affiliation_KOREA
    },
    EU: {
        Id: 6,
        Name: "EU",
        Description: LocalizedString.Affiliation_EU
    },
    AUS: {
        Id: 7,
        Name: "AUS",
        Description: LocalizedString.Affiliation_AUS
    },
    SAFR: {
        Id: 8,
        Name: "SAFR",
        Description: LocalizedString.Affiliation_SAFR
    },
    CAN: {
        Id: 9,
        Name: "CAN",
        Description: LocalizedString.Affiliation_CAN
    },
    OTHER: {
        Id: 10,
        Name: "OTHER",
        Description: LocalizedString.Affiliation_OTHER
    },
    TAIWAN: {
        Id: 11,
        Name: "TAIWAN",
        Description: LocalizedString.Affiliation_TAIWAN
    },
    INDIA: {
        Id: 12,
        Name: "INDIA",
        Description: LocalizedString.Affiliation_INDIA
    },
    OTH_NA: {
        Id: 13,
        Name: "ONAMER",
        Description: LocalizedString.Affiliation_OTH_NA
    },
    JA: {
        Id: 14,
        Name: "JAPAN",
        Description: LocalizedString.Affiliation_JA
    },
    CHINA: {
        Id: 15,
        Name: "MCHINA",
        Description: LocalizedString.Affiliation_CHINA
    },
    HK: {
        Id: 16,
        Name: "HONGKONG",
        Description: LocalizedString.Affiliation_HK
    },
    VIET: {
        Id: 17,
        Name: "VIETNAM",
        Description: LocalizedString.Affiliation_VIET
    },
    OTH_ASIA: {
        Id: 18,
        Name: "OASIA",
        Description: LocalizedString.Affiliation_OTH_ASIA
    },
    FRANCE: {
        Id: 19,
        Name: "FRANCE",
        Description: LocalizedString.Affiliation_FRANCE
    },
    GERM: {
        Id: 20,
        Name: "GERMANY",
        Description: LocalizedString.Affiliation_GERM
    },
    TURK: {
        Id: 21,
        Name: "TURKEY",
        Description: LocalizedString.Affiliation_TURK
    },
    CZECH: {
        Id: 22,
        Name: "CZECH",
        Description: LocalizedString.Affiliation_CZECH
    },
    BRAZIL: {
        Id: 23,
        Name: "BRAZIL",
        Description: LocalizedString.Affiliation_BRAZIL
    },
    URUGUAY: {
        Id: 24,
        Name: "URUGUAY",
        Description: LocalizedString.Affiliation_URUGUAY
    },
    OTH_SA: {
        Id: 25,
        Name: "OSAMER",
        Description: LocalizedString.Affiliation_OTH_SA
    }
}

var AssessmentCategory =
{
    TestDrive: 1,
    FullService: 2
}

var InformationSection =
{
    FullServiceTeamAssessment: 1,
    FullServiceIndividualAssessment: 2,
    FullServiceBatchAssessment: 3,
    GeneralTelephoneCoaching: 4,
    AssessmentDebriefCoaching: 5,
    ContextShiftCoaching: 6,
    ThreeDayWorkshop: 7,
    BriefWorkshop: 8,
    FreeTeamAssessment: 9,
    FreeIndividualAssessment: 10,
    DiagnoseInnatePersonalityFoundation: 11,
    DiagnoseCulture: 12,
    DiagnoseProjectColor: 13,
    DownloadWorkshopSlides: 14,
    CSW: 15,
    PERSONDIAG: 16,
    CULTDIAG: 17,
    PROJPARADIAG: 18,
    APPRECMOD: 19, 
    ThreeDayWorkshopSlidesFullSet: 20,
    LT4DOverview: 21,
    LTClientBriefing: 22,
    R4DClientBriefing: 23,
    R4DProcesses: 24,
    LT4DWorkshop: 25,
    WorkshopWorkbook: 26,
    WorkshopOnePageOverview: 27,
    WorkshopParticipantInfo: 28,
    PreWorkshopConversation: 29,
    WorkshopEmails: 30,
    WorkshopEmailsNASA: 31,
    WorkshopFacilityRequirements: 32,
    Workshop2ndChairPresenters: 33,
    WorkshopVideoIndex: 34,
    WorkshopProcessObservers: 35,
    ContextShiftingWorksheet: 36,
    IDAParticipantSelectionGuidelines: 37,
    IDAReportBriefingGuidance: 38,
    PreWorkshopAssessmentsTimeline: 39,
    FourDIntro: 40,
    WorkbookIntro: 41, 
    RequestOneFullTeamAssessmentWithSupport: 42,
    RequestOneFullTeamAssessmentNoSupport: 43, 
    RequestOneFullIndividualAssessmentWithSupport: 44,
    RequestOneFullIndividualAssessmentNoSupport: 45,
    Join4DNetwork: 46,
    FourDDevelopmentProcess: 47,
    AssessmentDashboards: 48,
    KeynoteSpeechOneHour: 49,
    LTFifthForce: 50,
    FifthForceBriefingWhite: 51,
    FifthForceBriefingBlue: 52,
    Practicum: 53,
    DownloadCompleteWDA: 54, 
    FifthForceManuscript: 55,
    FifthForceManuscriptBW: 56,
    WorkshopAdvancePreparation: 57,
    OneDayWorkbook: 58,
    OneDayIntroduction: 59
}

var InfoSectionDownload =
{
    "1": {
        DownloadFile: "TeamDevelopmentAssessment.zip",
        DownloadName: "Full Team Assessment Preparation Briefing",
        ResourceText: "Click below to receive a briefing you can use to familiarize your teammates with the 4-D Team Development Assessment Process."
    },
    "2": {
        DownloadFile: "5FullIDAAssessmentPreparationBriefing.zip",
        DownloadName: "Full Individual Assessment Preparation Briefing",
        ResourceText: "Click below to receive a briefing you can use to familiarize your teammates with the 4-D Individual Development Assessment Process."
    },
    "3": null,
    "4": null,
    "5": null,
    "6": {
        DownloadFile: "10CSW.zip",
        DownloadName: "Download the CSW",
        ResourceText: "Click below to receive our most effective ad-hoc context management tool, the 4-D Context Setting Worksheet."
    },
    "7": null,
    "8": null,
    "9": {
        DownloadFile: "TeamDevelopmentAssessment.zip",
        DownloadName: "Free Team Assessment Preparation Briefing",
        ResourceText: "Click below to receive a briefing you can use to familiarize your teammates with the 4-D Team Development Assessment Process."
    },
    "10": {
        DownloadFile: "19IDAAssessmentPreparationBriefing.zip",
        DownloadName: "Free Individual Assessment Preparation Briefing",
        ResourceText: "Click below to receive a briefing you can use to familiarize your teammates with the 4-D Individual Development Assessment Process."
    },
    "11": {
        DownloadFile: "21PersonalityDiagnostic.zip",
        DownloadName: "Personality Diagnostic Slides",
        ResourceText: "Click below to receive 4-D workshop slides that you can use to identify and chart you and your team's innate personalities."
    },
    "12": {
        DownloadFile: "22CultureDiagnostic.zip",
        DownloadName: "Culture Diagnostic Slides",
        ResourceText: "Click below to receive 4-D workshop slides that you can use to chart your team's culture."
    },
    "13": {
        DownloadFile: "23ProjectParadigmDiagnostic.zip",
        DownloadName: "Project Mindset Diagnostic Slides",
        ResourceText: "Click below to receive 4-D workshop slides that you can use to identify your project's driving mindset."
    },
    "14": {
        DownloadFile: "24AppreciationModule.zip",
        DownloadName: "Appreciation Module",
        ResourceText: "Click below to receive 4-D workshop slides that you can use to teach your teammates how to authentically appreciate each other."
    }
}

var FieldCenter =
{
    NASA : 1,
    Ames : 2,
    Marshall : 3,
    Glen : 4,
    GoddardFlightCenter : 5,
    GoddardInstitute : 6,
    JPL : 7,
    Dryden : 8,
    IVandV : 9,
    Johnson : 10,
    Kennedy : 11,
    Langley : 12,
    Stennis : 13,
    Wallops : 14,
    WhiteSands : 15
}

var FieldCenterContact =
{
    "1": {
        "Name": "Harold Reitsema",
        "Email": "hreitsema@aol.com",
        "Company": "Sponsored by APPEL"
    },
    "2": {
        "Name": "Larry Caroff",
        "Email": "lcaroff@comcast.net",
        "Company": "Sponsored by APPEL"
    },
    "3": {
        "Name": "Jim Odom",
        "Email": "odmjim@aol.com",
        "Company": "Sponsored by APPEL"
    },
    "4": {
        "Name": "Ron Thomas",
        "Email": "ronlthomas@aol.com",
        "Company": "Sponsored by APPEL"
    },
    "5": {
        "Name": "Harold Reitsema",
        "Email": "hreitsema@aol.com",
        "Company": "Sponsored by APPEL"
    },
    "6": {
        "Name": "Harold Reitsema",
        "Email": "hreitsema@aol.com",
        "Company": "Sponsored by APPEL"
    },
    "7": {
        "Name": "Larry Caroff",
        "Email": "lcaroff@comcast.net",
        "Company": "Sponsored by APPEL"
    },
    "8": {
        "Name": "Harold Reitsema",
        "Email": "hreitsema@aol.com",
        "Company": "Sponsored by APPEL"
    },
    "9": {
        "Name": "Denny Holt",
        "Email": "jdholtwork@aol.com",
        "Company": "Sponsored by APPEL"
    },
    "10": {
        "Name": "Chris Fairey",
        "Email": "cgfairey@cfl.rr.com",
        "Company": "Sponsored by APPEL"
    },
    "11": {
        "Name": "Gus Gustaferro",
        "Email": "gusg@cox.net",
        "Company": "Sponsored by APPEL"
    },
    "12": {
        "Name": "Denny Holt",
        "Email": "jdholtwork@aol.com",
        "Company": "Sponsored by APPEL"
    },
    "13": {
        "Name": "Gus Gustaferro",
        "Email": "gusg@cox.net",
        "Company": "Sponsored by APPEL"
    }
}
