home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2004 March / PCWMAR04.iso / Sponsors / Xara / MM-Nav / graphics / mmnav.js < prev    next >
Encoding:
Text File  |  2003-04-02  |  7.7 KB  |  122 lines

  1. if(typeof(loc)=="undefined"||loc==""){var loc="";if(document.body&&document.body.innerHTML){var tt=document.body.innerHTML.toLowerCase();var last=tt.indexOf("mmnav.js\"");if(last>0){var first=tt.lastIndexOf("\"",last);if(first>0&&first<last)loc=document.body.innerHTML.substr(first+1,last-first-1);}}}
  2.  
  3. var bd=1
  4. document.write("<style type=\"text/css\">");
  5. document.write("\n<!--\n");
  6. var tr="filter:alpha(opacity=92);";if(IE5) tr="";
  7. document.write(".mmnav_menu {"+tr+"border-color:#ffffff;border-style:solid;border-width:"+bd+"px 0px "+bd+"px 0px;background-color:#dcdbe1;position:absolute;left:0px;top:0px;visibility:hidden;}");
  8. document.write("a.mmnav_plain:link, a.mmnav_plain:visited{text-align:left;background-color:#dcdbe1;color:#25252c;text-decoration:none;border-color:#ffffff;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:10pt;font-family:Arial, Helvetica, sans-serif;}");
  9. document.write("a.mmnav_plain:hover, a.mmnav_plain:active{background-color:#495473;color:#ffffff;text-decoration:none;border-color:#ffffff;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:10pt;font-family:Arial, Helvetica, sans-serif;}");
  10. document.write("a.mmnav_l:link, a.mmnav_l:visited{text-align:left;background:#dcdbe1 url("+loc+"mmnav_l.gif) no-repeat right;color:#25252c;text-decoration:none;border-color:#ffffff;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:10pt;font-family:Arial, Helvetica, sans-serif;}");
  11. document.write("a.mmnav_l:hover, a.mmnav_l:active{background:#495473 url("+loc+"mmnav_l2.gif) no-repeat right;color: #ffffff;text-decoration:none;border-color:#ffffff;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:10pt;font-family:Arial, Helvetica, sans-serif;}");
  12. document.write("\n-->\n");
  13. document.write("</style>");
  14.  
  15. var fc=0xffffff;
  16. var bc=0x495473;
  17. if(typeof(frames)=="undefined"){var frames=0;}
  18.  
  19. startMainMenu("mmnav_left.gif",26,10,2,0,0)
  20. mainMenuItem("mmnav_b1",".gif",26,102,"javascript:;","","Press Center",2,2,"mmnav_plain");
  21. mainMenuItem("mmnav_b2",".gif",26,102,"javascript:;","","Artwork",2,2,"mmnav_plain");
  22. mainMenuItem("mmnav_b3",".gif",26,102,"javascript:;","","Tutorials",2,2,"mmnav_plain");
  23. mainMenuItem("mmnav_b4",".gif",26,102,"javascript:;","","About Xara",2,2,"mmnav_plain");
  24. mainMenuItem("mmnav_b5",".gif",26,102,"javascript:;","","Homepage",2,2,"mmnav_plain");
  25. mainMenuItem("mmnav_b6",".gif",26,102,"javascript:;","","Product Trials",2,2,"mmnav_plain");
  26. endMainMenu("mmnav_right.gif",26,10)
  27.  
  28. startSubmenu("mmnav_b6_1","mmnav_menu",102);
  29. submenuItem("Menu Maker",loc+"../"+"../trials/menumaker.htm","","mmnav_plain");
  30. submenuItem("---","javascript:;","","mmnav_plain");
  31. submenuItem("Webstyle",loc+"../"+"../trials/webstyle.htm","","mmnav_plain");
  32. submenuItem("---","javascript:;","","mmnav_plain");
  33. submenuItem("Xara3D",loc+"../"+"../trials/3d.htm","","mmnav_plain");
  34. submenuItem("---","javascript:;","","mmnav_plain");
  35. submenuItem("Xara X",loc+"../"+"../trials/x.htm","","mmnav_plain");
  36. submenuItem("---","javascript:;","","mmnav_plain");
  37. submenuItem("Graphic Studio",loc+"../"+"../trials/studio.htm","","mmnav_plain");
  38. submenuItem("---","javascript:;","","mmnav_plain");
  39. submenuItem("Xara Cube",loc+"../"+"../trials/Cube.htm","","mmnav_plain");
  40. endSubmenu("mmnav_b6_1");
  41.  
  42. startSubmenu("mmnav_b6","mmnav_menu",129);
  43. submenuItem("Photo Gallery",loc+"../"+"../trials/photogallery.htm","","mmnav_plain");
  44. submenuItem("---","javascript:;","","mmnav_plain");
  45. submenuItem("Ready Made Apps","http://www.xaraonline.com/home/applications/readymade.htm","","mmnav_plain");
  46. submenuItem("---","javascript:;","","mmnav_plain");
  47. submenuItem("Build your own Apps","http://www.xaraonline.com/home/applications/createyourown.htm","","mmnav_plain");
  48. submenuItem("---","javascript:;","","mmnav_plain");
  49. mainMenuItem("mmnav_b6_1","CD Titles",0,0,"javascript:;","","",1,1,"mmnav_l");
  50. endSubmenu("mmnav_b6");
  51.  
  52. startSubmenu("mmnav_b5_5","mmnav_menu",104);
  53. submenuItem("xara.com","http://www.xara.com","","mmnav_plain");
  54. submenuItem("---","javascript:;","","mmnav_plain");
  55. submenuItem("buyfonts.com","http://www.buyfonts.com","","mmnav_plain");
  56. endSubmenu("mmnav_b5_5");
  57.  
  58. startSubmenu("mmnav_b5_3","mmnav_menu",115);
  59. submenuItem("talkgraphics.com","http://www.talkgraphics.com","","mmnav_plain");
  60. submenuItem("---","javascript:;","","mmnav_plain");
  61. submenuItem("xaraxone.com","http://www.xaraxone.com","","mmnav_plain");
  62. endSubmenu("mmnav_b5_3");
  63.  
  64. startSubmenu("mmnav_b5","mmnav_menu",119);
  65. submenuItem("xaraonline.com","http://www.xaraonline.com","","mmnav_plain");
  66. submenuItem("---","javascript:;","","mmnav_plain");
  67. mainMenuItem("mmnav_b5_3","Support Sites",0,0,"javascript:;","","",1,1,"mmnav_l");
  68. submenuItem("---","javascript:;","","mmnav_plain");
  69. mainMenuItem("mmnav_b5_5","Related Sites",0,0,"javascript:;","","",1,1,"mmnav_l");
  70. endSubmenu("mmnav_b5");
  71.  
  72. startSubmenu("mmnav_b4","mmnav_menu",111);
  73. submenuItem("Contact",loc+"../"+"../About/contactinfo.htm","","mmnav_plain");
  74. submenuItem("---","javascript:;","","mmnav_plain");
  75. submenuItem("Company Profile",loc+"../"+"../About/profile.htm","","mmnav_plain");
  76. submenuItem("---","javascript:;","","mmnav_plain");
  77. endSubmenu("mmnav_b4");
  78.  
  79. startSubmenu("mmnav_b3_1","mmnav_menu",128);
  80. submenuItem("Build an Application","http://www.xaraonline.com/home/applications/buildanapplication.htm","","mmnav_plain");
  81. submenuItem("---","javascript:;","","mmnav_plain");
  82. submenuItem("Inserting a Module","http://www.xaraonline.com/home/applications/insertingamodule.htm","","mmnav_plain");
  83. submenuItem("---","javascript:;","","mmnav_plain");
  84. submenuItem("Quick Guides","http://www.xaraonline.com/home/applications/quickguides.htm","","mmnav_plain");
  85. endSubmenu("mmnav_b5_5");
  86.  
  87. startSubmenu("mmnav_b3","mmnav_menu",122);
  88. submenuItem("Create a Gallery",loc+"../"+"../tutorial/main.htm","","mmnav_plain");
  89. submenuItem("---","javascript:;","","mmnav_plain");
  90. submenuItem("What are Modules?",loc+"../"+"../tutorial/definemodules.htm","","mmnav_plain");
  91. submenuItem("---","javascript:;","","mmnav_plain");
  92. mainMenuItem("mmnav_b3_1","Getting it Done",0,0,"javascript:;","","",1,1,"mmnav_l");
  93. endSubmenu("mmnav_b3");
  94.  
  95. startSubmenu("mmnav_b2","mmnav_menu",102);
  96. submenuItem("Screen Shots",loc+"../"+"../Artwork/screenshots.htm","","mmnav_plain");
  97. submenuItem("---","javascript:;","","mmnav_plain");
  98. submenuItem("Examples",loc+"../"+"../Artwork/examples.htm","","mmnav_plain");
  99. submenuItem("---","javascript:;","","mmnav_plain");
  100. submenuItem("Logos",loc+"../"+"../Artwork/logos.htm","","mmnav_plain");
  101. endSubmenu("mmnav_b2");
  102.  
  103. startSubmenu("mmnav_b1_9","mmnav_menu",96);
  104. submenuItem("Pricing",loc+"../"+"../Press/Purchasing/pricing.htm","","mmnav_plain");
  105. submenuItem("---","javascript:;","","mmnav_plain");
  106. submenuItem("Where to Buy",loc+"../"+"../Press/Purchasing/wheretobuy.htm","","mmnav_plain");
  107. endSubmenu("mmnav_b1_9");
  108.  
  109. startSubmenu("mmnav_b1","mmnav_menu",120);
  110. submenuItem("Press Release",loc+"../"+"../Press/press.htm","","mmnav_plain");
  111. submenuItem("---","javascript:;","","mmnav_plain");
  112. submenuItem("Features",loc+"../"+"../Press/features.htm","","mmnav_plain");
  113. submenuItem("---","javascript:;","","mmnav_plain");
  114. submenuItem("FAQ",loc+"../"+"../Press/faq.htm","","mmnav_plain");
  115. submenuItem("---","javascript:;","","mmnav_plain");
  116. submenuItem("Covermounts",loc+"../"+"../Press/covermounts.htm","","mmnav_plain");
  117. submenuItem("---","javascript:;","","mmnav_plain");
  118. mainMenuItem("mmnav_b1_9","Ordering",0,0,"javascript:;","","",1,1,"mmnav_l");
  119. endSubmenu("mmnav_b1");
  120.  
  121. loc="";
  122.