var min=8;
var max=18;
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 = 12;
      }
      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 = 12;
      }
      if(s!=min) {
         s -= 1;
      }
      p[i].style.fontSize = s+"px"
   }   
}
function popupTool(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=480,height=480,screenX=150,screenY=150,top=150,left=150')
}
function showload(){
	var frm=document.getElementById("loader");
	frm.width=126;
	frm.height=34;
}
function confAction(conf,loc){
	var where_to=confirm(conf);
	if (where_to==true){
		window.location=loc;
	}
}
function reloadImage(imgid){
   img=document.getElementById(imgid);
   img.src=img.src+'?'+Math.random();
}