/*
C-note$ -- Hundred-dollar auctions of noteworthy Carpenters items
(featured message in KC RAM, newsletter of the Karen Carpenter Remembrance Page)
*/

// month covered:
var cnmonth = "August";

// intro/summary: -- if not blank, include <br><br> at end
var cnintro = "The most genuinely rare item auctioned last month was \"Humane Society PSA Single\" (8/17/03). Pictures of it are also <a href=\"http://bb.bbboy.net/karencarpenter-viewthread?forum=1&thread=38\">posted</a> in the forum. Who knew this existed (besides the former owner)?<br><br>Other items include some of the usual suspects. <i>More Offerings</i> made at least two appearances. <i>Live In Connecticut</i> at least one. Among the most unusual offerings were an original fan club t-shirt and a promotional shopping bag. Several autographed LPs passed the century mark as well.<br><br>";


// table listing:

// date
// auction site
// number/ID
// item
// quoted description
// # bidders
// sold for
// remarks

var cni = new Array();
var cnj = -1;

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/5/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3339945750";
cni[cnj][++cnk] = "T-Shirt";
cni[cnj][++cnk] = "from the early 1970's. It's from the original fan club in Downey, California. The T-Shirt is navy blue with the Carpenters' logo and silhouette. The size on the label says medium....It measures approximately 15\" across.";
cni[cnj][++cnk] = "12";
cni[cnj][++cnk] = "US $202.50";
cni[cnj][++cnk] = "worn only once..during an outdoors C's concert...in mid July --j/k";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/5/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "2548632057";
cni[cnj][++cnk] = "Radio Special Tape";
cni[cnj][++cnk] = "A&M Records cassette of the 1989 radio special \"Then, Now And Always - The Carpenters Story.\" The special features interviews with Richard Carpenter and Phil Ramone. Songs included in the special: We’ve Only Just Begun / For All We Know / Lovelines / Looking For Love (a portion this 1966 Karen Carpenter single released on Magic Lamp Records is played) / Rainy Days And Mondays / Little Girl Blue / Goodbye To Love / Where Do I Go From Here? / Remember When Lovin’ Took All Night / Hurting Each Other / Strangers In The Night (unreleased Richard Carpenter Trio track that was recorded for RCA Records - a portion of it is played) / If We Try / Yesterday Once More / When I Fall In Love / Sing / If I Had You / Top Of The World / Close To You.";
cni[cnj][++cnk] = "8";
cni[cnj][++cnk] = "US $102.50";
cni[cnj][++cnk] = "yet the CD-bootleg of this usually sells for around the same price";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/10/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3341119026";
cni[cnj][++cnk] = "autographed <i>Close To You</i> LP";
cni[cnj][++cnk] = "A former \"Rocker\" is selling off his huge collection of Autographed Memorabilia....";
cni[cnj][++cnk] = "1";
cni[cnj][++cnk] = "US $150.00";
cni[cnj][++cnk] = "but isn't it \"once a Rocker, always a Rocker!\"?";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/14/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "2550339206";
cni[cnj][++cnk] = "<i>Offering</i> LP";
cni[cnj][++cnk] = "(A&M SP 4205) WLP....first Carpenters LP....Promo Sticker on back.";
cni[cnj][++cnk] = "10";
cni[cnj][++cnk] = "US $103.50";
cni[cnj][++cnk] = "if it'd sold this well when it was originally released, the Carpenters would've been billionaires";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/15/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3340024273";
cni[cnj][++cnk] = "Gold Record Award";
cni[cnj][++cnk] = "presented to A&M RECORDS for the A&M record album \"CLOSE TO YOU\", by the AAM (American Academy Of Music), which was a private music entity....This award measures 18\" x 22\", with floating LP, double matting & recessed frame effect.";
cni[cnj][++cnk] = "2";
cni[cnj][++cnk] = "US $425.00";
cni[cnj][++cnk] = "Herb needed the closet space";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/17/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "2550932994";
cni[cnj][++cnk] = "Humane Society PSA Single";
cni[cnj][++cnk] = "7\" vinyl record (33 1/3 RPM) of public service announcements for the Humane Society of the United States. Side A of the record has four spots by the Carpenters: #1 Karen & Richard Carpenter (:60) #2 Karen Carpenter (:30) #3 Karen & Richard Carpenter (:30) #4 Karen Carpenter (:10). The background music used for the spots is \"Bless The Beasts And Children.\" Side B of the record has spots by Ted Cassidy (3) and Patti Page (1).";
cni[cnj][++cnk] = "11";
cni[cnj][++cnk] = "US $405.00";
cni[cnj][++cnk] = "that's $1.50 a second, or $5,400/hr";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/17/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3341607638";
cni[cnj][++cnk] = "autographed/framed <i>A Song For You</i> LP";
cni[cnj][++cnk] = "signed by both Carpenters....comes with a certificate of authenticity from \"Starabilias\" from Disney World (at the MGM). This item measures 31 3/8\" wide by 27\" tall. [\"Hi! Karen Carpenter\" in heart]";
cni[cnj][++cnk] = "1";
cni[cnj][++cnk] = "US $150.00";
cni[cnj][++cnk] = "Richard was mad because Karen always got to sign the heart";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/17/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3342077213";
cni[cnj][++cnk] = "<i>Now & Then</i> Shopping Bag";
cni[cnj][++cnk] = "1973 record store shopping bag promoting the album \"Now & Then\" by the Carpenters. The illustrations of Karen & Richard from the album cover are printed on the bag. The flap on the bag has pictures of the albums \"Ticket To Ride,\" \"Close To You,\" \"Carpenters\" & \"A Song For You.\" The plastic bag measures approximately 15\" X 16 1/2\"";
cni[cnj][++cnk] = "6";
cni[cnj][++cnk] = "US $103.28";
cni[cnj][++cnk] = "bag never held anything that cost that much";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/19/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "2551231644";
cni[cnj][++cnk] = "Five imported CDs";
cni[cnj][++cnk] = "Condition:  Never Opened....Rare Japanese imports...Ticket to Ride, Horizon, Now & Then, Made in America, and Lovelines Obi strips all intact. Original retail cost $32.00 each.";
cni[cnj][++cnk] = "7";
cni[cnj][++cnk] = "US $102.50";
cni[cnj][++cnk] = "a bargain, then, at $20.50 each";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/20/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "2551385396";
cni[cnj][++cnk] = "Karen Carpenter Unreleased Solo Tracks";
cni[cnj][++cnk] = "Out of the 21 songs recorded for <i>Karen Carpenter,</i> only 12 were released. Now, for the first time, here's your opportunity to listen to material that still remains hidden in the vaults. Like much of the material on <i>Karen Carpenter,</i> the eight songs on this CD show a woman exploring a different musical terrain with pleasantly surprising results. Included here are Karen's interpretations of other artists songs including: Gregg Allman and Cher's 1976 <i>Two The Hard Way</i> album cut \"Love Makin' Love To You\", Vickie Sue Robinson's 1978 <i>Half & Half</i> album cut \"Don't Try To Win Me Back Again\", Paul Jabara's 1978 <i>Keeping Time</i> album cut \"Something's Missing\", and Martha Reeves and the Vandellas' 1967 classic \"Jimmy Mack\". Also included are the stellar original compositions \"Midnight\" (written by famed British songwriter Rod Temperton), \"You Keep My Lovelight Burning\",\"It's Really You\", and \"Truly You\" (one song where the writing credits remain unknown). The CD you are bidding on is a jet black vinyl CD with a grooved top that looks like and feels like an old style vinyl record.";
cni[cnj][++cnk] = "14";
cni[cnj][++cnk] = "US $115.39";
cni[cnj][++cnk] = "this is sad, since all are/were freely available online, and since something's missing--literally--i.e., Paul Simon's \"I Do It For Your Love\"";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/21/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3342813180";
cni[cnj][++cnk] = "autographed <i>Christmas Portrait</i> album";
cni[cnj][++cnk] = "I JUST ACQUIRED AN EXTRAVANGAZA OF WONDERFUL OLD HAND SIGNED ALBUMS AND THIS TREASURE JUST HAPPENED TO HAVE BEEN IN THE LOT....I HOPE TO HAVE CAPTURED KAREN'S GREAT INSCRIPTION. THE RECORD ITSELF IS IN GREAT CONDITION. IT HAS BEEN BEAUTIFULLY HAND SIGNED ON THE FRONT, \"MERRY CHRISTMAS\" KAREN CARPENTER & RICHARD CARPENTER!";
cni[cnj][++cnk] = "12";
cni[cnj][++cnk] = "US $152.50";
cni[cnj][++cnk] = "\"captured\" is the key word here";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/21/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "2551523177";
cni[cnj][++cnk] = "<i>More Offerings</i> bootleg CD";
cni[cnj][++cnk] = "The Carpenters \"More Offerings\" CD. Great rare compilation from their various specials. A true find for Carpenters' fans! CD packaging in itself is worth winning the bid!!!!";
cni[cnj][++cnk] = "29";
cni[cnj][++cnk] = "US $152.50";
cni[cnj][++cnk] = "apparently there's a high demand for that photo of Karen in her undies";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/23/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3343916230";
cni[cnj][++cnk] = "autographed photo (1976, quilt backdrop)";
cni[cnj][++cnk] = "COLOUR 8X10 PHOTOGRAPH HAND-SIGNED BOLDLY IN RED BY RICHARD AND KAREN CARPENTER.";
cni[cnj][++cnk] = "1";
cni[cnj][++cnk] = "US $129.99";
cni[cnj][++cnk] = "self-issued COA...very convenient";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/25/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3343828721";
cni[cnj][++cnk] = "<i>Live In CT</i> CD-R";
cni[cnj][++cnk] = "CD features a LIVE CONCERT from the Carpenters appearance at Oakdale Musical Theatre in Wallinford, CT, 1973. It's extra special because it has some interestingly \"new\" guitar licks, thanks to the musician sitting in for an absent Tony Peluso! Features Karen singing \"Sing\" with local childrens choir, as well as \"Yesterday Once More\" in it's entirety.";
cni[cnj][++cnk] = "15";
cni[cnj][++cnk] = "US $117.50";
cni[cnj][++cnk] = "seller stuck A&M's logo on it, apparently to make it look \"official\"";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/26/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "2552519162";
cni[cnj][++cnk] = "12 CD COLLECTION IN GIFT BOX";
cni[cnj][++cnk] = "MAGNIFICENT box set containing 12 compact dics namely TICKET TO RIDE (1969) / CLOSE TO YOU (1970) / CARPENTERS (1971) / A SONG FOR YOU (1972) / NOW AND THEN (1973) / HORIZON (1975) / A KIND OF HUSH (1976) / PASSAGE (1977) / CHRISTMAS PORTRAIT (1978) / MADE IN AMERICA (1981) / VOICE OF THE HEART (1983) / LOVELINES (1989)...It also includes a beautiful index sheet and full notes by Richard Carpenter and Ray Coleman....It also has a transparent cover between each disc page and each disc is set in it's own space with the name and the year of the disc printed in the space.";
cni[cnj][++cnk] = "22";
cni[cnj][++cnk] = "US $244.54<span style=\"font-size: .8em;\"><br>GBP 155.00</span>";
cni[cnj][++cnk] = "Approximately US $244.54";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/31/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3344556154";
cni[cnj][++cnk] = "orig col photo 8x6 in";
cni[cnj][++cnk] = "press original archive photo printed in modern times [Karen 1970, head & shoulders, yellow shirt]";
cni[cnj][++cnk] = "4";
cni[cnj][++cnk] = "US $152.50";
cni[cnj][++cnk] = "one way of making a laser printer pay for itself";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/31/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3344556792";
cni[cnj][++cnk] = "orig B/W photo 8x6 in";
cni[cnj][++cnk] = "ditto [Karen 1971, head & shoulders, granny dress]";
cni[cnj][++cnk] = "4";
cni[cnj][++cnk] = "US $127.50";
cni[cnj][++cnk] = "ditto";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/31/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3344558706";
cni[cnj][++cnk] = "orig col photo 8x6 in";
cni[cnj][++cnk] = "ditto [Richard (glasses) & Karen (silver Chrysler hooded jacket) 1976, London airport]";
cni[cnj][++cnk] = "5";
cni[cnj][++cnk] = "US $102.50";
cni[cnj][++cnk] = "ditto";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/31/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3344559177";
cni[cnj][++cnk] = "orig col photo 8x6 in";
cni[cnj][++cnk] = "ditto [Richard & Karen 1976, concert - both seated front of piano]";
cni[cnj][++cnk] = "7";
cni[cnj][++cnk] = "US $161.50";
cni[cnj][++cnk] = "ditto";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/31/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3344596364";
cni[cnj][++cnk] = "RARE 83 TRIBUTE CONCERT POSTER";
cni[cnj][++cnk] = "poster for the June 25, 1983 \"A Tribute To Karen Carpenter\" concert in Long Beach, California. The concert featured the California State University Choir (Frank Pooler, Director). Guest artists were Richard Carpenter, John Bettis & Bobby Burgess. The poster...measures 17 1/2\" X 22 1/2\".";
cni[cnj][++cnk] = "12";
cni[cnj][++cnk] = "US $107.55";
cni[cnj][++cnk] = "could start a Carpenters Museum with all this stuff";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/31/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "3344600433";
cni[cnj][++cnk] = "1973 8X10 Karen Carpenter";
cni[cnj][++cnk] = "color 8X10 photo of Karen Carpenter. The picture was taken in 1973. [photo used also for \"Jambalaya\" picture sleeve]";
cni[cnj][++cnk] = "7";
cni[cnj][++cnk] = "US $147.50";
cni[cnj][++cnk] = "must be printed on 24k-gold photo paper";

cni[++cnj] = new Array(); var cnk = -1;
cni[cnj][++cnk] = "8/31/03";
cni[cnj][++cnk] = "eBay";
cni[cnj][++cnk] = "2553038266";
cni[cnj][++cnk] = "another <i>More Offerings</i> bootleg CD";
cni[cnj][++cnk] = "rare/limited CD";
cni[cnj][++cnk] = "14";
cni[cnj][++cnk] = "US $102.50";
cni[cnj][++cnk] = "at least it's 50 bucks less than the last \"rare\" one";


var alltotal = 0;
var phighest = 0;
var plowest = 9999999;
var pval = new Array();
   for (t = 0; t < cni.length; t++) {
/*
   var ppcents = cni[t][6].indexOf(".");
   var ppdols = cni[t][6].indexOf("$");
   var susd = cni[t][6].substring(ppdols+1,ppcents+3);
   var usd = eval(susd)
*/
   var usd = convertUSD(cni[t][6]);
   alltotal += usd;
   pval[t] = usd;
   var plowest = (usd < plowest) ? usd : plowest;
   var phighest = (usd > phighest) ? usd : phighest;
   }
var usdtotal = CurrencyFormatted(alltotal);
var usdtotal = CommaFormatted(usdtotal);
var usdavg = CurrencyFormatted(alltotal/cni.length);
var usdavg = CommaFormatted(usdavg);
var usdlowest = CurrencyFormatted(plowest);
var usdlowest = CommaFormatted(usdlowest);
var usdhighest = CurrencyFormatted(phighest);
var usdhighest = CommaFormatted(usdhighest);

var ilowest = new Array();
var iln = -1;
var ihighest = new Array();
var ihn = -1;
   for (t = 0; t < pval.length; t++) {
      if (pval[t] == plowest) {
      ilowest[++iln] = t;
      }
      if (pval[t] == phighest) {
      ihighest[++ihn] = t;
      }
   }

var lweach = "";
var ll = ilowest.length;
   if (ll > 1) {
   var lweach = " each";
   var lshow = "s are ";
      for (k = 0; k < ll-1; k++) {
      var commasep = (k > 0) ? ", " : "";
      var lshow = lshow + commasep + "\"" + cni[ilowest[k]][3] + "\" (" + cni[ilowest[k]][0] + ")";
      }
   var lshow = lshow + " and \"" + cni[ilowest[ll-1]][3] + "\" (" + cni[ilowest[ll-1]][0] + ")";
   }
   else {
   var lshow = " is \"" + cni[ilowest[0]][3] + "\" (" + cni[ilowest[0]][0] + ")";
   }
var hweach = "";
var hl = ihighest.length;
   if (hl > 1) {
   var hweach = " each";
   var hshow = "s are \"";
      for (k = 0; k < hl-1; k++) {
      var commasep = (k > 0) ? ", " : "";
      var hshow = hshow + commasep + "\"" + cni[ihighest[k]][3] + "\" (" + cni[ihighest[k]][0] + ")";
      }
   var hshow = hshow + " and \"" + cni[ihighest[hl-1]][3] + "\" (" + cni[ihighest[hl-1]][0] + ")";
   }
   else {
   var hshow = " is \"" + cni[ihighest[0]][3] + "\" (" + cni[ihighest[0]][0] + ")";
   }

/*
Of the 23 listed, the highest priced item is "Humane Society PSA Single" (8/17/03), which sold for $405. The lowest priced ones are several items, which sold for a mere $102.50 each.
*/

function showItems() {
document.write(cnintro + 'Below are all final bids of at least $100 on Carpenters items found for ' + cnmonth + '. Of the ' + (cni.length+1) + ' listed, the highest priced item' + hshow + ', which sold for $' + usdhighest + hweach + '. The lowest priced one' + lshow + ', which sold for a mere $' + usdlowest + lweach + '.<br><br><table width="100%" style="font-family: arial; font-size: .8em;" cellpadding="2" cellspacing="0" border="0"><tr><td></td><td colspan="4" height="1" bgcolor="#dddddd"></td></tr><tr valign="bottom"><td align="center"><i>Date</i><br></td><td align="center" bgcolor="#dddddd"><i>Site</i><br></td><td bgcolor="#eeeeee" class="cnitem"><i>Item</i><br></td><td align="center" bgcolor="#dddddd"><i>Bids</i><br></td><td nowrap align="right" bgcolor="#dddddd" class="cnsold"><i>Sold for</i><br></td></tr><tr bgcolor="#dddddd" valign="top"><td colspan="2" align="center"><i>Number/ID</i><br></td><td colspan="3" bgcolor="#eeeeee"><i><span class="cndesc">Description </span><span class="cnrmks">& remarks</span></i><br></td></tr><tr><td colspan="2"></td><td colspan="3" height="1" bgcolor="#bbbbbb"></td></tr><tr><td colspan="5" height="1"></td></tr>');
   for (j = 0; j < cni.length; j++) {
   document.write('<tr><td></td><td colspan="4" height="1" bgcolor="#eeeedd"></td></tr><tr valign="top"><td align="center">' + cni[j][0] + '<br></td><td bgcolor="#eeeedd"><a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=' + cni[j][2] + '">' + cni[j][1] + '</a><br></td><td bgcolor="#ffffee" class="cnitem">' + cni[j][3] + '<br></td><td align="center" bgcolor="#eeeedd">' + cni[j][5] + '<br></td><td nowrap align="right" bgcolor="#eeeedd" class="cnsold">' + cni[j][6] + '<br></td></tr><tr valign="top"><td colspan="2" align="center" bgcolor="#eeeedd">' + cni[j][2] + '<br></td><td colspan="3" rowspan="2" bgcolor="#ffffee"><dl><dt class="cndesc">' + cni[j][4] + '<dd class="cnrmks">' + cni[j][7] + '<br></td></tr><tr><td colspan="2">&nbsp;</td></tr><tr><td colspan="2"></td><td colspan="3" height="1" bgcolor="#ccccbb"></td></tr>');
   }
document.write('</table><table width="100%" style="font-family: arial; font-size: .8em;"><tr valign="top"><td>' + (cni.length+1) + ' items<br></td><td align="right" class="cnsold"><i>total:&nbsp;</i> US $' + usdtotal + '<span style="font-size: .9em; font-weight: normal;"><br><i>average:&nbsp;</i> US $' + usdavg + '</span><br></td></tr></table>');
}

function convertUSD(usdval) {
var ppcents = usdval.indexOf(".");
var ppdols = usdval.indexOf("$");
var susd = usdval.substring(ppdols+1,ppcents+3);
return eval(susd);
}

// following 2 functions found at:
// http://devwebprocanada.com/devwebproca-44-20030520CurrencyFormattingandPuttingCommasInNumbers.html

function CurrencyFormatted(amount)
{
var i = parseFloat(amount);
if(isNaN(i)) { i = 0.00; }
var minus = '';
if(i < 0) { minus = '-'; }
i = Math.abs(i);
i = parseInt((i + .005) * 100);
i = i / 100;
s = new String(i);
if(s.indexOf('.') < 0) { s += '.00'; }
if(s.indexOf('.') == (s.length - 2)) { s += '0'; }
s = minus + s;
return s;
}
// end of function CurrencyFormatted()

function CommaFormatted(amount)
{
var delimiter = ","; // replace comma if desired
var a = amount.split('.',2)
var d = a[1];
var i = parseInt(a[0]);
if(isNaN(i)) { return ''; }
var minus = '';
if(i < 0) { minus = '-'; }
i = Math.abs(i);
var n = new String(i);
var a = [];
while(n.length > 3)
{
var nn = n.substr(n.length-3);
a.unshift(nn);
n = n.substr(0,n.length-3);
}
if(n.length > 0) { a.unshift(n); }
n = a.join(delimiter);
if(d.length < 1) { amount = n; }
else { amount = n + '.' + d; }
amount = minus + amount;
return amount;
}
// end of function CommaFormatted()


