
        if (document.images) {            // Active Images

            img1on = new Image();      
            img1on.src = "http://www.charleshotel.hu/budapest-menu/rooms-on.gif";  
            img2on = new Image();
            img2on.src = "http://www.charleshotel.hu/budapest-menu/restaurant-on.gif";
            img3on = new Image();
            img3on.src = "http://www.charleshotel.hu/budapest-menu/reservation-on.gif";
            img4on = new Image();
            img4on.src = "http://www.charleshotel.hu/budapest-menu/best-deals-on.gif";
            img5on = new Image();
            img5on.src = "http://www.charleshotel.hu/budapest-menu/location-on.gif";

            img1off = new Image(); 
            img1off.src = "http://www.charleshotel.hu/budapest-menu/rooms-off.gif"; 
            img2off = new Image();
            img2off.src = "http://www.charleshotel.hu/budapest-menu/restaurant-off.gif";
            img3off = new Image();
            img3off.src = "http://www.charleshotel.hu/budapest-menu/reservation-off.gif";
            img4off = new Image();
            img4off.src = "http://www.charleshotel.hu/budapest-menu/best-deals-off.gif";
            img5off = new Image();
            img5off.src = "http://www.charleshotel.hu/budapest-menu/location-off.gif";

            img11on = new Image();      
            img11on.src = "http://www.charleshotel.hu/budapest-menu/szobafoglalas-on.gif";  
            img12on = new Image();
            img12on.src = "http://www.charleshotel.hu/budapest-menu/rendezvenyek-on.gif";
            img13on = new Image();
            img13on.src = "http://www.charleshotel.hu/budapest-menu/online-foglalas-on.gif";
            img14on = new Image();
            img14on.src = "http://www.charleshotel.hu/budapest-menu/akciok-on.gif";
            img15on = new Image();
            img15on.src = "http://www.charleshotel.hu/budapest-menu/elhelyezkedes-on.gif";

            img11off = new Image(); 
            img11off.src = "http://www.charleshotel.hu/budapest-menu/szobafoglalas-off.gif"; 
            img12off = new Image();
            img12off.src = "http://www.charleshotel.hu/budapest-menu/rendezvenyek-off.gif";
            img13off = new Image();
            img13off.src = "http://www.charleshotel.hu/budapest-menu/online-foglalas-off.gif";
            img14off = new Image();
            img14off.src = "http://www.charleshotel.hu/budapest-menu/akciok-off.gif";
            img15off = new Image();
            img15off.src = "http://www.charleshotel.hu/budapest-menu/elhelyezkedes-off.gif";


            img21on = new Image();      
            img21on.src = "budapest-menu/camere-on.gif";  
            img22on = new Image();
            img22on.src = "budapest-menu/ristorante-on.gif";
            img23on = new Image();
            img23on.src = "budapest-menu/prenotazione-on.gif";
            img24on = new Image();
            img24on.src = "budapest-menu/sconti-on.gif";
            img25on = new Image();
            img25on.src = "budapest-menu/posizione-on.gif";

            img21off = new Image(); 
            img21off.src = "budapest-menu/camere-off.gif"; 
            img22off = new Image();
            img22off.src = "budapest-menu/ristorante-off.gif";
            img23off = new Image();
            img23off.src = "budapest-menu/prenotazione-off.gif";
            img24off = new Image();
            img24off.src = "budapest-menu/sconti-off.gif";
            img25off = new Image();
            img25off.src = "budapest-menu/posizione-off.gif";

            img31on = new Image();      
            img31on.src = "http://www.charleshotel.hu/budapest-menu/zimmer-preise-on.gif";  
            img32on = new Image();
            img32on.src = "http://www.charleshotel.hu/budapest-menu/restaurant-de-on.gif";
            img33on = new Image();
            img33on.src = "http://www.charleshotel.hu/budapest-menu/buchung-on.gif";
            img34on = new Image();
            img34on.src = "http://www.charleshotel.hu/budapest-menu/sonderangebote-on.gif";
            img35on = new Image();
            img35on.src = "http://www.charleshotel.hu/budapest-menu/lage-on.gif";

            img31off = new Image(); 
            img31off.src = "http://www.charleshotel.hu/budapest-menu/zimmer-preise-off.gif"; 
            img32off = new Image();
            img32off.src = "http://www.charleshotel.hu/budapest-menu/restaurant-de-off.gif";
            img33off = new Image();
            img33off.src = "http://www.charleshotel.hu/budapest-menu/buchung-off.gif";
            img34off = new Image();
            img34off.src = "http://www.charleshotel.hu/budapest-menu/sonderangebote-off.gif";
            img35off = new Image();
            img35off.src = "http://www.charleshotel.hu/budapest-menu/lage-off.gif";


            img41on = new Image();      
            img41on.src = "http://www.charleshotel.hu/budapest-menu/chambres-on.gif";  
            img42on = new Image();
            img42on.src = "http://www.charleshotel.hu/budapest-menu/restaurant-on.gif";
            img43on = new Image();
            img43on.src = "http://www.charleshotel.hu/budapest-menu/reservation-fr-on.gif";
            img44on = new Image();
            img44on.src = "http://www.charleshotel.hu/budapest-menu/offres-speciales-on.gif";
            img45on = new Image();
            img45on.src = "http://www.charleshotel.hu/budapest-menu/presentation-on.gif";

            img41off = new Image(); 
            img41off.src = "http://www.charleshotel.hu/budapest-menu/chambres-off.gif"; 
            img42off = new Image();
            img42off.src = "http://www.charleshotel.hu/budapest-menu/restaurant-off.gif";
            img43off = new Image();
            img43off.src = "http://www.charleshotel.hu/budapest-menu/reservation-fr-off.gif";
            img44off = new Image();
            img44off.src = "http://www.charleshotel.hu/budapest-menu/offres-speciales-off.gif";
            img45off = new Image();
            img45off.src = "http://www.charleshotel.hu/budapest-menu/presentation-off.gif";



            img46on = new Image();      
            img46on.src = "/budapest-menu/rum-och-priser-on.gif";  
            img47on = new Image();
            img47on.src = "/budapest-menu/evenenmangen-on.gif";
            img48on = new Image();
            img48on.src = "/budapest-menu/rumsbokning-on.gif";
            img49on = new Image();
            img49on.src = "/budapest-menu/rabatterbjudanden-on.gif";
            img50on = new Image();
            img50on.src = "/budapest-menu/belagenhet-on.gif";

            img46off = new Image(); 
            img46off.src = "/budapest-menu/rum-och-priser-off.gif"; 
            img47off = new Image();
            img47off.src = "/budapest-menu/evenenmangen-off.gif";
            img48off = new Image();
            img48off.src = "/budapest-menu/rumsbokning-off.gif";
            img49off = new Image();
            img49off.src = "/budapest-menu/rabatterbjudanden-off.gif";
            img50off = new Image();
            img50off.src = "/budapest-menu/belagenhet-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()}
 }
