%# The universe does not have laws -- it has habits, and habits can be broken.
<HTML>
<HEAD>
% if ($RT::OIN104) {
<TITLE>104 Enterprise Portal</TITLE>
% } else {
<TITLE><&|/l, $RT::rtname &>RT for [_1]</&></TITLE>
% }
<& /Edit/Elements/MetaHeaders &>
% foreach my $file (@styles) {
<link rel="stylesheet" href="<% $file %>" type="text/css">
% }
<script language=javascript src="/function/MM_openBrWindow.js"></script>
<script language=javascript src="/function/DynaTD.js"></script>
<script language=javascript src="/function/swapImgRestore.js"></script>
<script language=javascript src="/function/MM_findObj.js"></script>
<script language=javascript src="/function/showHideLayers.js"></script>
<script language=javascript src="/function/goToURL.js"></script>
<script language=javascript src="/function/ClearDefault.js"></script>
<script language=javascript src="/function/Pro.js"></script>
</HEAD>
<BODY BGCOLOR="<% $BGColor %>" TEXT="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"
% $OnLoad = "document.getElementById('$Focus').focus();" . $OnLoad if $Focus;
% $m->print(qq(onLoad="$OnLoad")) if $OnLoad;
>
<form name="mainform" id="mainform" style="margin: 0" action="<% $Action %>" method="<% $Method %>"
% if ($Enctype) {
	enctype="<% $Enctype %>"
% }
>
% if ($RT::OIN104 and !$ARGS{Top} and defined &Win32::NodeName) {
%#     $m->comp('EDOMHeader') if uc(Win32::NodeName()) =~ /^ED[A-Z\d]+$/;
% } else {
    <& $Top &>
% }
    <& 104Buttons, Buttons => $Buttons, BGColor => $BGColor &>
<%INIT>
$Action =~ s{//+}{/}g;

my @styles = ("/stylesheet/style.css");
push @styles, "/stylesheet/gecko.css" unless $RT::IsMSIE;
push @styles, "/stylesheet/104.css" if $RT::OIN104;
push @styles, $m->notes('Stylesheet') if $m->notes('Stylesheet');

</%INIT>
<%ARGS>
$Title	    => ''
$Method	    => 'Get'
$Action	    => $r->uri
$Enctype    => ''
$OnLoad	    => ''
$Focus	    => ''
$Buttons    => []
$BGColor    => '#C4E1F0'
$Top	    => '104Top'
</%ARGS>
