<?php

// This information has been pulled out of index.php to make the template more readible.
//
// This data goes between the <head></head> tags of the template

?>

<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/images/favicon.ico" />
<?php if($mtype=="moomenu" or $mtype=="suckerfish") :?>
<link href="<?php echo $template_path; ?>/css/rokmoomenu.css" rel="stylesheet" type="text/css" />
<?php endif; ?>
<?php if($sifr=="true") :?>
<link href="<?php echo $template_path; ?>/css/sifr-screen.css" rel="stylesheet" type="text/css" />
<?php endif; ?>
<link href="<?php echo $template_path; ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<?php if($show_moduleslider=="true") :?>
<link href="<?php echo $template_path; ?>/css/rokslidestrip.css" rel="stylesheet" type="text/css" />
<?php endif; ?>
<link href="<?php echo $template_path; ?>/css/<?php echo $tstyle; ?>.css" rel="stylesheet" type="text/css" />
<link href="<?php echo $template_path; ?>/css/<?php echo $mstyle; ?>-<?php echo $tstyle; ?>.css" rel="stylesheet" type="text/css" />
<?php if($enable_rokzoom=="true") :?>
<link href="<?php echo $template_path; ?>/rokzoom/rokzoom.css" rel="stylesheet" type="text/css" />
<?php endif; ?>
<style type="text/css">
	div.wrapper { <?php echo $template_width; ?>padding:0;}
	/* clear fixes for pure css layout */
	<?php if (mosCountModules($sidebar) or ($subnav && $subnav->ismenu())) : ?>
    #maincol {float: <?php echo $sidebar_alt; ?>; margin-<?php echo $sidebar; ?>: -<?php echo $sidebar_width; ?>px; width: 100%;}
    #maincol-container {margin-<?php echo $sidebar; ?>:<?php echo $sidebar_width; ?>px;}
    #sidecol {float: <?php echo $sidebar; ?>; width: <?php echo $sidebar_width; ?>px;}
    <?php endif; ?>
</style>	
<?php if (rok_isIe7()) :?>
<!--[if IE 7]>
<link href="<?php echo $template_path; ?>/css/template_ie7.css" rel="stylesheet" type="text/css" />	
<![endif]-->	
<?php endif; ?>
<?php if (rok_isIe6()) :?>
<!--[if lte IE 6]>
<link href="<?php echo $template_path; ?>/css/template_ie6.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<?php if($enable_pngfix=="true") : ?>
img { behavior: url(<?php echo $template_path; ?>/css/iepngfix.htc); } 
<?php endif; ?>
</style>
<![endif]-->
<?php endif; ?>
<script type="text/javascript" src="<?php echo $template_path; ?>/js/mootools-release-1.11.js"></script>
<?php if($show_moduleslider=="true") :?>
<script type="text/javascript" src="<?php echo $template_path; ?>/js/rokslidestrip.js"></script>
<?php endif; ?>
<?php if($enable_rokzoom=="true") :?>
<script type="text/javascript" src="<?php echo $template_path; ?>/rokzoom/rokzoom.js"></script>
<?php endif; ?>
<?php if($sifr=="true") :?>
<script type="text/javascript" src="<?php echo $template_path; ?>/sifr/sifr.js"></script> 
<?php endif;?>
<?php if($sifr=="true" or $enable_fontspans=="true") :?>
<script type="text/javascript" src="<?php echo $template_path; ?>/js/rokfonts.js"></script>   
<script type="text/javascript">
	window.addEvent('load', function() {
		var modules = ['module','module-menu','module-color1','module-color2','module-color3','module-color4','module-style1','module-style1-color1','module-style1-color2','module-style1-color3','module-style1-color4','module-style2','module-style2-color1','module-style2-color2','module-style2-color3','module-style2-color4'];
		var header = "h3";
		<?php if($sifr=="true") : ?>
		RokStart(modules, header, "<?php echo $template_path; ?>/sifr/<?php echo $sifrfont; ?>.swf", {sifr: {sWmode: 'transparent'}});
	    <?php else : ?>
	    RokBuildSpans(modules, header);
        <?php endif; ?>
	});
</script>
<?php endif; ?>
<?php if($mtype=="moomenu") :?>
<script type="text/javascript" src="<?php echo $template_path; ?>/js/rokmoomenu.js"></script>
<script type="text/javascript" src="<?php echo $template_path; ?>/js/mootools.bgiframe.js"></script>
<script type="text/javascript">
window.addEvent('domready', function() {
	new Rokmoomenu($E('ul.menutop '), {
		bgiframe: false,
		delay: 500,
		animate: {
			props: ['opacity'],
			opts: {
				duration:600,
				fps: 100,
				transition: Fx.Transitions.Quad.easeOut
			}
		}
	});
});
</script>
<?php endif; ?>	
<?php if($mtype=="suckerfish" or $mtype=="splitmenu") :
	echo "<!--[if IE]>\n";		
  include_once( "$mosConfig_absolute_path/templates/" . $mainframe->getTemplate() . "/js/ie_suckerfish.js" );
  echo "<![endif]-->\n";
endif; ?>	
<?php if($enable_rokzoom=="true") :?>
<script type="text/javascript">
	window.addEvent('load', function() {
		RokZoom.init({
			imageDir: 'templates/<?php echo $mainframe->getTemplate(); ?>/rokzoom/images/',
			resizeFX: {
				duration: 700,
				transition: Fx.Transitions.Cubic.easeOut,
				wait: true
			},
			opacityFX: {
				duration: 500,
				wait: false	
			}
		});
	});
</script>
<?php endif; ?>