$(document).ready(function() {
  
  	var $fontResizeTarget = $('.subL');
	
		$(".font_resize").click(function(){
			var currFontSize;
			currFontSize = $fontResizeTarget.css('fontSize'); 
			if( (currFontSize == null) || (currFontSize == '') || (currFontSize.length==0) || (typeof(currFontSize)=="undefined") ) { currFontSize = '12px'; }
			var newFontSize  = parseFloat(currFontSize, 10);
			var stringEnding = currFontSize.slice(-2);
	
			if(isNaN(newFontSize)) { newFontSize = 13; stringEnding='px'; }
	
			if(this.id == 'font_resize_increase') {
				if(newFontSize < 26) { newFontSize *= 1.2; }
			}
			else if (this.id == 'font_resize_decrease'){
				if(newFontSize > 9) { newFontSize /=1.2; }
			}
			$fontResizeTarget.css('fontSize', newFontSize + stringEnding); 
			//$fontResizeTarget.animate({fontSize: newFontSize + stringEnding},200); 
		
		return false;
	});
	


});

