<%@  page pageEncoding="utf-8" contentType="text/html;charset=utf-8" import="java.io.File" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/iman.tld" prefix="iman" %>

<iman:stringtable bundle="DevResources"/>
<iman:stringtable bundle="FwResources"/>
<iman:stringtable bundle="com.novell.emframe.version"/>
<HTML>
	<HEAD>
	<c:if test="${About_EE}"><TITLE>Roswell</TITLE></c:if>
		<LINK href="<iman:moduleUrl/>/dev/css/hf_style.css" rel="styleSheet" type="text/css">
   <style type= "text/css" media="screen">
      .emframesmalltext2a   { color: black; font-size: 0.65em; font-family: "Trebuchet MS", Arial, Helvetica, Geneva, Swiss, SunSans-Regular; margin-top: 0em }
      .emframesmalltext2b   { color: #663; font-weight: bold; font-size: 0.7em; font-family: "Trebuchet MS", Arial, Helvetica, Geneva, "Trebuchet MS", Arial, Helvetica, Geneva, Swiss, SunSans-Regular; margin-top: 0em }
   </style>
	
	<script language="javascript">
		function popup(strUrl)
		{
			var strOptions = "location=yes,toolbar=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,top=20,left=20,width=800,height=400;";
			window.open(strUrl, "novell", strOptions);
		}
		
		function popupEE(strUrl)
		{
		   var strUrl = href="webacc?taskId=dev.Empty&merge=fw.About&User.context=${requestScope['User.context']}&About.EE=true";
         var w = window.open( strUrl, 
                              'EE', 
                              'toolbar=no,location=no,directories=no,menubar=no,scrollbars=no,resizable=no,width=580,height=500');                   
         if (w != null)
         {
            w.focus(); // make sure the new OS window has focus.
         }
		}
	</script>
	</HEAD>
	<BODY TEXT="#000000" LINK="#000000" VLINK="#000000" ALINK="#000000" bgcolor="#FFFFFF">
   <c:choose><c:when test="${About_EE == true}">    
      <div id="Layer1" style="position:absolute; left:350px; top:400px; width:200px; height:75px; z-index:1"><img src="<iman:moduleUrl/>/fw/images/ee2.jpg" width="100%" height="100%"></div>
      <div id="Layer2" style="position:absolute; left:10px; top:29px; width:533px; height:46px; z-index:2"><IMG src="<iman:moduleUrl/>/fw/images/homepage_title.gif" width="563" height="37"></div>
      <div class=emframesmalltext2a id="Layer3" style="position:absolute; left:15px; top:53px; width:495px; height:150px; z-index:3">Roswell Greetings</div>
      <div id="Layer4" style="position:absolute; left:10px; top:76px; width:495px; height:150px; z-index:4">
      <br>
      <center class="head1a">Warm Regards from the RCM<br> (Roswell Coding Minions)</center>
      <table class="head4" align=center>
      <tr>
         <td>
            Mike<br>
            Flora<br>
            Wayne<br>
            Olin<br>
            Evan<br>
            Matt<br>
            Greg<br>
            Chris<br>
            Dustin<br>
		   </td>
		   <td align=center>
		   <img src="<iman:moduleUrl/>/fw/images/ee1.jpg">
		   </td>
		   <td>
            Dave<br> 
            Deeks<br>
            Wendy<br>
            Sid<br>
            Grant<br>
            Lynn<br>
            Ryan<br>
            Jeremy<br>
            Eric<br>
		   </td>
		</tr>
		<tr><td> </td><td align=center style="color: #663;">And from our many and wise taskmasters!<br>
		(Steve, Cathie, Dave, Paul, John,<br>Jason, Jeff, Jeff, David, John)</td>
		<td> </td>
		</table>
      </div>
      </c:when>
      
      <c:otherwise>
		<div id="Layer2" style="position:absolute; left:10px; top:5px; width:533px; height:46px; z-index:1"><IMG src="<iman:moduleUrl/>/fw/images/homepage_title.gif" usemap="#roswell" border=0 width="563" height="37"></div>
		<div class=emframesmalltext2b id="Layer3" style="position:absolute; left:15px; top:29px; width:495px; height:150px; z-index:2"><iman:string key="About.AboutInformation" /></div>
		<div class=mediumtext id="Layer4" style="line-height:1.5em;position:absolute; left:10px; top:47px; width:495px; height:150px; z-index:3">
		<br>&nbsp;&nbsp;<b><iman:string key="Application.verString" />&nbsp;&nbsp;<iman:string key="displayversion" />&nbsp;&nbsp;<iman:string key="buildnumber" /></b>
		<br>&nbsp;&nbsp;<iman:string key="About.CopyrightInfo1" />
		<br>&nbsp;&nbsp;<iman:string key="About.CopyrightInfo2" />
      <br><br>
      <% if (request.getAttribute( "MaintenanceUpdates") != null )
      { %>
         &nbsp;&nbsp;<b>Support Packs:</b><br>
      <%
         File children[] = (File [])request.getAttribute( "MaintenanceUpdates");
         for( int i = 0; i < children.length; i++ )
         {
            if( children[i] != null )
            {
               String sName = children[i].getName();
               int indexiMan = sName.indexOf( "iMan" );
               if( indexiMan != -1 )
               {
                  int index = sName.indexOf( ".txt" );
                  if( index != -1 )
                  {
                     out.write( "&nbsp;&nbsp;" + sName.substring( 0, index ) + "<br>" );
                  }
               }
            }
         }
   	} %>
		<br><br>
		&nbsp;&nbsp;<a href="javascript:;" onmouseover="parent.status='http://<iman:string key="About.URL" />';return true;" onmouseout="parent.status=parent.defaultStatus;return true;" onclick="popup('http://<iman:string key="About.URL" />')"><iman:string key="About.URL" /><a>
		</div>
		<map name="roswell">
		   <area shape="circ" coords="560,25,1" href="#" onClick="javascript:popupEE();return false">
		</map>   
	</c:otherwise>
	</c:choose>
	</BODY>
</HTML>
