var mook = 
{
	//*------------------------------------------------------------------//
	test: function()
	{
		var width = window.getSize().x;
		if(width < 1000)
		{
			width = 1000;
		}
		$('video-player').setStyles({width: width + "px", height: (width / 1.33).round() + "px"});
  	},

	//*------------------------------------------------------------------//
	init: function()
	{
		this.test();
	}
}


/*------------------------------------------------------------------
REGISTER MAIN EVENTS
------------------------------------------------------------------*/
window
.addEvent
(
	'domready',
	function()
	{
		mook.init();
	}
)
.addEvent
(
	'resize',
	function()
	{
		mook.init();
	}
)