<!-- 
  function purchaselink() {

  var cookies=document.cookie;
  var name="ss_reg_0001289080";
  var start = cookies.indexOf(name + "=");
  var start1;
  var end1;
  var tmp;
  var startgroup;
  var grouplong;
  var groupend;
  var group;
  var signed_in = -1;

  if (start != -1) {
    start = cookies.indexOf("=", start) +1;
    var end = cookies.indexOf("|", start);
    var groupend = cookies.indexOf("|", end+1);
    if (end != -1) {
      signed_in = cookies.indexOf("|yes", start);
      name = unescape(cookies.substring(start,end));
	  grouplong = unescape(cookies.substring(end+1,groupend));

//	  group = grouplong.substring(0, 8);
	  group = "gpx71910";
  if (group == "<none>") {
	  group = "gpx71910";
	}
    }
  }

//      var temp = new Array();
//      temp = name.split(' ');
	

  if (signed_in != -1) {
       document.write('<span class="noprint"><a href="' + group + '.html" class="cobblink"><img height="20" alt="Purchase Wine" hspace="0" width="141" border="0" src="http://cobbwines.com/images/buywine.gif" /></a></span>');		
//		var templength = temp.length;
//	    alert (group);
//		document.billing.Suffix.value = temp[templength-1];
//		document.billing.Suffix.readOnly = true;
        }
	  else {
      document.write('<span class="noprint"><a href="https://cobbwines.com/cgi-bin/sc/order.cgi?func=2&storeid=*1c368efac09b01d7a02547fbab46e0e4&html_reg=html" class="cobblink"><img height="20" alt="Purchase Wine" hspace="0" width="141" border="0" src="http://cobbwines.com/images/buywine.gif" /></a></span>');		
	        }


//    document.write('<a href="gpxgold.html">My Allocation</a>');
  }

  //-->
