$().ready(function() {

// if using the lazy loader. Though Me thinks it does zilch for page load.
		$(".post_image img").lazyload({ 
		    placeholder : "<?php bloginfo('template_url'); ?>/jquery/jgrey.gif",
		    effect : "fadeIn" 
		});



// Drag the nuns! 
		$(".tiny-nun-transparent1").draggable();
		$(".tiny-nun1").draggable();
		$(".tiny-nun2").draggable();

// Pull kens cord! Total hack method. Bugs. If the mouse leaves the tag it won't send
// the mouseup. Also it takes two selectors to get teh sound. Ah code.

//		$('#pull_cord').mouseup(function() {
//		   $.sound.play("http://www.irreverentwidow.com/wp-content/themes/girl_scout_to_battle/style/layout-images/footer_images/ken_stack/OK.wav",{timeout:1000}); // Play a sound on mouse over
//		});
//		$("#pull_cord").draggable({ revertDuration: 900, revert: true, axis: 'x' });
	
	
	$('#hear-ken-speak-button').click(function() {
	   $.sound.play("style/layout-images/footer_images/ken_stack/OK.wav",{timeout:1000}); // Play a sound on mouse over
	});	

});
