  trackingurl = 'http://www.clubplayercasino.com/include/tracking.php';

  function gup(name)
  {
    name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
    var regexS = "[\\?&]"+name+"=([^&#]*)";
    var regex = new RegExp( regexS );
    var results = regex.exec( window.location.href );
    if( results == null )
      return "";
    else
      return results[1];
  }
  function displayafftracking(affid)
  {
    if (affid != '0')
    {
      str = '<iframe src="' + trackingurl + '?affid=' + affid + '" width="0" height="0" scrolling="no" frameborder="0"></iframe>';
      document.write(str);
    }
  }
  function displayafftrackingscr() {
    displayafftracking(gup('affid'));
  }


