﻿//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
menus_dumped = 0 ;
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=JavaScript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt); menus_dumped=1}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless you have more than one _array.js file


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500                   // The time delay for menus to remain visible
followspeed=15                 // Follow Scrolling speed
followrate=15                 // Follow Scrolling Rate
suboffset_top=5               // Sub menu offset Top position
suboffset_left=50             // Sub menu offset Left position


Gray3DStyle=[                 // Gray3DStyle is an array of properties. You can have as many property arrays as you need
"555555",                     // Mouse Off Font Color
0,                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"B14255",                     // Mouse On Font Color
0,                     // Mouse On Background Color
,                     // Menu Border Color
"10",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                       // Font Weight (bold or normal)
"Tahoma,Helvetica",           // Font Name
1,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
0,                     // 3D High Color
0,                     // 3D Low Color
,                             // Current Page Item Font Color (leave this blank to disable)
,                             // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
,                             // Menu Header Font Color (Leave blank if headers are not needed)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]
ImageMenu=[                 // Gray3DStyle is an array of properties. You can have as many property arrays as you need
"",                     // Mouse Off Font Color
"",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"",                     // Mouse On Font Color
"",                     // Mouse On Background Color
"",                     // Menu Border Color
"",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"",                     // Font Style (italic or normal)
"",                       // Font Weight (bold or normal)
"",           // Font Name
0,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border & Separator bar
,                     // 3D High Color
,                     // 3D Low Color
,                             // Current Page Item Font Color (leave this blank to disable)
,                             // Current Page Item Background Color (leave this blank to disable)
,                             // Top Bar image (Leave this blank to disable)
,                             // Menu Header Font Color (Leave blank if headers are not needed)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]

FlatStyle=[ // Gray3DStyle is an array of properties. You can have as many property arrays as you need
"CFCFCF", // Mouse Off Font Color
"d7181d", // Mouse Off Background Color (use zero for transparent in Netscape 6) 
"F0F0F0", // Mouse On Font Color
"A80100", // Mouse On Background Color
"FFFFFF", // Menu Border Color
"11", // Font Size (default is px but you can specify mm, pt or a percentage)
"normal", // Font Style (italic or normal)
"normal", // Font Weight (bold or normal)
"Arial", // Font Name
7, // Menu Item Padding or spacing
, // Sub Menu Image (Leave this blank if not needed)
1, // 3D Border & Separator bar
"A0A0A0", // 3D High Color
"A0A0A0", // 3D Low Color
, // Current Page Item Font Color (leave this blank to disable)
, // Current Page Item Background Color (leave this blank to disable)
, // Top Bar image (Leave this blank to disable)
, // Menu Header Font Color (Leave blank if headers are not needed)
, // Menu Header Background Color (Leave blank if headers are not needed)
"A0A0A0", // Menu Item Separator Color

]

addmenu(menu=[
"mainmenu",                   // Menu Name - This is needed in order for this menu to be called
-1000,                          // Menu Top - The Top position of this menu in pixels
-1000,                           // Menu Left - The Left position of this menu in pixels
100,                          // Menu Width - Menus width in pixels
1,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
FlatStyle,                  // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"left",                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Shadow(color=777777, Direction=135, Strength=0)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"Serwisy","# offfunction=undefined;",,,0
,"Konfiguracja","# offfunction=undefined;",,,0
])

addmenu(menu=[
"main_base_functions",                   // Menu Name - This is needed in order for this menu to be called
,                          // Menu Top - The Top position of this menu in pixels
,                           // Menu Left - The Left position of this menu in pixels
150,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
FlatStyle,                  // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"left",                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Shadow(color=777777, Direction=135, Strength=0)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"&nbsp;Korzyści","Index.aspx?item=22",,"Korzyści",0
,"&nbsp;Usługi","Index.aspx?item=21",,"Usługi",0
//,"&nbsp;Cennik","Index.aspx?item=32",,"Cennik",0
//,"&nbsp;Umowa","Index.aspx?item=33",,"Treść umowy",0
//,"&nbsp;Podpisz&nbsp;umowę","javascript:OpenSign()",,"Podpisz umowę",0
])

addmenu(menu=[
"main_academy",                   // Menu Name - This is needed in order for this menu to be called
,                          // Menu Top - The Top position of this menu in pixels
,                           // Menu Left - The Left position of this menu in pixels
150,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
FlatStyle,                  // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"left",                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Shadow(color=777777, Direction=135, Strength=0)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"&nbsp;O Akademii","Index.aspx?item=97",,"Informacje o Akademii KRD",0
,"&nbsp;Warsztaty","Index.aspx?item=98",,"Warsztaty Akademii KRD",0
,"&nbsp;Wykłady","Index.aspx?item=91",,"Wykłady",0
,"&nbsp;Seminaria","Index.aspx?item=92",,"Seminaria",0
//,"&nbsp;WWSD","Index.aspx?item=94",,"Wielkie Wiosenne Sprzątanie Długów",0
])

addmenu(menu=[
"main_law_aspects",                   // Menu Name - This is needed in order for this menu to be called
,                          // Menu Top - The Top position of this menu in pixels
,                           // Menu Left - The Left position of this menu in pixels
150,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
FlatStyle,                  // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"left",                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Shadow(color=777777, Direction=135, Strength=0)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"&nbsp;Ustawa","Index.aspx?item=11",,"Tekst ustawy",0
,"&nbsp;Regulamin","Index.aspx?item=12",,"Regulamin BIG",0
,"&nbsp;Decyzja","Index.aspx?item=13",,"Decyzja Ministra",0
,"&nbsp;Wymagania&nbsp;prawne","Index.aspx?item=24",,"Wymagania formalno-prawne",0
,"&nbsp;Wymogi&nbsp;systemu","Index.aspx?item=16",,"Wymagania techniczne systemu",0
,"&nbsp;Polityka&nbsp;prywatności","Index.aspx?item=29",,"Polityka prywatności",0
])

addmenu(menu=[
"main_press",                   // Menu Name - This is needed in order for this menu to be called
,                          // Menu Top - The Top position of this menu in pixels
,                           // Menu Left - The Left position of this menu in pixels
150,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
FlatStyle,                  // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"left",                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Shadow(color=777777, Direction=135, Strength=0)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"&nbsp;Informacje","Index.aspx?item=61",,"Informacje dla mediów",0
//,"&nbsp;Multimedia","Index.aspx?item=62",,"Pliki do pobrania",0
,"&nbsp;Media&nbsp;o&nbsp;nas","Index.aspx?item=42",,"Media o nas",0
,"&nbsp;Raporty","Index.aspx?item=65",,"Raporty",0
,"&nbsp;Kontakt&nbsp;dla&nbsp;prasy","Index.aspx?item=63",,"Kontakt z rzecznikiem prasowym",0
])


addmenu(menu=[
"main_krdbig",                   // Menu Name - This is needed in order for this menu to be called
,                          // Menu Top - The Top position of this menu in pixels
,                           // Menu Left - The Left position of this menu in pixels
150,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
FlatStyle,                  // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"left",                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Shadow(color=777777, Direction=135, Strength=0)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"&nbsp;O&nbsp;firmie","Index.aspx?item=41",,"Informacje o firmie",0
,"&nbsp;Nasza&nbsp;misja","Index.aspx?item=4b",,"Nasza misja",0
//,"&nbsp;Media&nbsp;o&nbsp;nas","Index.aspx?item=42",,"Media o nas",0
,"&nbsp;FAQ","Index.aspx?item=43",,"Pytania i odpowiedzi",0
,"&nbsp;Praca","Index.aspx?item=48",,"Oferty pracy",0
,"&nbsp;Znajomość marki","Index.aspx?item=4c",,"Znajomość marki",0
])

addmenu(menu=[
"main_contact",
,                          // Menu Top - The Top position of this menu in pixels
,                           // Menu Left - The Left position of this menu in pixels
150,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
FlatStyle,                  // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"left",                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Shadow(color=777777, Direction=135, Strength=0)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"Kontakt&nbsp;z&nbsp;KRD","Index.aspx?item=71",,"Kontakt z KRD BIG SA",0
])

addmenu(menu=[
"main_navi",
,                          // Menu Top - The Top position of this menu in pixels
,                           // Menu Left - The Left position of this menu in pixels
157,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
FlatStyle,                  // Properties Array - this array is declared higher up as you can see above
0,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"left",                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
"Shadow(color=777777, Direction=135, Strength=0)",// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
0,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
, "&nbsp;Strefa&nbsp;klienta&nbsp;biznesowego", "javascript:GoToServiceWithMenuBar(\"http://www.krd.pl/strefaklienta/\")", , "Przejście do Strefy klienta", 0
,"&nbsp;Serwis&nbsp;KRD&nbsp;-&nbsp;logowanie","javascript:GoToService(\"https://www.krd.pl/Client/\")",,"Wejście na serwis kliencki",0
, "&nbsp;DEMO", "javascript:GoToService(\"https://www.krd.pl/Demo/\")", , "Wejście na serwis demonstracyjny", 0
, "&nbsp;Dla&nbsp;konsumenta", "http://konsument.krd.pl", , "Strona informacyjna Serwisu Ochrony Konsumenta", 0
])

function GoToService(service)
{
  window.open(service,'_blank','resizable=1,scrollbars=yes,menubar=no,toolbar=no,location=no,status=yes');
}

function GoToServiceWithMenuBar(service) 
{
    window.open(service, '_blank', 'resizable=1,scrollbars=yes,menubar=yes,toolbar=yes,location=yes,status=yes');
}

addmenu(menu=[
"InfoServiceMenu",                   // Menu Name - This is needed in order for this menu to be called
-1000,                          // Menu Top - The Top position of this menu in pixels
-1000,                           // Menu Left - The Left position of this menu in pixels
,                          // Menu Width - Menus width in pixels
0,                            // Menu Border Width
,                             // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
ImageMenu,                  // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
"left",                             // Alignment - sets this menu elements text alignment, values valid here are: left, right or center
,// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
"left",                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"<img src=Images/WireFrame/pl-PL/topMenu/01.gif width=70 height=45 border=0>","show-menu=main_krdbig", "Index.aspx?item=41 ","Informacje o firmie",1
,"<img src=Images/WireFrame/pl-PL/topMenu/02.gif width=68 height=45 border=0>","show-menu=main_base_functions","Index.aspx?item=21","Oferowane usługi",1
,"<img src=Images/WireFrame/pl-PL/topMenu/08.gif width=105 height=45 border=0>","Index.aspx?item=97",,"Akademia Krajowego Rejestru Długów",1
,"<img src=Images/WireFrame/pl-PL/topMenu/03.gif width=121 height=45 border=0>","show-menu=main_law_aspects","Index.aspx?item=11","Aspekty prawne",1
,"<img src=Images/WireFrame/pl-PL/topMenu/04.gif width=132 height=45 border=0>","show-menu=main_press","Index.aspx?item=61","Informacje dla mediów",1
,"<img src=Images/WireFrame/pl-PL/topMenu/05.gif width=77 height=45 border=0>","Index.aspx?item=71",,"Kontakt z KRD BIG SA",1
,"<img src=Images/WireFrame/pl-PL/topMenu/06.gif width=94 height=45 border=0>","Index.aspx?item=50",,"Dokumenty, szablony, wzory",1
,"<img src=Images/WireFrame/pl-PL/topMenu/07.gif width=95 height=45 border=0>", "show-menu=main_navi", "#","Nawigacja",1
])