$(document).ready(function() {

	// SILLY WILLY
	$("div#attachment_159").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			// marginTop: '-85px',
			// marginLeft: '-78px',
			// top: '50%',
			// left: '50%',
			marginTop: '0',
			marginLeft: '0',
			top: '0',
			left: '0',
			height: '160px',
			width: '145px'
		}, 200);
	}, function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '5px',
			marginLeft: '5px',
			top: '0',
			left: '0',
			height: '150px',
			width: '135'
		}, 400);
	});

	// SILLY SOL
	$("div#attachment_158").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			// marginTop: '-85px',
			// marginLeft: '-54px',
			// top: '50%',
			// left: '50%',
			marginTop: '0',
			marginLeft: '0',
			top: '-5px',
			left: '0',
			height: '160px',
			width: '108px'
		}, 200);
	}, function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0',
			marginLeft: '0',
			top: '5px',
			left: '5px',
			height: '150px',
			width: '98px'
		}, 400);
	});

	// SILLY DILLY
	$("div#attachment_153").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			// marginTop: '-85px',
			// marginLeft: '-55px',
			// top: '50%',
			// left: '50%',
			marginTop: '0',
			marginLeft: '0',
			top: '-5px',
			left: '0',
			height: '160px',
			width: '110px'
		}, 200);
	}, function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0',
			marginLeft: '0',
			top: '5px',
			left: '5px',
			height: '150px',
			width: '100px'
		}, 400);
	});

	// FUNLY
	$("div#attachment_154").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			// marginTop: '-85px',
			// marginLeft: '-46px',
			// top: '50%',
			// left: '50%',
			marginTop: '0',
			marginLeft: '0',
			top: '0',
			left: '0',
			height: '160px',
			width: '92px'
		}, 200);
	}, function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0',
			marginLeft: '0',
			top: '5px',
			left: '5px',
			height: '150px',
			width: '82px'
		}, 400);
	});

	// SILLY GUMPY
	$("div#attachment_155").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			// marginTop: '-85px',
			// marginLeft: '-53px',
			// top: '50%',
			// left: '50%',
			marginTop: '0',
			marginLeft: '0',
			top: '0',
			left: '0',
			height: '160px',
			width: '106'
		}, 200);
	}, function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0',
			marginLeft: '0',
			top: '5px',
			left: '5px',
			height: '150px',
			width: '96px'
		}, 400);
	});

	// SILLY LILLY
	$("div#attachment_156").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			// marginTop: '-85px',
			// marginLeft: '-30px',
			// top: '50%',
			// left: '50%',
			marginTop: '0',
			marginLeft: '0',
			top: '0',
			left: '0',
			height: '160px',
			width: '61px'
		}, 200);
	}, function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0',
			marginLeft: '0',
			top: '5px',
			left: '5px',
			height: '150px',
			width: '51px'
		}, 400);
	});

	// DAFFALOO
	$("div#attachment_152").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			// marginTop: '-85px',
			// marginLeft: '-52px',
			// top: '50%',
			// left: '50%',
			marginTop: '0',
			marginLeft: '0',
			top: '0',
			left: '0',
			height: '160px',
			width: '104px'
		}, 200);
	}, function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0',
			marginLeft: '0',
			top: '0',
			left: '0',
			height: '150px',
			width: '94px'
		}, 400);
	});

	// BUFFOONLY
	$("div#attachment_151").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			// marginTop: '-85px',
			// marginLeft: '-62px',
			// top: '50%',
			// left: '50%',
			marginTop: '0',
			marginLeft: '0',
			top: '0',
			left: '0',
			height: '160px',
			width: '124px'
		}, 200);
	}, function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0',
			marginLeft: '0',
			top: '3px',
			left: '3px',
			height: '150px',
			width: '114px'
		}, 400);
	});

	// BILLY RABBIT
	$("div#attachment_150").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			// marginTop: '-85px',
			// marginLeft: '-69px',
			// top: '50%',
			// left: '50%',
			marginTop: '0',
			marginLeft: '0',
			top: '0',
			left: '0',
			height: '160px',
			width: '138px'
		}, 200);
	}, function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0',
			marginLeft: '0',
			top: '5px',
			left: '5px',
			height: '150px',
			width: '128px'
		}, 400);
	});

	// MANIC MONKEY
	$("div#attachment_157").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			// marginTop: '-85px',
			// marginLeft: '-105px',
			// top: '50%',
			// left: '50%',
			marginTop: '0',
			marginLeft: '0',
			top: '0',
			left: '0',
			height: '160px',
			width: '210px'
		}, 200);
	}, function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0',
			marginLeft: '0',
			top: '5px',
			left: '5px',
			height: '150px',
			width: '200px'
		}, 400);
	});

	// CLOWNLY
	$("div#attachment_286").hover(function() {
	$(this).css({'z-index' : '10'});
	$(this).find('img').addClass("hover").stop()
		.animate({
			// marginTop: '-85px',
			// marginLeft: '-105px',
			// top: '50%',
			// left: '50%',
			marginTop: '0',
			marginLeft: '0',
			top: '0',
			left: '0',
			height: '160px',
			width: '111px'
		}, 200);
	}, function() {
		$(this).css({'z-index' : '0'});
		$(this).find('img').removeClass("hover").stop()
		.animate({
			marginTop: '0',
			marginLeft: '0',
			top: '5px',
			left: '5px',
			height: '150px',
			width: '101px'
		}, 400);
	});

	WobbleKite();

});

function WobbleKite() {
	$("#KiteOne").animate({ top: "+=5px", left: "+=3px" }, 1600).animate({ top: "-=5px", left: "-=3px" }, 1500);
	$("#KiteTwo").animate({ top: "+=4px", left: "+=1px" }, 1850).animate({ top: "-=4px", left: "-=1px" }, 1700);
	$("#KiteThree").animate({ top: "+=7px", left: "-=5px" }, 1300).animate({ top: "-=7px", left: "+=5px" }, 1800);
	$("#KiteFour").animate({ top: "+=3px", left: "-=8px" }, 1800).animate({ top: "-=3px", left: "+=8px" }, 1900);
	$("#KiteFive").animate({ top: "+=9px", left: "-=1px" }, 2250).animate({ top: "-=9px", left: "+=1px" }, 2300);
	WobbleKite();
}
