{* Smarty *}

{literal}
<script type="text/javascript">
//<![CDATA[
$(function() {
  $("#DivErrorDialog").dialog({
    resizable: true,
    width: 320,
    modal: true,
    buttons: {
      "{/literal}{$MS_SP->Sp_LangMessage.DialogButtons.Close}{literal}": function() {
        $(this).dialog("close");
      }
    }
  });
});
//]]>
</script>
{/literal}

<div id="DivErrorDialog" title="{$MS_SP->Sp_LangMessage.label.Err}">
	<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>{$VarError}</p>
  {if '/index.php' neq $MS_SP->SP_CurrPage['menu_href']}{include file='Auth/AuthForm.tpl'}{/if}
</div>