$(document).ready(function(){ 
 $(".contai").gkFT();
var h, s;
    $("#fullarticle img").each(function() {
        if($(this).width() > 642) {
            h=$(this).height()/$(this).width()*622;
            $(this).attr({height : h });
            $(this).attr({width : "642"});
	    s="<a href="'+$(this).attr("src")+'" target="_blank" ></a>";
            $(this).wrap(s);
        }
    });
 
	function getFontSize() { 
        var currentSize = $("p").css("font-size"); 
        var currentSizeNumber = parseFloat(currentSize, 14); 
        if(currentSizeNumber > 25) { 
                currentSizeNumber = 25; 
        } 
        return currentSizeNumber; 
} 

function setFontSize(size) { 
        $("p").css("font-size", size); 
}
        var originalFontSize = getFontSize(); 
        $(".resetFont").click(function(){ 
                setFontSize(originalFontSize); 
                $("#changeFont").fadeToggle("fast"); 
                return false; 
        }); 
        $(".increaseFont").click(function(){ 
                var fontSize = getFontSize(); 
                var newFontSize = fontSize + 1; 
                setFontSize(newFontSize); 
                return false; 
        }); 
        $(".decreaseFont").click(function(){ 
                var fontSize = getFontSize(); 
                var newFontSize = fontSize - 1; 
                setFontSize(newFontSize); 
                return false; 
        }); 
}); 