

function clearAllTabas() {
	for(k=1;k<=2;k++) {

		document.getElementById('link'+k).className='normal';
		document.getElementById('taba'+k).style.display='none';
	}
}
function selectTaba(id) {
	clearAllTabas();
	document.getElementById('link'+id).className='current';
	document.getElementById('taba'+id).style.display='inline';
}


function clearAll3Tabas() {
	for(k=1;k<=3;k++) {

		document.getElementById('3link'+k).className='normal';
		document.getElementById('3taba'+k).style.display='none';
	}
}
function select3Taba(id) {
	clearAll3Tabas();
	document.getElementById('3link'+id).className='current';
	document.getElementById('3taba'+id).style.display='inline';
}

function toggleSignIn(id,flagit) {
	if (flagit=="1"){
	if (document.layers) document.layers[''+id+''].display = "inline"
	else if (document.all) document.all[''+id+''].style.display = "inline"
	else if (document.getElementById) document.getElementById(''+id+'').style.display = "inline"
	}
	else
	if (flagit=="0"){
	if (document.layers) document.layers[''+id+''].display = "none"
	else if (document.all) document.all[''+id+''].style.display = "none"
	else if (document.getElementById) document.getElementById(''+id+'').style.display = "none"
	}
}


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"
	   }   
	}
	
	function standardFont() {
	   var p = document.getElementsByTagName('p');
	   for(i=0;i<p.length;i++) {
	      if(p[i].style.fontSize) {
	         var s = 12;
	      } else {
	         var s = 12;
	      }
	      if(s!=min) {
	         s -= 1;
	      }
	      p[i].style.fontSize = s+"px"
	   }
	     
	}