// JavaScript Document

		function clickIE4(){
		if (event.button==2){
		return false;
		}
		}
		
		function clickNS4(e){
		if (document.layers||document.getElementById&&!document.all){
		if (e.which==2||e.which==3){
		return false;
		}
		}
		}
		
		if (document.layers){
		document.captureEvents(Event.MOUSEDOWN);
		document.onmousedown=clickNS4;
		}
		else if (document.all&&!document.getElementById){
		document.onmousedown=clickIE4;
		}
		
		document.oncontextmenu=new Function("return false")
		





function clickclear(thisfield, defaulttext) {

	if (thisfield.value == defaulttext) {

		thisfield.value = "";

	}

}



function clickrecall(thisfield, defaulttext) {

	if (thisfield.value == "") {

		thisfield.value = defaulttext;

	}

}



var min=8;
var max=18;
function increaseFontSize() {
	var p =document.querySelectorAll("div.text");

   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.querySelectorAll("div.text");
   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"
   }   
}


