// global variables to form MY addresses
var at1 = "@";
var dot = ".";
var frt = "%40";
var typ = "com";
var id1 = "bin";    // real id1
var id2 = "ki";    // real id2
var url = "naturalhairdye";       // real URL
var fid1 = "scott";      // fake id1
var fid2 = "hair471"    // fake id2
var furl = "yahoo";    // fake URL

function FixBusi (obj1) {  // PayPal FORM business value
var tmp;
  if (obj1.business) {     // see what is in this form 
    tmp = obj1.business.value;
    obj1.business.value = id1 + id2 + at1 + url + dot + typ;
  }
  return true;             // make it work...
}

function FixLink (obj1) {  // fix any PayPal link in calling FORM
var tmp,org,ary=new Array();
  if (obj1.cancel_return) {  // start checking those links
    org = obj1.cancel_return.value;
    tmp = org;  // place holder
    ary = tmp.split (furl);  // do we have a fake
    if (ary.length > 1) {    // still a fake
      tmp = ary.join ("members." + url);
      obj1.cancel_return.value = tmp;
    }
    org = tmp;  // any more stuff to fix?
    ary = tmp.split (fid1 + fid2);  // have a fake ID here?
    if (ary.length > 1) {    // still a fake
      tmp = ary.join (id1 + id2);
      obj1.cancel_return.value = tmp;
    }
  }
}

function FixMail (obj1) {  // fix a hyperlink mail addr
var tmp;
  tmp = obj1.href;
  obj1.href = "mailto:" + id1 + id2 + at1 + url + dot + typ;
  return true;             // make it work...
}
function FixVeri (obj1) {  // fix a hyperlink to verify
var tmp;
  tmp = obj1.href;
  obj1.href = "https://www.paypal.com/us/verified/pal=" + id1 + id2 + frt + url + dot + typ;
  return true;             // make it work...
}