<script type="text/javascript" src="../js/libs/underscore.min.js"></script>
<script type="text/javascript" src="../js/libs/jquery.js"></script>
<script type="text/javascript" src="../js/libs/jquery.touchr.js"></script>
<script type="text/javascript" src="../js/libs/jquery.sticky.js"></script>
<script type="text/javascript" src="../js/libs/jquery.easing.js"></script>
<script type="text/javascript" src="../js/libs/jquery.placeholder.js"></script>
	
<script type="text/javascript" src="../js/petzl/context.js"></script>
<script type="text/javascript" src="../js/petzl/layout.js"></script>

<script type="text/javascript">var addthis_config =  addthis_config||{}; addthis_config.data_track_addressbar = false;</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-52d53fd1234594b5"></script>

<script type="text/javascript"
      src="https://maps.googleapis.com/maps/api/js?sensor=true">
    </script>

<?php 
	if(isset($custom_script)){
		foreach ($custom_script as $script){
			echo '	<script type="text/javascript" src="../js/'.$script.'.js"></script>';
		}
	}
?>


<?php 
if(isset($scriptName)){
	echo '
		<script type="text/javascript" src="../js/petzl/controllers/'.$scriptName.'.js"></script>
		<!-- loading Home Controller -->
		<script type="text/javascript">
			$(document).ready(function(){
				new petzl.controllers.'.$scriptName.';
			});
		</script>
	';
}
?>
	

