/*
    IF YOU ARE EDITING THIS FILE, YOU SHOULD PROBABLY KNOW THIS:
    This is an outline of a tutor's schedule.
    The strings on the left side of a colon should not be changed, only the content
    on the right.
    - abbr must be a unique identifier for the tutor; can be any length.
    - classes is an object containing lists of classes the tutor tutors.
    - times is an object that that maps days of the week to lists of times the tutor
      is available on that day. 
    -----
    {
            "name": "",
            "abbr": "",
            "classes": {
                "solid": [ "9A", "", ...  ],
                "shaky": [ ],
                "learning" : [ ]
            },
            "times": { 
                "m" : [ "11-1", "2-3" ],      // monday
                "tu": [ ],                    // tuesday
                "w" : [ "5:30-8" ],           // wednesday
                "th": [ "3-5" ],              // thursday
                "f" : [ "12-1", "2:30-4" ],   // friday
            }
    }
    -----
    The array after "tutors" below is simply a comma-separated list of the
    bracketed tutor objects such as the one above.To add a new tutor to the schedule
    below, copy the text between the -----'s into the tutors array below. For more
    concrete examples, just see the actual data below.
*/

// defines the bounds of the schedule, NOT how long we are open
// this probably should NOT be changed
var scheduleBounds = "11-8";

var schedule = {
    "tutors": [ {
        "name": "Conor Hughes",
        "abbr": "CH",
	"imageName": "ConorHughes",
        "classes": {
            "solid": [ "3S", "9C", "9D", "9G", "9F", "47B" ],
            "shaky": [ ],
            "learning": [ ]
        },      
        "times": {
            "m" : [ ],
            "tu": [ ],
            "w" : [ "6-7" ],
            "th": [ "1-2" ],
            "f" : [ "1-2" ]
        }
    },
    {
        "name": "Bing Xia",
        "abbr": "BX",
	"imageName": "BingXia",
        "classes": {
            "solid": [ "3S", "9A", "9C", "9D", "9G", "47B", "9F", "9H" ],
            "shaky": [ ],
            "learning": [ "9E" ]
        },
        "times": {
            "m" : [ "2-4" ],
            "tu": [ ],
            "w" : [ "12-1","3-4" ],
            "th": [ "3-4" ],
            "f" : [ ]
        }
    },
    {    
        "name": "Courtney Wang",
        "abbr": "CW",
	"imageName": "CourtneyWang",
        "classes": {
            "solid": [ "9C", "3S","9D", "9G", "9E", "47B" ],
            "shaky": [ ],
            "learning": [ "9H" ]
        },      
        "times": {
            "m" : [ "3-5" ],
            "tu": [ ],
            "w" : [ ],
            "th": [ ],
            "f" : [ "12-4" ]
        }
    },
    {
        "name": "Darren Hasenkamp",
        "abbr": "DH",
	"imageName": "DarrenHasenkamp",
        "classes": {
            "solid": [ "3S","9D", "9G", "47B", "9H" ],
            "shaky": [ ],
            "learning": [ ]
        },
        "times": {
            "m" : [ "12-1" ],
            "tu": [ ],
            "w" : [ ],
            "th": [ "1-2", "3:30-4:30" ],
            "f" : [ "2-4" ]
        }
    },
    {
        "name": "Eric Chang",
        "abbr": "EC",
	"imageName": "EricChang",
        "classes": {
            "solid": [ "3S", "9C", "9D", "9G", "47B", "9F", "9E", "9H" ],
            "shaky": [ ],
            "learning": [ ]
        },
        "times": {
            "m" : [ "1-2" ],
            "tu": [ "2-3" ],
            "w" : [ "4-6" ],
            "th": [ "2-3" ],
            "f" : [ ]
        }
    },
    {
        "name": "Eric Lin",
        "abbr": "EL",
	"imageName": "EricLin",
        "classes": {
            "solid": [ "3S", "9C", "9F", "9G", "9H", "47B", "9E" ],
            "shaky": [ ],
            "learning": [ ]
        },
        "times": {
            "m" : [ "1-3" ],
            "tu": [ "4-5" ],
            "w" : [ "1-2" ],
            "th": [ "4-5" ],
            "f" : [ ]
        }
    },
    {
        "name": "Ethan Rahn",
        "abbr": "ER",
	"imageName": "EthanRahn",
        "classes": {
            "solid": [ "3S", "9C", "47B", "9E", "9H", "9G" ],
            "shaky": [ ],
            "learning": [ ]
        },      
        "times": {
            "m" : [ "12-1" ],
            "tu": [ "2-4" ],
            "w" : [ ],
            "th": [ ],
            "f" : [ "2-4" ]
        }
    },
    { 
        "name": "Getty Ritter",
        "abbr": "GR",
	"imageName": "GettyRitter",
        "classes": {
            "solid": [ "9F", "3S", "9G", "47B", "9C", "9H" ],
            "shaky": [ ],
            "learning": [ ]
        },      
        "times": {
            "m" : [ "3-4" ],
            "tu": [ "11-12:30" ],
            "w" : [ "3-4" ],
            "th": [ "2-3" ],
            "f" : [ "1-2" ]
        }
    },
    {
        "name": "Himanshu Sharma",
        "abbr": "HS",
	"imageName": "HimanshuSharma",
        "classes": {
            "solid": [ "9C", "9F", "9G" ],
            "shaky": [ "9E" ],
            "learning": [ ]
        },
        "times": {
            "m" : [ ],
            "tu": [ "3-4:30" ],
            "w" : [ "6-7" ],
            "th": [ "12:30-2" ],
            "f" : [ "11-4" ]
        }
    },
    {
        "name": "Sriram Sankararaman",
        "abbr": "SS",
	"imageName": "SriramSankararaman",
        "classes": {
            "solid": [ "9A", "9C", "9E", "9G","47B", "9F" ],
            "shaky": [ ],
            "learning": [ "9H" ]
        },
        "times": { 
            "m" : [ "12-5" ],
            "tu": [ "11-3" ],
            "w" : [ ],
            "th": [ ],
            "f" : [ ]
        } 
    },
    {
        "name": "Fernando Garcia Bermudez",
        "abbr": "FGB",
	"imageName": "FernandoBermudez",
        "classes": {
            "solid": [ "9A", "9C", "9H", "9F", "9E" ],
            "shaky": [ ],
            "learning": [ ]
        },
        "times": {
            "m" : [ ],
            "tu": [ ],
            "w" : [ "1-4" ],
            "th": [ "11-12:30", "2:30-5" ],
            "f" : [ "2-4" ]
        }
    },
    {
        "name": "Kevin Jorgensen",  
        "abbr": "KJ", 
	"imageName": "KevinJorgensen",
        "classes": {  
            "solid": [ "3S", "9H" ],
            "shaky": [ ],
            "learning": [ "9G" ]
        },
        "times": {
            "m" : [ ],
            "tu": [ "11-2" ],
            "w" : [ ],
            "th": [ "12-2" ],
            "f" : [ ]
        } 
    },
    {
        "name": "Thien Nguyen",
        "abbr": "TN",
	"imageName": "ThienNguyen",
        "classes": {
            "solid": [ "3S", "9B", "9C","9G", "47A" , "47B", "9F", "9H" ],
            "shaky": [ ],
            "learning": [ "9E" ]
        },
        "times": {
            "m" : [ "12-2" ],
            "tu": [ "11-12" ],
            "w" : [ "12-1" ],
            "th": [ ],
            "f" : [ ]
        }
    },
    { 
        "name": "Will Cole",
        "abbr": "WC",
	"imageName": "WillCole",
        "classes": {
            "solid": [ "3S", "9C", "9D", "47A","9G" ],
            "shaky": [ "9E" ],
            "learning": [ ]
        },      
        "times": {
            "m" : [ ],
            "tu": [ "11-12" ],
            "w" : [ ],
            "th": [ "11-12" ],
            "f" : [ "11-2" ]
        }
    },
    {
        "name": "Katie Bedrosian",
        "abbr": "KB",
	"imageName": "KatieBedrosian",
        "classes": {
            "solid": [ "3S", "9C", "9F", "9G", "9H" ],
            "shaky": [ ],
            "learning": [ ]
        },
        "times": { 
            "m" : [ ],
            "tu": [ ],
            "w" : [ "2-5" ],
            "th": [ ],
            "f" : [ "1-3" ]
        }
    }, 
    {
        "name": "Ye Yuan",
        "abbr": "YY",
	"imageName": "YeYuan",
        "classes": {
          "solid": [ "3S", "9E", "9G", "9H" ],
          "shaky": [ "9C" ],
          "learning": [ ]
        },
        "times": {
             "m" : [ ],
             "tu": [ ],
             "w" : [ "5:30-7" ],
             "th": [ ],
             "f" : [ "12-4" ]
        }
    } ],
    "hours": {
            "m" : [ "12-5" ],
            "tu": [ "11-5" ],
            "w" : [ "12-8" ],
            "th": [ "11-5" ],
            "f" : [ "12-4" ]
    }
};

/*
    The structure below only needs to be edited if new classes are added.
    They serve as the basis of the right sidebar on the schedule page.
*/

classdb = {
    "classes": [ {
        "name": "Symbolic Programming",
        "abbr": "3S",
        "description": null
    }, {
        "name": "Matlab",
        "abbr": "9A",
        "description": null
    }, {
        "name": "Pascal",
        "abbr": "9B",
        "description": null
    }, {
        "name": "C",
        "abbr": "9C",
        "description": null
    }, {
        "name": "Scheme",
        "abbr": "9D",
        "description": null
    }, {
        "name": "Unix",
        "abbr": "9E",
        "description": null
    }, {
        "name": "C++",
        "abbr": "9F",
        "description": null
    }, {
        "name": "Java",
        "abbr": "9G",
        "description": null
    }, {
        "name": "Python",
        "abbr": "9H",
        "description": null
    }, {
        "name": "Compl. of 61A",
        "abbr": "47A",
        "description": null
    }, {
        "name": "Compl. of 61B",
        "abbr": "47B",
        "description": null
    }, {
        "name": "Compl. of 61C",
        "abbr": "47C",
        "description": null
    } ]
}

