$(document).ready(function(){
var currentFontSize = $('html').css('font-size');
 	var currentFontSizeNum = parseFloat(currentFontSize, 10);
    var newFontSize = document.body.clientWidth/80;
	$('html').css('font-size', newFontSize);
	return false;

})

var timeOut = null;
var func = function() { 
	
	var currentFontSize = $('html').css('font-size');
 	var currentFontSizeNum = parseFloat(currentFontSize, 10);
    var newFontSize = document.body.clientWidth/80;
	$('html').css('font-size', newFontSize);
	return false;
};
window.onresize = function(){
	
	
	
   if(timeOut != null) clearTimeout(timeOut);
   setTimeout(func, 100);
};
