﻿// JScript File

 //Adjust font size

    	$(document).ready(function() {

    		$("a.changer").click(function() {
    			var $PrinterAdjust = $('#PrinterAdjust');
    			var currentSize = $PrinterAdjust.css('font-size');
    			var num = parseFloat(currentSize, 10);
    			var unit = currentSize.slice(-2);

    			if (this.id == 'linkLarge') {
    				num = num * 1.4;
    			} else if (this.id == 'linkSmall') {
    				num = num / 1.4;
    			}

    			$PrinterAdjust.css('font-size', num + unit);
    			return false;
    		});
    	});
            
