// JavaScript Document

if (document.images) {
 var arrowOff = new Image();
 arrowOff.src = "images/arrowoff.gif";
 var arrowOn = new Image();
 arrowOn.src = "images/arrowon.gif";
}

function arrow(section) {
 if (document.images) {
     document[section].src = arrowOn.src;
 }
}

function arrowOut(section) {
  if (document.images) {
    document[section].src = arrowOff.src;
  }
}