<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{$LANG.special_text_direction}">
<head>
  {if !$swatch}{assign var=swatch value="green"}{/if}
  <title>{$head_title}</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <link rel="shortcut icon" href="{$theme_url}/images/favicon.ico">
  {template_hook location="head_top"}
  <script>
  //<![CDATA[
  var g = {literal}{{/literal}
    root_url:       "{$g_root_url}",
    error_colours:  ["ffbfbf", "ffb5b5"],
    notify_colours: ["c6e2ff", "97c7ff"],
    js_debug:       {$g_js_debug}
  {literal}}{/literal};
  //]]>
  </script>
  <link type="text/css" rel="stylesheet" href="{$g_root_url}/global/css/main.css?v=20110802">
  <link type="text/css" rel="stylesheet" href="{$theme_url}/css/styles.css?v=20110802">
  <link type="text/css" rel="stylesheet" href="{$theme_url}/css/swatch_{$swatch}.css">
  <link href="{$theme_url}/css/smoothness/jquery-ui-1.8.6.custom.css" rel="stylesheet" type="text/css"/>
  <script src="{$g_root_url}/global/scripts/jquery.js"></script>
  <script src="{$theme_url}/scripts/jquery-ui.js"></script>
  <script src="{$g_root_url}/global/scripts/general.js?v=20110815"></script>
  <script src="{$g_root_url}/global/scripts/rsv.js?v=20110802"></script>
  {$head_string}
  {$head_js}
  {$head_css}
  {template_hook location="head_bottom"}
</head>
<body>
<div id="container">
  <div id="header">
    {if $SESSION.account.is_logged_in && !$g_omit_top_bar}
      <div style="float:right">
        <table cellspacing="0" cellpadding="0" height="25">
        <tr>
          <td><img src="{$theme_url}/images/account_section_left_{$swatch}.jpg" border="0" /></td>
          <td id="account_section">
            {if $settings.release_type == "alpha"}
              <b>{$settings.program_version}-alpha-{$settings.release_date}</b>
            {elseif $settings.release_type == "beta"}
              <b>{$settings.program_version}-beta-{$settings.release_date}</b>
            {else}
              <b>{$settings.program_version}</b>
            {/if}
            {if $SESSION.account.account_type == "admin" && !$g_hide_upgrade_link}
              |
              <a href="#" onclick="return ft.check_updates()" class="update_link">{$LANG.word_update}</a>
            {/if}
          </td>
          <td><img src="{$theme_url}/images/account_section_right_{$swatch}.jpg" border="0" /></td>
        </tr>
        </table>
      </div>
    {/if}

    <span style="float:left; padding-top: 8px; padding-right: 10px">
      {if $settings.logo_link}<a href="{$settings.logo_link}">{/if}<img src="{$theme_url}/images/logo_{$swatch}.jpg" border="0" width="220" height="61" />{if $settings.logo_link}</a>{/if}
    </span>
  </div>
  <div id="content">
    <table cellspacing="0" cellpadding="0" width="100%">
    <tr>
      <td width="180" valign="top">
        <div id="left_nav">
          {ft_include file="menu.tpl"}
        </div>
      </td>
      <td valign="top">
        <div style="width:740px">
