// define the initialValue() function
$.fn.initialValue = function(value) {
	if (value) {
		return this.attr('initial-value', value);
	} else {
		return this.attr('initial-value');
	}
};
$.fn.clearInput = function() {
	return this.focus(function() {
		if (this.value == $(this).initialValue()) {
			this.value = '';
		}
	}).blur(function() {
		if (this.value == '') {
			this.value = $(this).initialValue();
		}
	}).each(function(index, elt) {
		$(this).initialValue(this.value);
	});
};
// apply plugin to all inputs with class ".clear-input"
$('.clear-input').clearInput();
	
$(".inArticle").hover(function()
{
	$('div', this).stop( true, false ).animate({
		height: 90
	}, 300, 'swing');
	
}, function()
{
	$('div', this).stop( true, false ).animate({
		height: 0
	}, 300, 'swing');
}
);
