	{if $systemurl}<base href="{$systemurl}" />{/if} {* Used if SEO friendly URLs are turned on *}
	
	<meta http-equiv="content-type" content="text/html; charset={$charset}" />

	<script src="templates/{$template}/javascript/jquery.js"></script>
	<link type="text/css" rel="stylesheet" href="templates/{$template}/css/template.css" />
	<!--[if IE 6]><link rel="stylesheet" type="text/css" href="templates/{$template}/css/ie6.css" /><![endif]-->
	<!--[if IE 7]><link rel="stylesheet" type="text/css" href="templates/{$template}/css/ie7.css" /><![endif]-->	
	
	{* Responsive code - Remove this section if you don't want to support the responsive features *}
	<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" /> 
	<link type="text/css" rel="stylesheet" href="templates/{$template}/css/responsive.css" />
	<script src="templates/{$template}/javascript/responsive.js"></script>
	{* /end Responsive code *}
	
	{* Slideshow code *}
	{if $feature_slideshow eq 'on'}
	{if $filename eq "index" && !isset($smarty.get.m)}
	<script src="templates/{$template}/javascript/slider.js"></script>
	{literal}
	<script type="text/javascript">
    	$(window).load(function() {
			$('#slider').nivoSlider({
			effect: 'fade',
			pauseTime: 8000
			});
    	});
    </script>
    {/literal}
    {/if}
    {/if}
	{* /end Slideshow code *}
	
	<script src="templates/{$template}/javascript/orbit.js"></script>
	
	<!--[if lt IE 9]>
	<script src="templates/{$template}/javascript/html5shiv.js"></script>
	<![endif]-->
	
	<link rel="shortcut icon" href="{$feature_favicon_url}" />
	
	{if $feature_slideshow_navigation eq 'off'}{literal}<style type="text/css"><!--.theme-default .nivo-controlNav { display: none; }--></style>{/literal}{/if}
	
	{if $livehelpjs}{$livehelpjs}{/if}
	
	{* The code below is functions required for the hosting page (loads a different CSS file depending on plan amount) - no need to edit this code *}
	
	{if $filename eq $custom1_url}
	<link rel="stylesheet" type="text/css" href="templates/{$template}/css/custom1.css" />
	{/if}
	
	{if $filename eq $custom2_url}
	<link rel="stylesheet" type="text/css" href="templates/{$template}/css/custom2.css" />
	{/if}
	
	{if $filename eq $custom3_url}
	<link rel="stylesheet" type="text/css" href="templates/{$template}/css/custom3.css" />
	{/if}
	
	{if $filename eq $custom4_url}
	<link rel="stylesheet" type="text/css" href="templates/{$template}/css/custom4.css" />
	{/if}
	
	{if $filename eq $custom5_url}
	<link rel="stylesheet" type="text/css" href="templates/{$template}/css/custom5.css" />
	{/if}
	
	{if $filename eq $custom6_url}
	<link rel="stylesheet" type="text/css" href="templates/{$template}/css/custom6.css" />
	{/if}		
	
	{if $filename eq $custom7_url}
	<link rel="stylesheet" type="text/css" href="templates/{$template}/css/custom7.css" />
	{/if}
	
	{if $filename eq $custom8_url}
	<link rel="stylesheet" type="text/css" href="templates/{$template}/css/custom8.css" />
	{/if}
	
	{if $filename eq $custom9_url}
	<link rel="stylesheet" type="text/css" href="templates/{$template}/css/custom9.css" />
	{/if}
	
	{if $filename eq $custom10_url}
	<link rel="stylesheet" type="text/css" href="templates/{$template}/css/custom10.css" />
	{/if}	
	
	{if $filename eq "index" && !isset($smarty.get.m)}
	<link rel="stylesheet" type="text/css" href="templates/{$template}/css/homepage.css" />
	{/if}		
	
{* The below section loads some icons (navigation new icon, pricing table popular icon etc) allowing them to support multiple languages *}	
	
<style type="text/css">
<!--
{literal}.pricingtable .popular,
		.featureboxes .popular {{/literal}
		background: url(templates/{$template}/images/{$LANG.ribbonicon}) left top no-repeat;
{literal}}{/literal}
{literal}nav span.newbutton {{/literal}
	background: url(templates/{$template}/images/{$LANG.menu_icon}) left top no-repeat;
{literal}}{/literal}
{literal}header .livechat {{/literal}
	background: url(templates/{$template}/images/{$LANG.header_chatbutton}) left top no-repeat;
{literal}}{/literal}
{literal}.socialbar .left {{/literal}
	background: url(templates/{$template}/images/{$LANG.socialbar_arrow}) right top no-repeat;
{literal}}{/literal}
-->
</style>

{* /end icons *}	
	
{* RTL language *}
{if $LANG.textdirection eq "rtl"}<link rel="stylesheet" type="text/css" href="templates/{$template}/css/rtl.css" />{/if}
{* /end RTL language *}	
	
<meta name="author" content="Jack Curtis, http://www.zomex.com/templates/whmcs/" />	

{$headoutput}