// JavaScript Document

function changeFontSize(inc){
	
	var p = document.getElementsByTagName('div');
	for(n=0; n<p.length; n++) {
		if(p[n].style.fontSize) {
		   var size = parseInt(p[n].style.fontSize.replace("px", ""));
		} else {
		   var size = 13;
		}
		p[n].style.fontSize = size+inc + 'px';
	}
	
	var p = document.getElementsByTagName('a');
	for(n=0; n<p.length; n++) {
		if(p[n].style.fontSize) {
		   var size = parseInt(p[n].style.fontSize.replace("px", ""));
		} else {
		   var size = 12;
		}
		p[n].style.fontSize = size+inc + 'px';
	}
}
