

//------------------------------------------------------------------------------
// Main object                                                                  
//------------------------------------------------------------------------------

Main =
{
	run: function()
	{
		this.include('common.js');
		this.include('MenuBar.js');
		
	},
	
	include: function(jsFile)
	{
		// with document.write we're sure that the script will be loaded and 
		// executed just after the current script and in the correct order 
		document.write('<script'
			+' type="text/javascript"'
			+' src="js/' +jsFile +'"></script>');
	}
};


//------------------------------------------------------------------------------
// Main initialization                                                          
//------------------------------------------------------------------------------

Main.run();
