jQuery.noConflict();

jQuery(function()
{
	Margin = Math.round(jQuery('.body').height()*0.033+25);
	
	jQuery('.footer').css('margin-left', (Margin > 101 ? '101' : Margin)+'px');
	/**/
	jQuery('.draft-labels li').mouseleave(function ()
	{
		$(this).hide();
	});
});

function VideoOpen( Player, Movie, Offset )
{
	jQuery('.lightbox .content').html('<div id="video"></div>');
	
	var flashvars = { movie: Movie, offset: Offset, play: 'true' };
	
	var params = { wmode: 'transparent' };
	
	var attributes = {};
	
	swfobject.embedSWF(Player, 'video', '900', '540', '10.0.0', false, flashvars, params, attributes);
	
	jQuery('.lightbox').show();
}

function LightboxClose()
{
	jQuery('.lightbox .content').html('');
	jQuery('.lightbox').hide();
}

function OpenDraftBox( ID )
{
	jQuery('.draft-box').fadeOut();
	
	jQuery('.draft-box.id'+ID).fadeIn();
}

function CloseDraftBox( ID )
{
	jQuery('.draft-box.id'+ID).fadeOut();
}
