$(function() {
	
	// setup player normally
	$f("arsilver", "/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/providinganswerschanginglives1.jpg',
				thumbnail: '/apex/2009apex/images/providinganswerschanginglives1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 556,
				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/providinganswerschanginglives2.jpg',
				thumbnail: '/apex/2009apex/images/providinganswerschanginglives2thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 556,
				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/providinganswerschanginglives3.jpg',
				thumbnail: '/apex/2009apex/images/providinganswerschanginglives3thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 556,
				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/providinganswerschanginglives4.jpg',
				thumbnail: '/apex/2009apex/images/providinganswerschanginglives4thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 556,
				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("arsilver").playlist("#arsilverclips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("arbronze", "/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/makingadifference1.jpg',
				thumbnail: '/apex/2009apex/images/makingadifference1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 520,
				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/makingadifference2.jpg',
				thumbnail: '/apex/2009apex/images/makingadifference2thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 520,
				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/makingadifference3.jpg',
				thumbnail: '/apex/2009apex/images/makingadifference3thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 520,
				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/makingadifference4.jpg',
				thumbnail: '/apex/2009apex/images/makingadifference4thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 520,
				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("arbronze").playlist("#arbronzeclips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("ngold", "/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/specialedition1.jpg',
				thumbnail: '/apex/2009apex/images/specialedition1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 1113,
				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/specialedition2.jpg',
				thumbnail: '/apex/2009apex/images/specialedition2thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 1113,
				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/specialedition3.jpg',
				thumbnail: '/apex/2009apex/images/specialedition3thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 1113,
				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/specialedition4.jpg',
				thumbnail: '/apex/2009apex/images/specialedition4thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 1113,
				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("ngold").playlist("#ngoldclips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("nsilver", "/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/wildtimes1.jpg',
				thumbnail: '/apex/2009apex/images/wildtimes1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 990,
				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/wildtimes2.jpg',
				thumbnail: '/apex/2009apex/images/wildtimes2thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 990,
				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/wildtimes3.jpg',
				thumbnail: '/apex/2009apex/images/wildtimes3thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 990,
				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/wildtimes4.jpg',
				thumbnail: '/apex/2009apex/images/wildtimes4thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 990,
				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("nsilver").playlist("#nsilverclips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("nbronze", "/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/thevillager.jpg',
				thumbnail: '/apex/2009apex/images/thevillagerthumb.jpg',
				scaling: 'fit',
				width: 621,
				height: 489,
				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/thevillager1.jpg',
				thumbnail: '/apex/2009apex/images/thevillager1thumb.jpg',
				scaling: 'fit',
				width: 720,
				height: 555,
				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("nbronze").playlist("#nbronzeclips.clips:first", {loop:false});
	
});

$(function() {
	
	// setup player normally
	$f("vfgold", "/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/utianpreview.jpg',
				scaling: 'fit',
				width: 320,
				height: 213,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
				}
			},
			{	
				url: '/apex/2009apex/media/utian.flv',
				scaling: 'fit',
				width: 320,
				height: 213,
				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("vfsilver", "/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/breckenridgepreview.jpg',
				scaling: 'fit',
				width: 720,
				height: 366,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: 0, cursor: 'default' });
				}
			},
			{	
				url: '/apex/2009apex/media/breckenridge.flv',
				scaling: 'fit',
				width: 720,
				height: 366,
				onBegin: function() {
					this.getPlugin("controls").css({ opacity: .6, cursor: 'pointer', bottom: 0 });
					this.getPlugin("play").css({ opacity: .6, cursor: 'pointer' }); 
				}
			}
	   ]
	});
	
});
