How to add new script to <head> section

Hi, im looking to add additional scripts to my cs-cart section.

Heres the scripts id like to add



if i add the scripts to my index.tpl in [skin_name]/customer/index.tpl i get the following smarty error “Fatal error: Smarty error: [in index.tpl line 18]: syntax error: unrecognized tag: $(‘#tabs’).tabify(); (Smarty_Compiler.class.php, line 445) in /home/tigeris/public_html/lib/templater/Smarty.class.php on line 1095” and if i add the scripts to the meta.tpl nothing at all changes, the scripts dont load nor are they listed. Im really lost with this, just cant figure it out :confused: Ive also tried adding them to the scripts.tpl file in common_templates but to no avail. Any help is apprecaited on this im just as lost as can be, never guessed adding a few scripts to cs-cart would be this difficult !

If its any help heres my edited index.tpl (the head section)


{* $Id: index.tpl 7454 2009-05-14 08:42:13Z angel $ *}


{if $page_title}
{foreach from=$breadcrumbs item=i name="bkt"}
{if !$smarty.foreach.bkt.first}{$i.title}{if !$smarty.foreach.bkt.last} :: {/if}{/if}
{if !$skip_page_title}{if $breadcrumbs|count > 1} - {/if}{$lang.page_title_text}{/if}


{include file="meta.tpl"}

{include file="common_templates/styles.tpl" include_dropdown=true}
{include file="common_templates/scripts.tpl"}


Also, im on the latest version of cs-cart.

I was also frustrated in this until I found the solution somewhere in the forum. Try wrapping your javascript in {literal}