function r_on(i) {
  if (document.images) { 
    if (document[i].src.indexOf("down") < 0) {
      document[i].src = "../../images/" + i + "_over.gif"; 
    }
  }
}

function r_off(i) {
  if (document.images) { 
    if (document[i].src.indexOf("down") < 0) {
      document[i].src = "../../images/" + i + ".gif"; 
    }
  }
}

function s_on(i) {
  if (document.images) { 
    if (document[i].src.indexOf("down") < 0) {
      document[i].src = "../images/" + i + "_over.gif"; 
    }
  }
}

function s_off(i) {
  if (document.images) { 
    if (document[i].src.indexOf("down") < 0) {
      document[i].src = "../images/" + i + ".gif"; 
    }
  }
}

function ss_on(i) {
  if (document.images) { 
    if (document[i].src.indexOf("down") < 0) {
      document[i].src = "images/" + i + "_over.gif"; 
    }
  }
}

function ss_off(i) {
  if (document.images) { 
    if (document[i].src.indexOf("down") < 0) {
      document[i].src = "images/" + i + ".gif"; 
    }
  }
}

function writeDate() {
  var today = new Date();
  var year = today.getFullYear();
  document.write(year);
}

function leaveSite(site) {
  if (confirm('You are now leaving this web site.\nIf you do not wish to leave this site, click Cancel. Click OK to leave.') == 1) {
    window.open(site, 'Untitled','toolbar=yes,width=750,height=500,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=yes')
  }
}

function popUp(page) {
  popup_window = window.open(page,'popup','location,menubar,resizable,scrollbars,status,toolbar,width=500,height=300');
}

function popUp2(page) {
  popup_window = window.open(page,'popup','location,menubar,resizable,scrollbars,status,toolbar,width=500,height=200');
}

function popUp3(page) {
  popup_window = window.open(page,'popup','scrollbars=yes,resize=yes,menubar=no,toolbar=no,width=800,height=700');
}

<!-- CODE FOR INCREASING AND DECREASING THE FONT SIZE -->
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 increaseFontSizeLi() {
   var li = document.getElementsByTagName('li');
   for(i=0;i<li.length;i++) {
      if(li[i].style.fontSize) {
         var s = parseInt(li[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 1;
      }
      li[i].style.fontSize = s+"px"
   }
}
function increaseFontSizeA() {
   var a = document.getElementsByTagName('a');
   for(i=0;i<a.length;i++) {
      if(a[i].style.fontSize) {
         var s = parseInt(a[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 1;
      }
      a[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 decreaseFontSizeLi() {
   var li = document.getElementsByTagName('li');
   for(i=0;i<li.length;i++) {
if(li[i].style.fontSize) {
         var s = parseInt(li[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 1;
      }
      li[i].style.fontSize = s+"px"
   }   
}
function decreaseFontSizeA() {
   var a = document.getElementsByTagName('a');
   for(i=0;i<a.length;i++) {
if(a[i].style.fontSize) {
         var s = parseInt(a[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 1;
      }
      a[i].style.fontSize = s+"px"
   }   
}

function audiopop() { 
 myWindow=window.open("audio_pop.html","audiopop", "scrollbars=no,resize=yes,menubar=no,toolbar=no,width=800,height=400");
}

