$(function() {
	
	// setup player normally
	$f("mmcgold1", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play:true, 
				volume:true, 
				mute:true, 
				time:false, 
				stop:false,
				fullscreen:true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: true, 
			autoBuffering: true 
		}, playlist : [
			{	
				url: '/apex/2009apex/images/givingseason.jpg',
				thumbnail: '/apex/2009apex/images/givingseasonthumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 323,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/givingseason1.jpg',
				thumbnail: '/apex/2009apex/images/givingseason1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 937,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/givingseason2.jpg',
				thumbnail: '/apex/2009apex/images/givingseason2thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 937,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/givingseason3.jpg',
				thumbnail: '/apex/2009apex/images/givingseason3thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 937,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{
				url: '/apex/2009apex/media/African-American female voice/Arts and culture - African-American voice.mp3',
				thumbnail: '/apex/2009apex/media/audiothumb.jpg',
				width: 720,
				height: 24,
				thumbtype: 'video',
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: .6, cursor: 'pointer', bottom: 0 });
					this.getPlugin("play").css({ opacity: .6, cursor: 'pointer' }); 
				},
				controls: {
					fullscreen: false,
					hideDelay: 60000
				}
			},
			{
				url: '/apex/2009apex/media/Female voice/Economic development - female voice.mp3',
				thumbnail: '/apex/2009apex/media/audiothumb.jpg',
				width: 720,
				height: 24,
				thumbtype: 'video',
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: .6, cursor: 'pointer', bottom: 0 });
					this.getPlugin("play").css({ opacity: .6, cursor: 'pointer' }); 
				},
				controls: {
					fullscreen: false,
					hideDelay: 60000
				}
			},
			{
				url: '/apex/2009apex/media/Male voice/Education - male voice.mp3',
				thumbnail: '/apex/2009apex/media/audiothumb.jpg',
				width: 720,
				height: 24,
				thumbtype: 'video',
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: .6, cursor: 'pointer', bottom: 0 });
					this.getPlugin("play").css({ opacity: .6, cursor: 'pointer' }); 
				},
				controls: {
					fullscreen: false,
					hideDelay: 60000
				}
			}
	   ]
	});
	$f("mmcgold1").playlist("#mmcgold1clips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("mmcgold2", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			},
			audio: {
				url: '/flowplayer/flowplayer.audio-3.1.2.swf'	
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: true, 
			autoBuffering: true 
		}, playlist : [
			{	
				url: '/apex/2009apex/images/rethinkinghome.jpg',
				thumbnail: '/apex/2009apex/images/rethinkinghomethumb.jpg',
				scaling: 'fit',
				width: 685,
				height: 491,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/rethinkinghome1.jpg',
				thumbnail: '/apex/2009apex/images/rethinkinghome1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 937,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/rethinkinghome2.jpg',
				thumbnail: '/apex/2009apex/images/rethinkinghome2thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 982,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{
				url: '/apex/2009apex/media/ymcadreamhouse30B.flv',
				thumbnail: '/apex/2009apex/media/ymcadreamhouse30Bthumb.jpg',
				width: 640,
				height: 480,
				thumbtype: 'video',
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: .6, cursor: 'pointer', bottom: 0 });
					this.getPlugin("play").css({ opacity: .6, cursor: 'pointer' }); 
				}
			},
			{
				url: '/apex/2009apex/media/2009dreamhouseradio-B.mp3',
				thumbnail: '/apex/2009apex/media/audiothumb.jpg',
				width: 720,
				height: 24,
				thumbtype: 'video',
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: .6, cursor: 'pointer', bottom: 0 });
					this.getPlugin("play").css({ opacity: .6, cursor: 'pointer' }); 
				},
				controls: {
					fullscreen: false
				}
			}
	   ]
	});
	$f("mmcgold2").playlist("#mmcgold2clips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("mmcsilver", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: true, 
			autoBuffering: true 
		}, playlist : [
			{	
				url: '/apex/2009apex/images/revitaleyes.jpg',
				thumbnail: '/apex/2009apex/images/revitaleyesthumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 919,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/revitaleyes1.jpg',
				thumbnail: '/apex/2009apex/images/revitaleyes1thumb.jpg',
				scaling: 'fit',
				width: 661,
				height: 271,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			}
	   ]
	});
	$f("mmcsilver").playlist("#mmcsilverclips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("cgold1", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: true, 
			autoBuffering: true 
		}, playlist : [
			{	
				url: '/apex/2009apex/images/locationsmapandamenities.jpg',
				thumbnail: '/apex/2009apex/images/locationsmapandamenitiesthumb.jpg',
				scaling: 'fit',
				width: 662,
				height: 443,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/locationsmapandamenities1.jpg',
				thumbnail: '/apex/2009apex/images/locationsmapandamenities1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 579,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/locationsmapandamenities2.jpg',
				thumbnail: '/apex/2009apex/images/locationsmapandamenities2thumb.jpg',
				scaling: 'fit',
				width: 591,
				height: 720,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			}
	   ]
	});
	$f("cgold1").playlist("#cgold1clips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("csilver", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: true, 
			autoBuffering: true 
		}, playlist : [
			{	
				url: '/apex/2009apex/images/mrddbrochure.jpg',
				thumbnail: '/apex/2009apex/images/mrddbrochurethumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 427,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/mrddbrochure1.jpg',
				thumbnail: '/apex/2009apex/images/mrddbrochure1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 822,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/mrddbrochure2.jpg',
				thumbnail: '/apex/2009apex/images/mrddbrochure2thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 816,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			}
	   ]
	});
	$f("csilver").playlist("#csilverclips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("dmgold", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: true, 
			autoBuffering: true 
		}, playlist : [
			{	
				url: '/apex/2009apex/images/letsgrow.jpg',
				thumbnail: '/apex/2009apex/images/letsgrowthumb.jpg',
				scaling: 'fit',
				width: 585,
				height: 1000,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/letsgrow1.jpg',
				thumbnail: '/apex/2009apex/images/letsgrow1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 399,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			}
	   ]
	});
	$f("dmgold").playlist("#dmgoldclips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("pgold", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: true, 
			autoBuffering: true 
		}, playlist : [
			{	
				url: '/apex/2009apex/images/casealumnus1.jpg',
				thumbnail: '/apex/2009apex/images/casealumnus1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 964,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/casealumnus2.jpg',
				thumbnail: '/apex/2009apex/images/casealumnus2thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 964,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/casealumnus3.jpg',
				thumbnail: '/apex/2009apex/images/casealumnus3thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 964,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/casealumnus4.jpg',
				thumbnail: '/apex/2009apex/images/casealumnus4thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 964,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			}
	   ]
	});
	$f("pgold").playlist("#pgoldclips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("psilver", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: true, 
			autoBuffering: true 
		}, playlist : [
			{	
				url: '/apex/2009apex/images/leavesmagazine.jpg',
				thumbnail: '/apex/2009apex/images/leavesmagazinethumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 485,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/leavesmagazine1.jpg',
				thumbnail: '/apex/2009apex/images/leavesmagazine1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 948,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/leavesmagazine2.jpg',
				thumbnail: '/apex/2009apex/images/leavesmagazine2thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 937,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/leavesmagazine3.jpg',
				thumbnail: '/apex/2009apex/images/leavesmagazine3thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 945,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/leavesmagazine4.jpg',
				thumbnail: '/apex/2009apex/images/leavesmagazine4thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 948,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			}
	   ]
	});
	$f("psilver").playlist("#psilverclips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("pbronze1", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: true, 
			autoBuffering: true 
		}, playlist : [
			{	
				url: '/apex/2009apex/images/lcbj.jpg',
				thumbnail: '/apex/2009apex/images/lcbjthumb.jpg',
				scaling: 'fit',
				width: 692,
				height: 470,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/lcbj1.jpg',
				thumbnail: '/apex/2009apex/images/lcbj1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 553,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/lcbj2.jpg',
				thumbnail: '/apex/2009apex/images/lcbj2thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 553,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/lcbj3.jpg',
				thumbnail: '/apex/2009apex/images/lcbj3thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 553,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			}
	   ]
	});
	$f("pbronze1").playlist("#pbronze1clips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("pbronze2", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: true, 
			autoBuffering: true 
		}, playlist : [
			{	
				url: '/apex/2009apex/images/johncarrolmagazine1.jpg',
				thumbnail: '/apex/2009apex/images/johncarrolmagazine1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 921,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/johncarrolmagazine2.jpg',
				thumbnail: '/apex/2009apex/images/johncarrolmagazine2thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 921,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/johncarrolmagazine3.jpg',
				thumbnail: '/apex/2009apex/images/johncarrolmagazine3thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 921,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			},
			{	
				url: '/apex/2009apex/images/johncarrolmagazine4.jpg',
				thumbnail: '/apex/2009apex/images/johncarrolmagazine4thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 921,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
					this.getPlugin("play").css({ opacity: 0, cursor: 'default' }); 
					this.imageLoaded = false; 
				}, 
				onCuepoint: [0, function(clip, cuepoint) { 
					if (!this.imageLoaded) { 
						this.getPlugin("loading").show(); 
						this.pause(); 
					} 
				}], 
				onBufferFull: function() { 
					if (this.getState() == 4) { 
						this.imageLoaded = true;
						this.getPlugin("loading").hide(); 
					} 
				}
			}
	   ]
	});
	$f("pbronze2").playlist("#pbronze2clips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("tvgold", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: false, 
			autoBuffering: false 
		}, playlist : [
			{	
				autoPlay: true,
				url: '/apex/2009apex/media/ymcadreamhouse30Bpreview.jpg',
				scaling: 'fit',
				width: 640,
				height: 480,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
				}
			},
			{	
				url: '/apex/2009apex/media/ymcadreamhouse30B.flv',
				scaling: 'fit',
				width: 640,
				height: 480,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: .6, cursor: 'pointer', bottom: 0 });
					this.getPlugin("play").css({ opacity: .6, cursor: 'pointer' }); 
				}
			}
	   ]
	});
	
});

$(function() {
	
	// setup player normally
	$f("tvsilver1", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: false, 
			autoBuffering: false 
		}, playlist : [
			{	
				autoPlay: true,
				url: '/apex/2009apex/media/hibachipreview.jpg',
				scaling: 'fit',
				width: 640,
				height: 480,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
				}
			},
			{	
				url: '/apex/2009apex/media/hibachi.flv',
				scaling: 'fit',
				width: 640,
				height: 480,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: .6, cursor: 'pointer', bottom: 0 });
					this.getPlugin("play").css({ opacity: .6, cursor: 'pointer' }); 
				}
			}
	   ]
	});
	
});

$(function() {
	
	// setup player normally
	$f("tvsilver2", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: false, 
			autoBuffering: false 
		}, playlist : [
			{	
				autoPlay: true,
				url: '/apex/2009apex/media/volkswagenpreview.jpg',
				scaling: 'fit',
				width: 640,
				height: 480,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
				}
			},
			{	
				url: '/apex/2009apex/media/volkswagen.flv',
				scaling: 'fit',
				width: 640,
				height: 480,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: .6, cursor: 'pointer', bottom: 0 });
					this.getPlugin("play").css({ opacity: .6, cursor: 'pointer' }); 
				}
			}
	   ]
	});
	
});

$(function() {
	
	// setup player normally
	$f("tvbronze", "/flowplayer/flowplayer-3.1.5.swf", {		
		plugins: { 
			controls: {
				backgroundColor: "#000000",
				backgroundGradient: "none",
				autoHide: "always",
				durationColor: "#ffffff",
				progressColor: "#333333",
				progressGradient: "low",
				bufferColor: "#ffffff",
				bufferGradient:	 "low",
				sliderColor: "#ffffff",	
				sliderGradient: "low",
				buttonColor: "#ffffff",
				buttonOverColor: "#ccccccc",
				height: 24,
				opacity: 0.6, 
				play: true, 
				volume: true, 
				mute: true, 
				time: false, 
				stop: false,
				fullscreen: true,
      			useNativeFullScreen: true
			}
		}, canvas: {
			backgroundColor: "#000000",
			backgroundGradient: "none"
		}, clip : {            
			autoPlay: false, 
			autoBuffering: false 
		}, playlist : [
			{	
				autoPlay: true,
				url: '/apex/2009apex/media/dandsautomotivepreview.jpg',
				scaling: 'fit',
				width: 640,
				height: 480,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
				}
			},
			{	
				url: '/apex/2009apex/media/dandsautomotive.flv',
				scaling: 'fit',
				width: 640,
				height: 480,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: .6, cursor: 'pointer', bottom: 0 });
					this.getPlugin("play").css({ opacity: .6, cursor: 'pointer' }); 
				}
			}
	   ]
	});
	
});
