var redirectURL = "http://www.ontariocolleges.ca/indexhome.html";
var busyURL = "http://failover.ontariocolleges.ca/overload-warning-eng.html";
var herdingURL = "applicantentry.html";
var handlerURL = "handler.html";

// Create the HerdSlot array to determine which
// Slot Indices are "herded" to a particular time slot
// Slot Indexes are currently L, M, P
// International and US applicants will bypass the herding
var HerdSlot= new Array();
HerdSlot["0000"]="";
HerdSlot["0030"]="";
HerdSlot["0100"]="";
HerdSlot["0130"]="";
HerdSlot["0200"]="";
HerdSlot["0230"]="";
HerdSlot["0300"]="";
HerdSlot["0330"]="";
HerdSlot["0400"]="";
HerdSlot["0430"]="";
HerdSlot["0500"]="";
HerdSlot["0530"]="";
HerdSlot["0600"]="";
HerdSlot["0630"]="";
HerdSlot["0700"]="";
HerdSlot["0730"]="";
HerdSlot["0800"]="";
HerdSlot["0830"]="";
HerdSlot["0900"]="";
HerdSlot["0930"]="";
HerdSlot["1000"]="L";
HerdSlot["1030"]="M";
HerdSlot["1100"]="P";
HerdSlot["1130"]="L";
HerdSlot["1200"]="M";
HerdSlot["1230"]="P";
HerdSlot["1300"]="L";
HerdSlot["1330"]="M";
HerdSlot["1400"]="P";
HerdSlot["1430"]="L";
HerdSlot["1500"]="M";
HerdSlot["1530"]="P";
HerdSlot["1600"]="L";
HerdSlot["1630"]="M";
HerdSlot["1700"]="P";
HerdSlot["1730"]="L";
HerdSlot["1800"]="M";
HerdSlot["1830"]="P";
HerdSlot["1900"]="L";
HerdSlot["1930"]="M";
HerdSlot["2000"]="P";
HerdSlot["2030"]="L";
HerdSlot["2100"]="M";
HerdSlot["2130"]="P";
HerdSlot["2200"]="L";
HerdSlot["2230"]="M";
HerdSlot["2300"]="P";
HerdSlot["2330"]="L";	


// Create the Active Date array to determine which
// dates will be used for "herding" in format dd/mm/yyyyy
var ActiveDate = new Array();

//TEST
ActiveDate["30/11/2009"] = "OFF";
ActiveDate["01/12/2009"] = "OFF";
ActiveDate["02/12/2009"] = "OFF";
ActiveDate["03/12/2009"] = "OFF";
ActiveDate["04/12/2009"] = "OFF";
ActiveDate["08/12/2009"] = "OFF";
ActiveDate["09/12/2009"] = "OFF";
ActiveDate["10/12/2009"] = "OFF";
ActiveDate["11/12/2009"] = "OFF";

//PEAK
ActiveDate["29/01/2010"] = "OFF";
ActiveDate["30/01/2010"] = "OFF";
ActiveDate["31/01/2010"] = "OFF";
ActiveDate["01/02/2010"] = "OFF";
ActiveDate["02/02/2010"] = "OFF";
ActiveDate["03/02/2010"] = "OFF";


//**********************************************
//Set the Start and End times for herding
//
//**********************************************
var StartTime = "0800";       //9AM Military time, changed to 3PM
var EndTime = "2400";         //8PM Military time, changed to 12AM(midnight)

