/**
 * @author eric.buhman
 */

var banner_path = "";
var spongecell_environment = "http://cdn.spongecell.com"; //change from calf.spongecell.com
var environment_path = spongecell_environment + "/api/calendars/";  //for API calls
var max_results = "40";
var calendar_id = "92982"; //953(calf) 92982(dalf/live) 1346(test) 91907(prod test)
//var start_time = getCurrentDate();
var loadingPageSrc= spongecell_environment + "/loading.html";
var cnnLegalText = "The information submitted will be available to CNN.  CNN  will use the information in a manner consistent with our Privacy Policy.  If you indicate that you wish to receive messages from Spongecell, the information submitted will be subject to Spongecell's privacy policy.  Please note that CNN does not control the use of this information by Spongecell.  For more information on CNN's policies regarding user information, please read our CNN Privacy Policy.  For more information on Spongecell's  policies regarding user information, please read Spongecell's Privacy Policy."


//API Call e.g. // e.g. http://calf.spongecell.com/api/calendars/953.json?start_time=200712031413&max_results=10&callback=handleEventsResponse
var api_call = environment_path + calendar_id + ".json?start_time=today&max_results=" + max_results + "&callback=handleEventsResponse";

//If you get current time as start time, use below
//var api_call = environment_path + calendar_id + ".json?start_time=" + start_time + "&max_results=" + max_results + "&callback=handleEventsResponse";
