<%@ page language="C#" autoeventwireup="true" inherits="Forms_Directions, App_Web_5gbuhbxa" %>

<%@ Register Src="~/UserControls/New_Header.ascx" TagName="Header" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/New_Footer.ascx" TagName="Footer" TagPrefix="uc2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <%--  <meta http-equiv="Page-Enter" content="blendTrans(Duration=0)" />
    <meta http-equiv="Page-Exit" content="blendTrans(Duration=0)" />--%>
    <title>tSense-IoT Directions</title>
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Page-Enter" content="blendTrans(Duration=0)" />
    <meta http-equiv="Page-Exit" content="blendTrans(Duration=0)" />
    <link href="../css/reset.css" rel="stylesheet" type="text/css" />
    <link href="../css/stylesheet2.css" rel="stylesheet" type="text/css" />
    <link href="../css/dropdown.css" rel="stylesheet" type="text/css" />
    <link rel="SHORTCUT ICON" href="../images/favicon.ico" />
    <%--<script type="text/javascript" language="javascript" src="http://api.maptp.map24.com/ajax?appkey=FJX825512f765b99adac0022f027e0deX50"></script>--%>

    <script src="http://jsapi.lbsp.navteq.com/v1/jsl.js" type="text/javascript" charset="utf-8"></script>

    <script type="text/javascript" language="javascript" src="../js/NavTeq.js"></script>

    <script src="../js/wow.min.js"></script>
</head>
<body onload="goMap24();">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <div id="container">
            <!-- Header Starts Here -->
            <uc1:Header ID="ucHeader" runat="server" />
            <!-- Header Ends Here -->
            <input type="hidden" id="hdnCoords" />
            <input type="hidden" id="hdnInput" name="hdnInput" />
            <!-- Content Starts Here -->
            <div id="outer">
                <div id="inner">
                    <div id="float-wrap">
                        <!-- Main Content Starts Here -->
                        <div id="content">
                            <div class="content-wrap">
                                <div id="top-content">
                                    <div id="heading">
                                        <img class="icon" src="../images/route-icon.jpg" alt="" />
                                        <h1>Route</h1>
                                        <a href="Dashboard.aspx">Home</a><span>&gt;</span><span><a href="RoutePanel.aspx">Route</a></span><span>&gt;</span><span><a
                                            href="Directions.aspx">Manage</a></span>
                                    </div>
                                    <div id="control-box">
                                        <asp:UpdatePanel UpdateMode="Conditional" ID="updPanel" runat="server">
                                            <ContentTemplate>
                                                <table border="0" cellpadding="0" cellspacing="0" id="Table1" width="100%">
                                                    <tr>
                                                        <td>&nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <div id="control-btn">
                                                                <table cellpadding="0" cellspacing="0" border="0" align="right">
                                                                    <tr>
                                                                        <td>&nbsp;
                                                                        </td>
                                                                        <td>
                                                                            <asp:ImageButton ID="btnGetDirections" runat="server" Text="Get Directions" OnClick="btnGetDirections_Click"
                                                                                Style="display: none;" ImageUrl="../images/btn-get-route.jpg" />
                                                                        </td>
                                                                        <td>&nbsp;&nbsp;
                                                                        </td>
                                                                        <td>
                                                                            <asp:ImageButton ID="btnBackToRoute" ImageUrl="~/images/btn-back.jpg" runat="server"
                                                                                OnClick="btnBackToRoute_Click" />
                                                                        </td>
                                                                        <td>&nbsp;&nbsp;
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </div>
                                                        </td>
                                                    </tr>
                                                </table>
                                                <table id="selection" class="selection" cellpadding="1" cellspacing="1">
                                                    <tr>
                                                        <td width="276px" style="display: none">Start:
                                                        </td>
                                                        <td width="424px">
                                                            <input type="hidden" id='start' style="width: 250px;" runat="server" />
                                                        </td>
                                                        <td></td>
                                                    </tr>
                                                    <tr style="display: none">
                                                        <td width="276px">Via Point 1:
                                                        </td>
                                                        <td width="424px">
                                                            <input type='text' id='via_0' style="width: 250px;" value='' runat="server" />
                                                        </td>
                                                        <td></td>
                                                    </tr>
                                                    <tr style="display: none">
                                                        <td width="276px">Via Point 2:
                                                        </td>
                                                        <td width="424px">
                                                            <input type='text' id='via_1' style="width: 250px;" value='' runat="server" />
                                                        </td>
                                                        <td></td>
                                                    </tr>
                                                    <tr style="display: none">
                                                        <td width="276px">Via Point 3:
                                                        </td>
                                                        <td width="424px">
                                                            <input type='text' id='via_2' style="width: 250px;" value='' runat="server" />
                                                        </td>
                                                        <td></td>
                                                    </tr>
                                                    <tr style="display: none">
                                                        <td width="276px">Via Point 4:
                                                        </td>
                                                        <td width="424px">
                                                            <input type='text' id='via_3' style="width: 250px;" value='' runat="server" />
                                                        </td>
                                                        <td></td>
                                                    </tr>
                                                    <tr>
                                                        <td width="276px" style="display: none">Destination:
                                                        </td>
                                                        <td width="424px">
                                                            <input type="hidden" id='destination' style="width: 250px;" runat="server" />
                                                        </td>
                                                        <td></td>
                                                        <caption>
                                                            ̉
                                                        </caption>
                                                    </tr>
                                                </table>
                                                <div id="routeID" style="display: none">
                                                </div>
                                                <div id="Div1" style="text-align: left; width: 700px;" style="display: none">
                                                </div>
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </div>
                                    <div class="clear clearfix">
                                    </div>
                                </div>
                                <div class="clear clearfix">
                                </div>
                                <div style="width: 100%;">
                                    <table cellpadding="0" cellspacing="0" width="100%" border="0">
                                        <tr style="width: 100%;">
                                            <td valign="top">
                                                <asp:Panel ID="map" runat="server">
                                                    <table>
                                                        <tr>
                                                            <td>
                                                                <div id="maparea" style="vertical-align: top; width: 685px; height: 505px; background-color: #E0E0E0;">
                                                                </div>
                                                            </td>
                                                            <%--<div style="width: 350px; border-width: 0px; border-style: solid">--%>
                                                        </tr>
                                                    </table>
                                                </asp:Panel>
                                            </td>
                                            <td id="search-area" valign="top">
                                                <div id="search-box" style="width: 300px; height: 500px; overflow: auto;">
                                                    <h1>
                                                        <span class="icon">
                                                            <img src="../images/compass.png" alt="" style="vertical-align: top;" />
                                                            Driving Directions </span>
                                                    </h1>
                                                    <br />
                                                    <br />
                                                    <br />
                                                    <div id="directions" style="font-size: small">
                                                    </div>
                                                </div>
                                                <div class="clear clearfix">
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                    <div class="clear clearfix">
                                    </div>
                                </div>
                                <div class="clear clearfix">
                                </div>
                                <div class="clear clearfix">
                                </div>
                            </div>
                        </div>
                    </div>
                    <!-- Main Content Ends Here -->
                    <div id="left">
                    </div>
                    <div class="clear clearfix">
                    </div>
                </div>
                <div id="right">
                </div>
                <div class="clear clearfix">
                </div>
            </div>
        </div>
        <cc1:ModalPopupExtender ID="mpeProgressIndicator" runat="server" PopupControlID="progressPopUp"
            TargetControlID="btnTesting">
        </cc1:ModalPopupExtender>
        <asp:Button ID="btnTesting" Style="display: none;" runat="server" />
        <asp:Panel ID="progressPopUp" runat="server" CssClass="processMessage" Style="z-index: 1000; display: none;">
            <center>
                <br />
                <img alt="Please Wait ..." src="../images/47.gif" /><br />
                <br />
                <asp:Label ID="lbl_msg12" Text="Processing... Please Wait..." runat="server" CssClass="specialdisplay"></asp:Label>
                <br />
                <br />
            </center>
        </asp:Panel>
        <!-- Content Ends Here -->
        <uc2:Footer ID="ucFooter" runat="server" />
    </form>
</body>
</html>
