// BIKES RIGHT NAV

var myMenu;
	window.onload = function() {
		myMenu = new SDMenu("my_menu");
    myMenu.speed = 5;                     // Menu sliding speed (1 - 5 recomended)
    myMenu.remember = false;               // Store menu states (expanded or collapsed) in cookie and restore later
    myMenu.oneSmOnly = true;             // One expanded submenu at a time
    myMenu.markCurrent = true;            // Mark current link / page (link.href == location.href)
		myMenu.init();
	};
  
  
var tableopen = "<table width=180 border=0 cellspacing=0 cellpadding=0><tr><td class=expanded>";
var tableclose = "</td></tr></table>";

var catopen = "<table width=180 border=0 cellspacing=0 cellpadding=0><tr><td class=cat>";
var catclose = "</td></tr></table>";


// WHERE AM I? Look for model codes in URL to determine which section you're in.

// System Integration
  cat=0;
  
// Creation Process
if (location.href.indexOf("/cp") != -1) {
  cat=1;
  
// Obsessive Testing
} else if (location.href.indexOf("/ot") != -1) {
  cat=2;
  
// Headshok
} else if (location.href.indexOf("/suspension/") != -1) {
  cat=3;
  
}
  
document.write("<img src=\"/js/09/sdmenu/topTech.gif\" height=24 width=180>");

document.write("<div style=\"float: left\" id=\"my_menu\" class=\"sdmenu\">");

// document.write(cat); /*FOR TESTING*/

//document.write("<div class=top>RIDE CANNONDALE</div");



/************************** BB30 **************************/     

  if (cat == 0){
  document.write("<div>");
  } else {
  document.write("<div class=collapsed>");
  }
      
      document.write("<span>System Integration</span>");
      //document.write("<span><a href=\"/bikes/09/cusa/why.html\">Why Cannondale</a></span>");

        document.write(catopen+"The Good Fight"+catclose);

        document.write("<a href=\"/technology/si.html\"><strong>Si</strong></a>");
        document.write("<a href=\"/technology/bb30.html\"><strong>BB30</strong></a>");
        document.write("<a href=\"/technology/hollowgramSL.html\"><strong>HollowgramSL</strong></a>");
       // document.write("<a href=\"/suspension/09/\"><strong>Headshok/Lefty</strong></a>");
        
            
            
        document.write("</div>");
        
        
        
        
  /************************** CREATION PROCESS **************************/     
        
  if (cat == 1){
  document.write("<div>");
  } else {
  document.write("<div class=collapsed>");
  }
      
      document.write("<span>Creation Process</span>");
            
        document.write("<a href=\"/technology/cp.html\"><strong>Consumer</strong></a>");
        document.write("<a href=\"/technology/cp_design.html\"><strong>Design &amp; Engineering</strong></a>");
        document.write("<a href=\"/technology/cp_development.html\"><strong>Development</strong></a>");
        document.write("<a href=\"/technology/cp_testing.html\"><strong>Testing</strong></a>");
        document.write("<a href=\"/technology/cp_production.html\"><strong>Production &amp; Quality</strong></a>");
            
        document.write("</div>");
        
        
        
        
        


  /************************** OT **************************/     

  if (cat == 2){
  document.write("<div>");
  } else {
  document.write("<div class=collapsed>");
  }
      
      document.write("<span>Obsessively Tested</span>");
   
        document.write("<a href=\"/technology/ot.html\"><strong>Obsessive</strong></a>");
        document.write("<a href=\"/technology/ot_simulated_analysis.html\"><strong>Simulated Analysis</strong></a>");
        document.write("<a href=\"/technology/ot_esal.html\"><strong>E.S.A.L. Lab Testing</strong></a>");   
        document.write("<a href=\"/technology/ot_data_acquisition.html\"><strong>Data Acquisition</strong></a>");
        document.write("<a href=\"/technology/ot_field_testing.html\"><strong>Field Testing</strong></a>");
        document.write("<a href=\"/technology/ot_product_confidence.html\"><strong>Product Confidence</strong></a>");
            
        document.write("</div>");
        

        
        
        
/************************** Headshok **************************/     
/*
  if (cat == 3){
  document.write("<div>");
  } else {
  document.write("<div class=collapsed>");
  }

      document.write("<span>Headshok</span>");
      
      // FORKS
      document.write("<a href=\"http://www3.cannondale.com/suspension/09/index.html\"><strong>Which Fork?</strong></a>");
      
      
                  if (location.href.indexOf("/suspension/09/index.html") != -1) {
      
            document.write(tableopen);
      
        document.write("<a href=\"http://www3.cannondale.com/suspension/09/index.html#1\">&nbsp;&nbsp;&nbsp; - Lefty Max Carbon Max<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w/PBR</a>");
        document.write("<a href=\"http://www3.cannondale.com/suspension/09/index.html#2\">&nbsp;&nbsp;&nbsp; - Lefty Max Carbon Max<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w/Fox RLC</a>");
        document.write("<a href=\"http://www3.cannondale.com/suspension/09/index.html#3\">&nbsp;&nbsp;&nbsp; - Lefty Max w/PBR</a>");
        document.write("<a href=\"http://www3.cannondale.com/suspension/09/index.html#4\">&nbsp;&nbsp;&nbsp; - Lefty Speed Carbon SL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w/DLR</a>");
        document.write("<a href=\"http://www3.cannondale.com/suspension/09/index.html#5\">&nbsp;&nbsp;&nbsp; - Lefty Speed Carbon SL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w/Fox RLC</a>");
        document.write("<a href=\"http://www3.cannondale.com/suspension/09/index.html#6\">&nbsp;&nbsp;&nbsp; - Lefty Speed w/DLR</a>");
        document.write("<a href=\"http://www3.cannondale.com/suspension/09/index.html#7\">&nbsp;&nbsp;&nbsp; - Lefty 29'er Carbon SL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w/DLR</a>");
        document.write("<a href=\"http://www3.cannondale.com/suspension/09/index.html#8\">&nbsp;&nbsp;&nbsp; - Lefty 29'er w/DLR</a>");
        document.write("<a href=\"http://www3.cannondale.com/suspension/09/index.html#9\">&nbsp;&nbsp;&nbsp; - Super Fatty w/DLR</a>");
        document.write("<a href=\"http://www3.cannondale.com/suspension/09/index.html#10\">&nbsp;&nbsp;&nbsp; - Super Fatty w/DL</a>");
        // document.write("<a href=\"http://www3.cannondale.com/suspension/09/index.html#11\">&nbsp;&nbsp;&nbsp; - OPI Stem</a>");

            document.write(tableclose);
      
            }
      
      document.write("<a href=\"http://www3.cannondale.com/suspension/09/why.html\"><strong>Why Lefty?</strong></a>");
      document.write("<a href=\"http://www3.cannondale.com/suspension/09/smooth.html\"><strong>Smooth &amp; Lightweight</strong></a>");
      document.write("<a href=\"http://www3.cannondale.com/suspension/09/stiff.html\"><strong>Stiff</strong></a>");
      document.write("<a href=\"http://www3.cannondale.com/suspension/09/strong.html\"><strong>Strong &amp; Durable</strong></a>");
      document.write("<a href=\"http://www3.cannondale.com/suspension/09/responsive.html\"><strong>Intuitively Responsive</strong></a>");
      document.write("<a href=\"http://www3.cannondale.com/suspension/09/balance.html\"><strong>Balanced</strong></a>");
            
        document.write("</div>");
        */
      
    document.write("</div>");
    
    


      
