<%-- $HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/apps/igeoportal-standard/branches/2.5_testing/modules/welcome/welcome.jsp $ --%>
<%-- $Id: welcome.jsp 27570 2010-10-28 06:59:02Z apoth $ --%>
<%-- 
 This file is part of deegree, http://deegree.org/
 Copyright (C) 2001-2009 by:
 - Department of Geography, University of Bonn -
 and
 - lat/lon GmbH -

 This library is free software; you can redistribute it and/or modify it under
 the terms of the GNU Lesser General Public License as published by the Free
 Software Foundation; either version 2.1 of the License, or (at your option)
 any later version.
 This library is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 details.
 You should have received a copy of the GNU Lesser General Public License
 along with this library; if not, write to the Free Software Foundation, Inc.,
 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

 Contact information:

 lat/lon GmbH
 Aennchenstr. 19, 53177 Bonn
 Germany
 http://lat-lon.de/

 Department of Geography, University of Bonn
 Prof. Dr. Klaus Greve
 Postfach 1147, 53001 Bonn
 Germany
 http://www.geographie.uni-bonn.de/deegree/

 e-mail: info@deegree.org
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page isErrorPage="false" errorPage="error.jsp" %>
<%@ page import="org.deegree.framework.version.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>deegree <%=Version.getVersionNumber()%></title>
        <link rel="stylesheet" type="text/css" href="../../css/deegree.css" />
        <script language="JavaScript1.2" type="text/javascript" src="./javascript/rpc.js"></script>
        <script language="JavaScript1.2" type="text/javascript" >
            <!--
            function openGUI( contextName ) {
            	if ( navigator.appName.indexOf( "Microsoft" )!=-1 ) {    
                    var width = screen.availWidth - (screen.availWidth/20);
                    var height = screen.availHeight - (screen.availHeight/20);
                    var win = window.open('./control?rpc=%3CmethodCall%3E%3CmethodName%3EmapClient%3AcontextSwitch%3C/methodName%3E%3Cparams%3E%3Cparam%3E%3Cvalue%3E%3Cstruct%3E%3Cmember%3E%3Cname%3EmapContext%3C/name%3E%3Cvalue%3E%3Cstring%3E' + 
                                 contextName + '%3C/string%3E%3C/value%3E%3C/member%3E%3C/struct%3E%3C/value%3E%3C/param%3E%3C/params%3E%3C/methodCall%3E','mywindow',
                                 'width=' + width + ',height=' + height + ',resizable=yes');
                    win.focus();
                } else {
                     var rpc = createMember( 'mapContext', contextName, 'string' );
                     rpc = "<param><value><struct>" + rpc + "</struct></value></param>",
                     rpc = createMethodCall( 'mapClient:contextSwitch', rpc, 'UTF-8' );
                     document.forms[0].rpc.value = encodeURI(rpc);
                     document.forms[0].submit();
                }
            }
            // -->
        </script>
    </head>
    <body leftmargin="10" rightmargin="10" topmargin="0" marginwidth="0" marginheight="0" link="#2D2A63" vlink="#2D2A63" alink="#E31952">
        <form action="control" method="post"><input type="hidden" name="rpc" /></form>
        <table width="100%">
            <colgroup>
                <col width="250">
                <col width="20">
                <col width="*">
            </colgroup>
            <!-- Header -->
            <tr>
                <td valign="top"colspan="3">
                    <iframe name="header" frameborder="0" src="modules/welcome/welcome_header.jsp" scrolling="auto" width="100%" height="120px"></iframe>
                </td>
            </tr>
            <!-- Content -->
            <tr>
                <!-- Table of Contents -->
                <td valign="top" style="width:250px">
                    <iframe name="navi" frameborder="0" src="modules/welcome/welcome_navi.jsp" scrolling="auto" width="100%" height="650px"></iframe>
                </td>
                <td style="width:5px">&nbsp;</td>
                <!-- Body -->
                <td align="left" valign="top">
                    <iframe name="main" frameborder="0" src="modules/welcome/welcome_main.html" scrolling="auto" width="100%" height="650px"></iframe>
                </td>
            </tr>
        </table>
    </body>
</html>
