


/* -> MOOGALOOP ... */
		
													
		var params = {
			allowScriptAccess: 'always',
			sameDomain: 'always',
			allowfullscreen: 'true'
		};
		var attributes = {};
		
		
		function vimeo_player_loaded() {
			moogaloop = document.getElementById(swf_id);
			
			moogaloop.api_addEventListener('onPlay',    'vimeo_on_play');
			moogaloop.api_addEventListener('onPause',    'vimeo_on_pause');
			moogaloop.api_addEventListener('onFinish',   'vimeo_on_finish');
			
			
			
			if ( urlVid != undefined )
			{
				$('#'+toClick ).click( function() {
					document.location = urlVid;
				});
			}
		}
		
		function vimeo_on_play() {
			document.getElementById("zoneFlash").executeFlashCommand("stopBg");
			
		}
		function vimeo_on_pause() {
			document.getElementById("zoneFlash").executeFlashCommand("startBg");
		}
		function vimeo_on_finish() {
			document.getElementById("zoneFlash").executeFlashCommand("startBg");
		}
		
		
		
