//------------------------------------------------------------------------------
// Main object                                                                  
//------------------------------------------------------------------------------

Main = {
	run: function(){
		this.include('swfobject.js');
		this.include('swfmacmousewheel.js');
		/*
		document.onblur = function()
		{
			if (document.getElementById('main').onDocBlur)
				document.getElementById('main').onDocBlur();
		}
		document.onfocus = function()
		{
			if (document.getElementById('main').onDocFocus)
				document.getElementById('main').onDocFocus();
		}*/
	},
	
	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>');
	}
	
	/*
	maximizeWindows:function (){
		window.moveTo(0,0);
		window.resizeTo(screen.availWidth, screen.availHeight);
	}
	*/

};

//------------------------------------------------------------------------------
// Inicializazmos
//------------------------------------------------------------------------------

//Main.maximizeWindows();
Main.run();
