$(document).ready(function(){					
	$('.fade').append('<span class="hover"></span>').each(function () {
		var $span = $('> span.hover', this).css('opacity', 0);
		$(this).hover(
			function () { $span.stop().fadeTo(200, 1); }, 
			function () { $span.stop().fadeTo(200, 0); }
		);
	});
	
	var d = new Date();
	var start = d.getTime(); 
	
	var flashvars = {
		configXML				: "http://mediaconsole2.synapseip.tv/player/config2.cfm?LiveStreamGUID=13eddb96-ef20-4b91-b942-04fec51725fb&CategoryGUID=5d9bf36a-68d5-40ac-9823-ffba15a114a9"
		,start					: start
		,autoHide				: 1			// set to true to hide controller on mouse out
		,showInfo 				: 0			// set to false to hide info button
		,showPlaylist 			: 0 		// set to false to hide the playlist
		
		,buttonColor 			: 0x6eb8ed 	// controller button color
		,buttonColorHover 		: 0x98d4ff 	// controller button color on rollover
		,barColorTop 			: 0x013556 	// controller bar top gradient color
		,barColorBottom 		: 0x012a44 	// controller bar bottom gradient color
		,trackColor 			: 0x011827 	// track color
		,progressColor 			: 0x6eb8ed 	// progress bar color
		,bufferColor 			: 0x0a476e 	// buffer bar color
		,handleColor 			: 0x6eb8ed 	// scrubber handle color
		,C1 					: 0			// controller corner radius (top left -> clockwise)
		,C2 					: 0
		,C3 					: 0
		,C4 					: 0
		
		,mediaBackground 		: 0x000000 	// background color of media
		,info_buttonColor 		: 0x510307 	// info button color
		,info_buttonColorHover 	: 0xa10a10 	// info button color on rollover
		,info_titleColor 		: 0xffffff 	// info title color
		,info_viewsColor 		: 0x999999 	// info views color
		,info_starColor 		: 0x999999 	// star color
		,info_starColorHover 	: 0x95cdff 	// star color on rollover
		,info_starColorActive 	: 0x265cbb 	// star color active
		,titleColor 			: 0xFFFFFF 	// playlist title color
		,viewsColor 			: 0x999999 	// playlist views color
		,starColor 				: 0x999999 	// playlist star colors
		,starColorHover 		: 0x95cdff 	// playlist star color on rollover
		,starColorActive 		: 0x265cbb 	// playlist star color active
	};
	var params = {
		wmode: "transparent",
		allowFullScreen: "true",
		allowScriptAccess: "always"
	};
	var attributes = {};
	
	swfobject.embedSWF("http://mediaconsole2.synapseip.tv/player/VideoPlayer.swf", "video", "640", "384", "10.0.0", "expressInstall.swf", flashvars, params, attributes);
	swfobject.createCSS("#video","outline:none"); 
});