jQuery.fn.scrollover = function() {
	return this.each(function() {
		var el = jQuery(this);
		var html = el.html();
		var height = el.height();
		var width = el.width();
		var nudge = Math.ceil(height / 20);
		// Not perfect but good enough for now...
		var first = -height * (1.2 + (4.5*((nudge - 1)/height)));
		var second = -nudge * (1.2 + (4.5*((nudge - 1)/height)));
		
		el.empty().append("<fieldset />").find("fieldset").css({
			border: 'none',
			width: width,
			display: 'inline',
			margin: 0,
			padding: 0,
			paddingtop: '1px',
			overflow: 'visible'
		}).append("<span />").find("span").css({
			display: 'block',
			width: width,
			height: height,
			height: '17px',
			position: 'relative',
			overflow: 'hidden',
			marginBottom: '-0.2em'
		}).append("<em />").find("em").css({
			display: 'block',
			width: width,
			position: 'absolute',
			top: first,
			fontStyle: 'normal',
			lineHeight: '1.4em'
		}).append(html + " " + html).hover(function() {
			jQuery(this).animate({top:second},250);
		}, function() {
			jQuery(this).animate({top:first},250);
		}).end().end().end().end();
		
		return this;
	});
};

