
function displayWindow(url, width, height) 
{
var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no,left=50,top=180');
}


compat = false;
if( parseInt( navigator.appVersion ) >= 3 ) { compat = true; }
if( compat )
{
menu1on   = new Image;          menu1on.src  = "gfx/main-menu-1-on.jpg";
menu1off  = new Image;          menu1off.src = "gfx/main-menu-1.jpg";

menu2on   = new Image;          menu2on.src  = "gfx/main-menu-2-on.jpg";
menu2off  = new Image;          menu2off.src = "gfx/main-menu-2.jpg";

menu3on   = new Image;          menu3on.src  = "gfx/main-menu-3-on.jpg";
menu3off  = new Image;          menu3off.src = "gfx/main-menu-3.jpg";

menu4on   = new Image;          menu4on.src  = "gfx/main-menu-4-on.jpg";
menu4off  = new Image;          menu4off.src = "gfx/main-menu-4.jpg";

menu5on   = new Image;          menu5on.src  = "gfx/main-menu-5-on.jpg";
menu5off  = new Image;          menu5off.src = "gfx/main-menu-5.jpg";

menu6on   = new Image;          menu6on.src  = "gfx/main-menu-6-on.jpg";
menu6off  = new Image;          menu6off.src = "gfx/main-menu-6.jpg";

menu7on   = new Image;          menu7on.src  = "gfx/main-menu-7-on.jpg";
menu7off  = new Image;          menu7off.src = "gfx/main-menu-7.jpg";

menu8on   = new Image;          menu8on.src  = "gfx/main-menu-8-on.jpg";
menu8off  = new Image;          menu8off.src = "gfx/main-menu-8.jpg";

pod1on   = new Image;          pod1on.src  = "gfx/pod-menu-1-on.jpg";
pod1off  = new Image;          pod1off.src = "gfx/pod-menu-1.jpg";

pod2on   = new Image;          pod2on.src  = "gfx/pod-menu-2-on.jpg";
pod2off  = new Image;          pod2off.src = "gfx/pod-menu-2.jpg";

pod3on   = new Image;          pod3on.src  = "gfx/pod-menu-3-on.jpg";
pod3off  = new Image;          pod3off.src = "gfx/pod-menu-3.jpg";

pod4on   = new Image;          pod4on.src  = "gfx/pod-menu-4-on.jpg";
pod4off  = new Image;          pod4off.src = "gfx/pod-menu-4.jpg";

pod5on   = new Image;          pod5on.src  = "gfx/pod-menu-5-on.jpg";
pod5off  = new Image;          pod5off.src = "gfx/pod-menu-5.jpg";

pod6on   = new Image;          pod6on.src  = "gfx/pod-menu-6-on.jpg";
pod6off  = new Image;          pod6off.src = "gfx/pod-menu-6.jpg";

pod7on   = new Image;          pod7on.src  = "gfx/pod-menu-7-on.jpg";
pod7off  = new Image;          pod7off.src = "gfx/pod-menu-7.jpg";

pod8on   = new Image;          pod8on.src  = "gfx/pod-menu-8-on.jpg";
pod8off  = new Image;          pod8off.src = "gfx/pod-menu-8.jpg";


homeon   = new Image;          homeon.src  = "gfx/new/home-on.jpg";
homeoff  = new Image;          homeoff.src = "gfx/new/home-off.jpg";

kopertaon   = new Image;       kopertaon.src  = "gfx/new/koperta-on.jpg";
kopertaoff  = new Image;       kopertaoff.src = "gfx/new/koperta-off.jpg";

laston   = new Image;          laston.src  = "gfx/new/last-on.jpg";
lastoff  = new Image;          lastoff.src = "gfx/new/last-off.jpg";

upon   = new Image;            upon.src  = "gfx/new/up-on.jpg";
upoff  = new Image;            upoff.src = "gfx/new/up-off.jpg";


pod90on   = new Image;          pod90on.src  = "gfx/pod-menu-90-on.jpg";
pod90off  = new Image;          pod90off.src = "gfx/pod-menu-90.jpg";

pod91on   = new Image;          pod91on.src  = "gfx/pod-menu-91-on.jpg";
pod91off  = new Image;          pod91off.src = "gfx/pod-menu-91.jpg";

pod92on   = new Image;          pod92on.src  = "gfx/pod-menu-92-on.jpg";
pod92off  = new Image;          pod92off.src = "gfx/pod-menu-92.jpg";

pod93on   = new Image;          pod93on.src  = "gfx/pod-menu-93-on.jpg";
pod93off  = new Image;          pod93off.src = "gfx/pod-menu-93.jpg";


menu20on   = new Image;          menu20on.src  = "gfx/menu_male_galeria_on.jpg";
menu20off  = new Image;          menu20off.src = "gfx/menu_male_galeria.jpg";

menu21on   = new Image;          menu21on.src  = "gfx/menu_male_prezentacje_on.jpg";
menu21off  = new Image;          menu21off.src = "gfx/menu_male_prezentacje.jpg";

menu22on   = new Image;          menu22on.src  = "gfx/menu_male_filmy_on.jpg";
menu22off  = new Image;          menu22off.src = "gfx/menu_male_filmy.jpg";

menu23on   = new Image;          menu23on.src  = "gfx/menu_male_informacje_on.jpg";
menu23off  = new Image;          menu23off.src = "gfx/menu_male_informacje.jpg";

}
function change( action, image )
        {
        if( compat ) { document.images[action].src = eval( image + '.src' );}
        }
