	//get the current date
	var d = new Date();
	//alert (d);
	var monthname=new Array("January","Feburary","March","April","May","June","July","August","September","October","November","December");
	var dayname=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
	var daynameshort=new Array("Sun","Mon","Tues","Weds","Thurs","Fri","Sat")
	
	
	//Set the individual vars
	var curr_date  = d.getDate();
	var curr_day = d.getDay();
	//add 1 to the current month as this retrieved the month as a number with Jan being 0, feb 1, etc
	var curr_month = d.getMonth();
	var curr_year = d.getFullYear();
	var curr_hour = d.getHours();
	var curr_min = d.getMinutes();
	var curr_sec = d.getSeconds();
	

	
	//add 1 to the current month as this retrieved the month as a number with Jan being 0, feb 1, etc
	var curr_month = (curr_month+1);
	
	//Convert the dates into strings
	curr_date = curr_date + "";
	curr_month = curr_month + "";
	curr_sec = curr_sec + "";
	curr_min = curr_min + "";
	curr_hour = curr_hour + "";
	
	//due to weirdness
	intdate = parseInt(curr_date);
	
	//check date, month, hour, and min for single digits and add 0 if needed
	if (curr_date.length == 1)
   	{
   		curr_date = "0" + curr_date;
   	}
	
	if (curr_month.length == 1)
   	{
		curr_month = "0" + curr_month;
   	}

	if (curr_sec.length == 1)
   	{
   		curr_sec = "0" + curr_sec;
   	}
	//seperate the unigue var from the current time
	//unique will be used to ensure the feed is never looking at a cached version
	uniq_sec = curr_sec;
	if (curr_min == 0)
   	{
   		curr_min = "0" + curr_hour;
   		uniq_min = "0" + curr_hour;
   	}
	else {
		uniq_min = curr_min;
	}
	if (curr_hour.length == 1)
   	{
   		curr_hour = "0" + curr_hour;
   	}

	var unique = (uniq_min+""+uniq_sec);
 
	//build the google start min var - this var will be used to determine when the feed should start to look from
	//show events up till 4 AM
	
	
	// set the start time of a new day - this may seem odd but we want late night events to show on the previous day
	var timeThreefiftynine = "03:59:59";
	var timeFour = "04:00:00";

	var google_start_min = (curr_year+"-"+curr_month+"-"+curr_date+"T"+timeFour);