function fontResize(cssClass, increaseId, decreaseId, resetId) {
	jQuery(self.document).ready(function() {
		var resultsDiv = jQuery('.' + cssClass);
		var step = 0;
		var maxStep = 2;
		var minStep = 2;
		var factor = 0.15;
		var incFactor = 1 + factor;
		var decFactor = 1 - factor;

		// Increase Font Size
		jQuery('#' + increaseId).click(function() {
			if (this.blur) {
				this.blur();
			}
			if (step < maxStep) {
				step++;
				resultsDiv.each(function() {
					var item = jQuery(this);
					var currentFontSize = item.css('font-size');
					if (!this.origFontSize) {
						this.origFontSize = currentFontSize;
					}
					var currentFontSizeNum = parseFloat(currentFontSize, 10);
					var newFontSize = Math.round(currentFontSizeNum * incFactor);
					item.css('font-size', newFontSize);
				});
			}
			return false;
		});

		// Decrease Font Size
		jQuery('#' + decreaseId).click(function() {
			if (this.blur) {
				this.blur();
			}
			if (step > -minStep) {
				step--;
				resultsDiv.each(function() {
					var item = jQuery(this);
					var currentFontSize = item.css('font-size');
					if (!this.origFontSize) {
						this.origFontSize = currentFontSize;
					}
					var currentFontSizeNum = parseFloat(currentFontSize, 10);
					var newFontSize = Math.round(currentFontSizeNum * decFactor);
					item.css('font-size', newFontSize);
				});
			}
			return false;
		});

		if (resetId) {
			jQuery('#' + resetId).click(function() {
				if (this.blur) {
					this.blur();
				}
				resultsDiv.each(function() {
					var item = jQuery(this);
					if (this.origFontSize) {
						item.css('font-size', this.origFontSize);
					}
				});
				step = 0;
				return false;
			});
		}
	});
}

