/* idTabs ~ Sean Catchpole - Version 1.0 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(7($){$.F.q=7(){4 s={"b":B,"3":L,"5":B};o(4 i=0;i<t.8;++i){4 n={},a=t[i];M(m a){f"I":$.w(n,a);l;f"v":f"u":n.b=a;l;f"C":n["3"]=a;l;f"7":n.5=a;l};$.w(s,n)}4 j=2;4 e=$("a[@d^=\'#\']",2).5(7(){9($("a.h",j)[0]==2)3 s["3"];4 r="#"+2.d.A(\'#\')[1];4 g=[];4 c=[];$("a",j).z(7(){9(2.d.K(/#/)){g[g.8]=2;c[c.8]="#"+2.d.A(\'#\')[1]}});9(s.5&&!s.5(r,c,j))3 s["3"];o(i y g)$(g[i]).x("h");o(i y c)$(c[i]).J();$(2).H("h");$(r).G();3 s["3"]});4 6;9(m s.b=="v"&&(6=e.k(":E("+s.b+")")).8)6.5();p 9(m s.b=="u"&&(6=e.k("[@d=\'#"+s.b+"\']")).8)6.5();p 9((6=e.k(".h")).8)6.x("h").5();p e.k(":D").5();3 2};$(7(){$(".q").z(7(){$(2).q()})})})(N)',50,50,'||this|return|var|click|test|function|length|if||start|idList|href|list|case|aList|selected||self|filter|break|typeof||for|else|idTabs|id||arguments|string|number|extend|removeClass|in|each|split|null|boolean|first|eq|fn|show|addClass|object|hide|match|false|switch|jQuery'.split('|'),0,{}));

jQuery.cookie = function(name, value, options) {
    if (typeof value != 'undefined') { // name and value given, set cookie
        options = options || {};
        if (value === null) {
            value = '';
            options.expires = -1;
        }
        var expires = '';
        if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
            var date;
            if (typeof options.expires == 'number') {
                date = new Date();
                date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
            } else {
                date = options.expires;
            }
            expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE
        }
        var path = options.path ? '; path=' + options.path : '';
        var domain = options.domain ? '; domain=' + options.domain : '';
        var secure = options.secure ? '; secure' : '';
        document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
    } else { // only name given, get cookie
        var cookieValue = null;
        if (document.cookie && document.cookie != '') {
            var cookies = document.cookie.split(';');
            for (var i = 0; i < cookies.length; i++) {
                var cookie = jQuery.trim(cookies[i]);
                // Does this cookie string begin with the name we want?
                if (cookie.substring(0, name.length + 1) == (name + '=')) {
                    cookieValue = decodeURIComponent(cookie.substring(name.length + 1));
                    break;
                }
            }
        }
        return cookieValue;
    }
};
var cart_string = '';
function addToCart(item_no) {
	if (!cart_string || typeof cart_string == 'undefined') {
		cart_string = item_no;
	} else {
		cart_string = cart_string + '-' + item_no;
	}
	$.cookie('cGcart', cart_string, {expires: 7});
	alert('Added to cart!');return false;
}