// JavaScript Document
	var flashvars = {};
	
	//////////////////////////////////////////////////////////////////////////////////////////////////////
	// CUSTUMIZABLE PARAMETERS ///////////////////////////////////////////////////////////////////////
	//////////////////////////////////////////////////////////////////////////////////////////////////////
	
	// video width
	var stageW = 415;
	
	// video height		NOTE: you should include the control bar height
	var stageH = 342;
	
	///////////////////////////////////////////////////////////////////////
	// PATHS //////////////////////////////////////////////////////////////
	///////////////////////////////////////////////////////////////////////

	// image path
	flashvars.imagePath			= "images/videopreview.jpg";

	// video path
	flashvars.videoPath 		= "video/bluediamond.flv";

	// video title
	flashvars.title 			= "Blue Diamond Limousines";

	// video description
	flashvars.description 		= "Carrie Peele tells you more about Blue Diamond.";
				
	///////////////////////////////////////////////////////////////////////
	// VIEW CONTROLS ////////////////////////////////////////////////////
	///////////////////////////////////////////////////////////////////////

	// view information button 		 NOTE: this will display the title and description of the video
	flashvars.viewInfoButton 		=	"true";

	// view fullscreen button		( true / false )
	flashvars.viewFullscreenButton 	=	"true";

	// view scale button			( true / false )
	flashvars.viewScaleButton 		=	"false";

	// view volume controls			( true / false )
	flashvars.viewVolumeControls 	=	"true";

	// view video time				( true / false )
	flashvars.viewTime				=	"true";

	// view big middle button		( true / false )
	flashvars.viewBigPlayButton 	=	"true";
	
	// view right click menu		( true / false )
	flashvars.viewRightClickMenu 	=	"true";
	
	////////////////////////////////////////////////////////////////////////
	// MOUSE FUNCTIONS //////////////////////////////////////////////////
	////////////////////////////////////////////////////////////////////////

	// mouse hide							( true / false )
	flashvars.mouseHide				=	"true";

	// mouse hide after # (seconds)		NOTE : Must be a hole number !
	flashvars.mouseHideTime			=	"3";

	// double click for toggle size view	( true / false )
	flashvars.doubleClick			=	"true";

	// click the video for play/pause		( true / false )
	flashvars.oneClick				=	"true";
	
	////////////////////////////////////////////////////////////////////////
	// KEYBOARD FUNCTIONS ///////////////////////////////////////////////
	////////////////////////////////////////////////////////////////////////

	// play/pause on SPACE key 		( true / false )
	flashvars.spaceKey				=	"true";
	
	////////////////////////////////////////////////////////////////////////
	// VIDEO FUNCTIONS ///////////////////////////////////////////////////
	////////////////////////////////////////////////////////////////////////

	// video loop				( true / false )
	flashvars.videoLoop			=	"false";

	// video auto play			( true / false )
	flashvars.videoAutoPlay		=	"false";
	
	// video buffer time		( seconds )
	flashvars.videoBufferTime	=	"3";
	
	// timeline interval	
	flashvars.tlInterval		=	"100000";

	// sound volume at start 		NOTE :	1=Max	0=Min
	flashvars.soundVolume		=	"0.8";

	// size the video starts at
	// can be set to 1, 2 and 3
	// 1 for narmol size view
	// 2 for aspect view 
	// 3 for full size view
	flashvars.fullSizeView		=	"1";
	
	////////////////////////////////////////////////////////////////////////
	// VISUAL APPEARANCE  /////////////////////////////////////////////////
	////////////////////////////////////////////////////////////////////////
	
	// spacing between the controls
	flashvars.spacing 			=	"10";
	
	// control bar height		( height )
	flashvars.controlHeight		=	"25";
	
	// vulume scrub lenght 		( lenght )
	flashvars.volumeLengthW		= 	"50";
	
	// controls background		( colors / alphas )
	flashvars.color1 			= 	"0x2e2e2e";
	flashvars.color2 			= 	"0x000000";
	flashvars.alpha1 			= 	"1";
	flashvars.alpha2 			= 	"1";
	
	// controls border			( color / alpha )
	flashvars.borderColor 		= 	"0x555555";
	flashvars.borderAlpha		= 	"1";
	
	// time view ////////////////////////////////////
	// time view background		( colors / alphas )
	flashvars.timeColor1		= 	"0x333333";
	flashvars.timeColor2		= 	"0x111111";
	flashvars.timeAlpha1		= 	"1";
	flashvars.timeAlpha2		= 	"1";

	// time view text color		( color )
	flashvars.timeTextColor1	= 	"0xffffff";
	flashvars.timeTextColor2	= 	"0x888888";

	
	// scrubber /////////////////////////////////////////////////////
	// scrubber height			( height )
	flashvars.scrubberHeight 	=	"3";

	// scrubber background 		( color / alpha )
	flashvars.scrubberColor1	= 	"0x333333";
	flashvars.scrubberAlpha1	= 	"1";

	// scrubber					( color / alpha )
	flashvars.scrubberColor2	= 	"0x47d2ff";
	flashvars.scrubberAlpha2	= 	"1";

	// scrubber glow filter		( color / alpha )
	flashvars.filterColor		= 	"0x0066ff";
	flashvars.filterAlpha		= 	"1";
	
	// control buttons	///////////////////////////////////////////////
	// control buttons color	( color )
	//flashvars.buttonColor		= 	"0x000000";
	
	// info view /////////////////////////////////////////////////////
	// title color					( color )
	flashvars.titleColor			=	"0x47d2ff";

	// description color			( color )
	flashvars.descriptionColor		=	"0xD3D3D3";

	// info background				( color / alpha )
	flashvars.infoBackgroundColor	=	"0x000000";
	flashvars.infoBackgroundAlpha	=	"0.5";
	
	//////////////////////////////////////////////////////////////////////////////////////////////////////
	//////////////////////////////////////////////////////////////////////////////////////////////////////
	//////////////////////////////////////////////////////////////////////////////////////////////////////
	
	var params = {};
	params.scale = "noscale";
	params.allowfullscreen = "true";
	params.salign = "tl";
	params.bgcolor = "000000";
	
	var attributes = {};
	swfobject.embedSWF("video-player.swf", "flashDiv", stageW, stageH, "9.0.0", false, flashvars, params, attributes);