//run the currently selected effect
		function runEffect(){
			//get effect type from 
			var selectedEffect = 'scale';
			
			//most effect types need no options passed by default
			var options = {};
			//check if it's scale or size - they need options explicitly set
			if(selectedEffect == 'scale'){  options = {percent: 100}; }
			else if(selectedEffect == 'size'){ options = { to: {width: 312,height: 342} }; }
			
			//run the effect
			$("#effect").show(selectedEffect,options,2700).delay(4000);
		};

$(document).ready(function() { 
//$(window).load
    $(window).load(function() { 
		runEffect();
	}); 
});
