///////////////////////////////////////////////////////////
// Discover Contributors Data
///////////////////////////////////////////////////////////

// Correct observations
var gCorrectObservations = new Array('19', '34', '50', '61', '82');

// General hints for correct observation(s)
var gGeneralObservationHint19 = "Re-examine the office scene.";
var gGeneralObservationHint34 = "Listen to the testimonies again.";
var gGeneralObservationHint50 = "Re-examine the office scene and documents.";
var gGeneralObservationHint61 = "Listen to the testimonies again.";
var gGeneralObservationHint82 = "Re-examine John's office and documents.";

// Specific hints for correct observation(s)
var gSpecificObservationHint19 = "Look for Work Setting issues. Examine John's office.";
var gSpecificObservationHint34 = "Look for Work Planning/Control issues. Listen to both testimonies.";
var gSpecificObservationHint50 = "Look for Work Planning/Control issues. Examine the objects on and above John's desk and read the documents.";
var gSpecificObservationHint61 = "Look for Employee Readiness issues. Listen to both testimonies.";
var gSpecificObservationHint82 = "Look for Employee Readiness issues. Examine the objects on and above John's desk and read the documents.";

// Feedback for each observation
// (NA = "This does not apply")
// (NE = "There is no evidence of this")

var gObservationFeedback = new Array();

// Data Flow
gObservationFeedback[0]  = "NA";
gObservationFeedback[1]  = "NA";
gObservationFeedback[2]  = "NA";
gObservationFeedback[3]  = "NA";
gObservationFeedback[4]  = "NA";
gObservationFeedback[5]  = "NE";
gObservationFeedback[6]  = "NA";
gObservationFeedback[7]  = "NA";
gObservationFeedback[8]  = "NE";
gObservationFeedback[9]  = "NA";
gObservationFeedback[10] = "NA";
gObservationFeedback[11] = "NA";

// Work Setting
gObservationFeedback[12] = "NA";
gObservationFeedback[13] = "NA";
gObservationFeedback[14] = "NA";
gObservationFeedback[15] = "NA";
gObservationFeedback[16] = "NA";
gObservationFeedback[17] = "NA";
gObservationFeedback[18] = "NA";
gObservationFeedback[19] = "Correct. The boxes obscure the open safe.";
gObservationFeedback[20] = "NA";
gObservationFeedback[21] = "NA";
gObservationFeedback[22] = "NA";
gObservationFeedback[23] = "NA";
gObservationFeedback[24] = "NA";
gObservationFeedback[25] = "NA";
gObservationFeedback[26] = "NA";
gObservationFeedback[27] = "NE";
gObservationFeedback[28] = "NE";
gObservationFeedback[29] = "NA";
gObservationFeedback[30] = "NE";

// Work Planning/Control
gObservationFeedback[31] = "NE";
gObservationFeedback[32] = "NA";
gObservationFeedback[33] = "NE";
gObservationFeedback[34] = "Correct. John is working a lot of extra hours to meet deliverables.";
gObservationFeedback[35] = "NA";
gObservationFeedback[36] = "NA";
gObservationFeedback[37] = "NA";
gObservationFeedback[38] = "NA";
gObservationFeedback[39] = "NA";
gObservationFeedback[40] = "NE";
gObservationFeedback[41] = "NE";
gObservationFeedback[42] = "NA";
gObservationFeedback[43] = "NA";
gObservationFeedback[44] = "NE";
gObservationFeedback[45] = "NA";
gObservationFeedback[46] = "NE";
gObservationFeedback[47] = "NA";
gObservationFeedback[48] = "NA";
gObservationFeedback[49] = "NE";
gObservationFeedback[50] = "Correct. The incident occurred on John's last day of work before vacation.";
gObservationFeedback[51] = "NA";
gObservationFeedback[52] = "NE";
gObservationFeedback[53] = "NA";
gObservationFeedback[54] = "NA";
gObservationFeedback[55] = "NA";
gObservationFeedback[56] = "NA";
gObservationFeedback[57] = "There is no evidence of this, although John is clearly working a lot";
gObservationFeedback[58] = "NE";
gObservationFeedback[59] = "NE";

// Employee Readiness
gObservationFeedback[60] = "NA";
gObservationFeedback[61] = "Correct. We know that John has pulled at least one all-nighter in the past week.";
gObservationFeedback[62] = "NE";
gObservationFeedback[63] = "NE";
gObservationFeedback[64] = "NA";
gObservationFeedback[65] = "NA";
gObservationFeedback[66] = "NE";
gObservationFeedback[67] = "NE";
gObservationFeedback[68] = "NA";
gObservationFeedback[69] = "NE";
gObservationFeedback[70] = "NE";
gObservationFeedback[71] = "NE";
gObservationFeedback[72] = "NE";
gObservationFeedback[73] = "NE";
gObservationFeedback[74] = "NE";
gObservationFeedback[75] = "NA";
gObservationFeedback[76] = "NE";
gObservationFeedback[77] = "NA";
gObservationFeedback[78] = "NE";
gObservationFeedback[79] = "NA";
gObservationFeedback[80] = "NE";
gObservationFeedback[81] = "NE";
gObservationFeedback[82] = "Correct. John is planning his vacation.";
gObservationFeedback[83] = "NE";
gObservationFeedback[84] = "NE";

// Correct factors
var gCorrectFactors = new Array('6', '10', '19', '21');

// Contributing factor associated with each observation
var observation19Factor = '6';
var observation34Factor = '10';
var observation50Factor = '10';
var observation61Factor = '21';
var observation82Factor = '19';

// Observations associated with each contributing factor
var factor6Observations  = new Array('19');
var factor10Observations = new Array('34', '50');
var factor19Observations = new Array('82');
var factor21Observations = new Array('61');

// ITAC form descriptions
var factor6Description  = 'The boxes piled up in the office may have obscured a view of the open safe.';
var factor10Description = 'Employee was working extra hours to meet project/work-related deadlines. The time pressure of an imminent vacation may have contributed to the incident.';
var factor19Description = 'Focus on upcoming leisure activities may have distracted employee from task.';
var factor21Description = 'Lack of sleep may have caused the employee to forget critical tasks.';


///////////////////////////////////////////////////////////
// Use Contributors Data
///////////////////////////////////////////////////////////

// General hints for correct factor(s)
var gGeneralFactorHint6  = "Re-examine the office scene.";
var gGeneralFactorHint10 = "Listen to the testimonies again. Re-examine the office scene and documents.";
var gGeneralFactorHint19 = "Re-examine John's office and documents.";
var gGeneralFactorHint21 = "Listen to the testimonies again.";

// Specific hints for correct factor(s)
var gSpecificFactorHint6  = "Look for Work Setting issues. Examine John's office.";
var gSpecificFactorHint10 = "Look for Work Planning/Control issues. Listen to both testimonies. Examine the objects on and above John's desk and read the documents.";
var gSpecificFactorHint19 = "Look for Employee Readiness issues. Examine the objects on and above John's desk and read the documents.";
var gSpecificFactorHint21 = "Look for Employee Readiness issues. Listen to both testimonies.";

// Link to Discover Contributors scenario related to this scenario
var gRelatedDiscoveryScenario = "../discover/scenario5.html";


///////////////////////////////////////////////////////////
// Mastering Contributors Data
///////////////////////////////////////////////////////////

// List of possible questions
var gQAList = new Array(
  "Why is there air?",
  "Well you see, there are atoms -- mostly those of\nnitrogen and oxygen...oh never mind.",
  "Which way is up?",
  "The way that isn't down.",
  "Is it colder in the South than in the Winter?",
  "Now that just doesn't make any sense at all.",
  "Is it farther to New York or by bus?",
  "Green."
);


///////////////////////////////////////////////////////////
// Observation Reference Numbers
///////////////////////////////////////////////////////////
// Data Flow
//   0 2 unclassified docs combined = 1 classified doc
//   1 Assume status hasn't changed
//   2 Can't tell if CD is in computer
//   3 Classification status ambiguous
//   4 Incorrectly marked material
//   5 Non-explicit guidance
//   6 Not obvious document was left in copier
//   7 Unavailable procedures
//   8 Unclear directions
//   9 Unclear who's responsible for checking safe
//  10 Unclear who's responsible for visitor
//  11 Written procedures incomplete

// Work Setting
//  12 Adverse weather
//  13 Boss unconcerned about security procedures
//  14 Classified media accounting system inadequate
//  15 Colleague query
//  16 Conversation
//  17 Coworkers unconcerned w/security
//  18 Equipment malfunction
//  19 Excessive clutter
//  20 Fire drill
//  21 Inaccessible equipment
//  22 Malfunctioning security alarms
//  23 Managers unconcerned w/security
//  24 No ADC available
//  25 Phone call
//  26 Poor lighting
//  27 Procedures ignored
//  28 Procedures inconsistently implemented
//  29 Shortage of needed supplies
//  30 Training deficiency

// Work Planning/Control
//  31 Changed policies/procedures
//  32 Cold environment
//  33 Competing job demands
//  34 Deadline
//  35 End of shift
//  36 Failure to plan for procedures to destroy materials
//  37 Failure to plan for security review
//  38 Impending audit
//  39 Inappropriate staffing
//  40 Incomplete understanding
//  41 Incorrect understanding
//  42 Lacking computer proficiency
//  43 Memory deficit
//  44 Mindless jobs
//  45 Mix of classified/unclassified work
//  46 New group assignment
//  47 Night shift
//  48 No knowledge of procedures to destroy classified disks
//  49 No understanding
//  50 Pre-post vacation or weekend
//  51 Rainy environment
//  52 Repetitive tasks
//  53 Responsibilities inadequately defined
//  54 Revised equipment configuration
//  55 Subpar color discrimination
//  56 Unavailable resources
//  57 Under-staffing
//  58 Unfamiliar w/procedures
//  59 Visual acuity deficit

// Employee Readiness
//  60 All disks assumed to be sensitive/ unclassified because one was
//  61 All-nighter
//  62 Arthritis
//  63 Cavalier attitude = reduced diligence
//  64 Cell phone inadvertently in secure area
//  65 Document assumed unclassified
//  66 Failure in visual inspection
//  67 Family problems
//  68 Fear error consequences
//  69 Fever
//  70 Focus on other work
//  71 Forgot to perform task
//  72 Headache
//  73 Impaired vision
//  74 Insomnia
//  75 Items set aside forgotten
//  76 Jet lag
//  77 Misheard verbal direction
//  78 Mundane tasks
//  79 Overconfidence in capability
//  80 Performance concerns
//  81 Personal problems
//  82 Planning leisure activities
//  83 Reduced motor coordination
//  84 Supervisor's cavalier attitude = poor security culture


///////////////////////////////////////////////////////////
// Contributing Factor Reference Numbers
///////////////////////////////////////////////////////////
//   0 Information
//   1 Procedures/Directions
//   2 Communication
//   3 System Status/Feedback
//   4 Distractions
//   5 Material/Resources
//   6 Environment
//   7 Management Systems
//   8 Security Practices
//   9 Job Pressure
//  10 Time Factors
//  11 Task Difficulty
//  12 Task Aversion
//  13 Change in Routine
//  14 Task Planning
//  15 Management
//  16 Ability
//  17 Experience/Skill
//  18 Knowledge
//  19 Preoccupation/Inattention
//  20 Stress/Anxiety
//  21 Fatigue/Boredom
//  22 Illness/Injury
//  23 Drug Side Effects
//  24 Misperception
//  25 Memory
//  26 Reasoning/Judgment
//  27 Values/Attitudes

