$.noConflict();
jQuery(document).ready(function() {
	// setup overlay actions to buttons
	jQuery("a[rel]").overlay({
		// use the Apple effect for overlay
		effect: 'apple',				
		expose: '#000',					
		onLoad: function(content) {
			// find the player contained inside this overlay and load it
			this.getOverlay().find("a#player").flowplayer(0).load();
		},		
		onClose: function(content) {
			$f().unload();
		}
	});				
	
	// install flowplayers
	jQuery("a#player").flowplayer("video/flowplayer/flowplayer-3.2.5.swf", {
	clip: {		
		autoBuffering: true // <- do not place a comma here  
	} 
	});
});	
