<!DOCTYPE html>
<html class="no-js responsivelayout" lang="#attribute(meta_contentlanguage)">
<head>
	<title><$=Context.Scope.Library.StripAllHtmlTags(Scope.Library.RenderText(Context.Scope.CurrentPage.NameOrTitle))$></title>
	<meta name="robots" content="#attribute(meta_robots)" />
	<meta name="keywords" content="<$= Scope.Library.HtmlEncode(Scope.Library.RenderText(Context.Scope.CurrentPage.SeoKeywords)) $>" />
	<meta name="description" content="<$= Scope.Library.HtmlEncode(Scope.Library.RenderText(Context.Scope.CurrentPage.Description)) $>" />
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width" />
	<meta name="generator" content="#system(app_name) #system(app_version), Build #system(app_build)" />
	
	#attribute(additional_meta)
	<link rel="shortcut icon" type="image/x-icon" href="#text(favicon)" />
	<link rel="stylesheet" type="text/css" href="../_media/styles.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="../_media/print.css" media="print" />
	<link rel="stylesheet" type="text/css" href="../_media/flexslider.css" media="screen" />
	<!--[if IE 7]><link rel="stylesheet" type="text/css" href="../_media/styles-ie7.css" media="screen" /><![endif]-->
	<!--[if lte IE 8]><link rel="stylesheet" type="text/css" href="../_media/styles-ie8.css" media="screen" /><![endif]-->
	<$ dim gitems : set gitems = Context.Scope.CurrentPage.ScriptingGetPageItems(Context.Scope.Library.VersioningVersion) :	dim ghassame : ghassame = false : dim g : for g=0 to gitems.Count-1 : dim gitem : set gitem = gitems(g) : if gitem.IsActive and (gitem.StyleName = "Bilderalbum" or gitem.StyleName = "Einzelnes Bild") then $><$ if not ghassame then $><link rel="stylesheet" type="text/css" href="#page(path_to_root)media/Scripting/ThickBox/thickbox.css" media="screen" /><$ end if : ghassame = true $><$ end if : next $>
	<script>
		document.documentElement.className = document.documentElement.className.replace(/no-js/g, 'js');
	</script>
	<script	type="text/javascript" src="#page(path_to_root)media/Scripting/ServerSideScripting/jQuery/jquery-1.7.min.js"></script>
	<script	type="text/javascript" src="#page(path_to_root)media/Scripting/ServerSideScripting/js/zp-widgets.js"></script>
	
	<!-- Search Inline Script -->
	<$ if page_.IsAttributeTrue("search_field_visible") then $>
		<script type="text/javascript">
			function set_cookie1(name1, value1) {
				var c1 = name1 + "=" + escape(value1);document.cookie = c1;
			}
			function search1(){
				if (document.forms.searchengine1.q.value.length == 0) {
					alert("#attribute(search_script_msg_required)");
					return false;
				}
			}
		</script>
	<$ end if $>
	
	
	<!-- RSS -->
	<$
	if project_.Rss then
		dim info
		for each info in projectFolder_.RssFeeds $>
		<link rel="alternate" type="application/rss+xml" title="<$=info.RssFeedName$>" href="<$=info.RssFeedUrl$>" />
	<$  next
	end if $>
	
	<!-- Has Article in Header -->
	<$
	dim header
	header = page_.HasArticleInArea("Header") or (sc_.IsPreview AND page_.IsAttributeTrue("preview_show_empty_article_areas"))
	$>
	
	<!-- Has Article in Sidebar (News) -->
	<$
	dim news
	news = false
	news = page_.HasArticleInArea("News") or (sc_.IsPreview AND page_.IsAttributeTrue("preview_show_empty_article_areas"))
	$>
	
	<$
		dim sidebar : sidebar = false
		if (Context.Scope.CurrentPage.IsVisible AND Context.Scope.CurrentPage.HasRenderableChildPages) or (Context.Scope.CurrentPage.IsVisible AND Context.Scope.CurrentPage.ParentPage.IsPage AND Context.Scope.CurrentPage.ParentPage.HasRenderableChildPages) or news = true then
			sidebar = true
		end if
	$>
	
	#attribute(mobile_script)
	#attribute(google_analytics)
</head>
<body id="simple-responsive">
	<a id="top"></a>
	<div id="wrapper">
		<div id="framebox">
			<!-- Teaser "Banner" -->
			<$ if page_.HasArticleInArea("Banner") or (sc_.IsPreview AND page_.IsAttributeTrue("preview_show_empty_article_areas")) then $>
				<div id="banner">
					<zp:grid type="area">banner
					<zp:param name="cols" value="1" />
					<zp:param name="rows" value="0" />
					<zp:param name="area-name" value="Banner" />
					<zp:param name="orderposition" value="4" />
					<zp:param name="grid-template" value="Standard" /> 
					<zp:param name="valid-articlestyle" value="*" />
					</zp:grid>
				</div>
			<$ end if $>
			<div id="topline">
				<$ if Context.Scope.CurrentPage.GetInheritedAttribute("search_field_visible").Value = "true" then $><div id="search" #text(inline-editing-search)><form id="searchform" name="searchengine1" onsubmit="return search1()" action="#attribute(search_location_link)" method="get"><fieldset id="searchfieldset"><input id="searchfield" type="text" name="q" value="#attribute(search_field_value)" onfocus="if(this.value=='#attribute(search_field_value)'){this.value=''}" onblur="if(this.value==''){this.value='#attribute(search_field_value)'}" /><input id="searchbutton" type="image" name="submit" src="#text(searchbutton-image)" alt="searchbutton" /></fieldset></form>
					<!-- #zetainclude "..\..\..\ZPIncludes\js-default-typeahead.inc" -->

					<!-- #endzetainclude -->
					</div>
				<$ end if $>
				<$ if page_.IsAttributeTrue("show_web_logo") or page_.IsAttributeTrue("show_web_name") then $>
					<div id="webdescription">
						<!-- Logo -->
						<$ if page_.IsAttributeTrue("show_web_logo") then $>
							<div id="logo" #text(inline-editing-logo)>
								<a href="#web(address)"><img src="#text(logo)" width="#text(logo-image-width)" height="#text(logo-image-height)" alt="#web(address)" /></a>
							</div>
						<$ end if $>
						<!-- Webname -->
						<$ if page_.IsAttributeTrue("show_web_name") then $>
							<div id="webtext" #text(inline-editing-webtitle)>
								<div id="webname"><a href="#web(address)">#attribute(web_name)</a></div>
								<$ if page_.HasAttribute("web_name_slogan") then $>
									<div id="slogan">#attribute(web_name_slogan)</div>
								<$ end if $>
							</div>
						<$ end if $>
						<$ if page_.IsAttributeTrue("show_web_logo") then $>
							<div class="clearx"></div>
						<$ end if $>
					</div>
				<$ end if $>
				<div class="clearx"></div>
			</div>
			
			<$ if (header = true) then $>
				<zp:grid type="area">header
				<zp:param name="cols" value="1" />
				<zp:param name="rows" value="0" />
				<zp:param name="area-name" value="Header" />
				<zp:param name="orderposition" value="3" />
				<zp:param name="grid-template" value="Header" />
				<zp:param name="valid-articlestyle" value="*" />
				</zp:grid>
			<$ end if $>
			
			<zp:grid type="menu">mainmenu
			<zp:param name="cols" value="1" />
			<zp:param name="rows" value="0" />
			<zp:param name="grid-template" value="Hauptmenu" />
			<zp:param name="item-template-active" value="Hauptmenu aktiv" />
			<zp:param name="item-template-inactive" value="Hauptmenu" />
			<zp:param name="item-template-open" value="Hauptmenu aktiv" />
			<zp:param name="menu-level" value="1" />
			</zp:grid>					
			
			<$ if Context.Scope.CurrentPage.GetInheritedAttribute("show_breadcrumb").Value = "true" then $><div id="breadcrumb" #text(inline-editing-breadcrumb)>
				<zp:grid type="path">path
				<zp:param name="cols" value="1" />
				<zp:param name="rows" value="0" />
				<zp:param name="grid-template" value="Path Standard" />
				<zp:param name="item-template" value="Path Standard" />
				</zp:grid>
			</div><$ end if $>
			
			<div id="contentbox"<$ if (sidebar = false AND "#text(contentarea-width)" = "auto" ) then $> class="nosidebar"<$ end if $>>
			  <zp:grid type="menu">submenu
           <zp:param name="cols" value="1" />
           <zp:param name="rows" value="0" />
           <zp:param name="grid-template" value="Submenu1" />
           <zp:param name="item-template-active" value="Submenu1 aktiv" />
           <zp:param name="item-template-inactive" value="Submenu1" />
           <zp:param name="item-template-open" value="Submenu1 aktiv" />
           <zp:param name="menu-level" value="2" />
        </zp:grid>
			
			<div<$ if "#text(sidebar-position)" = "right" then $> id="floatcontentleft"<$ elseif "#text(sidebar-position)" = "left" then $> id="floatcontentright"<$ end if $>>
					<zp:grid type="area">content
					<zp:param name="cols" value="1" />
					<zp:param name="rows" value="0" />
					<zp:param name="area-name" value="Standard" /> 
					<zp:param name="orderposition" value="1" />
					<zp:param name="grid-template" value="Standard" /> 
					<zp:param name="valid-articlestyle" value="*" />
					</zp:grid><div class="clearx"></div>
				</div>
				<div<$ if ("#text(sidebar-position)" = "right") then $> id="sidebarright"<$ else $> id="sidebarleft"<$ end if $>>
				 
					<zp:grid type="area">news
					<zp:param name="cols" value="1" />
					<zp:param name="rows" value="0" />
					<zp:param name="area-name" value="News" /> 
					<zp:param name="orderposition" value="2" />
					<zp:param name="grid-template" value="News" /> 
					<zp:param name="valid-articlestyle" value="*" /> 
					</zp:grid>
					
				</div><div class="clearx"></div>
			</div>      
			<div id="footer">
				<$ if page_.IsAttributeTrue("show_extra_menu") then $>
					<div id="xmenu" #text(inline-editing-xmenu)>
						<$ if page_.HasAttribute("extramenu_1") then $>
							<a href="#attribute(extramenu_url_1)"<$ if page_.HasAttribute("extramenu_target_1") then $> target="#attribute(extramenu_target_1)"<$ end if $>>#attribute(extramenu_1)</a>
						<$ end if $>
						<$ if page_.HasAttribute("extramenu_2") then $>
							<a href="#attribute(extramenu_url_2)"<$ if page_.HasAttribute("extramenu_target_2") then $> target="#attribute(extramenu_target_2)"<$ end if $>>#attribute(extramenu_2)</a>
						<$ end if $>
						<$ if page_.HasAttribute("extramenu_3") then $>
							<a href="#attribute(extramenu_url_3)"<$ if page_.HasAttribute("extramenu_target_3") then $> target="#attribute(extramenu_target_3)"<$ end if $>>#attribute(extramenu_3)</a>
						<$ end if $>
					</div>
				<$ end if $>
				<$ if page_.IsAttributeTrue("show_copyright") or project_.ZpFooterLink then $>
					<div id="footerinfo" #text(inline-editing-copyright)>
						<$ if page_.IsAttributeTrue("show_copyright") then $>
							#attribute(copyright_notice). 
						<$ end if $>
						<$ if project_.ZpFooterLink then $>
							<$=project_.ZpFooterLinkHtml$>
						<$ end if $>
					</div>
				<$ end if $>
				<div style="clear:left"></div>
			</div>
			
			<$ if page_.HasArticleInArea("Footer") or (sc_.IsPreview AND page_.IsAttributeTrue("preview_show_empty_article_areas")) then $>
				<div id="afterfooter">
					<zp:grid type="area">footer
					<zp:param name="cols" value="1" />
					<zp:param name="rows" value="0" />
					<zp:param name="area-name" value="Footer" />
					<zp:param name="orderposition" value="5" />
					<zp:param name="grid-template" value="Standard" />
					<zp:param name="valid-articlestyle" value="*" />
					</zp:grid>
				</div>
			<$ end if $>
		</div>
	</div>	
	
	#attribute(footer_script)	
	
	<!--
	* Layout: Simple Responsive
	* $Id: default.html 26381 2014-04-29 08:52:33Z sseiz $
	* Copyright Zeta Software GmbH 2012
	-->
</body>
</html>
