var min=8;
var max=18;
function increaseFontSize() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 1;
      }
      p[i].style.fontSize = s+"px"
   }
}
function decreaseFontSize() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 1;
      }
      p[i].style.fontSize = s+"px"
   }   
}

/*var $j = jQuery.noConflict();

function zoomIn() {
	
	if( $j("#intro-content") != '' ) {
		
		var currentSize = parseInt( $j("#intro-content").css("fontSize").substr( 0, 2 ) );
		var newSize = currentSize + 1;
		
		if( newSize < 16 ) {
		
			$j("#intro-content").css("fontSize", newSize);
			
		}
		if ($j("#scrolling")){
			splash();
		}
	
	}
	
}

function zoomOut() {
		
	if( $j("#intro-content") != '' ) {
	
		var currentSize = parseInt( $j("#intro-content").css("fontSize").substr( 0, 2 ) );
		var newSize = currentSize - 1;
		
		if( newSize > 10 ) {
		
			$j("#intro-content").css("fontSize", newSize);
			
		}
		if ($j("#scrolling")){
			splash();
		}

	}
	
}*/
