$(document).ready(function()	{
	
	var sendLeftPos =  pageWidth/2-220;
	var playbtm = (winHeight - 373) / 2;	
	
	$(".holdMeTight, .playWrap").css('left',sendLeftPos);
	
	$(".playWrap").css('bottom',playbtm).fadeTo(1, 0);

	$('.letItBeDark').height(pageHeight);
	
	$(".letItBeDark, .holdMeTight").fadeTo("slow", 0.0);
	
	$(".deletePop").click(function () {
		$(".holdMeTight, .letItBeDark").fadeTo("slow", 0.0, function () {$(this).hide();});
	});
	
	$(".loveIt").click(function () {
		$(".letItBeDark").show().fadeTo("fast", 0.7);
		$(".holdMeTight").show().fadeTo("slow", 1);
	});
	
	/* $(".playIcon").click(function () {
		$(".letItBeDark").show().fadeTo("fast", 0.7);
	}); */
	
	/* $(".playStop").click(function () {
		$(".playWrap, .letItBeDark").fadeTo("slow", 0.0, function () {$(this).hide();});
	}); */
	
	jQuery.fn.slideFadeHeight=function(speed, easing, callback) {
	return this.animate({opacity: 'toggle', height: 'toggle'}, speed, easing, callback);
	};
	
	jQuery.fn.slideFadeWidth=function(speed, easing, callback) {
	return this.animate({opacity: 'toggle', width: 'toggle'}, speed, easing, callback);
	};
	
	$(".playIcon").fadeTo(1, 0.0);
	
	$(".playIcon").mouseover(function() {
		$(this).fadeTo("slow", 0.75);
	}).mouseout(function() {
		$(this).fadeTo("slow", 0.0);
	});
	
	$(".playIcon").fadeTo(1, 0.0);
	
	$("#smallText").click(function () {
		$(".hfeed").removeClass("medium").removeClass("big").addClass("small");
	});
	
	$("#mediumText").click(function () {
		$(".hfeed").removeClass("small").removeClass("big").addClass("medium");
	});
	
	$("#largeText").click(function () {
		$(".hfeed").removeClass("small").removeClass("medium").addClass("big");
	});
	
		
});


