
  var imgCurrent=0;

  function alloff () {
       AAp.src = 'images/click.gif';
   
    imgCurrent=0;
	}
  function closeallnavs () {
    alloff();
    		AAu.style.display = 'none';
AA1.style.display = 'none';
AA2.style.display = 'none';
AA3.style.display = 'none';
AA4.style.display = 'none';
AA5.style.display = 'none';
AA6.style.display = 'none';


    		

    
	}
	
  function imageOn(what) {
    if (what.tagName == "IMG" && (what.src.indexOf("-off.gif") > -1)) {
      if (imgCurrent && imgCurrent != what) {
        alloff();
      }
      what.src = what.src.substring(0,(what.src.indexOf("-off.gif"))) + "-on.gif";
      window.event.cancelBubble = true;
    }
  }
  function imageOff (what) {
    if (what.tagName == "IMG" && (what.src.indexOf("-on.gif") > -1) && (imgCurrent != what)) {
      what.src = what.src.substring(0,(what.src.indexOf("-on.gif"))) + "-off.gif";
      window.event.cancelBubble = true;
    }
  }
  function turnOn() {
    imageOn(window.event.srcElement);
  }
  function turnOff () {
    imageOff(window.event.srcElement);
  }
  function clikker(a,b) {
    if (a.style.display.indexOf('none') == -1) {
      closeallnavs();
    }
    else {
      closeallnavs();
      a.style.display='';
      imgCurrent=b;
      imageOn(b);
    }
	}

function mOvr(src,clrOver) {
if (!src.contains(event.fromElement)) {
src.style.cursor = 'hand';
OldColor = src.bgColor;
src.bgColor = clrOver;
}
}
function mOut(src) {
if (!src.contains(event.toElement)) {
src.style.cursor = 'default';
src.bgColor = OldColor;
}
}
