// Detect if browser is Netscape 3 + or IE 4 +.
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
    if ((bName == "Netscape" && bVer >= 3) ||
        (bName == "Microsoft Internet Explorer" && bVer >= 4)) br = "n3";
    else br = "n2";

// Create image objects, preload all active and inactive images.
    if (br== "n3") {

// uitgebreid zoeken

    z2on = new Image();
    z2on.src = "/images/uitgebreidzoeken_on.gif";
    z2off = new Image();
    z2off.src = "/images/uitgebreidzoeken_off.gif";

// submit button

    z1on = new Image();
    z1on.src = "/images/zoek_on.gif";
    z1off = new Image();
    z1off.src = "/images/zoek_off.gif";


    }
// Function to "activate" images.
function imgAct(imgName) {
    if (br == "n3") {
    document[imgName].src = eval(imgName + "on.src");
    }

}
// Function to "deactivate" images.
function imgInact(imgName) {
    if (br == "n3") {
    document[imgName].src = eval(imgName + "off.src");
    }
}
// -->