home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 October / Chip_2004-10_cd1.bin / servis / viry / cleaner / info / info_soubory / menu_array.js < prev    next >
Text File  |  2003-10-02  |  12KB  |  302 lines

  1. menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
  2.  
  3. //effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
  4.  
  5. timegap=500            // The time delay for menus to remain visible
  6. followspeed=5        // Follow Scrolling speed
  7. followrate=40        // Follow Scrolling Rate
  8. suboffset_top=4;    // Sub menu offset Top position 
  9. suboffset_left=6;    // Sub menu offset Left position
  10. closeOnClick = true
  11.  
  12. style1=[            // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
  13. "404040",                // Mouse Off Font Color
  14. "ccccff",            // Mouse Off Background Color
  15. "404040",            // Mouse On Font Color
  16. "4b0082",            // Mouse On Background Color
  17. "404040",            // Menu Border Color 
  18. 18,                    // Font Size in pixels
  19. "normal",            // Font Style (italic or normal)
  20. "bold",                // Font Weight (bold or normal)
  21. "Verdana, Arial",    // Font Name
  22. 0,                    // Menu Item Padding
  23. "cze/pic/arrow.gif",        // Sub Menu Image (Leave this blank if not needed)
  24. ,                    // 3D Border & Separator bar
  25. "66ffff",            // 3D High Color
  26. "000099",            // 3D Low Color
  27. "Purple",            // Current Page Item Font Color (leave this blank to disable)
  28. "pink",                // Current Page Item Background Color (leave this blank to disable)
  29. ,        // Top Bar image (Leave this blank to disable)
  30. "ffffff",            // Menu Header Font Color (Leave blank if headers are not needed)
  31. "000099",            // Menu Header Background Color (Leave blank if headers are not needed)
  32. "navy",                // Menu Item Separator Color
  33. ]
  34.  
  35. st_products=[            // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
  36. "#404040",                // Mouse Off Font Color
  37. "#EAEAEA",            // Mouse Off Background Color
  38. "#000000",            // Mouse On Font Color
  39. "#CCCCCC",            // Mouse On Background Color
  40. "#7f7f7f",            // Menu Border Color 
  41. "11px",                    // Font Size in pixels
  42. "normal",            // Font Style (italic or normal)
  43. "",                // Font Weight (bold or normal)
  44. "Verdana, Arial",    // Font Name
  45. 4,                    // Menu Item Padding
  46. "cze/pic/arrow.gif",        // Sub Menu Image (Leave this blank if not needed)
  47. ,                    // 3D Border & Separator bar
  48. "66ffff",            // 3D High Color
  49. "000099",            // 3D Low Color
  50. "#000000",            // Current Page Item Font Color (leave this blank to disable)
  51. "#EAEAEA",                // Current Page Item Background Color (leave this blank to disable)
  52. "cze/pic/arrowdn.gif",        // Top Bar image (Leave this blank to disable)
  53. "#ffffff",            // Menu Header Font Color (Leave blank if headers are not needed)
  54. "#000099",            // Menu Header Background Color (Leave blank if headers are not needed)
  55. "#E1E1E1",                // Menu Item Separator Color
  56. ]
  57.  
  58. //----------------------generovane menu-----------------------------
  59. //----------------------zacatek-------------------------------------
  60.     addmenu(menu=["sm_0", 176, 228, 92, 0,,style1,1,"left",,,1,,,,,,,,,,
  61.         ,"<IMG SRC=cze/pic/menu_"+prod+"33.gif border=0 height=22 width=92 name='produkty' alt='Produkty'>","show-menu=sm_79","i_kat_150.html","",0
  62.         ,"<IMG SRC=cze/pic/menu_"+down+"34.gif border=0 height=22 width=92 name='ke sta╛enφ' alt='Ke sta╛enφ'>","show-menu=sm_80","i_kat_155.html","",0
  63.         ,"<IMG SRC=cze/pic/menu_"+purch+"35.gif border=0 height=22 width=92 name='Kupte si' alt='Kupte si'>","show-menu=sm_81","i_kat_156.html","",0
  64.         ,"<IMG SRC=cze/pic/menu_"+supp+"36.gif border=0 height=22 width=92 name='Technickß podpora' alt='Technickß podpora'>","show-menu=sm_82","i_idt_921.html","",0
  65.         ,"<IMG SRC=cze/pic/menu_"+vir+"37.gif border=0 height=22 width=92 name='viry' alt='Viry'>","show-menu=sm_83","i_kat_151.html","",0
  66.         ,"<IMG SRC=cze/pic/menu_"+comp+"38.gif border=0 height=22 width=92 name='O nßs' alt='O nßs'>","show-menu=sm_84","i_idt_893.html","",0
  67.     ])
  68.  
  69.  
  70.     addmenu(menu=["sm_79",,,180,1,"",st_products,,"left",,,,,,,,,,,,,
  71.         ,"Ochrana stanic","show-menu=sm_119","i_kat_160.html",,1
  72.         ,"Ochrana mal²ch sφtφ","show-menu=sm_120","i_kat_153.html",,1
  73.         ,"Ochrana velk²ch sφtφ","show-menu=sm_121","i_kat_152.html",,1
  74.         ,"Technologie/OEM Produkty","show-menu=sm_122","i_kat_181.html",,1
  75.         ,"Software zadarmo","show-menu=sm_123","i_kat_182.html",,1
  76.         ,"Beta Verze","i_kat_183.html",,,1
  77.     ])
  78.  
  79.  
  80.     addmenu(menu=["sm_80",,,180,1,"",st_products,,"left",,,,,,,,,,,,,
  81.         ,"Programy","i_kat_173.html",,,1
  82.         ,"Aktualizace","i_kat_175.html",,,1
  83.         ,"Beta Verze","i_kat_183.html",,,1
  84.         ,"avast! Skiny","i_kat_177.html",,,1
  85.         ,"avast! 4 Datasheety","i_idt_1038.html",,,1
  86.         ,"Dokumentace k avast32 3.0","i_idt_926.html",,,1
  87.     ])
  88.  
  89.  
  90.     addmenu(menu=["sm_81",,,180,1,"",st_products,,"left",,,,,,,,,,,,,
  91.         ,"Ochrana stanic","i_kat_296.html",,,1
  92.         ,"Sφ╗ovΘ °e╣enφ","i_kat_303.html",,,1
  93.         ,"Cenφky","i_kat_297.html",,,1
  94.         ,"Registrace avast! Home","http://www.asw.cz/i_kat_207.php?lang=CZE",,,1
  95.     ])
  96.  
  97.  
  98.     addmenu(menu=["sm_82",,,180,1,"",st_products,,"left",,,,,,,,,,,,,
  99.         ,"Podpora","i_idt_921.html",,,1
  100.         ,"Zasφlßnφ informacφ","i_kat_170.html",,,1
  101.         ,"Registrace avast! Home","http://www.asw.cz/i_kat_207.php?lang=CZE",,,1
  102.         ,"Diskuznφ f≤rum","http://www2.asw.cz/forum/?lang=CZE",,,1
  103.         ,"FAQs avast! 4","i_kat_187.html",,,1
  104.         ,"FAQs Avast32 3.0","i_kat_189.html",,,1
  105.     ])
  106.  
  107.  
  108.     addmenu(menu=["sm_83",,,120,1,"",st_products,,"left",,,,,,,,,,,,,
  109.         ,"Popisy vir∙","show-menu=sm_95",,,1
  110.         ,"Viry in the Wild","i_idt_850.html",,,1
  111.         ,"Zasφlßnφ informacφ","i_kat_170.html",,,1
  112.         ,"Hlß╣enφ o viru","http://www.asw.cz/i_kat_72.php?lang=CZE",,,1
  113.         ,"Souhrn hlß╣enφ","i_idt_855.html",,,1
  114.     ])
  115.  
  116.  
  117.     addmenu(menu=["sm_84",,,100,1,"",st_products,,"left",,,,,,,,,,,,,
  118.         ,"O nßs","i_idt_893.html",,,1
  119.         ,"Kontakty","i_idt_917.html",,,1
  120.         ,"Distributo°i","i_kat_180.html",,,1
  121.         ,"Ocen∞nφ","i_kat_162.html",,,1
  122.         ,"Novinky","i_kat_154.html",,,1
  123.         ,"Web Site","show-menu=sm_90",,,1
  124.         ,"Loga","i_kat_299.html",,,1
  125.         ,"Ostatnφ","i_kat_179.html",,,1
  126.     ])
  127.  
  128.  
  129.     addmenu(menu=["sm_119",,,210,1,"",st_products,,"left",,,,,,,,,,,,,
  130.         ,"avast! 4 Professional","i_idt_935.html",,,1
  131.         ,"avast! 4 Home","i_idt_936.html",,,1
  132.         ,"avast! BART CD","i_idt_937.html",,,1
  133.         ,"avast! PDA Edition (WinCE/Palm)","i_idt_938.html",,,1
  134.         ,"avast32 3.0","i_kat_230.html",,,1
  135.         ,"avast! pro DOS","i_idt_1057.html",,,1
  136.     ])
  137.  
  138.  
  139.     addmenu(menu=["sm_120",,,240,1,"",st_products,,"left",,,,,,,,,,,,,
  140.         ,"avast! Small Business Network Edition","i_idt_941.html",,,1
  141.         ,"avast! Small Business Server Edition","i_idt_942.html",,,1
  142.         ,"avast! Network Edition","i_idt_943.html",,,1
  143.         ,"avast! pro Kerio","i_idt_944.html",,,1
  144.         ,"avast! BART CD","i_idt_937.html",,,1
  145.         ,"avast! pro Linux","i_idt_946.html",,,1
  146.         ,"avast! PDA Edition (WinCE/Palm)","i_idt_938.html",,,1
  147.         ,"avast32 Network Edition","i_idt_1040.html",,,1
  148.     ])
  149.  
  150.  
  151.     addmenu(menu=["sm_121",,,240,1,"",st_products,,"left",,,,,,,,,,,,,
  152.         ,"avast! Network Edition","i_idt_943.html",,,1
  153.         ,"avast! Server Edition","i_idt_950.html",,,1
  154.         ,"avast! Server Edition Plug-ins","show-menu=sm_130","i_idt_949.html",,1
  155.         ,"avast! Distributed Network Manager","i_idt_951.html",,,1
  156.         ,"avast! BART CD","i_idt_937.html",,,1
  157.         ,"avast! pro Linux","i_idt_946.html",,,1
  158.         ,"avast! PDA Edition (WinCE/Palm)","i_idt_938.html",,,1
  159.         ,"avast32 Network Edition","i_idt_1040.html",,,1
  160.     ])
  161.  
  162.  
  163.     addmenu(menu=["sm_122",,,180,1,"",st_products,,"left",,,,,,,,,,,,,
  164.         ,"avast! AV Engine pro OEM","i_idt_952.html",,,1
  165.     ])
  166.  
  167.  
  168.     addmenu(menu=["sm_123",,,100,1,"",st_products,,"left",,,,,,,,,,,,,
  169.         ,"avast! 4 Home","i_idt_985.html",,,1
  170.         ,"avast! cleaner","i_idt_954.html",,,1
  171.     ])
  172.  
  173.  
  174.     addmenu(menu=["sm_95",,,100,1,"",st_products,,"left",,,,,,,,,,,,,
  175.         ,"Windows viry","i_kat_167.html",,,1
  176.         ,"Script viry","i_kat_168.html",,,1
  177.         ,"Macro viry","i_kat_169.html",,,1
  178.     ])
  179.  
  180.  
  181.     addmenu(menu=["sm_90",,,100,1,"",st_products,,"left",,,,,,,,,,,,,
  182.         ,"Mapa webu","i_idt_857.html",,,1
  183.         ,"Vyhledßvßnφ","http://www.asw.cz/i_kat_66.php?lang=CZE",,,1
  184.     ])
  185.  
  186.  
  187.     addmenu(menu=["sm_130",,,110,1,"",st_products,,"left",,,,,,,,,,,,,
  188.         ,"Exchange","i_idt_949.html#1",,,1
  189.         ,"MS Proxy/ISA","i_idt_949.html#2",,,1
  190.         ,"Lotus Domino","i_idt_949.html#3",,,1
  191.         ,"SMTP Gateway","i_idt_949.html#4",,,1
  192.         ,"CVP Firewalls","i_idt_949.html#5",,,1
  193.         ,"MS Share Points","i_idt_949.html#6",,,1
  194.         ,"avast! pro Kerio","i_idt_949.html#7",,,1
  195.     ])
  196.  
  197.  
  198. //----------------------Konec---------------------------------------
  199. //----------------------generovane menu-----------------------------
  200.  
  201. dumpmenus()
  202.  
  203.  
  204.   cze_on = new Image();
  205.   cze_on.src = "cze/pic/horejsek_hig_06.gif";
  206.   cze_off = new Image();
  207.   cze_off.src = "cze/pic/horejsek_sel_06.gif";
  208.  
  209.   eng_on = new Image();
  210.   eng_on.src = "cze/pic/horejsek_hig_04.gif";
  211.   eng_off = new Image();
  212.   eng_off.src = "cze/pic/horejsek_04.gif";
  213.   eng_on_sel = new Image();
  214.   eng_on_sel.src = "cze/pic/horejsek_hig_04.gif";
  215.   eng_off_sel = new Image();
  216.   eng_off_sel.src = "cze/pic/horejsek_04.gif";
  217. ///*****************************************************************************
  218.   home_on = new Image();
  219.   home_on.src = "cze/pic/dolejsek_hig_05.gif";
  220.   home_off = new Image();
  221.   home_off.src = "cze/pic/dolejsek_05.gif";
  222.  
  223.   search_on = new Image();
  224.   search_on.src = "cze/pic/dolejsek_hig_06.gif";
  225.   search_off = new Image();
  226.   search_off.src = "cze/pic/dolejsek_06.gif";
  227.  
  228.   contact_on = new Image();
  229.   contact_on.src = "cze/pic/dolejsek_hig_07.gif";
  230.   contact_off = new Image();
  231.   contact_off.src = "cze/pic/dolejsek_07.gif";
  232.  
  233.   private_on = new Image();
  234.   private_on.src = "cze/pic/dolejsek_hig_08.gif";
  235.   private_off = new Image();
  236.   private_off.src = "cze/pic/dolejsek_08.gif";
  237.  
  238.   print_on = new Image();
  239.   print_on.src = "cze/pic/dolejsek_hig_09.gif";
  240.   print_off = new Image();
  241.   print_off.src = "cze/pic/dolejsek_09.gif";
  242.  
  243.   copyright_on = new Image();
  244.   copyright_on.src = "cze/pic/dolejsek_hig_11.gif";
  245.   copyright_off = new Image();
  246.   copyright_off.src = "cze/pic/dolejsek_11.gif";
  247. ///*****************************************************************************
  248.   products_on = new Image();
  249.   products_on.src = "cze/pic/menu_hig_33.gif";
  250.   products_off = new Image();
  251.   products_off.src = "cze/pic/menu_33.gif";
  252.   products_s_on = new Image();
  253.   products_s_on.src = "cze/pic/menu_higsel_10.jpg";
  254.   products_s_off = new Image();
  255.   products_s_off.src = "cze/pic/menu_hig_10.jpg";
  256.  
  257.   downloads_on = new Image();
  258.   downloads_on.src = "cze/pic/menu_hig_34.gif";
  259.   downloads_off = new Image();
  260.   downloads_off.src = "cze/pic/menu_34.gif";
  261.   downloads_s_on = new Image();
  262.   downloads_s_on.src = "cze/pic/menu_higsel_13.jpg";
  263.   downloads_s_off = new Image();
  264.   downloads_s_off.src = "cze/pic/menu_hig_13.jpg";
  265.  
  266.   purchase_on = new Image();
  267.   purchase_on.src = "cze/pic/menu_hig_35.gif";
  268.   purchase_off = new Image();
  269.   purchase_off.src = "cze/pic/menu_35.gif";
  270.   purchase_s_on = new Image();
  271.   purchase_s_on.src = "cze/pic/menu_higsel_16.jpg";
  272.   purchase_s_off = new Image();
  273.   purchase_s_off.src = "cze/pic/menu_hig_16.jpg";
  274.  
  275.   support_on = new Image();
  276.   support_on.src = "cze/pic/menu_hig_36.gif";
  277.   support_off = new Image();
  278.   support_off.src = "cze/pic/menu_36.gif";
  279.   support_s_on = new Image();
  280.   support_s_on.src = "cze/pic/menu_higsel_19.jpg";
  281.   support_s_off = new Image();
  282.   support_s_off.src = "cze/pic/menu_hig_19.jpg";
  283.  
  284.   viruses_on = new Image();
  285.   viruses_on.src = "cze/pic/menu_hig_37.gif";
  286.   viruses_off = new Image();
  287.   viruses_off.src = "cze/pic/menu_37.gif";
  288.   viruses_s_on = new Image();
  289.   viruses_s_on.src = "cze/pic/menu_higsel_22.jpg";
  290.   viruses_s_off = new Image();
  291.   viruses_s_off.src = "cze/pic/menu_hig_22.jpg";
  292.  
  293.   company_on = new Image();
  294.   company_on.src = "cze/pic/menu_hig_38.gif";
  295.   company_off = new Image();
  296.   company_off.src = "cze/pic/menu_38.gif";
  297.   company_s_on = new Image();
  298.   company_s_on.src = "cze/pic/menu_higsel_25.jpg";
  299.   company_s_off = new Image();
  300.   company_s_off.src = "cze/pic/menu_hig_25.jpg";
  301.  
  302.