function get_theme_var($option, $default = '')
 {
     return theme_var($option, 'return', $default);
 }
wp_footer();
?>
<script src="<?php 
echo $jsPath;
?>
onLoad.js"></script><?php 
// Functions to call after page load
?>

<?php 
// Google analytics (asynchronous method from http://mathiasbynens.be/notes/async-analytics-snippet)
if (get_theme_var('options,google_analytics')) {
    ?>
	<script type="text/javascript">
	var _gaq = [['_setAccount', '<?php 
    theme_var('options,google_analytics');
    ?>
'], ['_trackPageview']];
	(function(d, t) {
	var g = d.createElement(t),
		s = d.getElementsByTagName(t)[0];
	g.async = true;
	g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	s.parentNode.insertBefore(g, s);
	})(document, 'script');
	</script>
<?php 
}
?>

<?php 
?>
<link rel="shortcut icon" href="<?php 
theme_var('options,favorites_icon', 'http://para.llel.us/favicon.ico');
?>
">
<link rel="apple-touch-icon-precomposed" href="<?php 
theme_var('options,apple_touch_icon', 'http://para.llel.us/apple-touch-icon.png');
?>
">

<?php 
// JS variables needed to trigger theme functionality
?>
<script type="text/javascript"> 
    var toolTips = '<?php 
theme_var('options,tool_tips', 'none');
?>
'; 
    <?php 
// Main Navigation - submenu drop-down/up
$navDirection = get_theme_var('design_setting,nav_direction', 'up');
// Default setting
if ($theHeader['nav_direction']) {
    $navDirection = $theHeader['nav_direction'] == 'default' ? $theHeader['nav_direction'] : $navDirection;
    // get_theme_var('design_setting,nav_direction', 'up');
}
$navUp = $navDirection != 'down' ? 'true' : 'false';
$navUp = apply_filters("navDirection", $navUp);
echo 'var nav_opens_up = ' . $navUp . ';' . PHP_EOL;
// Google Web Fonts
$is_google = false;