function openpopup(popurl,w,h) {
    winpops = window.open(popurl,"","width="+w+",height="+h);
}

function getCookie(name) {
  var dc = document.cookie;
  var prefix = name + "=";
  var begin = dc.indexOf("; " + prefix);
  if (begin == -1) {
    begin = dc.indexOf(prefix);
    if (begin != 0) return null;
  } else
    begin += 2;
  var end = document.cookie.indexOf(";", begin);
  if (end == -1)
    end = dc.length;
  return unescape(dc.substring(begin + prefix.length, end));
}

google_ad_client = "ca-pub-4189285421520879";
/* Article */
google_ad_slot = "6118872899";
google_ad_width = 180;
google_ad_height = 150;

var objTwitter = {
  version: 2,
  type: 'search',
  search: 'glasgowwarriors',
  interval: 6000,
  title: 'Twitter',
  subject: 'Glasgow Warriors',
  width: 186,
  height: 300,
  theme: {
    shell: {
      background: '#33CCFF',
      color: '#ffffff'
    },
    tweets: {
      background: '#000000',
      color: '#DDDDDD',
      links: '#33CCFF'
    }
  },
  features: {
    scrollbar: false,
    loop: true,
    live: true,
    hashtags: true,
    timestamp: true,
    avatars: true,
    toptweets: true,
    behavior: 'default'
  }
};
