</div>
		<?php 
}
?>
		
		
		<?php 
if ($theFooter['content_bottom']) {
    ?>
		<div class="pageWrapper footerEnd">	
			<div class="inner-1">
				<div class="ugc clearfix">
					<?php 
    $id = $theFooter['content_bottom'];
    $id = !is_numeric($id) ? get_ID_by_slug($id, 'static_block') : $id;
    echo theme_get_page($id);
    ?>
				</div>				
			</div>		
			<div class="clear"></div>
		</div>
		<?php 
}
?>
	
	</div>
	
	<div id="FooterBgImage" class="footerBg" style="<?php 
the_bg_style("footer");
?>
;"></div>
 function show_header_content($id)
 {
     global $post;
     if (!$id) {
         // that's not good, we need an id to use
     } else {
         $content = explode(",", $id);
         switch ($content[0]) {
             case 'ss':
                 // slide show
                 display_slideShow($content[1]);
                 break;
             case 'static':
                 // static content
                 $id = $content[1];
                 $id = !is_numeric($id) ? get_ID_by_slug($id, 'static_block') : $id;
                 echo theme_get_page($id);
                 //display_headerGraphic($content[1]);
                 break;
             default:
                 // this shouldn't happen.
         }
     }
     return true;
 }