function changeFontSize(inc)
{
  var p = document.getElementsByTagName('p');
  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';
  }

  var li = document.getElementsByTagName('li');
  for(n=0; n<li.length; n++) {  
  if(li[n].style.fontSize) {   
	var size = parseInt(li[n].style.fontSize.replace("px", ""));  
  } else {   
	var size = 12;
  }
  li[n].style.fontSize = size+inc + 'px';
  }

  var ul = document.getElementsByTagName('ul');
  for(n=0; n<ul.length; n++) {  
  if(ul[n].style.fontSize) {   
	var size = parseInt(ul[n].style.fontSize.replace("px", ""));  
  } else {   
	var size = 12;
  }
  ul[n].style.fontSize = size+inc + 'px';
  }

  var ol = document.getElementsByTagName('ol');
  for(n=0; n<ol.length; n++) {  
  if(ol[n].style.fontSize) {   
	var size = parseInt(ol[n].style.fontSize.replace("px", ""));  
  } else {   
	var size = 12;
  }
  ol[n].style.fontSize = size+inc + 'px';
  }

  var h1 = document.getElementsByTagName('h1');
  for(n=0; n<h1.length; n++) {  
  if(h1[n].style.fontSize) {   
	var size = parseInt(h1[n].style.fontSize.replace("px", ""));  
  } else {   
	var size = 32;
  }
  h1[n].style.fontSize = size+inc + 'px';
  }

  var h2 = document.getElementsByTagName('h2');
  for(n=0; n<h2.length; n++) {  
  if(h2[n].style.fontSize) {   
	var size = parseInt(h2[n].style.fontSize.replace("px", ""));  
  } else {   
	var size = 20;
  }
  h2[n].style.fontSize = size+inc + 'px';
  }

  var h3 = document.getElementsByTagName('h3');
  for(n=0; n<h3.length; n++) {  
  if(h3[n].style.fontSize) {   
	var size = parseInt(h3[n].style.fontSize.replace("px", ""));  
  } else {   
	var size = 16;
  }
  h3[n].style.fontSize = size+inc + 'px';
  }

  var h4 = document.getElementsByTagName('h4');
  for(n=0; n<h4.length; n++) {  
  if(h4[n].style.fontSize) {   
	var size = parseInt(h4[n].style.fontSize.replace("px", ""));  
  } else {   
	var size = 14;
  }
  h4[n].style.fontSize = size+inc + 'px';
  }

  var h5 = document.getElementsByTagName('h5');
  for(n=0; n<h5.length; n++) {  
  if(h5[n].style.fontSize) {   
	var size = parseInt(h5[n].style.fontSize.replace("px", ""));  
  } else {   
	var size = 12;
  }
  h5[n].style.fontSize = size+inc + 'px';
  }

  var h6 = document.getElementsByTagName('h6');
  for(n=0; n<h6.length; n++) {  
  if(h6[n].style.fontSize) {   
	var size = parseInt(h6[n].style.fontSize.replace("px", ""));  
  } else {   
	var size = 12;
  }
  h6[n].style.fontSize = size+inc + 'px';
  }

  var td = document.getElementsByTagName('td');
  for(n=0; n<td.length; n++) {  
  if(td[n].style.fontSize) {   
	var size = parseInt(td[n].style.fontSize.replace("px", ""));  
  } else {   
	var size = 12;
  }
  td[n].style.fontSize = size+inc + 'px';
  }

  var th = document.getElementsByTagName('th');
  for(n=0; n<th.length; n++) {  
  if(th[n].style.fontSize) {   
	var size = parseInt(th[n].style.fontSize.replace("px", ""));  
  } else {   
	var size = 14;
  }
  th[n].style.fontSize = size+inc + 'px';
  }
}

