<%-- 
 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
--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="org.deegree.i18n.Messages" %>
<%@ page import="java.util.Locale" %>
<%
Locale loc = request.getLocale();
%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>measurement</title>
        <meta name="author" content="lat/lon GmbH" />
        <meta name="KeyWords" content="deegree iGeoPortal lat/lon" />
        <link href="../../css/deegree.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="measurement.js"></script>
        <script type="text/javascript" src="../../toolbar.js"></script>
        <script type="text/javascript" src="../../togglebutton.js"></script>
        <script type="text/javascript">
        <!-- 
            function register() {
                if ( parent.controller == null ) {
                    parent.controller = new parent.Controller();
                    parent.controller.init();
                }
            }

            function init() {
                parent.controller.initMeasurement( document );
            }
        // -->
        </script>              
    </head>
    <body onload="init();" >
	   <div id="measureTB"></div>
       <div style="position:absolute;  visibility:hidden; left:5px; heigth:80px; top:40px;">
		   <table id='tbLength'  border="0" cellspacing="4">
		       <tr>
		           <td width="70px"><%=Messages.get( loc,"IGEO_STD_MEASURE_LENGTH" )%></td>
		           <td><input id='inpLength' type="text" size="12"></td>
		           <td>m</td>
		       </tr>
		   </table>
		   <table id='tbArea' border="0" cellspacing="4">
               <tr>
                   <td width="70px"><%=Messages.get( loc,"IGEO_STD_MEASURE_AREA" )%></td>
                   <td><input id='inpArea' type="text" size="12"></td>
                   <td>m²</td>
               </tr>
           </table>
	   </div>
	   <div id="buttonArea" style="position:absolute; visibility:hidden; left:5px; heigth:30px; top:105px;" 
            title='<%=Messages.get( loc, "IGEO_STD_MEASURE_SEG_INFO_TT" )%>'>
	       <a class="buttonArea" style="position:absolute; width:120px;" href="javascript:parent.controller.vMeasurement.showSegmentInfo()">
	           <%=Messages.get( loc,"IGEO_STD_MEASURE_SEG_INFO" )%>
           </a>
	   </div>
	   <div id="segInfoArea" style="position:absolute; left:5px; heigth:200px; top:130px; width:200px; visibility:hidden" >
	   </div>
	</body>
</html>