biketype = window.location.search.substring(1);
var done = 'false';
if (biketype == 'road')
{
document.write ("<table cellspacing=0 cellpadding=0 id=menu1 class=dm1 border=0 width=100%>");
document.write ("    <tr align=center>    ");
document.write ("                <td><a class=item1 href=road.htm?road>Home</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1  href=roadbikefit.htm?road ><font color=#FF3300 size=3><u><b>Bike Fit Services</u></i></font></a></td>");
document.write ("                             <td>|</td>");
document.write ("                <td><a class=item1  href=testimonials.htm?road >Testimonials</a></td>   ");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1  href=roadframes.htm?road >Frames</a></td>");
document.write ("                <td>|</td>");
document.write ("                          <td align=center><a class=item1 >Components</a>");
document.write ("                                <div class=section>");
document.write ("                                    <a class=item2 href=roadcomponents.htm?road  ><font color=#ffffff>Drivetrains & Components</a>");
document.write ("                                    <a class=item2 href=wheels.htm?road ><font color=#ffffff>Wheels</a>");
document.write ("                                    <a class=item2 href=accessories.htm?road ><font color=#ffffff>Accessories</a>");
document.write ("                                    <a class=item2 href=clothes.htm?road ><font color=#ffffff>Clothing</a>          ");                 
document.write ("                                </div>     ");
document.write ("                </td><td>|</td>");
document.write ("                <td><a class=item1 left href=coaches_clubs.htm?road >Coaches and Clubs</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1 left href=store_staff.htm?road >Store and Staff</a></td>");
document.write ("                <td>|</td>			");
document.write ("                <td><a class=item1 left href=calendar.htm?road >Calendar</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1 left href=raceteam.htm?road >Race Team</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1 left href=gallery.htm?road >Gallery</a></td>");
document.write ("                <td>|</td>						");
document.write ("                <td><a class=item1 left href=contact.htm?road >Contact</a></td>	");
document.write ("    </tr>");
document.write ("</table>");

			var dm1 = new DropMenu1('menu1');
			dm1.position.top = -1;
			dm1.init();
done = 'true';
}

if (biketype == 'tri')
{
document.write ("<table cellspacing=0 cellpadding=0 id=menu1 class=dm1 border=0 width=100%>");
document.write ("    <tr align=center>    ");
document.write ("                <td><a class=item1 href=tri.htm?tri >Home</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1  href=tribikefit.htm?tri ><font color=#FF3300size=3><u><b>Bike Fit Services</u></i></font></a></td>");
document.write ("                             <td>|</td>");
document.write ("                <td><a class=item1  href=testimonials.htm?tri >Testimonials</a></td>   ");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1  href=triframes.htm?tri >Frames</a></td>");
document.write ("                <td>|</td>");
document.write ("                          <td align=center><a class=item1 >Components</a>");
document.write ("                                <div class=section>");
document.write ("                                    <a class=item2 href=tricomponents.htm?tri  ><font color=#ffffff>Drivetrains & Components</a>");
document.write ("                                    <a class=item2 href=wheels.htm?tri ><font color=#ffffff>Wheels</a>");
document.write ("                                    <a class=item2 href=accessories.htm?tri ><font color=#ffffff>Accessories</a>");
document.write ("                                    <a class=item2 href=clothes.htm?tri ><font color=#ffffff>Clothing</a>          ");                 
document.write ("                                </div>     ");
document.write ("                </td><td>|</td>");
document.write ("                <td><a class=item1 left href=coaches_clubs.htm?tri >Coaches and Clubs</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1 left href=store_staff.htm?tri >Store and Staff</a></td>");
document.write ("                <td>|</td>			");
document.write ("                <td><a class=item1 left href=calendar.htm?tri >Calendar</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1 left href=raceteam.htm?tri >Race Team</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1 left href=gallery.htm?tri >Gallery</a></td>");
document.write ("                <td>|</td>						");
document.write ("                <td><a class=item1 left href=contact.htm?tri >Contact</a></td>	");
document.write ("    </tr>");
document.write ("</table>");


		var dm1 = new DropMenu1('menu1');
		dm1.position.top = -1;
		dm1.init();
done = 'true';
}

if (biketype == 'mtn')
{
document.write ("<table cellspacing=0 cellpadding=0 id=menu1 class=dm1 border=0 width=100%>");
document.write ("    <tr align=center>    ");
document.write ("                <td><a class=item1 href=mountain.htm?mtn >Home</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1  href=roadbikefit.htm?mtn ><font color=#FF3300size=3><u><b>Bike Fit Services</u></i></font></a></td>");
document.write ("                             <td>|</td>");
document.write ("                <td><a class=item1  href=testimonials.htm?mtn >Testimonials</a></td>   ");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1  href=mountainframes.htm?mtn >Frames</a></td>");
document.write ("                <td>|</td>");
document.write ("                          <td align=center><a class=item1 >Components</a>");
document.write ("                                <div class=section>");
document.write ("                                    <a class=item2 href=mountaincomponents.htm?mtn  ><font color=#ffffff>Drivetrains & Components</a>");
document.write ("                                    <a class=item2 href=mountainwheels.htm?mtn ><font color=#ffffff>Wheels</a>");
document.write ("                                    <a class=item2 href=accessories.htm?mtn ><font color=#ffffff>Accessories</a>");
document.write ("                                    <a class=item2 href=clothes.htm?mtn ><font color=#ffffff>Clothing</a>          ");                 
document.write ("                                </div>     ");
document.write ("                </td><td>|</td>");
document.write ("                <td><a class=item1 left href=coaches_clubs.htm?mtn >Coaches and Clubs</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1 left href=store_staff.htm?mtn >Store and Staff</a></td>");
document.write ("                <td>|</td>			");
document.write ("                <td><a class=item1 left href=calendar.htm?mtn >Calendar</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1 left href=raceteam.htm?mtn >Race Team</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1 left href=gallery.htm?mtn >Gallery</a></td>");
document.write ("                <td>|</td>						");
document.write ("                <td><a class=item1 left href=contact.htm?mtn >Contact</a></td>	");
document.write ("    </tr>");
document.write ("</table>");


			var dm1 = new DropMenu1('menu1');
			dm1.position.top = -1;
			dm1.init();
done = 'true';
}

if (done != 'true') 
{
document.write ("<table cellspacing=0 cellpadding=0 id=menu1 class=dm1 border=0 width=100%>");
document.write ("    <tr align=center>    ");
document.write ("                <td><a class=item1 href=roaddefault.htm?road >Home</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1  href=roadbikefit.htm?road ><font color=#FF3300size=3><u><b>Bike Fit Services</u></i></font></a></td>");
document.write ("                             <td>|</td>");
document.write ("                <td><a class=item1  href=testimonials.htm?road >Testimonials</a></td>   ");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1  href=roadframes.htm?road >Frames</a></td>");
document.write ("                <td>|</td>");
document.write ("                          <td align=center><a class=item1 >Components</a>");
document.write ("                                <div class=section>");
document.write ("                                    <a class=item2 href=roadcomponents.htm?road  ><font color=#ffffff>Drivetrains & Components</a>");
document.write ("                                    <a class=item2 href=wheels.htm?road ><font color=#ffffff>Wheels</a>");
document.write ("                                    <a class=item2 href=accessories.htm?road ><font color=#ffffff>Accessories</a>");
document.write ("                                    <a class=item2 href=clothes.htm?road ><font color=#ffffff>Clothing</a>          ");                 
document.write ("                                </div>     ");
document.write ("                </td><td>|</td>");
document.write ("                <td><a class=item1 left href=coaches_clubs.htm?road >Coaches and Clubs</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1 left href=store_staff.htm?road >Store and Staff</a></td>");
document.write ("                <td>|</td>			");
document.write ("                <td><a class=item1 left href=calendar.htm?road >Calendar</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1 left href=raceteam.htm?road >Race Team</a></td>");
document.write ("                <td>|</td>");
document.write ("                <td><a class=item1 left href=gallery.htm?road >Gallery</a></td>");
document.write ("                <td>|</td>						");
document.write ("                <td><a class=item1 left href=contact.htm?road >Contact</a></td>	");
document.write ("    </tr>");
document.write ("</table>");

			var dm1 = new DropMenu1('menu1');
			dm1.position.top = -1;
			dm1.init();
}
