  
function menu(el)
{
	$('.sub').hide();
	$(el).show();
}

function initPlayer()
{
	$('#content a').each(function(it,el){
		
		if ($(el).attr('href').search(/mp4/)>0)
		{
			$(el).before('<div id="flow'+it+'">');
			$(el).after('</div>');
			
			jwplayer('flow'+it).setup({
			    players: [
					{ type: "html5" },
					{ type: "flash", src: "/site/js/player.swf" }
				],
			    file: $(el).attr('href'),
			    image: $(el).children('img').attr('src'),
			    height: $(el).children('img').attr('height'),
			    width: $(el).children('img').attr('width')
			});
			$(el).children('img').remove();
		}
		
	})
	
	
}
