//* PRODUCTS.JS:  descriptions, costs, and codes 
//* copyright 2004-2008, Frameworthy Sports Photography
//* chg log
//*  28Dec04 -- change to prices, descriptions as button.
//*  28Aug05 -- add different pricing for Group shots (eg. team picture) -- assumes image name ends in T-Z.
//*  20Feb06 -- minor changes to words, add 2 new poster sizes
//*  16Sep07 -- change for FP -- minor price changes, elimination of different group pricing.
//*  14Oct07 -- change for move to WHCC -- some price changes, elimination of 12x18 poster
//*  03Nov07 -- change to add papers and gallery wraps
//*  15Nov07 -- change to add handling fee
//*  23Nov07 -- change to handle digit images price reduction for > $100 print order
//*  21Jan08 -- minor changes to prices and words; elim handling charge for orders > $50
//*  11May08 -- added independently of other prices the price for coffee table books
//*  28Sep08 -- price changes
//*  06Dec08 -- added special pricing for CD/DVD of gallery for packages
  var handchgv=6.00;  //* handling charge
  var handchgwaive=50.00;  //* order amount where handling charge is waived
  var CTBOOKcost="275.00 and up";  //* cost for CT book (NOT currently available from cart)
  var CTBOOKEcost="335.00 and up";  //* cost for CT book for an event (NOT currently available from cart)
  var EbirdDisc=.10; //*early bird discount
  var EbirdElig=30; //*# days since posting for order to be eligble for early bird discout
  var numprod=19;  //*  need to set the number of products

  var prod = new Array(numprod+1);
  prod[0]="(none)";
  prod[1]='4 x 6 Print';
  prod[2]='5 x 7 Print';
  prod[3]='8 x 10 Print';
  prod[4]='11 x 14 Print';
  prod[5]='16 x 20 Print';
  prod[6]='20 x 30 Print';
  prod[7]='eight Wallet Prints';
  prod[8]='56 Wallets Special';

  prod[9]='8 x 10 Fine Art Print';
  prod[10]='11 x 14 Fine Art Print';
  prod[11]='16 x 20 Fine Art Print';
  prod[12]='20 x 30 Fine Art Print';
  prod[13]='8 x 10 Gallery Wrap';
  prod[14]='11 x 14 Gallery Wrap';
  prod[15]='16 x 20 Gallery Wrap';
  prod[16]='20 x 30 Gallery Wrap';

  prod[17]='Digital Image on CD/DVD';
  prod[18]='Gallery on DVD';
  prod[19]='Gallery on DVD w/ pkg';

//* prodS -- Short Name of Product for PRODUCTS.HTM
 var prodS = new Array(numprod+1);
  prodS[0]="(none)";
  prodS[1]='4 x 6'; //* print
  prodS[2]='5 x 7'; //* print
  prodS[3]='8 x 10'; //* print
  prodS[4]='11 x 14'; //* print
  prodS[5]='16 x 20'; //* print
  prodS[6]='20 x 30'; //* print
  prodS[7]='eight Wallets'; //* print
  prodS[8]='56 Wallets Special'; //* print

  prodS[9]='8 x 10'; //* Velvet Print
  prodS[10]='11 x 14';//* Velvet Print
  prodS[11]='16 x 20'; //* Velvet Print
  prodS[12]='20 x 30'; //* Velvet Print
  prodS[13]='8 x 10';  //* Gallery Wrap
  prodS[14]='11 x 14';  //* Gallery Wrap
  prodS[15]='16 x 20';  //* Gallery Wrap
  prodS[16]='20 x 30';  //* Gallery Wrap

  prodS[17]='Individual Image*';  //* digital image on DVD
  prodS[18]='Complete Gallery';  //* digital image on DVD
  prodS[19]='Complete Gallery w/ package';  //* digital image on DVD


  var cost = new Array(numprod+1); 				
  cost[0]='(none)';
  cost[1]='6.00';
  cost[2]='9.00';
  cost[3]='14.00';
  cost[4]='28.00';
  cost[5]='45.00';
  cost[6]='75.00';
  cost[7]='14.00';
  cost[8]='45.00';

  cost[9]='75.00';
  cost[10]='95.00';
  cost[11]='140.00';
  cost[12]='200.00';
  cost[13]='115.00';
  cost[14]='140.00';
  cost[15]='195.00';
  cost[16]='290.00';

  cost[17]='60.00';
  cost[18]='390.00';
  cost[19]='115.00';

 var cost2 = new Array(numprod+1); 
  cost2[0]='(none)';
  cost2[1]='3.60';  //* 40% off
  cost2[2]='5.40';  //* 40% off
  cost2[3]='8.40';  //* 40% off
  cost2[4]='16.80';  //* 40% off
  cost2[5]='27.00';  //* 20% off
  cost2[6]='45.00';  //* 20% off
  cost2[7]='8.40';  //* 40% off
  cost2[8]='45.00';  //* no discount

  cost2[9]='75.00';  //* no discount
  cost2[10]='95.00';  //* no discount
  cost2[11]='140.00';  //* no discount
  cost2[12]='200.00';  //* no discount

  cost2[13]='115.00';  //* no discount
  cost2[14]='140.00';  //* no discount
  cost2[15]='195.00';  //* no discount
  cost2[16]='290.00';  //* no discount

  cost2[17]='60.00';  //* no discount
  cost2[18]='390.00';  //* no discount
  cost2[19]='115.00';  //* no discount

 //* code - last position shows discounting strategy (21Jan08 -- is this true??);
  var cde = new Array(numprod+1);
  cde[0]="(none)";
  cde[1]="AB0";
  cde[2]="AF0";
  cde[3]="AI0";
  cde[4]="AJ0";
  cde[5]="AM0";
  cde[6]="AQ0";
  cde[7]="AT0";
  cde[8]="AU0";

  cde[9]="HV5";  
  cde[10]="HV7";
  cde[11]="HV9";
  cde[12]="HX1";

  cde[13]="JW5";
  cde[14]="JW7";
  cde[15]="JW9";
  cde[16]="JX1";

  cde[17]="MCA";
  cde[18]="MHA";
  cde[19]="MHD";

//*  cde[18]="XC0"; trading cards, discontinued 28Sep08

//* hdr - corresponding header index;
  var hdr = new Array(numprod+1);
  hdr[0]="(none)";
  hdr[1]=1;
  hdr[2]=1;
  hdr[3]=1;
  hdr[4]=1;
  hdr[5]=1;
  hdr[6]=1;
  hdr[7]=1;
  hdr[8]=1;

  hdr[9]=3;  
  hdr[10]=3;
  hdr[11]=3;
  hdr[12]=3;

  hdr[13]=4;
  hdr[14]=4;
  hdr[15]=4;
  hdr[16]=4;

  hdr[17]=5;
  hdr[18]=5;
  hdr[19]=5;

//* ** Headers to show on PRODUCTS.HTM for each group of codes (based on 1st position)

//*  MAIN HEADER
  var cdeHdr1 = new Array(1);   
  cdeHdr1[0]="(none)";
  cdeHdr1[1]="Color Prints";  //*HDR1 for cde Axx
  cdeHdr1[2]="Color Posters";  //*HDR1 for cde Exx **** 21Jan08 No longer used

  cdeHdr1[3]="Fine Art Velvet Prints";  //*HDR1 for cde HVx
  cdeHdr1[4]="Fine Art Gallery Wrap";  //*HDR1 for cde JWx

  cdeHdr1[5]="Digital Images on CD/DVD";  //*HDR1 for cde Mxx
  cdeHdr1[6]="Other Products";  //*HDR1 for cde Xxx

//*  2ND COLUMN HEADER
  var cdeHdr2 = new Array(1);
  cdeHdr2[0]="(none)";
  cdeHdr2[1]="First Print";  //*Hdr2 for cde Axx
  cdeHdr2[2]="Unit Cost";  //*Hdr2 for cde Exx

  cdeHdr2[3]="Unit Cost";  //*Hdr2 for cde HVx
  cdeHdr2[4]="Unit Cost";  //*Hdr2 for cde JWx

  cdeHdr2[5]="Unit Cost";  //*Hdr2 for cde Mxx
  cdeHdr2[6]="Unit Cost";  //*Hdr2 for cde Xxx

//* 3RD COLUMN HEADER
  var cdeHdr3 = new Array(1);
  cdeHdr3[0]="(none)";
  cdeHdr3[1]="&nbsp;&nbsp;Additional Prints<BR><FONT SIZE=-1>(same image &amp; size)</FONT>";  //*Hdr3 for cde Axx
  cdeHdr3[2]="";  //*Hdr3 for cde Exx

  cdeHdr3[3]="";  //*Hdr3 for cde HVx
  cdeHdr3[4]="";  //*Hdr3 for cde JWx

  cdeHdr3[5]="";  //*Hdr3 for cde Mxx
  cdeHdr3[6]="";  //*Hdr3 for cde Xxx

//* FOOTER
  var cdeHdr4 = new Array(1);
  cdeHdr4[0]="(none)";
  cdeHdr4[1]="<FONT SIZE=-1><STRONG>* Other sizes available upon request</STRONG></FONT>";  //*Hdr4 for cde Axx
  cdeHdr4[2]="";  //*Hdr4 for cde Exx

  cdeHdr4[3]="<FONT SIZE=-1><STRONG>* Other sizes available upon request</STRONG></FONT>";  //*Hdr4 for cde HVx
  cdeHdr4[4]="<FONT SIZE=-1><STRONG>* Other sizes available upon request</STRONG></FONT>";  //*Hdr4 for cde JWx

  cdeHdr4[5]="<FONT SIZE=-1><STRONG>* For print orders of at least $100, individual digital images are $20 each.</STRONG></FONT>";  //*Hdr4 for cde Mxx



//*  comments shown on PRODUCTS.HTM ("more info" button), ordercrt.htm and orderfrm.htm
  var cmnt = new Array(numprod+1);
  cmnt[0]="(none)";
  cmnt[1]='4" x 6" Print \n\nBuy one 4x6 print at full price and each additional 4x6 print of the same image is 40% off.';
  cmnt[2]='5" x 7" Print \n\nBuy one 5x7 print at full price and each additional 5x7 print of the same image is 40% off.';
  cmnt[3]='8" x10" Print \n\nBuy one 8x10 print at full price and each additional 8x10 print of the same image is 40% off.\n\nNote: Minor imperfections that are not visible in smaller size prints (5x7 or smaller) can become objectionably noticeable when enlarged to 8x10 or larger.  If the image you selected does not meet our quality standards when enlarged, we will refund your payment.';
  cmnt[4]='11" x 14" Print \n\nBuy one 11x14 print at full price and each additional 11x14 print of the same image is 20% off.\n\nNote: Minor imperfections that are not visible in smaller size prints (5x7 or smaller) can become objectionably noticeable when enlarged to 8x10 or larger.  If the image you selected does not meet our quality standards when enlarged, we will refund your payment.';
  cmnt[5]='16" x 20" Print \n\nBuy one 16x20 print at full price and each additional 16x20 print of the same image is 20% off.\n\nNote: Minor imperfections that are not visible in smaller size prints (5x7 or smaller) can become objectionably noticeable when enlarged to 8x10 or larger.  If the image you selected does not meet our quality standards when enlarged, we will refund your payment.';
  cmnt[6]='20" x 30" Print \n\nBuy one 20x30 print at full price and each additional 20x30 print of the same image is 20% off.\n\nNote: Minor imperfections that are not visible in smaller size prints (5x7 or smaller) can become objectionably noticeable when enlarged to 8x10 or larger.  If the image you selected does not meet our quality standards when enlarged, we will refund your payment.';
  cmnt[7]='Set of eight Wallets (2" x 3" Prints) \n\nBuy 1 set of eight 2" x 3" prints at full price and each additional set of eight 2" x 3" Prints of the same image is 40% off.  Wallets are die cut with rounded corners.';
  cmnt[8]='Set of 56 Wallets (2" x 3" prints)  ***SPECIAL VALUE*** \n\nThis is an economical way to order wallets for graduation, baby announcements, etc.  All wallets are die cut with rounded corners.  Due to this special pricing, no additional quantity discounts apply.';

  cmnt[9]='8" x 10" Fine Art Velvet Print \n\nAn outstanding choice when you want an extraordinary print.  Fine Art Velvet paper is a thick, heavy, 100% cotton stock similar in appearance and feel to a watercolor paper.  Your fine art velvet print will come mounted on a 2mm styrene board to protect your investment.';
  cmnt[10]='11" x 14" Fine Art Velvet Print \n\nAn outstanding choice when you want an extraordinary print.  Fine Art Velvet paper is a thick, heavy, 100% cotton stock similar in appearance and feel to a watercolor paper.  Your fine art velvet print will come mounted on a 2mm styrene board to protect your investment.';
  cmnt[11]='16" x 20" Fine Art Velvet Print \n\nAn outstanding choice when you want an extraordinary print.  Fine Art Velvet paper is a thick, heavy, 100% cotton stock similar in appearance and feel to a watercolor paper.  Your fine art velvet print will come mounted on a 2mm styrene board to protect your investment.';
  cmnt[12]='20" x 30" Fine Art Velvet Print \n\nAn outstanding choice when you want an extraordinary print.  Fine Art Velvet paper is a thick, heavy, 100% cotton stock similar in appearance and feel to a watercolor paper.  Your fine art velvet print will come mounted on a 2mm styrene board to protect your investment..';

  cmnt[13]='8" x 10" Fine Art Gallery Wrap \n\nYour fine art canvas print is wrapped around a 1 1/2" stretcher bar.  Staples are on the back of the bar.  Framing paper covers up the back of the bars and metal hangers and bumpers are applied to the corners.  The Gallery Wrap is ready to hang with no additional work needed.  All gallery wraps are protected with a special laminate designed for canvas prints.  Your Gallery Wrap will be protected from scuffs and scratches and the laminate offers UV protection.  Also available are 2 1/2" gallery wraps in sizes 16x20 to 30x40.  Please inquire for prices for your desired size.';
  cmnt[14]='11" x 14" Fine Art Gallery Wrap \n\nYour fine art canvas print is wrapped around a 1 1/2" stretcher bar.  Staples are on the back of the bar.  Framing paper covers up the back of the bars and metal hangers and bumpers are applied to the corners.  The Gallery Wrap is ready to hang with no additional work needed.  All gallery wraps are protected with a special laminate designed for canvas prints.  Your Gallery Wrap will be protected from scuffs and scratches and the laminate offers UV protection.  Also available are 2 1/2" gallery wraps in sizes 16x20 to 30x40.  Please inquire for prices for your desired size.';
  cmnt[15]='16" x 20" Fine Art Gallery Wrap \n\nYour fine art canvas print is wrapped around a 1 1/2" stretcher bar.  Staples are on the back of the bar.  Framing paper covers up the back of the bars and metal hangers and bumpers are applied to the corners.  The Gallery Wrap is ready to hang with no additional work needed.  All gallery wraps are protected with a special laminate designed for canvas prints.  Your Gallery Wrap will be protected from scuffs and scratches and the laminate offers UV protection.  Also available are 2 1/2" gallery wraps in sizes 16x20 to 30x40.  Please inquire for prices for your desired size.';
  cmnt[16]='20" x 30" Fine Art Gallery Wrap \n\nYour fine art canvas print is wrapped around a 1 1/2" stretcher bar.  Staples are on the back of the bar.  Framing paper covers up the back of the bars and metal hangers and bumpers are applied to the corners.  The Gallery Wrap is ready to hang with no additional work needed.  All gallery wraps are protected with a special laminate designed for canvas prints.  Your Gallery Wrap will be protected from scuffs and scratches and the laminate offers UV protection.  Also available are 2 1/2" gallery wraps in sizes 16x20 to 30x40.  Please inquire for prices for your desired size.';

  cmnt[17]='Individual Digital Images on CD or DVD \n\nIndividual digital image files cropped to 4" x 6" are delivered on an attractively labeled CD or DVD.  These .JPG files are ready to load on your website, email to friends, or print.  \n\nDue to the nature of digital images, this product is an exception to our standard refund policy.  If you are not satisfied with this product, we will work with you to offer a satisfactory replacement disk.  Print sizes other than 4x6 proportions may result in loss of print quality.';
  cmnt[18]='Entire Gallery of Digital Images on CD or DVD \n\nGet the ENTIRE Gallery from your photo session as digital image files cropped to 4" x 6" and delivered on an attractively labeled CD or DVD.  These .JPG files are ready to load on your website, email to friends, or print.  \n\nDue to the nature of digital images, this product is an exception to our standard refund policy.  If you are not satisfied with this product, we will work with you to offer a satisfactory replacement disk. Print sizes other than 4x6 proportions may result in loss of print quality.';
  cmnt[19]='Entire Gallery of Digital Images on CD or DVD as part of portrait package \n\nSpecial pricing is only available with the purchase of any Portrait Package.\n\nGet the ENTIRE Gallery from your photo session as digital image files cropped to 4" x 6" and delivered on an attractively labeled CD or DVD.  These .JPG files are ready to load on your website, email to friends, or print.  \n\nDue to the nature of digital images, this product is an exception to our standard refund policy.  If you are not satisfied with this product, we will work with you to offer a satisfactory replacement disk. Print sizes other than 4x6 proportions may result in loss of print quality.';

  cmntHandFee="Handling Fee\n\nA handling fee is added only for orders less than $50.  We try to absorb all costs for shipping,  handling, and delivery, but for smaller orders we find it necessary to cover our lab's minimum order requirements.";
  cmntEbird='"Earlybird" Order Discount\n\nOrders placed within 30 days from the date that the image gallery was made avail for review will receive 10% off that entire order. The discounted price is reflected in the shopping cart when the order is placed. The last day to receive this discount is shown on the image gallery and in the shopping cart. This discount applies only to those items in the shopping cart at that time of the order and does NOT apply to additional orders or any other costs or fees.';


//* 23Nov07 - added to adjust price of digit images if print order large enough

  var DIprod=14;      //* product for digital images
  var DIelig=99.99;  //* amount order must be > to be eligible for reduced price for digit images 
  var DIcost2=20.00;  //* reduced price of digital images

  //* determine which products total to count
  var DItot = new Array(numprod+1);
  DItot[0]="(none)";
  DItot[1]="y";
  DItot[2]="y";
  DItot[3]="y";
  DItot[4]="y";
  DItot[5]="y";
  DItot[6]="y";
  DItot[7]="y";
  DItot[8]="y";

  DItot[9]="n";
  DItot[10]="n";
  DItot[11]="n";
  DItot[12]="n";

  DItot[13]="n";
  DItot[14]="n";
  DItot[15]="n";
  DItot[16]="n";

  DItot[17]="n";
  DItot[18]="n";
  DItot[18]="n";

//* comments shown on PRODUCTS.HTM ("more info" button) for special effects
  var Scmnt = new Array(7);
//*   Scmnt[0]='Black and White -- All colors are removed and replaced with shades of grey, resulting in a "black and white" image.'; //* black and white
//*   Scmnt[1]='Sepia Tone -- All colors are removed and replaced with shades of brown, giving an antique appearance.'; //* sepia
//*   Scmnt[2]='Feathering -- The area outside the center of the picture is blurred, making the center more of a focal point.'; //* Feathering
//*   Scmnt[3]='Spot Color -- All colors are removed and replaced with shades of grey, and the color is brought back for key areas of the photo.  This results in an image that is primarily "black and white" with some areas in color.'; //* Spot Color
  Scmnt[4]='Collage -- Up to 9 images are resized and artistically arranged onto a single sheet.  Complexity will vary and the final product resembles a scrapbook page.'; //* Collage
  Scmnt[5]='Change Background -- The foregound of an original image is retained and put onto the background of your choice.'; //* Change Background
  Scmnt[6]='Other Effects -- Please let us know if there are other effects that you would like for your images, and we will do what we can to create them for you.'; //* Other Special Effect

//* Other comments
  var Ocmnt = new Array(1);
  Ocmnt[0]='$50 credit is only valid for color prints in sizes 11x14 and smaller.  This credit CANNOT be used for color prints larger than 11x14 or any other product (eg. fine art gallery wraps, fine art velvet prints, coffee table books, digital images, etc.).  Unused credit cannot be refunded or transferred.';


//**************************************************************************
//***
//***  Info below for Group Images (eg. team photos) - added 28Aug05 **** Deleted 16Sep07 (remaining code not deleted to prevent undefined errors)
//***

  var Gnumprod=0;  //*  need to set the number of Group products

  var Gprod = new Array(Gnumprod+1);
  Gprod[0]="(none)";
  var GprodS = new Array(Gnumprod+1);
  GprodS[0]="(none)";
  var Gcost = new Array(Gnumprod+1); 
  Gcost[0]="(none)";

 var Gcost2 = new Array(Gnumprod+1); 
  Gcost2[0]="(none)";
  var Gcde = new Array(numprod+1);
  Gcde[0]="(none)";

  var Gcmnt = new Array(Gnumprod+1);
  Gcmnt[0]="(none)";

