<html>
<head>
<title>{if $extra_title != ""}{$extra_title|escape:"html"} - {/if}{$app_setup.tool_caption|default:$application_title|escape:"html"}</title>
<link rel="stylesheet" href="{$rel_url}css/dynCalendar.css" type="text/css" media="screen">
<link rel="icon" href="{$rel_url}favicon.ico" />
<link rel="stylesheet" href="{$rel_url}css/style.css" type="text/css">
<script language="JavaScript" src="{$rel_url}js/browserSniffer.js"></script>
<script language="JavaScript" src="{$rel_url}js/jquery/jquery.js"></script>
<script language="JavaScript" src="{$rel_url}js/jquery/form.js"></script>
<script language="JavaScript" src="{$rel_url}js/jquery/ui.datepicker.js"></script>
<link rel="stylesheet" href="{$rel_url}js/jquery/ui.datepicker.css">
<script language="JavaScript">
<!--
var user_prefs = {ldelim}
{if $user_prefs}
	week_firstday : '{$user_prefs.week_firstday}' == '1' ? 1 : 0
{/if}
{rdelim};
//-->
</script>
<script language="JavaScript" src="{$rel_url}js/global.js"></script>
<script language="JavaScript" src="{$rel_url}js/validation.js"></script>
{if $refresh_rate}
<meta http-equiv="Refresh" content="{$refresh_rate};URL={$rel_url}{$refresh_page}">
{/if}
</head>

<body bgcolor="{if $bgcolor}{$bgcolor}{else}#FFFFFF{/if}" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" onBeforeUnload="return handleClose()">
