ScheduleRuntime = function(view, focusDate, focusTime, focusPageId, dateChooser, stylesheetPath)
{
	this.view = view;
	this.focusDate = focusDate;
	this.focusTime = focusTime;
	this.focusPageId = focusPageId; 
	this.isLoaded = false;
	this.latestRequest;
	this.calendar;
	this.dateChooser = dateChooser;
	this.scroll = new ScheduleScroller;
	this.mouse = new MouseTracker;	
	this.user = new User(stylesheetPath);
	this.popup = new SchedulePopup(this.user.browserSpecificSettings);
	
	this._ajaxLoaded = false;
}   

ScheduleRuntime.prototype.getFocusHour = function()
{
	return parseInt(this.focusTime.split(':')[0],10);	
}

ScheduleRuntime.prototype.getFocusMinute = function()
{
	return parseInt(this.focusTime.split(':')[1],10);		
}


