home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 July / Chip_2004-07_cd1.bin / servis / avast / info / info_soubory / menu_array.js < prev    next >
Text File  |  2004-06-03  |  12KB  |  309 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",,,220,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 ZDARMA","http://www.avast.com/i_kat_207.php?lang=CZE",,,1
  95.     ])
  96.  
  97.  
  98.     addmenu(menu=["sm_82",,,230,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 ZDARMA","http://www.avast.com/i_kat_207.php?lang=CZE",,,1
  102.         ,"Diskuznφ f≤rum","http://forum.asw.cz/?lang=CZE",,,1
  103.         ,"FAQs avast! 4 Home / Professional","show-menu=sm_107","i_kat_187.html",,1
  104.         ,"FAQs avast! 4 PDA Edition ","i_kat_325.html",,,1
  105.         ,"FAQs Avast32 3.0","i_kat_189.html",,,1
  106.     ])
  107.  
  108.  
  109.     addmenu(menu=["sm_83",,,120,1,"",st_products,,"left",,,,,,,,,,,,,
  110.         ,"Popisy vir∙","show-menu=sm_95",,,1
  111.         ,"Viry in the Wild","i_idt_850.html",,,1
  112.         ,"Zasφlßnφ informacφ","i_kat_170.html",,,1
  113.         ,"Hlß╣enφ o viru","http://www.avast.com/i_kat_72.php?lang=CZE",,,1
  114.         ,"Souhrn hlß╣enφ","i_idt_855.html",,,1
  115.     ])
  116.  
  117.  
  118.     addmenu(menu=["sm_84",,,130,1,"",st_products,,"left",,,,,,,,,,,,,
  119.         ,"O nßs","i_idt_893.html",,,1
  120.         ,"Kontakty","i_idt_917.html",,,1
  121.         ,"Obchodnφ informace","i_kat_180.html",,,1
  122.         ,"Ocen∞nφ","i_kat_162.html",,,1
  123.         ,"Novinky","i_kat_154.html",,,1
  124.         ,"Web Site","show-menu=sm_90",,,1
  125.         ,"Loga","i_kat_299.html",,,1
  126.         ,"Ostatnφ","i_kat_179.html",,,1
  127.     ])
  128.  
  129.  
  130.     addmenu(menu=["sm_119",,,210,1,"",st_products,,"left",,,,,,,,,,,,,
  131.         ,"avast! 4 Professional","i_idt_935.html",,,1
  132.         ,"avast! 4 Home","i_idt_936.html",,,1
  133.         ,"avast! BART CD","i_idt_937.html",,,1
  134.         ,"avast! PDA Edition (WinCE/Palm)","i_idt_938.html",,,1
  135.         ,"avast32 3.0","i_kat_230.html",,,1
  136.         ,"avast! pro DOS","i_idt_1057.html",,,1
  137.     ])
  138.  
  139.  
  140.     addmenu(menu=["sm_120",,,240,1,"",st_products,,"left",,,,,,,,,,,,,
  141.         ,"avast! Small Business Network Edition","i_idt_941.html",,,1
  142.         ,"avast! Small Business Server Edition","i_idt_942.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! Server Edition","i_idt_950.html",,,1
  153.         ,"avast! Server Edition Plug-ins","show-menu=sm_130","i_idt_949.html",,1
  154.         ,"avast! Distributed Network Manager","i_idt_951.html",,,1
  155.         ,"avast! BART CD","i_idt_937.html",,,1
  156.         ,"avast! pro Linux","i_idt_946.html",,,1
  157.         ,"avast! PDA Edition (WinCE/Palm)","i_idt_938.html",,,1
  158.         ,"avast32 Network Edition","i_idt_1040.html",,,1
  159.     ])
  160.  
  161.  
  162.     addmenu(menu=["sm_122",,,180,1,"",st_products,,"left",,,,,,,,,,,,,
  163.         ,"avast! AV Engine pro OEM","i_idt_952.html",,,1
  164.     ])
  165.  
  166.  
  167.     addmenu(menu=["sm_123",,,110,1,"",st_products,,"left",,,,,,,,,,,,,
  168.         ,"avast! 4 Home","i_idt_985.html",,,1
  169.         ,"avast! cleaner","i_idt_954.html",,,1
  170.     ])
  171.  
  172.  
  173.     addmenu(menu=["sm_107",,,180,1,"",st_products,,"left",,,,,,,,,,,,,
  174.         ,"Instalace / Odinstalace","i_kat_313.html",,,1
  175.         ,"Aktualizace","i_kat_315.html",,,1
  176.         ,"Registrace / Licence","i_kat_317.html",,,1
  177.         ,"ProblΘmy s e-maily","i_kat_319.html",,,1
  178.         ,"Ostatnφ problΘmy","i_kat_321.html",,,1
  179.         ,"Hledßnφ a odstra≥ovßnφ vir∙","i_kat_323.html",,,1
  180.     ])
  181.  
  182.  
  183.     addmenu(menu=["sm_95",,,100,1,"",st_products,,"left",,,,,,,,,,,,,
  184.         ,"Windows viry","i_kat_167.html",,,1
  185.         ,"Script viry","i_kat_168.html",,,1
  186.         ,"Macro viry","i_kat_169.html",,,1
  187.     ])
  188.  
  189.  
  190.     addmenu(menu=["sm_90",,,130,1,"",st_products,,"left",,,,,,,,,,,,,
  191.         ,"Mapa webu","i_idt_857.html",,,1
  192.         ,"Vyhledßvßnφ","i_idt_1429.html",,,1
  193.     ])
  194.  
  195.  
  196.     addmenu(menu=["sm_130",,,110,1,"",st_products,,"left",,,,,,,,,,,,,
  197.         ,"Exchange","i_idt_949.html#1",,,1
  198.         ,"MS Proxy/ISA","i_idt_1399.html",,,1
  199.         ,"SMTP Gateway","i_idt_949.html#4",,,1
  200.         ,"CVP Firewalls","i_idt_949.html#5",,,1
  201.         ,"MS Share Points","i_idt_1401.html",,,1
  202.     ])
  203.  
  204.  
  205. //----------------------Konec---------------------------------------
  206. //----------------------generovane menu-----------------------------
  207.  
  208. dumpmenus()
  209.  
  210.  
  211.   cze_on = new Image();
  212.   cze_on.src = "cze/pic/horejsek_hig_06.gif";
  213.   cze_off = new Image();
  214.   cze_off.src = "cze/pic/horejsek_sel_06.gif";
  215.  
  216.   eng_on = new Image();
  217.   eng_on.src = "cze/pic/horejsek_hig_04.gif";
  218.   eng_off = new Image();
  219.   eng_off.src = "cze/pic/horejsek_04.gif";
  220.   eng_on_sel = new Image();
  221.   eng_on_sel.src = "cze/pic/horejsek_hig_04.gif";
  222.   eng_off_sel = new Image();
  223.   eng_off_sel.src = "cze/pic/horejsek_04.gif";
  224. ///*****************************************************************************
  225.   home_on = new Image();
  226.   home_on.src = "cze/pic/dolejsek_hig_05.gif";
  227.   home_off = new Image();
  228.   home_off.src = "cze/pic/dolejsek_05.gif";
  229.  
  230.   search_on = new Image();
  231.   search_on.src = "cze/pic/dolejsek_hig_06.gif";
  232.   search_off = new Image();
  233.   search_off.src = "cze/pic/dolejsek_06.gif";
  234.  
  235.   contact_on = new Image();
  236.   contact_on.src = "cze/pic/dolejsek_hig_07.gif";
  237.   contact_off = new Image();
  238.   contact_off.src = "cze/pic/dolejsek_07.gif";
  239.  
  240.   private_on = new Image();
  241.   private_on.src = "cze/pic/dolejsek_hig_08.gif";
  242.   private_off = new Image();
  243.   private_off.src = "cze/pic/dolejsek_08.gif";
  244.  
  245.   print_on = new Image();
  246.   print_on.src = "cze/pic/dolejsek_hig_09.gif";
  247.   print_off = new Image();
  248.   print_off.src = "cze/pic/dolejsek_09.gif";
  249.  
  250.   copyright_on = new Image();
  251.   copyright_on.src = "cze/pic/dolejsek_hig_11.gif";
  252.   copyright_off = new Image();
  253.   copyright_off.src = "cze/pic/dolejsek_11.gif";
  254. ///*****************************************************************************
  255.   products_on = new Image();
  256.   products_on.src = "cze/pic/menu_hig_33.gif";
  257.   products_off = new Image();
  258.   products_off.src = "cze/pic/menu_33.gif";
  259.   products_s_on = new Image();
  260.   products_s_on.src = "cze/pic/menu_higsel_10.jpg";
  261.   products_s_off = new Image();
  262.   products_s_off.src = "cze/pic/menu_hig_10.jpg";
  263.  
  264.   downloads_on = new Image();
  265.   downloads_on.src = "cze/pic/menu_hig_34.gif";
  266.   downloads_off = new Image();
  267.   downloads_off.src = "cze/pic/menu_34.gif";
  268.   downloads_s_on = new Image();
  269.   downloads_s_on.src = "cze/pic/menu_higsel_13.jpg";
  270.   downloads_s_off = new Image();
  271.   downloads_s_off.src = "cze/pic/menu_hig_13.jpg";
  272.  
  273.   purchase_on = new Image();
  274.   purchase_on.src = "cze/pic/menu_hig_35.gif";
  275.   purchase_off = new Image();
  276.   purchase_off.src = "cze/pic/menu_35.gif";
  277.   purchase_s_on = new Image();
  278.   purchase_s_on.src = "cze/pic/menu_higsel_16.jpg";
  279.   purchase_s_off = new Image();
  280.   purchase_s_off.src = "cze/pic/menu_hig_16.jpg";
  281.  
  282.   support_on = new Image();
  283.   support_on.src = "cze/pic/menu_hig_36.gif";
  284.   support_off = new Image();
  285.   support_off.src = "cze/pic/menu_36.gif";
  286.   support_s_on = new Image();
  287.   support_s_on.src = "cze/pic/menu_higsel_19.jpg";
  288.   support_s_off = new Image();
  289.   support_s_off.src = "cze/pic/menu_hig_19.jpg";
  290.  
  291.   viruses_on = new Image();
  292.   viruses_on.src = "cze/pic/menu_hig_37.gif";
  293.   viruses_off = new Image();
  294.   viruses_off.src = "cze/pic/menu_37.gif";
  295.   viruses_s_on = new Image();
  296.   viruses_s_on.src = "cze/pic/menu_higsel_22.jpg";
  297.   viruses_s_off = new Image();
  298.   viruses_s_off.src = "cze/pic/menu_hig_22.jpg";
  299.  
  300.   company_on = new Image();
  301.   company_on.src = "cze/pic/menu_hig_38.gif";
  302.   company_off = new Image();
  303.   company_off.src = "cze/pic/menu_38.gif";
  304.   company_s_on = new Image();
  305.   company_s_on.src = "cze/pic/menu_higsel_25.jpg";
  306.   company_s_off = new Image();
  307.   company_s_off.src = "cze/pic/menu_hig_25.jpg";
  308.  
  309.