Navigation puzzle?! 2 bits of useful code?

Hi,

I have found some code at a web site: Parrot Speakers

The 2 separate bits of code are below. In terms of selecting which navigation bar to display on the left-hand side, this concept looks easy but I do not know how it is done. Any ideas? If you view a different product, then the left hand navigation changes!

In the first bit of code the “option value=” is something I’ve never seen before. And in the second bit of code below the “<div id=‘related_categories_section’>” also looks useful but I do not understand it.

Can anyone briefly explain the concept for this navigation bar that changes relative to viewed content. Is it PHP or something else?

Look forward to your insights,

Matt.
CODE IS BELOW

    &lt;h1 class="mfpagetitle" style="margin: 8px 0px 5px 0px;"&gt;Parrot Speakers&lt;/h1&gt;
    &lt;form action='' method='post'&gt;
    &lt;select id="category-dropdown" name="category-dropdown"&gt;
        &lt;option value="1"&gt;Browse Other Parrot&lt;/option&gt;
                        &lt;option value="/cat/Parrot-Fitted-Car-Kits.htm"&gt; - Parrot Fitted Car Kits&lt;/option&gt;
                        &lt;option value="/cat/Parrot-Novelty-and-Fun.htm"&gt; - Parrot Novelty and Fun&lt;/option&gt;
                        &lt;option value="/cat/Parrot-Photo-Frames.htm"&gt; - Parrot Photo Frames&lt;/option&gt;
                        &lt;option value="/cat/Parrot-Plug-and-Play-Car-Kits.htm"&gt; - Parrot Plug and Play Car Kits&lt;/option&gt;
                        &lt;option value="/cat/Parrot-Speakers.htm"&gt; - Parrot Speakers&lt;/option&gt;
                &lt;/select&gt;
    &lt;noscript&gt;&lt;input type="submit" value="Go" /&gt;&lt;/noscript&gt;
&lt;/form&gt;

</div>

<br />

AND THE SECOND BIT OF CODING IS

<div class=“seo_links_subcategory_siblings”>
<span class=“tab”><h2>Related Accessories</h2><div class=“tab-tr”></div><div class=“tab-tl”></div></span>
<div style=“border-top: 1px solid #d0d0d0; padding: 10px 5px; clear: both”>

    &lt;div id='related_categories_section'&gt;
        &lt;ul style="width: 50%; float: left"&gt;
            
                &lt;li&gt;
                                                &lt;a href="/cat/Parrot-Fitted-Car-Kits.htm" title="Parrot Fitted Car Kits"&gt;Parrot Fitted Car Kits&lt;/a&gt;
                                        &lt;/li&gt;

                                
                &lt;li&gt;
                                                &lt;a href="/cat/Parrot-Novelty-and-Fun.htm" title="Parrot Novelty and Fun"&gt;Parrot Novelty and Fun&lt;/a&gt;
                                        &lt;/li&gt;

                                
                &lt;li&gt;
                                                &lt;a href="/cat/Parrot-Photo-Frames.htm" title="Parrot Photo Frames"&gt;Parrot Photo Frames&lt;/a&gt;
                                        &lt;/li&gt;

                                        &lt;/ul&gt;

<option> tags are standard HTML form tags contained within a <select> tag to define options in a dropdown selection box.

From the looks of it, the form takes the user’s input as a filename, and simply does <?php include_once($_POST[‘category-dropdown’]; ?>