// JavaScript Document
// Initialize instructors and office hours:
//
//
//
//SECTION FUNCTIONS:
//AddInstructorToSection(section,firstname, lastname,email);
//AddGradTAtoSection(section,firstname,lastname, email);
//AddUGradTAtoSection(section,firstname, lastname,email);
//AddDemoGroupToSection(section,firstname,lastname,email);
//
//All of these functions have the same arguments:
//
//"section" is the section ID you want to add to (ie. "L01", "L02", etc.)
//"firstname" is the person's first name (ie. "John")
//"lastname" is the person's last name (ie. "Belcher")
//"email" is the person's MIT email handle, WITHOUT the "@mit.edu" (ie.  "jbelcher")
//
//EXAMPLE:
//AddGradTAtoSection("L01","Jimmy","James","jj");
//
//In this example you are adding a Graduate TA to section L01.  His name is Jimmy James, and his email is jj@mit.edu.
AddInstructorToSection("L01","Staff", "","Staff","");
AddInstructorToSection("L01","Eric", "Hudson","ehudson","Office: 13-2154, Phone: 2-2215");
//AddGradTAtoSection("L01","Claudio","Marcantonini","cmarcant@mit.edu","Office: 6-410, Phone: 3-7194");
AddGradTAtoSection("L01","Nabil","Iqbal","niqbal","Office: 6-413, Phone: 3-9300");
//AddGradTAtoSection("L01","Tarun","Grover", "tarung", "Office: 4-337B, Phone: 253-6051");
AddUGradTAtoSection("L01","Ian", "Sugel","isugel");
AddUGradTAtoSection("L01","Kristi", "Schneck","kschneck");
AddUGradTAtoSection("L01","Nicole", "Bucala","nbucala");
AddDemoGroupToSection("L01","Andy","Neely","aneely");

//OFFICE HOUR FUNCTIONS:
//
//FUNCTION:   AddRegularOfficeHoursToSection(sectionID,email,officeDay,hoursString) 
//
//This function schedules regular (ie. weekly) office hours a person, which will appear on the office hours calendar.  The arguments are as follows:
//"sectionID" is the name of the section (ie. "L01")
//"email" is the MIT email handle of the person whose office hours you are setting.  Should be the same value used to add them to the section.
//"officeDay" is an integer representing the day of the week that these office hours occur, where Sunday = 0, Monday = 1, Tuesday = 2, etc. 
//"officeString" is a string describing the time and location (ie. "4pm @ 26-152")
//
//EXAMPLE:
//AddRegularOfficeHoursToSection("L01","jbelcher",2,"4pm @ 26-152");
//
//In this example John Belcher, from section L01, has added a regular (weekly) office hour for himself.  The office hour is scheduled for Tuesdays --
//The integer 2 corresponds to Tuesday (the days of the week are zero-indexed, so Sunday, the first day of the week, is 0).  The office hours are at
//4pm in 26-152.  This information will appear on the office hours calendar.
//
//FUNCTION:   AddSpecialOfficeHoursToSection(sectionID,email,month,date,year,hoursString)
//
//This function adds a one-time office hour on the date you specify.
//"sectionID" is the name of the section (ie. "L01")
//"email" is the MIT email handle of the person whose office hours you are setting.  Should be the same value used to add them to the section.
//"month" is an integer representing the month of the office hour, where January = 0, February = 1, ... , December = 11
//"date" is an integer representing the day of the month of the office hour (ie. 1, 2, 3, 4, .. 28, 29, 30, 31)
//"year" is an integer representing the year of the office hour (ie. 2004)
//
//EXAMPLE:
//AddSpecialOfficeHoursToSection("L01","jbelcher",2,24,2004,"4pm @ 26-152");
//
//In this example John Belcher, from section L01, has added a special (one-time) office hour for himself.  The office hour is scheduled for March 24, 2004
//The integer 2 corresponds to March (the months of the year are zero-indexed, so January, the first month of the year, is 0).  The office hours are at
//4pm in 26-152.  This information will appear on the office hours calendar as a "Special Office Hour".
//
//
//FUNCTION:   CancelOfficeHoursInSection(sectionID,email,month,date,year) 
//
//This function allows you to cancel a specific "regular" office hour.
//
//"sectionID" is the name of the section (ie. "L01")
//"email" is the MIT email handle of the person whose office hours you are cancelling.  Should be the same value used to add them to the section.
//"month" is an integer representing the month of the cancelled office hour, where January = 0, February = 1, ... , December = 11
//"date" is an integer representing the day of the month of the cancelled office hour (ie. 1, 2, 3, 4, .. 28, 29, 30, 31)
//"year" is an integer representing the year of the cancelled office hour (ie. 2004)
//
//EXAMPLE:
//CancelOfficeHoursInSection("L01","jbelcher",2,23,2004);
//
//In this example John Belcher, from section L01, has cancelled on of his regularly scheduled office hours.  Though he normally holds office hours on
//Tuesdays (as seen in the above example), he has cancelled them on March 23, 2004.  His regular Tuesday office hours for that day will appear as 
//"Cancelled" on the office hours calendar.  The rest of his regularly scheduled office hours will remain in effect.
//
//
//AddRegularOfficeHoursToSection("L01","Staff",0,"2-5pm @ 32-082");
AddRegularOfficeHoursToSection("L01","ehudson",2,"4-6 pm @ 26-152");
AddRegularOfficeHoursToSection("L01","niqbal",0,"3-5 pm @ 32-082");
CancelOfficeHoursInSection("L01","niqbal",10,1,2009);
AddSpecialOfficeHoursToSection("L01","niqbal",8,28,2009,"Exam Review: 7-9 pm @ 32-082");
AddSpecialOfficeHoursToSection("L01","ehudson",8,29,2009,"9pm-1am @ EMAIL");
AddSpecialOfficeHoursToSection("L01","ehudson",9,26,2009,"4-5:30pm CANCELLED DUE TO ILLNESS");
AddSpecialOfficeHoursToSection("L01","ehudson",9,28,2009,"3-5:30pm @ 13-2154");
AddSpecialOfficeHoursToSection("L01","niqbal",9,28,2009,"Exam Review: 6-7:30 pm @ 32-082");
AddSpecialOfficeHoursToSection("L01","niqbal",9,29,2009,"6-8 pm @ 32-082");
AddSpecialOfficeHoursToSection("L01","ehudson",9,29,2009,"9pm-12am @ EMAIL");
AddSpecialOfficeHoursToSection("L01","niqbal",10,23,2009,"Exam Review: 7-8:30 pm @ 32-082");
AddSpecialOfficeHoursToSection("L01","ehudson",10,23,2009,"1-3pm @ 13-2154");
CancelOfficeHoursInSection("L01","ehudson",10,24,2009);
AddSpecialOfficeHoursToSection("L01","ehudson",10,24,2009,"8am-2pm @ 13-2154");
AddSpecialOfficeHoursToSection("L01","ehudson",10,24,2009,"9pm-12am @ EMAIL");


//MODIFYING CONTENT FUNCTIONS:
// Initialize your presentations here
// Format:  ModifyPresentation(
//		"Section","W##D#","Class ##","Short Title",Module#,Presentation available?,PRS available?,Q&A Available, Summary available?,
//		"Info about presentation")
// The "availables" are either 1 (yes its available) or 0 (no its not).
//
//EXAMPLE:
//ModifyPresentation("L01","W03D1","Class 07","My New Presentation","1,2",1,1,null,null,"This is a modified presentation!");
//
//In this example you have modified the presentation that is given on Week 3, day 1 in section L01.  You are calling it "My New Presentation", and associating it 
//with modules 1 and 2.  You are stating that there is a presentation available that day (a new one that you have written and posted,
// a PRS available that day, and the default availability (and links to) Q&A and Summary.  
// Your comments for this presentation are "This is a modified presentation!".
//

//IF YOU ARE MODIFYING CONTENT, YOU MUST MAKE YOUR NEW FILES AVAILABLE BY ADDING THEM TO THE "materials" FOLDER IN YOUR SECTION FOLDER!

//ModifyPresentation("L01","W05D2","Class 13",null,null,1,null,null,null,null);
//);



//InClass initializations for L01:


