<!-- Hide from old browsers
// Animation script for buttons.
//
// Script written by Anton van Meurs. 
// Tested and working for Netscape 4.76 and IE 5.00
// For bug-report please use arsinfo@chello.nl
//
// For each button you would like to be an animated button add
// the following lines at your script :
//
//        load("pic1", "../buttons/b1.gif", "../buttons/b1s.gif");
//        load("pic2", "../buttons/b2.gif", "../buttons/b2s.gif");
//        load("pic3", "../buttons/b3.gif", "../buttons/b3s.gif");
//        load("pic4", "../buttons/b4.gif", "../buttons/b4s.gif");
//
// Within these lines b1.gif is the button before the mouse is over the
// button. b1s.gif is the displayed button when the mouse is over the
// button. pic1 is the variable used in the html code.
//
// To make this shit works your href-line should look like :
// <a href="YOUR_URL_HERE" onmouseover="an('pic1'); 
//  a('YOUR_COMMENT_FOR_STATUSBAR__HERE');return true;" 
// onmouseout="moveout()"><img SRC="../buttons/b1.gif" NAME="pic1"></a>

var ObjCount = 0;

function load(name, first, second) {  
  if (browserOK) {     
    Pictures[ObjCount] = new Array(3);
    Pictures[ObjCount][0] = new Image();
    Pictures[ObjCount][0].src = first;
    Pictures[ObjCount][1] = new Image();
    Pictures[ObjCount][1].src = second;
    Pictures[ObjCount][2] = name;
    ObjCount++;
  }
}

function an(name){
  if (browserOK) {
     for (i = 0; i < ObjCount; i++) {
      if (document.images[Pictures[i][2]] != null)
        if (name != Pictures[i][2]) { 
          // replace all other pictures
          document.images[Pictures[i][2]].src = Pictures[i][0].src;
        } else {
          document.images[Pictures[i][2]].src = Pictures[i][1].src;
        }
    }
  }
}

function moveout(){
  if (browserOK) {
     // replace all pictures
     self.status=""
     for (i = 0; i < ObjCount; i++) {
      if (document.images[Pictures[i][2]] != null) 
        document.images[Pictures[i][2]].src = Pictures[i][0].src;
    }
  }
}
function a(txt) {
        self.status = txt
        }

        

// Stop hiding from old browsers -->

