<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="newpageJulius_Sidebar.aspx.vb" Inherits="_Default"  %>
             
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
      <!-- Bootstrap -->
   <html lang="en">
    <!-- Required meta tags -->
    <meta charset="utf-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"/>
    <link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.18.3/dist/bootstrap-table.min.css"/>

           <!-- Bootstrap CSS -->
    <!--<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">-->
      
    <link href="bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"/>
    <link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.18.3/dist/bootstrap-table.min.css"/>
          
     <%@ import Namespace="MySql.Data.MySqlClient" %>
     <script runat="server">
         Sub Page_Load() Handles Me.Load
             '  MsgBox ("test")
             'Dim con As New MySqlConnection
             'Dim cmd As New MySqlCommand
             '   Dim reader As MySqlDataReader

             '  con.ConnectionString = "Server=localhost;Database=verag_homepage;Uid=sec_user;Pwd=eKcGZr59zAa2BEWU;"
             ' cmd.Connection = con
             'cmd.CommandText = "select * from map"
             'Try
             'con.Open()
             'MsgBox("conn")
             'reader = cmd.ExecuteReader
             'grid.DataSource = reader
             'reader.Read()

             'MsgBox(reader("title"))
             'DataBind()
             'reader.Close()

             'Catch ex As Exception
             ' MsgBox("err")
             ' End Try
             ' con.Close()
         End Sub
         ' Public ReadOnly Property CurrentCity() As String
         '   Get
         '    Return "asd"
         '  End Get

         ' End Property,
     </script>

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" title="VERAG Spedition AG"/>      
    <link rel="stylesheet" type="text/css" href="/css/navbarsidebar.css"/>   
    <link rel="stylesheet" type="text/css" href="css/main.css"/>
    <link rel="stylesheet" type="text/css" href="css/style.css"/>
    <link rel="shortcut icon" href="images/Icons/favicon/favicon.ico" />
    <!--    <link rel="stylesheet" type="text/css" href="css/edit_main.css"> -->
    <script src="js/netzwerk.js" type="text/javascript"></script>        
 
    <link rel="stylesheet" type="text/css" href="../stylesheets/style.css"/>
    <link rel="stylesheet" type="text/css" href="../stylesheets/example.css"/>   
  
            <!--[if IE]>
            <link rel="stylesheet" type="text/css" href="css/main.css">
      <![endif]-->
      <!--[if IE 6]>
            <link rel="stylesheet" type="text/css" href="css/main.css">
      <![endif]-->
      <!--[if lt IE 7]>
            <link rel="stylesheet" type="text/css" href="css/main.css">
      <![endif]-->
      <!--[if lte IE 5.5999]>
            <link rel="stylesheet" type="text/css" href="css/main.css">
      <![endif]-->
      <!--[if gte IE 5.5]>
            <link rel="stylesheet" type="text/css" href="css/main.css">
      <![endif]-->    
        
 

      <script type="text/javascript">
          window.onscroll = function () {
              growShrinkLogo()
          };

          function growShrinkLogo() {
              var Logo = document.getElementById("Logo")
              var Navbar = document.getElementById("navbar navbar-expand-lg navbar-light bg-light")
              if (document.body.scrollTop > 4 || document.documentElement.scrollTop > 4) {                 
                  Logo.style.width = '120px';
                  Navbar.style.width = '126.65198237885463vw';
                  Logo.style.height = '21px';                 
              } else {                  
                  Logo.style.width = '150px';
                  Navbar.style.width = /*575px;*/ '126.65198237885463vw';
                  Logo.style.height = '26px';                 
              }
          }
      </script>
       <style>
           body{
         font-family: 'Poppins', sans-serif;
                background: #fafafa;           
          background-image: url(images/road.jpg);
          background-position:center center;
          background-repeat: no-repeat;
          background-attachment:fixed;
          background-size:cover;
         /* background-color:#043381;*/
     }
           #sidebar{
             background-color: #fff;
             color: #043381;
           }
           .sidebar-header{             
             background-color: #fff;
             color: #043381;
           }
           .container-fluid{
              background-color: #fff;
              color: #043381;
           }
           .navbar-brand{
              background-color: #fff;
              color: #043381;
           }
           .container-xxl{
               background-color:#fff;
           } 
           .nav-item dropdown::after {
    visibility: hidden;
    color: #fff;
}
       </style>
</head>
    
<body data-spy="scroll" data-target=".navbar" data-offset="50">   
     <li class="wrapper">
        <!-- Sidebar  -->
        <nav id="sidebar">
            <div class="container-fluid">              
                <div class="sidebar-header">
                    <a class="navbar-brand" href="newpageJulius_Sidebar.aspx"><img src="images/Logo_small.png" width="175" height="35" alt="Logo VERAG Spedition AG" data-toggle="tooltip" data-placement="top" title="https://www.verag.ag"/></a>   
                </div>

                <ul class="list-unstyled components">
                            <p style="font-size:medium;font-weight:600;" data-toggle="tooltip" data-placement="right" title="Durchklicken und mehr über uns erfahren!">VERAG Hauptmenü:</p>
                            <li class="active">
                                <%
                                    Dim DB As New cDBFunctions
                                    Dim laenderkuerzel As String = "de"
                                    Dim navigation_footer As List(Of cNavigation) = DB.qry_menu_tags(laenderkuerzel)
                                    Dim nameproj As String = ""
                                    nameproj = "newpageJulius_Sidebar.aspx"
                                    If laenderkuerzel Is Nothing Then
                                        laenderkuerzel = "de"
                                    Else
                                %>
                                <li>
                                    <a href="#homeSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">Unternehmen</a>                        
                                    <ul style="list-style: none;"class="collapse list-unstyled" id="homeSubmenu">
                                         <span class="navbar-toggler-icon"></span>
                                        <li>
                                            <a href="<%=nameproj %>?menuID=29&lan=<%=laenderkuerzel %>">Unternehmensprofil</a>
                                        </li>
                                        <li>
                                            <a href="<%=nameproj %>?menuID=30&lan=<%=laenderkuerzel %>">Unser Team</a>
                                        </li>
                                        <li>
                                                <a href="#ZollSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">Zoll</a>
                                            <ul class="collapse list-unstyled" id="ZollSubmenu">
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=42&lan=<%=laenderkuerzel %>">Zollabteilung</a>
                                                    </li>
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=43&lan=<%=laenderkuerzel %>">MDM Maut Diesel Mehrwertsteuer</a>
                                                    </li>
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=44&lan=<%=laenderkuerzel %>">Lager / Distribution</a>
                                                    </li>
                                                </ul>
                                                </li>
                                            </ul>
                              </li>  
                           <li>
                                <a href="#LeistungenSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">Leistungen</a>
                                <ul style="list-style: none;"class="collapse list-unstyled" id="LeistungenSubmenu">                                                                                    
                                                <a href="#Zoll2Submenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">Zoll</a>
                                                <ul class="collapse list-unstyled" id="Zoll2Submenu">
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=8&lan=<%=laenderkuerzel %>">Zoll</a>
                                                    </li>
                                                         <div class="dropdown-divider"></div>
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=13&lan=<%=laenderkuerzel %>">Importverzollungen</a>
                                                    </li>
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=14&lan=<%=laenderkuerzel %>">Mittel- und Osteuropa</a>
                                                    </li>
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=15&lan=<%=laenderkuerzel %>">Fiskal Verzollung</a>
                                                    </li>
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=16&lan=<%=laenderkuerzel %>">Quick-Stop</a>
                                                    </li>
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=17&lan=<%=laenderkuerzel %>">Ausfuhrabfertigung</a>
                                                    </li>
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=18&lan=<%=laenderkuerzel %>">Versandscheinabfertigung</a>
                                                    </li>
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=19&lan=<%=laenderkuerzel %>">Carnet-TIR-Abfertigungen</a>
                                                    </li>
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=20&lan=<%=laenderkuerzel %>">CMR Frachtbrief Erstellung</a>
                                                     </li>  
                                                     <li>
                                                        <a href="<%=nameproj %>?menuID=21&lan=<%=laenderkuerzel %>">Veredelungsverkehr</a>
                                                    </li>     
                                                    <li>
                                                        <a href="<%=nameproj %>?menuID=22&lan=<%=laenderkuerzel %>">Intrastat(AT und EU)</a>
                                                    </li>                                                                                                  
                                               </ul>                                       
                                    
                                            <a href="#pageMautSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">Maut Diesel Mehrwertsteuer</a>
                                                <ul style="list-style: none;"class="collapse list-unstyled" id="pageMautSubmenu">

                                                    <li>
                                                       <a href="<%=nameproj %>?menuID=33&lan=<%=laenderkuerzel %>">Maut</a>
                                                    </li>
                                                   <li>
                                                       <a href="<%=nameproj %>?menuID=34&lan=<%=laenderkuerzel %>">Diesel</a>
                                                    </li>
                                                   <li>
                                                       <a href="<%=nameproj %>?menuID=35&lan=<%=laenderkuerzel %>">Mehrwertsteuer</a>
                                                    </li>
                                                </ul>     
                                    
                                                    <a href="#pageDistroSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">Distribution</a>
                                                     <ul class="collapse list-unstyled" id="pageDistroSubmenu">
                                                            <li>
                                                               <a href="<%=nameproj %>?menuID=10&lan=<%=laenderkuerzel %>">Distribution</a>
                                                            </li>            
                                               </ul>  
                                </ul>             
                 </li>  
                 <li>
                        <a href="#NetzwerkSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">Netzwerk</a>
                        <ul class="collapse list-unstyled" id="NetzwerkSubmenu">                            
                               <li>
                                    <a href="<%=nameproj %>?menuID=4&lan=de">Netzwerk</a>
                               </li>
                                  <div class="dropdown-divider"></div>
                                    <a href="#NetzwerkStandortSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle"> Unsere Standorte</a>
                                    <ul style="list-style: none;" class="collapse list-unstyled" id="NetzwerkStandortSubmenu">
                                        <li>
                                            <a href="<%=nameproj %>?menuID=71&lan=<%=laenderkuerzel %>">Österreich</a>
                                        </li>
                                        <li>
                                            <a href="<%=nameproj %>?menuID=72&lan=<%=laenderkuerzel %>">Deutschland</a>
                                        </li>
                                        <li>
                                            <a href="<%=nameproj %>?menuID=73&lan=<%=laenderkuerzel %>">Restliche EU-Länder</a>                           
                                        </li>                       
                                      </ul>
                                        <a href="#NetzwerkPartnerSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle">Partner</a>
                                            <ul class="collapse list-unstyled" id="NetzwerkPartnerSubmenu">
                                                <li>
                                                    <a href="<%=nameproj %>?menuID=69&lan=<%=laenderkuerzel %>">Partner</a>
                                                </li>
                                                    <div class="dropdown-divider"></div>
                                                <li>
                                                     <a href="<%=nameproj %>?menuID=74&lan=<%=laenderkuerzel %>">IDS</a>
                                                </li>                       
                                                 <li>
                                                     <a href="<%=nameproj %>?menuID=75&lan=<%=laenderkuerzel %>">Maut-Partner</a>
                                                </li>
                                            </ul>                                   
                                    </ul>
                                  </li>  
                                <li>                            
                                    <a href="<%=nameproj %>?menuID=6&lan=<%=laenderkuerzel %>"data-toggle="tooltip" data-placement="right" title="Die wichtigsten Links zusammengefasst.">Links</a>
                                 </li>                        
                                <li>                    
                                      <a href="<%=nameproj %>?menuID=7&lan=<%=laenderkuerzel %>"data-toggle="tooltip" data-placement="right" title="Der Weg zu uns.">Kontakt</a>
                                </li>                    
                               <li>                       
                                    <a href="#KundenSubmenu" data-toggle="collapse" aria-expanded="false" class="dropdown-toggle" data-toggle="tooltip" data-placement="right" title="Alles rund um Sie.">Kunden</a>
                                    <ul class="collapse list-unstyled" id="KundenSubmenu">
                                          <li>
                                              <a href="<%=nameproj %>?menuID=40&lan=<%=laenderkuerzel %>" data-toggle="tooltip" data-placement="right" title="Übersicht über alle Informationen zu Ihrem Account, allen gebuchten Leistungen sowie deren Ablaufzeiten..">Kunde</a>
                                          </li>
                                              <div class="dropdown-divider"></div>                            
                                          <li>
                                              <a href="DownloadsJulius.aspx?menuID=41&lan=<%=laenderkuerzel %>"  rel="nofollow" target="_blank"  data-toggle="tooltip" data-placement="right" title="Alle Downloads auf einen Blick..">Downloads</a>
                                          </li>
                                          <li>
                                               <a href="Customers/Welcome.aspx?&lan=<%=laenderkuerzel %>"  rel="nofollow" target="_blank" data-toggle="tooltip" data-placement="right" title="Lässt das Kundenportal erscheinen.">Kundenbereich</a>
                                          </li>
                                          <li>
                                              <a href="login/login_TEST.aspx?menuID=46&lan=<%=laenderkuerzel %>" data-toggle="tooltip" data-placement="right" title="Hier tauchen Sie in die Welt von VERAG ein.">Login</a>
                                          </li>
                                          <li>
                                              <a href="status_Julius.aspx?&lan=<%=laenderkuerzel %>" data-toggle="tooltip" data-placement="right" rel="nofollow" target="_blank" title="Nur durch erfolgreichen Login erreichbar.">Status</a>
                                          </li>     
                                         <li>
                                              <a href="../login/Logout.aspx" data-toggle="tooltip" data-placement="right" rel="nofollow" title="Ausloggen.">Logout</a>
                                          </li> 
                                     </ul>
                               </li>
                                
                             <!--     <li>      
                                 <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal">Feedback senden</button> -->
                       
                                  <!-- Mdoal -->
                              <!--     <div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel">
                                        <div class="modal-dialog modal-dialog-scrollable" style="min-width: 850px; min-height: 800px;  overflow: hidden; place-self:center">
                                          <div class="modal-content">
                                            <div class="modal-header">
                                              <h5 class="modal-title" id="exampleModalLabel">Feedback</h5>
                                              <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                                            </div>
                                            <div class="modal-body">
                                                <div class="container-fluid" >
                                              <p><iframe src="sendFeedback.aspx" style="width: 550px; height: 500px;  overflow: hidden; place-self:center" scrolling="no" seamless="seamless"> </iframe></p>
                                                    </div>
                                            </div>
                                            <div class="modal-footer">
                                              <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>                                
                                            </div>
                                          </div>
                                        </div>
                                     </div>
                                 </li> -->
                                <%End If %>
              </li>  
                    </ul></div>
        </nav>
         
         <div class="float-sm-right">
          <div class="position-absolute bottom-0 start-0 translate-middle-y">
              <div class="d-md-none">
          <!--      <button type="button" id="sidebarCollapse" class="btn btn-info" style="background-color:#fff; color:#043381;">
                    <div class="align-self: center"></div>
                    <span>Menue</span>
                </button>-->
                    </div>
              </div>
        </div>

      <div class="container-xxl" style="align-content:center">                                                                                                                                                
        <!-- Page Content  -->
        <div id="content">             
            <div class="d-none d-md-block">
            <nav class="navbar navbar-expand-lg navbar-light bg-light" data-spy="affix" data-offset-top="197">            
                <a class="navbar-brand" id="navbarbrandhauptpage" href="newpageJulius_Sidebar.aspx?lan2=DE"><img src="images/Logo_small.png" id="Logo" alt="Logo Verag Spedition (Blaue Schrift) AG (Graue Schrift)" data-toggle="tooltip" data-placement="top" title="https://www.verag.ag" style="align-items:safe center;"/></a>
               
                               <!-- <button class="btn btn-primary d-inline-block d-lg-none ml-auto" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">                     
                                </button>       -->                   <%
                                                                          Dim navParent As String = "newpageJulius_Sidebar.aspx"
                                                                          Dim navigation As List(Of cNavigation) = Nothing
                                                                          navigation = DB.qry_menu_tags(laenderkuerzel)

                                                                          Dim imgPath As String = ""
                                                                          If HttpContext.Current.Request.Url.AbsoluteUri.ToString.Contains("admin.aspx") Then
                                                                              navParent = "admin.aspx"
                                                                              imgPath = "../"
                                                                          End If
                                                                          Dim curentMenuId As String = "1"
                                                                          If Not Request.QueryString("menuID") Is Nothing Then
                                                                              curentMenuId = Request.QueryString("menuID")
                                                                          End If

                                                                          Dim flagpath = "images/flags/flagge_DE_AT.gif"

                                                                          Dim lan3 As String = Request.QueryString("lan3")
                                                                          If laenderkuerzel = "DE" And lan3 = "0" Then
                                                                              flagpath = "images/flags/flagge_DE_AT.gif"
                                                                          ElseIf laenderKuerzel = "EN" And lan3 = "0" Then
                                                                              flagpath = "images/flags/flagge_GB.gif"
                                                                          ElseIf laenderKuerzel = "SRB" And lan3 = "0" Then
                                                                              flagpath = "images/flags/flagge_BIH.gif"
                                                                          ElseIf laenderKuerzel = "SRB" And lan3 = "1" Then
                                                                              flagpath = "images/flags/flagge_SM.gif"
                                                                          ElseIf laenderKuerzel = "BG" And lan3 = "0" Then
                                                                              flagpath = "images/flags/flagge_BG.gif"
                                                                          ElseIf laenderKuerzel = "TR" And lan3 = "0" Then
                                                                              flagpath = "images/flags/flagge_TR.gif"
                                                                          End If%>

                                                                          <% For Each nav As cNavigation In navigation %>
                
                       <li class="nav-item dropdown" style="background-color:#fff; color:#043381;list-style:none;">
                        <a class="nav-link dropdown-toggle" href="<%= navParent%>?menuID=<%= nav.id %>&lan=<%= laenderKuerzel %>" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="background-color:#fff; color:#043381;">                              
                            <%= IIf(nav.bezeichnung <> "", nav.bezeichnung, "XXX") %>
                        </a>
                        <div class="dropdown-menu" aria-labelledby="navbarDropdown"> 
                             <a class="dropdown-item"  href="<%= navParent%>?menuID=<%= nav.id %>&lan=<%= laenderKuerzel %>"><%= IIf(nav.bezeichnung <> "", nav.bezeichnung, "XXX") %></a> 
                            <% If nav.menu_logo <> "" Then %>
                                                            <%="<div class='menu_logo'><img src='" & nav.menu_logo & "'/></div>"%> 
                                                    <% End If %> 
                              <% If nav.subnavigation.Count>0 then %>
                                        <div class="menu_01">
                                            <!--<a class="dropdown-item"  href="<%'= navParent%>?menuID=<%'= nav.id %>&lan=<%'= laenderKuerzel %>"><%'= IIf(nav.bezeichnung <> "", nav.bezeichnung, "XXX") %></a> -->
                           <!--  <% If nav.slogan <> "" Then%>
                                                           <%="<div class='menu_slogan'>" & nav.slogan & "</div>"%> 
                                                    <% End If %>
                                <% If nav.menu_logo <> "" Then %>
                                                            <%="<div class='menu_logo'><img src='" & nav.menu_logo & "'/></div>"%> 
                                                    <% End If %> -->
                                  <div class="dropdown-divider"></div>                    
                                 <!-- <li><a class="menu_01_link" href="<%'= navParent%>?menuID=<%'= nav.id %>&lan=<%'= laenderKuerzel %>"><%'= IIf(nav.bezeichnung <> "", nav.bezeichnung, "XXX") %></a> -->                                                                                                                        
                                    <ul style="list-style:none;">
                                        <%For Each nav2 As cNavigation In nav.subnavigation%>                                                                
                                                       <!--  <li><a href="<%'= navParent%>?menuID=<%'= nav2.id%>&lan=<%'= laenderkuerzel %>"><%'= nav2.bezeichnung %></a>  -->
                                        
                                            <a class="dropdown-item"  href="<%= navParent%>?menuID=<%= nav2.id %>&lan=<%= laenderKuerzel %>"><%= IIf(nav2.bezeichnung <> "", nav2.bezeichnung, "XXX") %></a>                                          
                                         <!--<a class="dropdown-item" href="<%'= navParent%>?menuID=<%'= nav2.id%>&lan=<%'= laenderkuerzel %>"><%'= nav2.bezeichnung %></a>-->
                                                             <div class="menu_02">
                                                                 <table> 
                                                                     <tr>
                                                                          <%
                                                                              Dim cells = 0
                                                                              If nav2.subnavigation.Count > 0 Then
                                                                                  For Each nav3 As cNavigation In nav2.subnavigation
                                                                                      If cells >= 3 Then
                                                                                      %></tr><tr>
                                                                                      <% cells = 0
                                                                                          End If %>
                                                                                  <div class="dropdown-divider"></div>                                                   
                                                                                   <!--<td><a href="<%'= navParent%>?menuID=<%'= nav3.id%>&lan=<%'= laenderkuerzel %>"><%'= nav3.bezeichnung %></a></td> -->
                                                                                            <a class="dropdown-item"  href="<%= navParent%>?menuID=<%= nav3.id%>&lan=<%= laenderkuerzel %>"><%= nav3.bezeichnung %></a>
                                                                                  </div>                                                                                         
                                                                             <%       
                                                                                         cells += 1
                                                                                     Next
                                                                                 End If%>                                                                                        
                                                                              </tr>
                                                                 </table>                                        
                                                        </li>
                                                <%
                                                    Next
                                                %>
                                    </ul>                                 
                     <%    End If
                           Next
                     %>  
                            </div>        
            
            </div>
                </li>     
                      <li>
                             <div class="dropdown" style="background-color:#fff; color:#043381;">
                                              <button class="dropbtn"><center><img id="myImage" src="<%=flagpath%>" style="border:1px solid #fff;width:32px; justify-items:center;color:#043381;background-color:#fff" alt="Logo Schriftzug: Verag Spedition AG Blaue Schrift: Verag Spedition Graue Schrift: AG" /></center></button>
                                              <div class="dropdown-content">     
                                                  <%  Dim stringDE = "&nbsp  DE"
                                                      Dim stringEN = "&nbsp  EN"
                                                      Dim stringBIH = "&nbsp BIH"
                                                      Dim stringSRB = "&nbsp SRB"
                                                      Dim stringBG = "&nbsp  BG"
                                                      Dim stringTR = "&nbsp  TR"%>
                                              <!--<a id="ButtonOesterreichLangPicker" class="btn btn-primary btn-sm" onclick="changeflag(A)" href="<%'= navParent%>?menuID=<%'= curentMenuId %>&lan=de"><img src="<%'= imgPath%>images/flags/flagge_A.gif" <%' If laenderkuerzel = "de" Then Response.Write("style='border:1px solid #000'")%> /> DE</a>-->
                                                  <a id="ButtonDeutschLangPicker" class="btn btn-primary btn-sm"   href="<%= navParent%>&lan2=DE&lan3=0" style="color:#043381;background-color:#fff;border:hidden;"><img src="<%= imgPath%>images/flags/flagge_DE_AT_big.gif"; width="20"; <% If laenderkuerzel = "de" Then Response.Write("style='border:1px solid #000'")%>/><%=stringDE%></a>
                                                  <a id="ButtonTürkeiLangPicker" class="btn btn-primary btn-sm"  href="<%= navParent%>&lan2=TR&lan3=0"  style="color:#043381;background-color:#fff;border:hidden;"><img src="<%= imgPath%>images/flags/flagge_TR_big.gif"; width="20"; <% If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%>/><%=stringTR%></a>
                                                  <a id="ButtonEnglischLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>&lan2=EN&lan3=0"  style="color:#043381;background-color:#fff;border:hidden;"><img src="<%= imgPath%>images/flags/flagge_GB_big.gif"; width="20"; <% If laenderkuerzel = "en" Then Response.Write("style='border:1px solid #000'")%>/><%=stringEN%></a>
                                                  <a id="ButtonSerbischLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>&lan2=SRB&lan3=0"  style="color:#043381;background-color:#fff;border:hidden;"><img src="<%= imgPath%>images/flags/flagge_BIH_big.gif"; width="20"; <% If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%> /><%=stringBIH%></a> 
                                                  <a id="ButtonSerbischZweiLangPicker" class="btn btn-primary btn-sm" href="<%= navParent%>&lan2=SRB&lan3=1" style="color:#043381;background-color:#fff;border:hidden;"><img src="<%= imgPath%>images/flags/flagge_SM_big.gif"; width="20"; <% If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%> /><%=stringSRB%></a> 
                                                  <a id="ButtonBulgariaLangPicker" class="btn btn-primary btn-sm"  href="<%= navParent%>&lan2=BG&lan3=0"  style="color:#043381;background-color:#fff;border:hidden;"><img src="<%= imgPath%>images/flags/flagge_BG_big.gif"; width="20"; <% If laenderkuerzel = "bg" Then Response.Write("style='border:1px solid #000'")%>/><%=stringBG%></a>                                             
                                              </div>
                                </div>  
                      </li>
               </nav> 
     </div>
   
                                           <div class="d-md-none"> 
                                              <nav class="navbar navbar-expand-lg navbar-light bg-light justify-content-md-center flex-nowrap" data-spy="affix" data-offset-top="197">               
                                                     <button type="button" id="sidebarCollapse" class="btn btn-info" style="background-color:#fff; color:#043381;">
                                                        <div class="align-self: center"></div>
                                                          <span><img src="images/Icons/main/menu veragblau.svg" style="width:initial;height:initial;" alt="Hamburger Menu Stripes in Verag Blue" data-toggle="tooltip" data-placement="top" title="Zeigt das Menü an."></span>
                                                     </button>
                                                    <a class="navbar-brand" href="newpageJulius_Sidebar.aspx?lan2=DE"><img src="images/Logo_small.png" style="width:90%;height:90%;" alt="VERAG Spedition AG Logo with blue word color until grey AG" data-toggle="tooltip" data-placement="top" title="https://www.verag.ag"></a>                                                                                                                                                           
                                                   <button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasWithBothOptions" aria-controls="offcanvasWithBothOptions" style="background-color:#fff; color:#043381;"><img id="myImage" src="<%=flagpath%>" style="border:1px solid #fff;width:30px;"/></button>
                                              </nav>
                                          </div>
                                               <div class="offcanvas offcanvas-end" data-bs-scroll="true" tabindex="-1" id="offcanvasWithBothOptions" aria-labelledby="offcanvasWithBothOptionsLabel">
                                                      <div class="offcanvas-header">
                                                      <h5 class="offcanvas-title" id="offcanvasWithBothOptionsLabel">Sprachauswahl:</h5>
                                                       <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
                                                   </div>
                                                        <div class="offcanvas-body">
                                                          <%  Dim strDElang = "&nbsp; Deutsch"
                                                              Dim strENlang = "&nbsp; Englisch"
                                                              Dim strBIHLang = "&nbsp; Bosnisch"
                                                              Dim strSRBlang = "&nbsp; Serbisch"
                                                              Dim strBGlang = "&nbsp; Bulgarisch"
                                                              Dim strTRlang = "&nbsp; Türkisch"%>
                                                         <ul style="list-style: none;">
                                                             <li style="transform: rotate(0);">
                                                                 <!--<a id="ButtonDeutschLangPicker" class="btn btn-primary btn-sm"   href="<%'= navParent%>&lan=DE"><img src="<%'= imgPath%>images/flags/flagge_DE_AT.gif" <%' If laenderkuerzel = "de" Then Response.Write("style='border:1px solid #000'")%>/>DE/AT</a>-->
                                                                 <a id="ButtonDeutschLangPicker2" href="<%= navParent%>&lan2=DE&lan3=0" class="stretched-link" style="text-decoration: none;"><img src="<%= imgPath%>images/flags/flagge_DE_AT_big.gif"; width="20"; <% If laenderkuerzel = "de" Then Response.Write("style='border:1px solid #000'")%>/><%=strDElang %></a>
                                                             </li>
                                                             <li style="transform: rotate(0);">
                                                                 <!--<a id="ButtonEnglischLangPicker" class="btn btn-primary btn-sm" href="<%'= navParent%>&lan=EN"><img src="<%'= imgPath%>images/flags/flagge_GB.gif" <%' If laenderkuerzel = "en" Then Response.Write("style='border:1px solid #000'")%>/>EN</a>-->
                                                                 <a id="ButtonEnglischLangPicker2" href="<%= navParent%>&lan2=EN&lan3=0" class="stretched-link" style="text-decoration: none;"><img src="<%= imgPath%>images/flags/flagge_GB_big.gif"; width="20"; <% If laenderkuerzel = "en" Then Response.Write("style='border:1px solid #000'")%>/><%=strENlang %></a>
                                                             </li>
                                                             <li style="transform: rotate(0);">
                                                                 <!--<a id="ButtonSerbischLangPicker" class="btn btn-primary btn-sm" href="<%'= navParent%>&lan=SRB"><img src="<%'= imgPath%>images/flags/flagge_BIH.gif" <%' If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%> />BIH</a>-->
                                                                 <a id="ButtonSerbischLangPicker2" href="<%= navParent%>&lan2=SRB&lan3=0" class="stretched-link" style="text-decoration: none;"><img src="<%= imgPath%>images/flags/flagge_BIH_big.gif"; width="20"; <% If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%> /><%=strBIHLang %></a>
                                                             </li>
                                                             <li style="transform: rotate(0);">
                                                                 <!--<a id="ButtonSerbischZweiLangPicker" class="btn btn-primary btn-sm" href="<%'= navParent%>&lan=SM"><img src="<'%= imgPath%>images/flags/flagge_SM.gif" <%' If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%> />SRB</a>-->
                                                                 <a id="ButtonSerbischZweiLangPicker2" href="<%= navParent%>&lan2=SRB&lan3=1" class="stretched-link" style="text-decoration: none;"><img src="<%= imgPath%>images/flags/flagge_SM_big.gif"; width="20"; <% If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%> /><%=strSRBlang %></a>
                                                             </li>
                                                             <li style="transform: rotate(0);">
                                                                 <!--<a id="ButtonBulgariaLangPicker" class="btn btn-primary btn-sm"  href="<%'= navParent%>&lan=BG"><img src="<%'= imgPath%>images/flags/flagge_BG.gif" <%' If laenderkuerzel = "bg" Then Response.Write("style='border:1px solid #000'")%>/>BG</a>-->
                                                                 <a id="ButtonBulgariaLangPicker2" href="<%= navParent%>&lan2=BG&lan3=0" class="stretched-link" style="text-decoration: none;"><img src="<%= imgPath%>images/flags/flagge_BG_big.gif"; width="20"; <% If laenderkuerzel = "bg" Then Response.Write("style='border:1px solid #000'")%>/><%=strBGlang %></a>
                                                             </li>
                                                             <li style="transform: rotate(0);">
                                                                 <!--<a id="ButtonTürkeiLangPicker" class="btn btn-primary btn-sm"  href="<%'= navParent%>&lan=TR"><img src="<%'= imgPath%>images/flags/flagge_TR.gif" <%' If laenderkuerzel = "yu" Then Response.Write("style='border:1px solid #000'")%>/>TR</a>-->
                                                                 <a id="ButtonTürkeiLangPicker2" href="<%= navParent%>&lan2=TR&lan3=0" class="stretched-link" style="text-decoration: none;"><img src="<%= imgPath%>images/flags/flagge_TR_big.gif"; width="20";" <% If laenderkuerzel = "tr" Then Response.Write("style='border:1px solid #000'")%>/><%=strTRlang %></a>
                                                             </li>
                                                          </ul>
                                                     </div>
                                                </div>
           </nav>           

                              <!--  <a href="login/login_TEST.aspx" style="position:center;left:20px;top:10px;">LOGIN</a> -->
                         <form id="leftLinks" runat="server" style="float:initial">
                         <div class="align-self-center">
                          
                                  <!--  <a href="sendFeedback.aspx" toptions="type = iframe, effect = fade, width = 500, height = 500, overlayClose = 1,shaded=0, layout = flatlook"   style='padding:0px;margin:0px;width:10px;height:10px;color:#fff;text-decoration: none;'>
                                       <div class="feedback">
                                         <div class="feedback_txt">Feedback
                                        </div>
                                      </div>
                                    </a>-->
                                 <!--   <a href="sendFeedback.php" toptions="type = iframe, effect = fade, width = 500, height = 500, overlayClose = 1,shaded=0, layout = flatlook"   style='padding:0px;margin:0px;width:50px;height:11px;color:#fff;text-decoration: none;'>
                                       <div class="aviso">
                                            <div class="aviso_txt">
                                                <nobr>Neues Aviso</nobr>
                                            </div>
                                        </div>
                                    </a> -->  
                             <asp:LoginView ID="LoginView1" runat="server" ClientIDMode="AutoID">
                                 <AnonymousTemplate>                                     
                                    <iframe name="frame1" sandbox="allow-same-origin allow-top-navigation allow-scripts allow-popups allow-forms" src="/login/login_FLEX_iFrame.aspx" runat="server" style="width:300px;height:300px; overflow:hidden;background-image:none;" scrolling="no" /> 
                                    <div id="loadingMessage1">Loading...</div>
                                     </AnonymousTemplate>
                                 <LoggedInTemplate> 
                                     <iframe name="frame2" sandbox="allow-same-origin allow-top-navigation allow-scripts allow-popups allow-forms" onload="Unnamed_Load" src="/login/Loggedin.aspx" runat="server" seamless="seamless" style="width:300px;height:300px;overflow:no-content;background-image:none;" scrolling="no" /> 
                                    <div id="loadingMessage2">Loading...</div>
                                 </LoggedInTemplate>                                 
                             </asp:LoginView>
                          <div style="height:10px"></div>
                            
                             
                                                             <!-- #include file="navigation.aspx" -->                 
                                                           <div id="main-page">
                                                              <!--  <div class="pagecontent">      -->
                                                                    <%
                                                                        Dim lan As String = Request.QueryString("lan")
                                                                        If lan = "" Then lan = "de"
                                                                        Dim menuID As String = Request.QueryString("menuID")
                                                                        If menuID = "" Then menuID = "1"
                                                                        Dim DB2 As New cDBFunctions

                                                                        Response.Write(DB2.qry_contentNew(menuID, lan)) %>
                                                          <!--   </div>   -->                                         
                                          </div>
                             </div>    
                                <!--  <div class="footer_menu"> 
                                    <div class="footer_menu_content">
                                               <table>                    
                                                <tr>       
                                </tr>
                                </table>      
                                 </div>
                            </div> -->
                             <div class="footer">
                                <div class="footer_content"><adress><b>VERAG Spedition AG</b> &nbsp;&nbsp; A-4975 Suben 14-15 &nbsp;</adress>&nbsp; Tel.: +43 7711 2777-0,&nbsp;&nbsp;Fax: +43 7711 31600,&nbsp;&nbsp;email: info@verag.ag</div>
                             </div>                                             
               </form>      
         </li>
            <script type="text/javascript" src="js/toptions/top_up-min.js"></script>
                <!-- jQuery CDN - Slim version (=without AJAX) -->
            <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
            <!-- Popper.JS -->
            <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
            <!-- Bootstrap JS -->
            <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>       
            <!-- jQuery Custom Scroller CDN -->
            <script src="https://cdnjs.cloudflare.com/ajax/libs/malihu-custom-scrollbar-plugin/3.1.5/jquery.mCustomScrollbar.concat.min.js"></script>
             <script src="bootstrap-5.0.2-dist/js/bootstrap.min.js"></script>
            <script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
           <script type="text/javascript">
               $(document).ready(function () {
                   $('#sidebarCollapse').on('click', function () {
                       $('#sidebar').toggleClass('active');
                   });                    
               });              
           </script> 
           <script type="text/javascript">
              // Vergebe den Event-Handler
              document.onkeydown = handleKeyEvent;
              // Funktion, die den Event verarbeitet
              function handleKeyEvent(e) {
                  // MSIE nimmt das Event-Objekt aus window.event, DOM-kompatible Browser aus dem e-Funktionsparameter
                  if (!e) e = window.event;
                  // keyCode muss 70 sein und ctrlKey true
                  if (e.keyCode == 68 && e.ctrlKey) {
                      alert('Strg+D wurde gedrückt');
                      //topup
                  }
               } 
           </script>  
            <script type="text/javascript">
                $('#frame1').ready(function () {
                    $('#loadingMessage1').css('display', 'none');
                });
                $('#frame1').load(function () {
                    $('#loadingMessage1').css('display', 'none');
                });
            </script>
     <script type="text/javascript">
         $('#frame2').ready(function () {
             $('#loadingMessage2').css('display', 'none');
         });
         $('#frame2').load(function () {
             $('#loadingMessage2').css('display', 'none');
         });
     </script>
    </body>
</html>