
// used to log conversions - legacy
function processConversion(domain, aid, lid, cv, uid, cid) {
  var conversion_protocol = "http";
  if (location.protocol == "https:") {
    conversion_protocol = "https";
  }
  document.write('\<\script language="javascript" src="'+conversion_protocol+'://'+domain+'/cgi-bin/conversion.pl?aid=' + aid + '&lid=' + lid + '&cv=' + cv + '&uid=' + uid + '&cid=' + cid + '"\>\<\/SCRIPT\>');
}

// used to log conversions
function processConversion1(domain, account, tracker) {
  var conversion_protocol = "http";
  if (location.protocol == "https:") {
    conversion_protocol = "https";
  }
  document.write('\<\script language="javascript" src="'+conversion_protocol+'://'+domain+'/cgi-bin/conversion.pl?aid=' + account + '&tid=' + tracker + '"\>\<\/SCRIPT\>');
}

// used to log conversions
function processConversion2(domain, account, tracker, unique, value, items, currency) {
  var conversion_protocol = "http";
  if (location.protocol == "https:") {
    conversion_protocol = "https";
  }
  document.write('\<\script language="javascript" src="'+conversion_protocol+'://'+domain+'/cgi-bin/conversion.pl?aid=' + account + '&tid=' + tracker + '&uid=' + unique + '&cv=' + value + '&it=' + items + '&cid=' + currency + '"\>\<\/SCRIPT\>');
}
