function cookit(country, lang) {
  var domain = ".stampinup.com"
  var today = new Date();
  today.setTime( today.getTime());
  var expires = 300;
  expires = expires * 1000 * 60 * 60 * 24;
  var expires_date = new Date (today.getTime() + (expires));
  
  document.cookie = ((country) ? "country=" + escape(country) : "") +
      ((expires_date) ? "; expires=" + expires_date.toGMTString() : "") +
      ((domain) ? "; domain=" + domain : "") + 
      "; path=/";
  document.cookie = ((lang) ? "lang=" + escape(lang) : "") +
      ((expires_date) ? "; expires=" + expires_date.toGMTString() : "") +
	  ((domain) ? "; domain=" + domain : "") + 
      "; path=/";
}
