function ultimatum_layout_footer_content(){
	global $ultimatumlayout;
	global $theme_grid;
	global $ultimateresponsive;
	
	if(strlen($ultimatumlayout->after)>=1) $after = explode(',',$ultimatumlayout->after);
	if(isset($after) && count($after)>=1){
		do_action('ultimatum_before_footwrapper_open');
		echo '<footer class="footwrapper">'."\n";
		do_action('ultimatum_after_footwrapper_open');
		foreach($after as $al){
			callLayout($ultimatumlayout->id,$al,$theme_grid,$ultimateresponsive,$ultimatumlayout->gridwork);
		}
		do_action('ultimatum_before_footwrapper_close');
		echo '</footer>'."\n";
		do_action('ultimatum_after_footwrapper_close');
	}

}
    echo '</div>';
    do_action('ultimatum_after_headwrapper_close');
}
do_action('ultimatum_before_bodywrapper_open');
echo '<div class="bodywrapper">';
do_action('ultimatum_after_bodywrapper_open');
callLayout($layout["id"], $ultimateresponsive);
do_action('ultimatum_before_bodywrapper_close');
echo '</div>';
do_action('ultimatum_after_bodywrapper_close');
if (is_array($after) && count($after) >= 1) {
    do_action('ultimatum_before_footwrapper_open');
    echo '<div class="footwrapper">';
    do_action('ultimatum_after_footwrapper_open');
    foreach ($after as $al) {
        callLayout($al, $ultimateresponsive);
    }
    do_action('ultimatum_before_footwrapper_close');
    echo '</div>';
    do_action('ultimatum_after_footwrapper_close');
}
echo "\n";
echo "<!-- Footer -->";
wp_footer();
if (get_theme_option('general', 'footer_scripts')) {
    echo stripslashes(get_theme_option('general', 'footer_scripts'));
}
?>

<?php 
if (isset($mobileapp)) {