<?php $tplge_showHeaderImage = 'true';?>
<?php include_once($pth['folder']['template'] . 'templatefuncs/templatefuncs.php');?>
<!DOCTYPE html>

<html lang="<?php echo $sl;?>">
<head>
<?php echo head();?>

<script src="<?php echo $pth['folder']['template'];?>templatefuncs/scripts/smoothscroll.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1">

<?php 

if($adm && $cmsimple_debugMode) 
{
echo '
<style>
.tplge_pageNav {margin-top: 59px;}
</style>
';
}

if($adm && !$cmsimple_debugMode) 
{
echo '
<style>
.tplge_pageNav {margin-top: 35px;}
</style>
';
}

if($edit)
{
echo '
<style>
.tplge_websiteContainer {padding-top: 40px;}
.cmsimple_editmodeLocator {background: #c0c6c9; padding: 5px 10px;}
</style>
';
}

?>

</head>





<body class="body" <?php echo onload();?>>
<!-- utf-8 check: äöüß -->
<div id="top"><div id="TOP"></div></div>

<!-- WEBSITE CONTAINER -->

<div class="tplge_websiteContainer">





<!-- FIXED NAVIGATION -->

<nav class="tplge_pageNav">

<a href="./" title="<?php echo $tx['locator']['home'];?>"><img src="<?php echo $pth['folder']['templateimages']; ?>homelink.gif" class="tplge_homelinkButton" style="margin-left: 6px;" alt="<?php echo $tx['locator']['home'];?>"></a>
<a href="./?sitemap" title="<?php echo $tx['menu']['sitemap'];?>"><img src="<?php echo $pth['folder']['templateimages']; ?>sitemaplink.gif" class="tplge_sitemaplinkButton" alt="<?php echo $tx['menu']['sitemap'];?>"></a>

<!-- scroll buttons -->
<script>
document.write ("<img src=\"<?php echo $pth['folder']['templateimages']; ?>menulink.gif\" class=\"tplge_menulinkButton\" style=\"margin-right: 9px;\" title=\"<?php echo $tx['menu']['main_menu'];?>\" alt=\"<?php echo $tx['menu']['main_menu'];?>\" onclick=\"document.getElementById('tplge_olMenu').style.display='block'; document.getElementById('tplge_olBG').style.display='block'; document.getElementById('tplge_olMenuClose').style.display='block';\">");
</script>
<noscript><a href="#tplge_menuAnchor" title="<?php echo $tx['menu']['main_menu'];?>"><img src="<?php echo $pth['folder']['templateimages']; ?>menulink.gif" class="tplge_menulinkButton" alt="<?php echo $tx['menu']['main_menu'];?>"></a></noscript>

<script>
document.write ("<img src=\"<?php echo $pth['folder']['templateimages']; ?>searchlink.png\" class=\"tplge_searchlinkButton\" alt=\"\" title=\"<?php echo $tx['title']['search'];?>\" onclick=\"document.getElementById('tplge_olSearch').style.display='block'; document.getElementById('tplge_olBG').style.display='block'; document.getElementById('tplge_olSearchClose').style.display='block'\">");
</script>
<noscript><a href="#tplge_menuAnchor" title="<?php echo $tx['title']['search'];?>"><img src="<?php echo $pth['folder']['templateimages']; ?>searchlink.png" class="tplge_searchlinkButton" alt="<?php echo $tx['title']['search'];?>"></a></noscript>

<a href="#tplge_newsAnchor" title="<?php echo $tx['menu']['news_area'];?>"><img src="<?php echo $pth['folder']['templateimages']; ?>newslink.gif" class="tplge_newslinkButton" alt="<?php echo $tx['menu']['news_area'];?>"></a>
<a href="#top" title="<?php echo $tx['menu']['top'];?>"><img src="<?php echo $pth['folder']['templateimages']; ?>toplink.gif" class="tplge_toplinkButton" alt="<?php echo $tx['menu']['top'];?>"></a>

</nav>





<!-- HEADER -->

<?php 
if(!$edit) 
{
	echo '<header>
<!-- <img src="' . $pth['folder']['templateimages'] . 'gewd.gif"> -->
<div class="tplge_sitename">' . sitename() . '</div>
<!-- <div class="tplge_headerStars">* * * * * * *</div> -->
<!-- <div class="tplge_headerStars"><a href="./"><img src="' .$pth['folder']['templateimages'] . 'gewd.gif" class="tplge_headerLogo" alt=""></a></div> -->
</header>

<nav class="tplge_locator">
<span class="tplge_locatortext">' . $tx['locator']['text'] . '</span>' . locator('<span class="tplge_locatorDelimiter">«</span>') . '
</nav>
';
}
?>

<div style="clear: both;"></div>

<!-- END HEADER -->





<!-- CONTENTS CONTAINER -->

<div class="tplge_contentsContainer">





<!-- CONTENT -->

	<div class="tplge_content">
	<main class="tplge_contentIn">

<article>

<?php echo content(); ?>

</article>

<?php echo tf_submenu();?>
<?php echo tf_siblingsmenu();?>

<nav class="tplge_prevtopnext">
<?php 
echo previouspage('prev.gif') . "\n";
echo top('top.gif') . "\n";
echo nextpage('next.gif') . "\n";
?>
</nav>

	</main>
	</div>

<!-- END CONTENT --> 





<!-- SIDEBAR NAV-->

	<div class="tplge_sidebarNav">
	<div class="tplge_sidebarNavIn">

<!-- menu anchor -->
		<div id="tplge_menuAnchor" class="tplge_menuAnchor"></div>

		<div class="tplge_menuArea">

<!-- language menu -->
<?php if(tf_languagemenu() != '') echo tf_languagemenu(); ?>

<!-- searchbox -->
<?php echo tf_searchbox();?>

<!-- toc -->
			<nav class="tplge_toc">
<?php echo toc();?>
			</nav>

			<nav class="tplge_icons">
<?php 
echo tf_homelink('homelink.gif') . "\n";
echo tf_printlink('printlink.gif') . "\n";
echo tf_mailformlink('mailformlink.gif') . "\n";
echo tf_sitemaplink('sitemaplink.gif') . "\n";
?>
<div style="clear: both;"></div>
			</nav>

		</div>


<!-- NEWS AREA -->

	<aside class="tplge_newsArea">
	<div class="tplge_newsAreaIn">

<!-- news anchor -->
<div id="tplge_newsAnchor" class="tplge_newsAnchor"></div>

<div class="tplge_newsBox">
<div class="tplge_newsBoxIn tplge_newsBox1">
<?php echo newsbox('News01'); ?>
</div>
</div>

<div style="clear: both;"></div>

	</div>
	</aside>

<!-- END NEWS AREA -->


	</div>
	</div>

<!-- END SIDEBAR NAV -->





</div>

<!-- END CONTENTS CONTAINER -->





<!-- FOOTER -->

<footer class="tplge_footer">

<p>
<span>
Powered by <a href="http://www.cmsimple.org/">CMSimple</a> | 
Template: <a href="http://www.ge-webdesign.de/">ge-webdesign.de</a> | 
<?php echo loginlink();?>
</span>
</p>
<div style="clear: both;"></div>

</footer>

<!-- END FOOTER -->





<!-- OVERLAYS -->

<!-- background -->
<div id="tplge_olBG" class="tplge_olBG" onclick="document.getElementById('tplge_olMenu').style.display='none'; document.getElementById('tplge_olSearch').style.display='none'; document.getElementById('tplge_olBG').style.display='none'; document.getElementById('tplge_olMenuClose').style.display='none'; document.getElementById('tplge_olSearchClose').style.display='none'"></div>

<!-- Menu -->
<div id="tplge_olMenu" class="tplge_olMenu">
<div class="tplge_olMenuIn">

<!-- toc -->
	<div class="tplge_olMenuToc">
<?php echo toc();?>
	</div>
</div>
</div>

<button id="tplge_olMenuClose" class="tplge_olMenuClose" onclick="document.getElementById('tplge_olMenu').style.display='none'; document.getElementById('tplge_olBG').style.display='none'; document.getElementById('tplge_olMenuClose').style.display='none'">X</button>


<!-- search -->
<div id="tplge_olSearch" class="tplge_olSearch">
<div class="tplge_olSearchIn">

<!-- searchbox -->
	<div class="tplge_olSearchbox">
<?php echo tf_searchbox();?> 
	</div>
</div>
</div>

<button id="tplge_olSearchClose" class="tplge_olSearchClose" onclick="document.getElementById('tplge_olSearch').style.display='none'; document.getElementById('tplge_olBG').style.display='none'; document.getElementById('tplge_olSearchClose').style.display='none'">X</button>

<!-- END OVERLAYS -->





</div>

<!-- END WEBSITE CONTAINER -->





<!-- scroll to top button -->

<?php echo '<div id="tplge_scrolltoTopButton" class="tplge_scrolltoTopButton"><a href="#top"><img src="' . $pth['folder']['templateimages'] . 'scrolltotop.gif" class="tplge_scrolltoTopButton" title="top" alt="nach oben"></a></div>'; ?>

<script>
window.onscroll = function() {
    tplge_scrolltoTopButton.style.opacity = ((window.pageYOffset || document.documentElement.scrollTop) > 120) ? '1' : '0';
};
tplge_scrolltoTopButton.style.opacity = '0';
tplge_scrolltoTopButton.style.transition = 'opacity 1s';
</script>

</body>
</html>