$(function() {
        $("#effect").hide();
		// run the currently selected effect
		function runEffect() {
			// get effect type from 
			var selectedEffect = $( "#effectTypes" ).val();
			
			// most effect types need no options passed by default
			var options = {};
			
			// run the effect
			$( "#effect" ).toggle( "slide", options, 1000 );
		};
		
		
		// set effect from select menu value
		$( "#image" ).click(function() {
			runEffect();
			return false;
		});
	});

