/*********************************************************************************************/
/****************************** Declaration of global variables ******************************/
/*********************************************************************************************/

fotoon = new Image();
fotoon.src = "http://www.croughs.be/farrah/images/general/foto_on.gif";
fotooff = new Image();
fotooff.src = "http://www.croughs.be/farrah/images/general/foto_off.gif";

stamboomon = new Image();
stamboomon.src = "http://www.croughs.be/farrah/images/general/stamboom_on.gif";
stamboomoff = new Image();
stamboomoff.src = "http://www.croughs.be/farrah/images/general/stamboom_off.gif";

hondenschoolon = new Image();
hondenschoolon.src = "http://www.croughs.be/farrah/images/general/hondenschool_on.gif";
hondenschooloff = new Image();
hondenschooloff.src = "http://www.croughs.be/farrah/images/general/hondenschool_off.gif";

showson = new Image();
showson.src = "http://www.croughs.be/farrah/images/general/shows_on.gif";
showsoff = new Image();
showsoff.src = "http://www.croughs.be/farrah/images/general/shows_off.gif";

gastenboekon = new Image();
gastenboekon.src = "http://www.croughs.be/farrah/images/general/gastenboek_on.gif";
gastenboekoff = new Image();
gastenboekoff.src = "http://www.croughs.be/farrah/images/general/gastenboek_off.gif";

linkson = new Image();
linkson.src = "http://www.croughs.be/farrah/images/general/links_on.gif";
linksoff = new Image();
linksoff.src = "http://www.croughs.be/farrah/images/general/links_off.gif";

wedstrijdon = new Image();
wedstrijdon.src = "http://www.croughs.be/farrah/images/general/wedstrijd_on.gif";
wedstrijdoff = new Image();
wedstrijdoff.src = "http://www.croughs.be/farrah/images/general/wedstrijd_off.gif";

kringon = new Image();
kringon.src = "http://www.croughs.be/farrah/images/general/kring_on.gif";
kringoff = new Image();
kringoff.src = "http://www.croughs.be/farrah/images/general/kring_off.gif";


function img_act(imgName)
  {
    imgOn = eval(imgName + "on.src");
    document[imgName].src = imgOn;
  }

function img_inact(imgName)
  {
    imgOff = eval(imgName + "off.src");
    document [imgName].src = imgOff;
  }

