{*<!--

+---------------------------------------------------------------------------+
| OpenX v2.8                                                                |
| =========                                                                 |
|                                                                           |
| Copyright (c) 2003-2009 OpenX Limited                                     |
| For contact details, see: http://www.openx.org/                           |
|                                                                           |
| This program is free software; you can redistribute it and/or modify      |
| it under the terms of the GNU General Public License as published by      |
| the Free Software Foundation; either version 2 of the License, or         |
| (at your option) any later version.                                       |
|                                                                           |
| This program is distributed in the hope that it will be useful,           |
| but WITHOUT ANY WARRANTY; without even the implied warranty of            |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             |
| GNU General Public License for more details.                              |
|                                                                           |
| You should have received a copy of the GNU General Public License         |
| along with this program; if not, write to the Free Software               |
| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA |
+---------------------------------------------------------------------------+
$Id:captcha-dialog.html 11612 2007-10-26 11:00:05Z matteo.beccati@openads.org $

-->*}

<div id="captcha-dialog-{$formId|escape:javascript}" class="jqmWindow">
  <div class="jqm-window-title">&nbsp;&nbsp;{$title}</div>

  <div class="jqm-window-body">

    <div style="text-align: center">
      <div id="wrong-captcha" class="error-box hide" style="margin-bottom: 10px">
        {$captchaErrorMsg}        </div>
    </div>

    <div class="captcha">
      {$message} by entering the security code shown below (*):<br/>
      <div>
      <img id="captcha" src="{$assetPath|escape}/images/spacer.gif" />
      <input class="flat" name="captcha-value" type="text" autocomplete="off" {tabindex}/>
      <input name="captcha-random" id="captcha-random" type="hidden" value="" />
      </div>
    </div>

    <div class="font-small" style="color: #555555; text-align: left; clear: both;">
    * This is to improve performance and prevent unauthorized automated scripts
    </div>

    <div class="jqm-controls">
      <input id="dg-submit" type="button" value="Submit" class="main-submit" {tabindex} />&nbsp;
      <input id="dg-cancel" type="button" value="Cancel"  {tabindex} />
    </div>
  </div>
</div>

<script type="text/javascript">
  initCaptchaDialog('captcha-dialog-{$formId|escape:javascript}', '{$formId|escape:javascript}', '{oac_captcha}');
</script>
