﻿if (!window.livePage)
	livePage = {};

livePage.Page = function() 
{
}

livePage.Page.prototype =
{
	handleLoad: function(control, userContext, rootElement) 
	{
		this.control = control;
		this.rootElement = rootElement;
		//alert(this.rootElement);
		
		//VIDEO PLAYER
		this.videoPlayer = new Framework(this.control, this.rootElement);
		this.videoPlayer.initiate();
		

	    //DROP DOWN
	    var _dropDown = new DropDownFramework(this.control, this.rootElement);
	    _dropDown.addVideo(this.videoPlayer);
	    _dropDown.initiate();
			

	    
	    //SPEAKER SELECTION
	    var _speaker = new SpeakerContFramework(this.control, this.rootElement);
	    _speaker.addDropDown(_dropDown);
	    _speaker.initiate();

		//alert("Speaker should load");
    }

}