<div id="sidebar">
	<div id="logo"><img src="<?php bloginfo('template_url');?>/images/logo.jpg" alt="logo" /></div>
    <div id="leftpic"><img src="<?php bloginfo('template_url');?>/images/leftpic.jpg" alt="leftpic" /></div>
    <div id="leftmenu">


<ul>
<?php 	/* Widgetized sidebar, if you have the plugin installed. */
		if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
<?php      if (is_page('4')) {?>
<li class="widget widget_text"><h2>WELCOME</h2><div class="textwidget">
<a href="/aphl/?page_id=127">CALENDAR OF EVENTS</a>
</div></li>

<? } 
if (is_page('5')) {?>
<li class="widget widget_text"><h2>INTRODUCTION</h2><div class="textwidget">

<a href="#background">BACKGROUND</a>
<a href="#laboratory">WHAT IS THE LABORATORY SYSTEM</a>
<a href="#mission">MISSION AND VISION OF L-SIP</a>
<a href="#participate">WHY PARTICIPATE IN L-SIP</a>
<a href="#other">WHAT OTHER STATES PARTICIPATE</a>
<br  />

<h4>GO TO:</h4>
<br />
<a href="/aphl/?page_id=127">CALENDAR OF EVENTS</a>
</div></li>

<? } 
if (is_page('6')) {?>
<li class="widget widget_text"><h2>ASSESSMENT BACKGROUND</h2><div class="textwidget">
<a href="#who">WHO IS INVITED</a>
<a href="#how">HOW TO PREPARE</a>
<a href="#what">WHAT TO EXPECT</a>
<br  />

<h4>GO TO:</h4>
<br />
<a href="/aphl/?page_id=135">ASSESSMENT REGISTRATION FORM</a>
<a href="/aphl/?page_id=127">CALENDAR OF EVENTS</a>
</div></li>

<? }
if (is_page('7')) {?>
<li class="widget widget_text"><h2>IMPROVING OUR SYSTEM</h2><div class="textwidget">
<a href="#improve">BACKGROUND ON IMPROVEMENTS</a>
<a href="#committees">IMPROVEMENT COMMITTEES</a>
<a href="#plans">IMPROVEMENT PLANS</a>
<br  />

<h4>GO TO:</h4>
<br />
<a href="/aphl/?page_id=127">CALENDAR OF EVENTS</a>
</div></li>

<? } 
if (is_page('9')) {?>
<li class="widget widget_text"><h2>RESULTS OF THE ASSESSMENT</h2><div class="textwidget">
<a href="#attendance"> ATTENDANCE</a>
<a href="#parking">PARKING LOT ISSUES</a>
<a href="#priorities">LEADING PRIORITIES</a>
<a href="#evaluation"> EVALUATION</a>

<br  />

<h4>GO TO:</h4>
<br />
<a href="/aphl/?page_id=135">ASSESSMENT REGISTRATION FORM</a>
<a href="/aphl/?page_id=127">CALENDAR OF EVENTS</a>
</div></li>
<? }
if (is_page('10')) {?>
<li class="widget widget_text"><h2>LINKAGES</h2><div class="textwidget">

<a href="#aphl"> APHL </a>
<a href="#center">APHL ON-LINE RESOURCE CENTER</a>
<a href="#prevent">THE CENTER FOR DISEASE CONTROL</a>
<a href="#point">TURNING POINT</a>
<a href="#found">PUBLIC HEALTH FOUNDATION</a>
<a href="#additional">ADDITIONAL LINKS</a>
<br  />

<h4>GO TO:</h4>
<br />
<a href="/aphl/?page_id=127">CALENDAR OF EVENTS</a>
</div></li>
<? }
if (is_page('12')) {?>
<li class="widget widget_text"><h2>RESOURCES</h2><div class="textwidget">
<a href="#assessmenttool">ASSESSMENT TOOL</a>
<a href="#userguide">USER GUIDE</a>
<a href="#glossary">GLOSSARY</a>
<a href="#ten"> TEN ESSENTIAL PUBLIC HEALTH SERVICES </a>
<a href="#eleven"> ELEVEN CORE FUNCTIONS AND CAPABILITIES OF STATE PUBLIC HEALTH LABORATORIES </a>
<a href="#faq"> FREQUENTLY ASKED QUESTIONS</a>
<br  />

<h4>GO TO:</h4>
<br />
<a href="/aphl/?page_id=127">CALENDAR OF EVENTS</a>
</div></li>

<? } 



if (is_page(array(146,153,155,157,159,163,165,167,169,171))) {?>
<li class="widget widget_text"><div class="textwidget">

<p><a href="/aphl/?page_id=146">Essential Services #1</a>
<a href="/aphl/?page_id=153">Essential Services #2</a>
<a href="/aphl/?page_id=155">Essential Services #3</a>
<a href="/aphl/?page_id=157">Essential Services #4</a>
<a href="/aphl/?page_id=159">Essential Services #5</a>
<a href="/aphl/?page_id=163">Essential Services #6</a>
<a href="/aphl/?page_id=165">Essential Services #7</a>
<a href="/aphl/?page_id=167">Essential Services #8</a>
<a href="/aphl/?page_id=169">Essential Services #9</a> <a href="/aphl/?page_id=171">Essential Services #10</a>
<a href="/aphl/?page_id=9">BACK TO RESULTS OF ASSESSMENT</a></p>
<br  />

<h4>GO TO:</h4>
<br />
<a href="/aphl/?page_id=127">CALENDAR OF EVENTS</a>
</div></li>
<? } ?>

<?php endif; ?>





<!--	<?php

	if ($post->post_parent)	{
		$ancestors=get_post_ancestors($post->ID);
		$root=count($ancestors)-1;
		$parent = $ancestors[$root];
	} else {
		$parent = $post->ID;
	}

		$children = wp_list_pages("title_li=&child_of=". $parent ."&echo=0");

	if ($children) { ?>
		<ul id="subnav">
	<?php echo $children; ?>
	</ul>
<?php } ?> -->
</ul>
</div><!--leftmenu-->
</div><!--sidebar-->

