var RowNum = 0; var SubRowNum = 0; var SiteRootFolder = ""; // leave blank if site not inside a folder var MenuYOffset = "-20px"; // // Menu functions // function MenuRow(in_Title, in_Link, in_MenuRowPopup) { var Style = ''; RowNum++; if (RowNum % 2) Style = 'TopMenuSub1'; else Style = 'TopMenuSub2'; return '
  • '+in_Title+''+in_MenuRowPopup+'
  • '; } function StartMenu(in_MenuName, in_Width, in_Height, in_Link, in_MenuRowWidth) { RowNum = 0; return '
  • ' +'' +'
      '; } function EndMenu() { return '
  • '; } function StartMenuNoRows(in_MenuName, in_Width, in_Height, in_Link, in_MenuRowWidth) { RowNum = 0; return '
  • ' +'
  • '; } // Submenu functions function SubMenuRow(in_Title, in_Link) { var Style = ''; SubRowNum++; if (SubRowNum % 2) Style = 'TopMenuSub1'; else Style = 'TopMenuSub2'; return '
  • '+in_Title+'
  • '; } function StartSubMenu(in_Width, in_LeftOffset) { SubRowNum = 0; return '
    '; } // // Display popup menu if not AOL Mac // IsAolMac = false; Browser = navigator.userAgent; if ((Browser.indexOf("Macintosh") != -1) && (Browser.indexOf("AOL") != -1)) IsAolMac = true; if (IsAolMac) { document.write('
    ' + '' + '' + '' + '' + '' + '
    '); } else { //background-image:url(mainnav.gif); document.write('
      '); MenuTabHeight = 35; // Home MenuWidth = 124; Menu = StartMenuNoRows('Home', 59, MenuTabHeight, '/', (MenuWidth+3)); // About us MenuWidth = 124; Menu += StartMenuNoRows('About', 69, MenuTabHeight, '/about_us.php', (MenuWidth+3)); // Products MenuWidth = 128; SubMenuWidth = 150; Menu += StartMenu('Products', 66, MenuTabHeight, '/products/', (MenuWidth+3)); SubMenu = StartSubMenu(SubMenuWidth, MenuWidth); SubMenu += SubMenuRow('Amyloid Precursor Protein, CTF fragments', '/products/products_4.html');SubMenu += SubMenuRow('Apo E Proteins', '/products/products_5.html');SubMenu += SubMenuRow('Beta-Amyloid peptides', '/products/products_7.html');SubMenu += SubMenuRow('Beta-Amyloid, labeled peptides', '/products/products_10.html');SubMenu += SubMenuRow('Beta-Amyloid antibodies', '/products/products_13.html');SubMenu += SubMenuRow('Tubulin proteins and antibody', '/products/products_15.html');SubMenu += SubMenuRow('Tau proteins', '/products/products_24.html');SubMenu += SubMenuRow('Tau antibodies', '/products/products_26.html'); SubMenu += EndSubMenu(); Menu += MenuRow('Alzheimer\'s Products', '/products/', SubMenu); SubMenu = StartSubMenu(SubMenuWidth, MenuWidth); SubMenu += SubMenuRow('Synucleins', '/products/products_17.html');SubMenu += SubMenuRow('Tau proteins', '/products/products_19.html');SubMenu += SubMenuRow('Tau antibodies', '/products/products_21.html'); SubMenu += EndSubMenu(); Menu += MenuRow('Parkinson\'s Products', '/products/', SubMenu); SubMenu = StartSubMenu(SubMenuWidth, MenuWidth); SubMenu += SubMenuRow('Amylin Peptides', '/products/products_36.html');SubMenu += SubMenuRow('Calmodulins', '/products/products_53.html');SubMenu += SubMenuRow('AD/PD Related Proteins', '/products/products_55.html'); SubMenu += EndSubMenu(); Menu += MenuRow('Other Products', '/products/', SubMenu); SubMenu = StartSubMenu(150, MenuWidth); SubMenu += SubMenuRow('Recombinant Expression of Peptides/Proteins', '/contract_services.html');SubMenu += SubMenuRow('Uniform Labeling of Peptides and Proteins', '/contract_services.html');SubMenu += SubMenuRow('Synthetic Peptide Synthesis', '/contract_services.html'); SubMenu += EndSubMenu(); Menu += MenuRow('Contract Services', '/products/', SubMenu); Menu += EndMenu(); // Ordering MenuWidth = 130; Menu += StartMenu('Ordering', 65, MenuTabHeight, '/ordering.php', (MenuWidth+3)); Menu += MenuRow('Overview', '/ordering.php', ''); Menu += MenuRow('Order Online', '/products/', ''); Menu += MenuRow('International Distributors', '/international_distributors.php', ''); Menu += MenuRow('Terms & Conditions', '/terms_and_conditions.php', ''); Menu += EndMenu(); // Resources MenuWidth = 124; Menu += StartMenu('Resources', 73, MenuTabHeight, '/resources.php', (MenuWidth+3)); Menu += MenuRow('Amino Acid Codes', '/amino_acid_codes.php', ''); Menu += MenuRow('FAQ\'s', '/faqs.php', ''); Menu += MenuRow('Product Citations', '/product_citations.php', ''); Menu += MenuRow('Useful Links', '/useful_links.php', ''); Menu += EndMenu(); // Contact Us MenuWidth = 74; Menu += StartMenu('Contact Us', 78, MenuTabHeight, '/contact_us.php', (MenuWidth+3)); Menu += MenuRow('Contact Info', '/contact_us.php', ''); Menu += MenuRow('Map', 'http://www.mapquest.com/maps/map.adp?country=US&address=4241+Mars+Hill+Road+%7C+&city=Bogart&state=GA', ''); Menu += MenuRow('Email', 'mailto:info@rpeptide.com', ''); Menu += EndMenu(); document.write(Menu+'
    '); /* Tips & Tricks 1: Adjust the "function menudata0()" numeric id in the statement below to match the numeric id of the id='imenus0' statement within the menu structure and links secion above. The numbers must match for the menu to work, multiple menus may be used on a single page by adding new sections with new id's. 2: To specifically define settings for an individual item or container, apply classes or inline styles directly to the UL and A tags in the HTML tags which define your menus structure and links above. 3: Use the parameter options below to define borders and padding. Borders and padding specified within the menus HTML structure may cause positioning and actual sizing to be offset a bit in some browsers. */ /*------------------------------------------------- ************* Parameter Settings ****************** ---------------------------------------------------*/ function imenus_data0(){ this.enable_visual_design_mode = false //turns the visual design pad option on or off this.main_is_horizontal = true this.menu_showhide_delay = 180 /*--------------------------------------------- Expand Icon Images ---------------------------------------------*/ this.main_expand_image = "" this.main_expand_image_hover = "" this.main_expand_image_width = "" this.main_expand_image_height = "" this.main_expand_image_offx = "" this.main_expand_image_offy = "" this.sub_expand_image = SiteRootFolder+"/images/arrow_sub.gif" this.sub_expand_image_hover = SiteRootFolder+"/images/arrow_sub.gif" this.sub_expand_image_width = "10" this.sub_expand_image_height = "13" this.sub_expand_image_offx = "0" this.sub_expand_image_offy = "0" /*--------------------------------------------- Global Menu Styles ---------------------------------------------*/ //Main Menu //background-color:#06437d; this.main_container_styles = "border-style:solid; border-color:#010088; border-width:1px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; " this.main_item_styles = "background-color:; background-image:; color:#e6e6e6; text-align:center; font-family:Arial; font-size:12px; font-weight:bold; text-decoration:none; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; border-style:none; border-color:#000000; border-width:0px; " this.main_item_hover_styles = "color:#FFFFFF; " this.main_item_active_styles = "" //Sub Menu //background-color:#FBF6EA; this.subs_container_styles = "border-style:solid; border-color: #666D92; border-width:1px 1px 1px 1px; padding-top:0px; padding-right:0px; padding-bottom:0px; padding-left:0px; margin-left:1px;" this.subs_item_styles = "background-color:#F0F5FF;color:#020169; text-align:left; font-family:arial; font-size:11px; font-weight:normal; text-decoration:none; padding-top:3px; padding-right:5px; padding-bottom:3px; padding-left:7px;" this.subs_item_hover_styles = "background-color:#010088;font-weight:;text-decoration:;" this.subs_item_active_styles = "background-color:#010088; color:#FFFFFF; font-weight:; text-decoration:;" } } // end if IsAolMac