function cookie(x) {
var date = new Date(); date.setTime(date.getTime()+(365*24*60*60*1000));
if (x.length < 1) {x = date.getTime()}
var expires = "; expires="+date.toGMTString();
var cartid = "bbcartid="+x+"; "+expires+"; path=/";
document.cookie = cartid;
}

function clearCookie (cookie_name) {
document.cookie = "bbcartid=; expires=-1; path=/";
}

window.___gcfg = {lang: 'en-GB'};
(function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
