
        if (document.images) {            // Active Images

            img1on = new Image();      
            img1on.src = "budapest-menu/home-on.gif";  
            img2on = new Image();
            img2on.src = "budapest-menu/location-on.gif";
            img3on = new Image();
            img3on.src = "budapest-menu/restaurant-on.gif";
            img4on = new Image();
            img4on.src = "budapest-menu/reservation-on.gif";
            img5on = new Image();
            img5on.src = "budapest-menu/kapcsolat-on.gif";

            img1off = new Image(); 
            img1off.src = "budapest-menu/home-off.gif"; 
            img2off = new Image();
            img2off.src = "budapest-menu/location-off.gif";
            img3off = new Image();
            img3off.src = "budapest-menu/restaurant-off.gif";
            img4off = new Image();
            img4off.src = "budapest-menu/reservation-off.gif";
            img5off = new Image();
            img5off.src = "budapest-menu/kapcsolat-off.gif";


        }

// Function to 'activate' images.
function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
        }
}

// Function to 'deactivate' images.
function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
        }
}

function openSubwinA(name,src,width,height) 
 {
     wpars='status=0,toolbar=0,location=0,menubar=0,directories=0,scrollbars=0,resizable=0,dependent=1,width='+width+',height='+height;
	newwindow=window.open(src,name,wpars);
	if (window.focus) {newwindow.focus()}
 }

function openSubwinB(name,src,width,height) 
 {
     wpars='status=0,toolbar=0,location=0,menubar=0,directories=0,scrollbars=1,resizable=1,dependent=1,width='+width+',height='+height;
	newwindow=window.open(src,name,wpars);
	if (window.focus) {newwindow.focus()}
 }
