<ul class="secondNav"> 
	<?php /*?><?php foreach ($allCurriculumRecords as $categoryRecord): ?> 
		<?php if(!$categoryRecord['featureSelect']) : ?>  
           <?php echo $categoryRecord['_listItemStart'] ?>  
               <a href="<?php echo $categoryRecord['_link'] ?>"><?php echo $categoryRecord['name'] ?></a> 
           <?php echo $categoryRecord['_listItemEnd'] ?> 
        <?php endif ?>    
    <?php endforeach; ?><?php */?> 
    
    <?php foreach ($allCurriculumRecords as $categoryRecord): ?> 
		<?php if(!$categoryRecord['featureSelect']): ?> 
            <?php echo $categoryRecord['_listItemStart']; ?> 
                    <?php if($thisPage=="curriculum"): ?>
                        <span class="secondNavCurrentpage"><a href="<?php echo $categoryRecord['_link'] ?>"><?php echo $categoryRecord['name'] ?></a></span>
                        	<?php if($selectedCurriculumRecord['depth']==1): ?>
                            		<span class="depthOne"></span>  
                            <?php elseif($selectedCurriculumRecord['depth']==2): ?>
                            	<span class="depthTwo"></span> 
                            <?php elseif($selectedCurriculumRecord['depth']==3): ?>
                            	<span class="depthThree"></span>                             	
                            <?php endif ?> 
                    <?php else: ?> 
                        <a href="<?php echo $categoryRecord['_link'] ?>"><?php echo $categoryRecord['name'] ?></a>
                <?php endif ?>  
            <?php echo $categoryRecord['_listItemEnd'] ?> 
        <?php endif ?> 
    <?php endforeach; ?>
</ul>