// JavaScript Document
 function changeFont(condition){
     var currentSize;
   var newnum;
   var newSize;
    var mycontent = document.getElementById('content');
    
    /*works in IE only*/
    if (mycontent.currentStyle){
  currentSize = mycontent.currentStyle.fontSize
  newSize = (condition == 'larger')? parseInt(currentSize) + 2 + "px": parseInt(currentSize) - 2 + "px";
    mycontent.style.fontSize = newSize;
    }else {
     var computedStyle = window.getComputedStyle(mycontent, "");
     currentSize = computedStyle.getPropertyValue("font-size");
     newSize = (condition == 'larger')? parseInt(currentSize) + 2 + "px": parseInt(currentSize) - 2 + "px";
   document.getElementById('content').style.fontSize = newSize;
    }
 }