// ++++++++++++++++++++++++++++++++++++++++++ //
// SPAWN EXTERNAL LINK IN POPUP WINDOW          //
// ++++++++++++++++++++++++++++++++++++++++++ //

function extern(mypage) {
var w = 417;
var h = 500;
var winl = (screen.width - w) / 2;
var wint = ((screen.height - 50)- h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=yes,noresize'
win = window.open(mypage, 'extern', winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

// ++++++++++++++++++++++++++++++++++++++++++ //
// rollover images hoofdpagina       // 
// ++++++++++++++++++++++++++++++++++++++++++ //

knop1out = new Image;
knop1out.src = "images/icon_@.gif";

knop1on = new Image;
knop1on.src = "images/icon_@_ov.gif";

knop2out = new Image;
knop2out.src = "images/icon_temp.gif";

knop2on = new Image;
knop2on.src = "images/icon_temp_ov.gif";

knop3out = new Image;
knop3out.src = "images/icon_lamp.gif";

knop3on = new Image;
knop3on.src = "images/icon_lamp_ov.gif";

knop4out = new Image;
knop4out.src = "images/icon_zon.gif";

knop4on = new Image;
knop4on.src = "images/icon_zon_ov.gif";

knop5out = new Image;
knop5out.src = "images/icon_oog.gif";

knop5on = new Image;
knop5on.src = "images/icon_oog_ov.gif";

knop6out = new Image;
knop6out.src = "images/icon_vuur.gif";

knop6on = new Image;
knop6on.src = "images/icon_vuur_ov.gif";

knop7out = new Image;
knop7out.src = "images/icon_fab.gif";

knop7on = new Image;
knop7on.src = "images/icon_fab_ov.gif";

knop8out = new Image;
knop8out.src = "images/icon_graf.gif";

knop8on = new Image;
knop8on.src = "images/icon_graf_ov.gif";

knop9out = new Image;
knop9out.src = "images/icon_douche.gif";

knop9on = new Image;
knop9on.src = "images/icon_douche_ov.gif";




function hiLite(imgName) {
        imgOn = eval(imgName + "on.src");
        document[imgName].src = imgOn;

}

function noLite(imgName) {
     if (imgIsOn!=imgName) {
        imgOff = eval(imgName + "out.src");
        document[imgName].src = imgOff;
     }
}

imgIsOn='';
function stayOn(imgName,imgNumber) {
        var temp=imgIsOn;
        if (imgIsOn != '') {imgIsOn=''; noLite(temp);}

        imgStayOn = eval(imgName + "on.src");
        document[imgName].src = imgStayOn;
        imgIsOn=imgName;


  }

// ++++++++++++++++++++++++++++++++++++++++++ //
// OPEN NEW WINDOW IN CENTER OF SCREEN        //
// ++++++++++++++++++++++++++++++++++++++++++ //

function NewWindow(mypage, myname, w, h, scroll) {

var winl = (screen.width - w) / 2;
var wint = ((screen.height - 50)- h) / 2;

winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',noresize'
win = window.open(mypage, myname, winprops)

if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}







