(function($){$.fn.placeholder=function()
{this.focus(function(){if($(this).val()==$(this).attr('placeholder'))
$(this).val('');});this.blur(function(){if($(this).val()=='')
$(this).val($(this).attr('placeholder'));});};})(jQuery);

$.fn.pause = function(duration) {
    $(this).animate({ dummy: 1 }, duration);
    return this;
};

$(document).ready(function(){
	$('input[type="text"]').placeholder();
	$('#altContent').hide();
	var content = false;
	$('#moreInfo a').click(function(){
		if(content){
			$(this).text('...more');
			$('#altContent').fadeOut();
			$('#videoContent').pause(500).fadeIn();
			content = false;
		}
		else {
			$(this).text('...less');
			$('#videoContent').fadeOut();
			$('#altContent').pause(500).fadeIn();
			
			content = true;
		}
	});
})
