/***********************************************
* Script to increase and decrease font size
* created on 29/04/2009
*
***********************************************/

var min=10;
var max=17;

	function increaseFontSize() {

	var p = document.getElementsByTagName('div');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s =14;
	      }
	      if(s!=max) {
	         s += 1;
	      }
	      p[i].style.fontSize = s+"px"
	   } 	

	var p = document.getElementsByTagName('td');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s =14;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		   
		 var p = document.getElementsByTagName('a');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s =14;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 


			 var p = document.getElementsByTagName('select');
			   for(i=0;i<p.length;i++) {
			      if(p[i].style.fontSize) {
			         var s = parseInt(p[i].style.fontSize.replace("px",""));
			      } else {
			         var s = 13;
			      }
			      if(s!=max) {
			         s += 1;
			      }
			      p[i].style.fontSize = s+"px"
			   } 
		 var p = document.getElementsByTagName('input');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 14;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		 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 = 14;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		
	   var p = document.getElementsByTagName('span');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s = 14;
	      }
	      if(s!=max) {
	         s += 1;
	      }
	      p[i].style.fontSize = s+"px"
	   }

	   var p = document.getElementsByTagName('font');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s = 14;
	      }
	      if(s!=max) {
	         s += 1;
	      }
	      p[i].style.fontSize =s+"px"
	   }

	}
	
	function decreaseFontSize() {
		
		 var p = document.getElementsByTagName('div');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=min) {
		         s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		   
		 var p = document.getElementsByTagName('td');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=min) {
		         s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		
		 var p = document.getElementsByTagName('a');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=min) {
		         s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 


			 var p = document.getElementsByTagName('select');
			   for(i=0;i<p.length;i++) {
			      if(p[i].style.fontSize) {
			         var s = parseInt(p[i].style.fontSize.replace("px",""));
			      } else {
			         var s = 8;
			      }
			      if(s!=min) {
			         s -= 1;
			      }
			      p[i].style.fontSize = s+"px"
			   } 
		 var p = document.getElementsByTagName('input');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=min) {
		         s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		 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 = 10;
		      }
		      if(s!=min) {
		         s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		
	   var p = document.getElementsByTagName('span');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s = 10;
	      }
	      if(s!=min) {
	         s -= 1;
	      }
	      p[i].style.fontSize = s+"px"
	   }

	   var p = document.getElementsByTagName('font');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s = 10;
	      }
	      if(s!=min) {
	         s -= 1;
	      }
	      p[i].style.fontSize =s+"px"
	   }
	}

	function resetFontSize() {
		
		var p = document.getElementsByTagName('div');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 

		var p = document.getElementsByTagName('td');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 
		   
		 var p = document.getElementsByTagName('a');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 
		   
		   		   
		   var p = document.getElementsByTagName('label');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 


			 var p = document.getElementsByTagName('select');
			   for(i=0;i<p.length;i++) {
			      if(p[i].style.fontSize) {
			         var s = parseInt(p[i].style.fontSize.replace("px",""));
			      } else {
			         var s = 8;
			      }
			      if(s!=max) {
			         s += 1;
			      }
			      p[i].style.fontSize = 9+"px"
			   } 
		 var p = document.getElementsByTagName('input');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 
		 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 = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 
		
	   var p = document.getElementsByTagName('span');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s = 10;
	      }
	      if(s!=max) {
	         s += 1;
	      }
	      p[i].style.fontSize = 11+"px"
	   }

	   var p = document.getElementsByTagName('font');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s = 10;
	      }
	      if(s!=max) {
	         s += 1;
	      }
	      p[i].style.fontSize =11+"px"
	   }

	}
	
	
	
	function resetFontSizeArabic() {
		
		var p = document.getElementsByTagName('strong');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 
		   
		var p = document.getElementsByTagName('div');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 

		var p = document.getElementsByTagName('td');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 
		   
		  		   
		 var p = document.getElementsByTagName('a');
		   for(i=0;i<p.length;i++) {
			   
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 
		   
		   var p = document.getElementsByClassName( 'menu', document.body );
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 21;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 22+"px"
		   }
		   
		   var p = document.getElementsByClassName( 'box_headerAR', document.body );
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 17;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 18+"px"
		   }
		   
		   var p = document.getElementsByClassName( 'box_headerAr', document.body );
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 17;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 18+"px"
		   }
		   
		   var p = document.getElementsByClassName('style1', document.body);
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 15;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 16+"px"
		   }
		   
		   var p = document.getElementsByClassName('fontArabic', document.body);
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 13;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 14+"px"
		   }
		   		   		   
		   var p=document.getElementById(":qm").value;
		   for(i=0;i<p.length;i++) {
			      if(p[i].style.fontSize) {
			         var s = parseInt(p[i].style.fontSize.replace("px",""));
			      } else {
			         var s = 15;
			      }
			      if(s!=max) {
			         s += 1;
			      }
			      p[i].style.fontSize = 16+"px"
			   }
		   
		   var p = document.getElementsByTagName('label');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 


			 var p = document.getElementsByTagName('select');
			   for(i=0;i<p.length;i++) {
			      if(p[i].style.fontSize) {
			         var s = parseInt(p[i].style.fontSize.replace("px",""));
			      } else {
			         var s = 10;
			      }
			      if(s!=max) {
			         s += 1;
			      }
			      p[i].style.fontSize = 11+"px"
			   } 
		 var p = document.getElementsByTagName('input');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 
		 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 = 10;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = 11+"px"
		   } 
		
	   var p = document.getElementsByTagName('span');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s = 10;
	      }
	      if(s!=max) {
	         s += 1;
	      }
	      p[i].style.fontSize = 11+"px"
	   }
	   
	   

	   var p = document.getElementsByTagName('font');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s = 10;
	      }
	      if(s!=max) {
	         s += 1;
	      }
	      p[i].style.fontSize =11+"px"
	   }

	}
	
	
	
	function increaseFontSizeArabic() {
		
		var p = document.getElementsByTagName('strong');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 14;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		   
		var p = document.getElementsByTagName('div');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 14;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 

		var p = document.getElementsByTagName('td');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 14;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		   
		  		   
		 var p = document.getElementsByTagName('a');
		   for(i=0;i<p.length;i++) {
			   
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 14;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		   
		   var p = document.getElementsByClassName( 'menu', document.body );
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 25;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   }
		   
		   var p = document.getElementsByClassName( 'box_headerAR', document.body );
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 21;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   }
		   
		   var p = document.getElementsByClassName( 'box_headerAr', document.body );
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 21;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   }
		   
		   var p = document.getElementsByClassName('style1', document.body);
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 19;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   }
		   
		   var p=document.getElementById(":qm").value;
		   for(i=0;i<p.length;i++) {
			      if(p[i].style.fontSize) {
			         var s = parseInt(p[i].style.fontSize.replace("px",""));
			      } else {
			         var s = 19;
			      }
			      if(s!=max) {
			         s += 1;
			      }
			      p[i].style.fontSize = s+"px"
			   }
		   
		   var p = document.getElementsByTagName('label');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 14;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 


			 var p = document.getElementsByTagName('select');
			   for(i=0;i<p.length;i++) {
			      if(p[i].style.fontSize) {
			         var s = parseInt(p[i].style.fontSize.replace("px",""));
			      } else {
			         var s = 14;
			      }
			      if(s!=max) {
			         s += 1;
			      }
			      p[i].style.fontSize = s+"px"
			   } 
		 var p = document.getElementsByTagName('input');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 14;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		 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 = 14;
		      }
		      if(s!=max) {
		         s += 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		
	   var p = document.getElementsByTagName('span');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s = 14;
	      }
	      if(s!=max) {
	         s += 1;
	      }
	      p[i].style.fontSize = s+"px"
	   }
	   
	   

	   var p = document.getElementsByTagName('font');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s = 14;
	      }
	      if(s!=max) {
	         s += 1;
	      }
	      p[i].style.fontSize = s+"px"
	   }

	}

	function decreaseFontSizeArabic() {
		
		var p = document.getElementsByTagName('strong');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		         s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		   
		var p = document.getElementsByTagName('div');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		    	  s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 

		var p = document.getElementsByTagName('td');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		    	  s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		   
		  		   
		 var p = document.getElementsByTagName('a');
		   for(i=0;i<p.length;i++) {
			   
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		    	  s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		   
		   var p = document.getElementsByClassName( 'menu', document.body );
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 21;
		      }
		      if(s!=max) {
		    	  s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   }
		   
		   var p = document.getElementsByClassName( 'box_headerAR', document.body );
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 17;
		      }
		      if(s!=max) {
		    	  s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   }
		   
		   var p = document.getElementsByClassName( 'box_headerAr', document.body );
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 17;
		      }
		      if(s!=max) {
		    	  s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   }
		   
		   var p = document.getElementsByClassName('style1', document.body);
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 15;
		      }
		      if(s!=max) {
		    	  s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   }
		   
		   var p=document.getElementById(":qm").value;
		   for(i=0;i<p.length;i++) {
			      if(p[i].style.fontSize) {
			         var s = parseInt(p[i].style.fontSize.replace("px",""));
			      } else {
			         var s = 15;
			      }
			      if(s!=max) {
			    	  s -= 1;
			      }
			      p[i].style.fontSize = s+"px"
			   }
		   
		   var p = document.getElementsByTagName('label');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		    	  s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 


			 var p = document.getElementsByTagName('select');
			   for(i=0;i<p.length;i++) {
			      if(p[i].style.fontSize) {
			         var s = parseInt(p[i].style.fontSize.replace("px",""));
			      } else {
			         var s = 10;
			      }
			      if(s!=max) {
			    	  s -= 1;
			      }
			      p[i].style.fontSize = s+"px"
			   } 
		 var p = document.getElementsByTagName('input');
		   for(i=0;i<p.length;i++) {
		      if(p[i].style.fontSize) {
		         var s = parseInt(p[i].style.fontSize.replace("px",""));
		      } else {
		         var s = 10;
		      }
		      if(s!=max) {
		    	  s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		 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 = 10;
		      }
		      if(s!=max) {
		    	  s -= 1;
		      }
		      p[i].style.fontSize = s+"px"
		   } 
		
	   var p = document.getElementsByTagName('span');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s = 10;
	      }
	      if(s!=max) {
	    	  s -= 1;
	      }
	      p[i].style.fontSize = s+"px"
	   }
	   
	   

	   var p = document.getElementsByTagName('font');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = parseInt(p[i].style.fontSize.replace("px",""));
	      } else {
	         var s = 10;
	      }
	      if(s!=max) {
	    	  s -= 1;
	      }
	      p[i].style.fontSize = s+"px"
	   }

	}
	
		
	

	
	

