?>
</li>
                </ul>
            </li>
        </ul><!-- .containsGrid.G3#headerOne -->
        <ul class="containsGrid G1" id="headerTwo">
            <li class="G1 GS">
                <h2 class="HSC"><?php 
echo ia3_helpers::get_nav_cell('Header-4-1', '');
?>
</h2>
                <ul>
                    <li><?php 
echo ia3_helpers::get_nav_cell('Header-4-2', '');
?>
</li>
                    <li><?php 
echo ia3_helpers::get_nav_cell('Header-4-3', '');
?>
</li>
                    <li><?php 
echo ia3_helpers::get_nav_cell('Header-4-4', '');
?>
</li>
                </ul>
            </li>
        </ul><!-- .containsGrid.G1x#headerTwo -->
    </nav>
</header>
<hr class="implied" />
                <tr class="lastChild">
                    <td>
                        <?php 
ia3_helpers::put_nav_cell('Footer-1-1');
?>
                    </td>
                    <td>
                        <?php 
ia3_helpers::put_nav_cell('Footer-2-1');
?>
                    </td>
                    <td>
                        <?php 
ia3_helpers::put_nav_cell('Footer-3-1');
?>
                    </td>
                    <td>
                        <?php 
ia3_helpers::put_nav_cell('Footer-4-1');
?>
                    </td>
                </tr>
            </table><!-- .isIa3NavTable -->
        </div><!-- .isIa3Nav -->
        
        <button style="margin-bottom:24px;" type="submit"><?php 
_e('Save Settings', 'ia3');
?>
</button>
    </form>
</div><!-- #isIa3Content -->
                    <p><em><?php 
_e('Specify the lowlight colour used throughout the theme, as either a hexadecimal or RGB colour code.', 'ia3');
?>
</em></p> 
                </td>
            </tr>
            <tr>
                <td class="isColLabel">
                    <label for="Colours-2"><?php 
_e('Theme Logo Image', 'ia3');
?>
:</label>
                </td>
                <td class="isColInput">
                    <input class="isInputMono isInputText isInputTextLong" id="Logo" name="Logo" value="<?php 
echo ia3_helpers::get_option('Logo', 'http://www.placeholder-image.com/image/144x87');
?>
" />
                    
                    <p><em><?php 
_e('Specify the image you wish to use in the theme header. The optimal size is 142 pixels wide and 55 pixels tall.', 'ia3');
?>
</em></p> 
                </td>
            </tr>
            <tr class="lastChild">
                <td class="isColLabel">
                    &nbsp;
                </td>
                <td class="isColInput">
                    <button type="submit"><?php 

<!-- Custom Colours -->
<style>
    a,
    a:hover,
    label,
    .HSC,
    .index #content section.G6 h1 {
    color:<?php 
echo ia3_helpers::get_option('Colours-1', '#CC0000');
?>
;
    }
    
    a:visited {
    color:<?php 
echo ia3_helpers::get_option('Colours-2', '#AA0000');
?>
;
    }
</style>

<?php 
wp_head();
?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="<?php 
echo get_bloginfo('template_directory');
?>
/assets/js/extras.js"></script>
    /**
     *	@access	static
     *	@param	string
     *	@return	void
     *
     */
    static function put_nav_cell($key = '')
    {
        $cs = get_categories();
        $ps = get_pages();
        $selected = FALSE;
        ?>
		    <div style="margin-bottom:6px;margin-right:24px">
		        <select name="S-<?php 
        echo $key;
        ?>
">
                    <option value="-1"></option>
                    <optgroup label="<?php 
        _e('Categories');
        ?>
">
						<?php 
        foreach ($cs as $c) {
            if (ia3_helpers::get_option($key) == "c-" . $c->term_id) {
                $selected = TRUE;
                ?>
						<option value="c-<?php 
                echo $c->term_id;
                ?>
" selected="selected"><?php 
                echo $c->name;
                ?>
</option>
						<?php 
            } else {
                ?>
						<option value="c-<?php 
                echo $c->term_id;
                ?>
"><?php 
                echo $c->name;
                ?>
</option>
						<?php 
            }
        }
        ?>
					</optgroup>
					<optgroup label="<?php 
        _e('Pages');
        ?>
">
						<?php 
        foreach ($ps as $p) {
            if (ia3_helpers::get_option($key) == "p-" . $p->ID) {
                $selected = TRUE;
                ?>
						<option value="p-<?php 
                echo $p->ID;
                ?>
" selected="selected"><?php 
                echo $p->post_title;
                ?>
</option>
						<?php 
            } else {
                ?>
						<option value="p-<?php 
                echo $p->ID;
                ?>
"><?php 
                echo $p->post_title;
                ?>
</option>
						<?php 
            }
        }
        ?>
					</optgroup>
                </select>
            </div>
            <div style="margin-right:38px">
                <?php 
        if ($selected == TRUE) {
            ?>
                <input class="isInputText isInputMono" name="I-<?php 
            echo $key;
            ?>
" value="" />
                <?php 
        } else {
            ?>
                <input class="isInputText isInputMono" name="I-<?php 
            echo $key;
            ?>
" value="<?php 
            echo htmlspecialchars(stripslashes(ia3_helpers::get_option($key, '<a href="#">' . __('Page Name') . '</a>')));
            ?>
" />
                <?php 
        }
        ?>
            </div>
            <?php 
        return;
    }
        
        <ul class="G6 GS" id="footerTwo">
            <li><?php 
echo ia3_helpers::get_nav_cell('Footer-1-1', '');
?>
</li>
            <li><?php 
echo ia3_helpers::get_nav_cell('Footer-2-1', '');
?>
</li>
            <li><?php 
echo ia3_helpers::get_nav_cell('Footer-3-1', '');
?>
</li>
            <li><?php 
echo ia3_helpers::get_nav_cell('Footer-4-1', '');
?>
</li>
            <li>© <?php 
echo date('Y');
?>
 Kenneth Reitz <em>&amp;</em> Co.</li>
        </ul><!-- G6.GS#footerOne -->
    </nav>
</footer>

<script src="http://platform.twitter.com/anywhere.js?id=5tkByG68UteUZBFKSFryA&amp;v=1"></script>

<script>!window.jQuery && document.write('<script src="<?php 
echo get_bloginfo('template_directory');
?>