LowPro.optimize$$ = false;



Event.addBehavior({
	'.video_link:click' : function() {
	//	alert($(this).down());
		
	///	if ($(this).down() == "[object HTMLImageElement]") // if flash has already been loaded,  img will now be an object -- skip function
	//	{
			
		flashembed($(this),
			{
				src: "/flash/outside_council_player.swf",
				expressInstall: "/flash/expressInstall",
					width: "960",
					height: "540"
			},
			{
				clip: encodeURIComponent($(this).href),
				hide_transport_controls: $(this).hasClassName("hide_transport_controls"),
				loop_delay: $(this).readAttribute("data-loop_delay"),
				this_id: $(this).readAttribute("data-this_id")
			}
			);
	//	}	
	
		return(false);
		
	}, 
	
	'.hide_transport_controls' : function() {
	//	if ($(this).down() == "[object HTMLImageElement]") // if flash has already been loaded,  img will now be an object -- skip function
	//	{
		flashembed($(this),
			{
				src: "/flash/outside_council_player.swf",
				expressInstall: "/flash/expressInstall",
					width: "960",
					height: "540"
			},
			{
				clip: encodeURIComponent(this.href),
				hide_transport_controls: $(this).hasClassName("hide_transport_controls"),
				loop_delay: $(this).readAttribute("data-loop_delay"),
				this_id: $(this).readAttribute("data-this_id")
			}
			);
	//	}			
	},
	
	// moved the non-trasnport showing, looping flash movies into easySlider code...
	
	'.media_container:mouseover' : function() {
		this.setOpacity(.85);
	},
	'.media_container:mouseout' : function() {
		this.setOpacity(1);
	}
});