﻿function msover(name)
{	if (document.images)
	{	document.images[name].src = eval (name + "_on.src");
	}
}

function msout(name)
{	if (document.images)
	{	document.images[name].src = eval (name + "_off.src");
	}
}

	if (document.images){
		pobyty_off = new Image();
		pobyty_off.src = "../gfx/des/butt/pobyty_off.gif";
		pobyty_on = new Image();
		pobyty_on.src = "../gfx/des/butt/pobyty_on.gif";	
		
		objazdowe_off = new Image();
		objazdowe_off.src = "../gfx/des/butt/objazdowe_off.gif";
		objazdowe_on = new Image();
		objazdowe_on.src = "../gfx/des/butt/objazdowe_on.gif";	
		
		rowerowe_off = new Image();
		rowerowe_off.src = "../gfx/des/butt/rowerowe_off.gif";
		rowerowe_on = new Image();
		rowerowe_on.src = "../gfx/des/butt/rowerowe_on.gif";	
		
		polecamy_off = new Image();
		polecamy_off.src = "../gfx/des/butt/polecamy_off.gif";
		polecamy_on = new Image();
		polecamy_on.src = "../gfx/des/butt/polecamy_on.gif";	
		
		zapytania_off = new Image();
		zapytania_off.src = "../gfx/des/butt/zapytania_off.gif";
		zapytania_on = new Image();
		zapytania_on.src = "../gfx/des/butt/zapytania_on.gif";	
		
		kontakt_off = new Image();
		kontakt_off.src = "../gfx/des/butt/kontakt_off.gif";
		kontakt_on = new Image();
		kontakt_on.src = "../gfx/des/butt/kontakt_on.gif";	
		
		kur_off = new Image();
		kur_off.src = "gfx/des/butt/kur_off.gif";
		kur_on = new Image();
		kur_on.src = "gfx/des/butt/kur_on.gif";	
		
		rad_off = new Image();
		rad_off.src = "gfx/des/butt/rad_off.gif";
		rad_on = new Image();
		rad_on.src = "gfx/des/butt/rad_on.gif";	
		
		rund_off = new Image();
		rund_off.src = "gfx/des/butt/rund_off.gif";
		rund_on = new Image();
		rund_on.src = "gfx/des/butt/rund_on.gif";	
		
		geheim_off = new Image();
		geheim_off.src = "gfx/des/butt/geheim_off.gif";
		geheim_on = new Image();
		geheim_on.src = "gfx/des/butt/geheim_on.gif";	
		
		erholung_off = new Image();
		erholung_off.src = "gfx/des/butt/erholung_off.gif";
		erholung_on = new Image();
		erholung_on.src = "gfx/des/butt/erholung_on.gif";	
		
		kontaktde_off = new Image();
		kontaktde_off.src = "gfx/des/butt/kontakt_off.gif";
		kontaktde_on = new Image();
		kontaktde_on.src = "gfx/des/butt/kontakt_on.gif";					
								
	}

function displayWindow(url, width, height) {
window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=no,scrollbars=no,menubar=no, top='+((screen.availHeight/2)-(height/2))+',left='+((screen.availWidth/2)-(width/2)));
}
