{embed="includes/document_head" entry_title="{exp:channel:entries channel="pages" limit="1"}{title}{/exp:channel:entries}"}

{embed="includes/webmaster"}

<body>
<div id="wrapper">
	
	{embed="includes/header"}
	
	<div id="section-title" {exp:channel:entries channel="pages" status="open|closed|Hidden|Featured"}
	{reverse_related_entries channel="header_image"}
		style="background-image: url('{header_image}');"
	{/reverse_related_entries}
	{/exp:channel:entries}>
		{if segment_2!='' AND segment_3==''}<h2>{exp:structure:parent_title}</h2>
		{if:elseif segment_3!=''}<h2>{exp:structure:top_level_title}</h2>
		{if:else}<h2>{exp:structure:top_level_title}</h2>{/if}
	</div>

<div id="page">    
 	<div id="side">
          <div class="inner">
			<div id="subnav">
				<h2>{if segment_2!='' AND segment_3==''}<a href="{site_url}{segment_1}">{exp:structure:parent_title}</a>{if:elseif segment_3!=''}<a href="{site_url}{segment_1}">{exp:structure:top_level_title}</a>{if:else}<a href="{segment_2}">{exp:structure:top_level_title}</a>{/if}</h2>
				
			{exp:structure:nav_sub start_from="/{segment_1}" {if segment_2 !=''}limit_depth="2"{if:else}limit_depth="1"{/if} current_class="active"}

			</div>
               
			<div class="sidebar-box">
            {exp:channel:entries channel="pages"}
             {reverse_related_entries channel="sidebar_ads"}
             <a href="{sidebar_link}"{if target} target="_blank"{/if}><img src="{sidebar_graphic}" alt="{title}" /></a>
             {/reverse_related_entries}
             {/exp:channel:entries}
			
			<a href="/donate"><img src="/img/btn-donate.jpg" alt="" class="noborder" /></a>
			<a href="/students/register"><img src="/img/ad-register.jpg" alt="" class="noborder" /></a>
			<div id="enews-signup">
				<h4>Enewsletter Signup</h4>
				<form name="ccoptin" action="http://visitor.r20.constantcontact.com/d.jsp" target="_blank" method="post">
					<input type="text" name="ea" class="textfield" onfocus="this.value=''" value="Your Email" />
					<input type="submit" name="go" value="go" class="gobutton" />
					<input type="hidden" name="llr" value="skjx7fdab">
					<input type="hidden" name="m" value="1102930748754">
					<input type="hidden" name="p" value="oi">
				</form>
			</div>
			<a href="http://www.facebook.com/search.php?q=au%20sable%20environmental&init=quick&tas=0.16875965122363845&ref=ts#!/pages/Au-Sable-Institute-of-Environmental-Studies/45780179394" target="_blank"><img src="/img/ad-facebook.jpg" alt="" class="noborder" /></a>
			
			</div><!--/sidebar-box-->
			
			

          </div>
     </div>
     <div id="content">
          <div class="inner">
	{exp:channel:entries channel="pages" limit="1" status="open|Featured|Hidden"}
	
		{pages_copy}
		
	{/exp:channel:entries}

		
		{if segment_2 =='staff' AND segment_3==''}{embed="listing/staff"}{/if}
		{if segment_2 =='au_sable_professional_network' AND segment_3==''}{embed="listing/mentors"}{/if}
		{if segment_1 =='alumni_and_grad_fellows' AND segment_2 == 'job_postings'}{embed="listing/jobs"}{/if}
		{if segment_2 =='board' AND segment_3==''}{embed="listing/board"}{/if}
		{if segment_2 =='faculty_and_fellows' AND segment_3==''}{embed="listing/faculty"}{/if}
		{if segment_2 =='photo_gallery'}{embed="listing/gallery-list"}{/if}
		{if segment_1 =='about' AND segment_2 =='faq'}{embed="listing/faq-listing"}{/if}
		{if segment_1 =='toggle'}{embed="listing/toggler"}{/if}
		{if segment_1=='people'}{embed="listing/people"}{/if}
		
		{embed="includes/forms"}

          </div>
     </div>
<div class="clear"></div>
</div>
     {embed="includes/footer"}
</div>
{embed="includes/analytics"}
</body>
</html>