<!-- *******************************************************************
  -- 
  -- This is a copy of the Portal standard INDUSTRIAL_TEMPLATE1 template 
  -- and it contains buttons that call the report and close the window.
  --
     ******************************************************************* -->
<HTML dir=#DIRECTION#>
<HEAD>
<TITLE>#TITLE#</TITLE>
#PAGE.STYLE#
#PAGE.BASE#
</HEAD>
<BODY BGCOLOR=#FFFFFF BACKGROUND=#IMAGE_PREFIX#back01.jpg>
<NOSCRIPT></NOSCRIPT>
<TABLE WIDTH=100% HEIGHT=93% CELLPADDING=0 CELLSPACING=0 BORDER=0>
<TR>
<TD ALIGN=CENTER VALIGN=TOP>
    <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
    <TR>
    <TD ALIGN=#ALIGN_LEFT# VALIGN=BOTTOM><IMG SRC=#IMAGE_PREFIX#cog_01.jpg WIDTH=300 HEIGHT=40 BORDER=0></TD>
    <TD ALIGN=#ALIGN_LEFT# VALIGN=BOTTOM><FONT FACE=ARIAL,HELVETICA SIZE=+1 COLOR=#663399><B>#HEADING#</B></FONT></TD>
    <TD ALIGN=#ALIGN_RIGHT#><NOBR>
    
    <ORACLE>
        if '#FRAMELINK#' is not null then 
          htp.anchor('#FRAMELINK#','<IMG src="#IMAGE_PREFIX#wtog.gif" border=0 alt="'||htf.escape_sc(#OWNER#.wwnls_api.get_string(
                                p_domain => #OWNER#.wwnls_api.DOMAIN_WWC,
                                p_sub_domain => 'utl',
                                p_name => 'tmp_frameview',
                                p_language => #OWNER#.wwctx_api.get_nls_language))||'">');
        end if;
        if '#PAGE.STYLE#' is null then         
          htp.anchor('#OWNER#.wwv_ui_template.example_home_link',
            '<IMG src="#IMAGE_PREFIX#icohome1.gif" width=24 height=24 border=0 alt="'||htf.escape_sc(#OWNER#.wwnls_api.get_string(
                                 p_domain => #OWNER#.wwnls_api.DOMAIN_WWC,
                                 p_sub_domain => 'utl',
                                 p_name => 'tmp_home',
                                 p_language => #OWNER#.wwctx_api.get_nls_language))||'">');
           
        end if;
    </ORACLE>        
    #PORTAL.HOME#
    <ORACLE>
    if '#PAGE.STYLE#' is null then         
        if '#HELPLINK#' is not null then
          htp.anchor('#HELPLINK#',
            '<IMG src="#IMAGE_PREFIX#icohelp1.gif" width=24 height=24 border=0 alt="'||htf.escape_sc(#OWNER#.wwnls_api.get_string(
                                 p_domain => #OWNER#.wwnls_api.DOMAIN_WWC,
                                 p_sub_domain => 'utl',
                                 p_name => 'tmp_help',
                                 p_language => #OWNER#.wwctx_api.get_nls_language))||'" >');
        end if;
        if '#ABOUTLINK#' is not null then
          htp.anchor('#ABOUTLINK#',
            '<IMG src="#IMAGE_PREFIX#icoabout1.gif" width=24 height=24 border=0 alt="'||htf.escape_sc(#OWNER#.wwnls_api.get_string(
                                 p_domain => #OWNER#.wwnls_api.DOMAIN_WWC,
                                 p_sub_domain => 'utl',
                                 p_name => 'tmp_about',
                                 p_language => #OWNER#.wwctx_api.get_nls_language))||'" >');
        end if;
    end if;
    </ORACLE>
    #PORTAL.HELP#
    </NOBR>
    </TD>
    </TR>
    <TR>
    <TD COLSPAN=3 ALIGN=#ALIGN_LEFT# BGCOLOR=#000000><IMG SRC=#IMAGE_PREFIX#1x1.gif WIDTH=1 HEIGHT=1 BORDER=0></TD>
    </TR>
    </TABLE>
</TD>
</TR>


<!-- The following are the only changes made to this default template -->
<TR>
<TD><INPUT TYPE="button" NAME="p_request" VALUE="Run" onClick="save('OK')"></TD>
<TD><INPUT TYPE="button" NAME="p_request" VALUE="Cancel" onClick="javascript:self.close();"></TD>
</TR>
<!-- End of sample changes -->


<TR>
<TD ALIGN=CENTER VALIGN=TOP><BR></TD>
</TR>
<TR>
<TD ALIGN=CENTER VALIGN=TOP>#BODY#</TD>
</TR>
<TR>
<TD ALIGN=CENTER VALIGN=TOP><BR></TD>
</TR>

<TR>
<TD ALIGN=CENTER VALIGN=BOTTOM>
    <TABLE WIDTH=100% CELLPADDING=0 CELLSPACING=0 BORDER=0>
    <TR>
    <TD COLSPAN=3 ALIGN=#ALIGN_LEFT# BGCOLOR=#000000><IMG SRC=#IMAGE_PREFIX#1x1.gif WIDTH=1 HEIGHT=1 BORDER=0></TD>
    </TR>
    <TR>
    <TD ALIGN=#ALIGN_LEFT# VALIGN=TOP><IMG SRC=#IMAGE_PREFIX#cog_01b.jpg WIDTH=300 HEIGHT=24 BORDER=0></TD>
    <TD ALIGN=#ALIGN_LEFT# VALIGN=BOTTOM><FONT FACE=ARIAL,HELVETICA SIZE=-1 COLOR=#663399><B>COMPANY NAME/LOGO</B></FONT></TD>
    </TR>
    </TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>