You have to put your script call inside of these tags {literal} {/literal}
{literal}
<script type="text/javascript" src="js/jquery.js"></script><script type="text/javascript">$(document).ready(function () {$('#tabs').tabify();});(function($){$.fn.extend({tabify:function(){function getHref(a){hash=$(a).find('a').attr('href');if(hash)return hash.substring(0,hash.length-4);else return false}function setActive(a){$(a).addClass('active');if(getHref(a))$(getHref(a)).show();else return false;$(a).siblings('li').each(function(){$(this).removeClass('active');$(getHref(this)).hide()})}return this.each(function(){var a=this;$(this).find('li a').each(function(){$(this).attr('href',$(this).attr('href')+'-tab')});function handleHash(){if(location.hash)setActive($(a).find('a[href=+location.hash+]').parent())}if(location.hash)handleHash();setInterval(handleHash,100);$(this).find('li').each(function(){if($(this).hasClass('active'))$(getHref(this)).show();else $(getHref(this)).hide()})})}})})(jQuery);</script>
{/literal}
I am positive this works. Be prepared for your popup larger images to no longer work as this is what happened to me. There must be a conflict between cs cart's lightbox javascript and the new javascript I place in my index.tpl
Check out my work at my temporary URL http://ecbiz60.inmotionhosting.com/~billyb7/index.php
We are currently using this website www.billybobproducts.com