conBrowser=0;
function display(stuff) 
    { 
    window.status = stuff; 
    }

conBrowser=1;

switch1on  = new Image(100,100);  switch1on.src  = 'images/layout/submenu/home_on.gif';
switch1off = new Image(100,100);  switch1off.src = 'images/layout/submenu/home_off.gif';
switch1sta = new Image(100,100);  switch1sta.src = 'images/layout/submenu/home_on.gif';

switch2on  = new Image(100,100);  switch2on.src  = 'images/layout/submenu/nwsbrf_on.gif';
switch2off = new Image(100,100);  switch2off.src = 'images/layout/submenu/nwsbrf_off.gif';
switch2sta = new Image(100,100);  switch2sta.src = 'images/layout/submenu/nwsbrf_on.gif';  

switch3on  = new Image(100,100);  switch3on.src  = 'images/layout/submenu/ww_on.gif';
switch3off = new Image(100,100);  switch3off.src = 'images/layout/submenu/ww_off.gif';
switch3sta = new Image(100,100);  switch3sta.src = 'images/layout/submenu/ww_on.gif'; 

switch4on  = new Image(100,100);  switch4on.src  = 'images/layout/submenu/contact_on.gif';
switch4off = new Image(100,100);  switch4off.src = 'images/layout/submenu/contact_off.gif';
switch4sta = new Image(100,100);  switch4sta.src = 'images/layout/submenu/contact_on.gif'; 

switch5on  = new Image(100,100);  switch5on.src  = 'images/layout/bedrijfsinfo_on.gif';
switch5off = new Image(100,100);  switch5off.src = 'images/layout/bedrijfsinfo_off.gif';
switch5sta = new Image(100,100);  switch5sta.src = 'images/layout/bedrijfsinfo_on.gif';

switch6on  = new Image(100,100);  switch6on.src  = 'images/layout/bestelinfo_on.gif';
switch6off = new Image(100,100);  switch6off.src = 'images/layout/bestelinfo_off.gif';
switch6sta = new Image(100,100);  switch6sta.src = 'images/layout/bestelinfo_on.gif';  
 
var whichbutton = 0

function HighLight(musswitch) 
    {
    if (conBrowser) 
            {
            switchnavn = eval(musswitch + "on");
            document [musswitch].src = switchnavn.src;
            }
    }

function UndoHighLight(musswitch) 
    {
    if (conBrowser) 
            {
            switchnavn = eval(musswitch + "off");
            document [musswitch].src = switchnavn.src;
            
		      }	
    }

function Static(musswitch) 
    {
    if (conBrowser) 
             {
            switchnavn = eval(musswitch + "sta");
            document [musswitch].src = switchnavn.src;
		      }
    }

function Change() 
    {
       if (conBrowser) 
                {
		      if (whichbutton == 1) UndoHighLight('switch1');
		      if (whichbutton == 2) UndoHighLight('switch2');
		      if (whichbutton == 3) UndoHighLight('switch3');
		      if (whichbutton == 4) UndoHighLight('switch4');
		      if (whichbutton == 5) UndoHighLight('switch5');
		      if (whichbutton == 6) UndoHighLight('switch6');
		      }
     }


