// 3.Create Product Group // 3.1.Add All Selections (by ID) // 3.2.Add All Options (by ID) // 3.3.Product Assign Array // 3.4.Create // Products var pOptSel_20357_98_91 = new Selection(91,"Upload - Print Ready","
Upload Print Ready -
Already have your file ready to upload, then this is the option for you","Print Ready inc 3mm bleed","","",true,0.0,0,0,0); var pOptSel_20357_98_97 = new Selection(97,"Design Services","
Full Artwork Design -
Let us do it for you, send your logo
and text and any other information to art@front.com.au
and place your order now, but please email all the details at
the time of placing your order as later changes will incur
additional costs. Also our stated turnaround time only
starts once your artwork has been completed and approved.
","Artwork Design Services","","",false,0.0,0,0,0); var pOptSel_20357_98_110 = new Selection(110,"Design Online","
Design Online
Use our online design tool to let your creative mind run wild.  Pick from different templates and backgrounds.","Design Online","","",false,0.0,0,0,0); var pOptSel_20357_98_263 = new Selection(263,"Make Artwork Press Ready","
Need a little help -
I have existing Artwork but need some small changes made.
Please email what you have to art@front.com.au and
place your order through our system now.
","I need a little help","","",false,0.0,0,0,0); var pOptSel_20357_176_286 = new Selection(286,"Plastic Card Thickness .76mm","
.76mm
 - the same thickness as a credit card.
",".76mm (Same - Credit Card)","","",true,0.0,0,0,0); var pOptSel_20357_176_287 = new Selection(287,"Plastic Card Thickness .50mm","
.50mm
 - about 2 thirds the thickness of a credit card.
",".50mm","","",false,0.0,0,0,0); var pOptSel_20357_177_288 = new Selection(288,"Barcoding","
Yes
 - Please advise Barcode Symbology required - Our default is Code 128
and remember a 3 digit barcode ie 001 will only give you
999 cards in your range so it might be better to start
at 0001 or even 00001.


","Default is Code 128","","",false,0.0,0,0,0); var pOptSel_20357_195_288 = new Selection(288,"Barcoding","
Yes
 - Please advise Barcode Symbology required - Our default is Code 128
and remember a 3 digit barcode ie 001 will only give you
999 cards in your range so it might be better to start
at 0001 or even 00001.


","Default is Code 128","","",true,0.0,0,0,0); var pOptSel_20357_178_289 = new Selection(289,"Numbering","
Yes - Please advise Starting Number required - and
remember a 3 digit number ie 001 will only give you
999 in your range so it might be better to start
at 0001 or even 00001.
","Serial No\'s Added","","",false,0.0,0,0,0); var pOptSel_20357_179_290 = new Selection(290,"All Over Writable Matt Back","
Yes - A Matt Writable back is an all over matt finish
to the back of the card that can be written on
using a normal ball point pen, This is ideal for
Gift cards where you want to fill in a name/expiry
date or dollar amount on each card when sold.
 
","All Over Writable Matt Back","","",false,0.0,0,0,0); var pOptSel_20357_181_291 = new Selection(291,"Slot Punched","
Yes - Can be on either the short or long
edge of the card.
","Slot Punch specify top or side","","",false,0.0,0,0,0); var pOptSel_20357_183_292 = new Selection(292,"VDP (Variable Data Printing)","
VDP - This can include Names, Addresses, Positions,
Levels etc please provide an Excel database file for VDP.
","Please supply database","","",false,0.0,0,0,0); var pOptSel_20357_181_293 = new Selection(293,"Hole Drilled","","Hole Drilled","","",false,0.0,0,0,0); var pOptSel_20357_194_310 = new Selection(310,"Starting Number","
Yes - Please advise Start Number required ","Starting Number -","","",true,0.0,0,0,0); var pOptSel_20357_177_312 = new Selection(312,"Not Required","","Not Required","","",true,0.0,0,0,0); var pOptSel_20357_178_312 = new Selection(312,"Not Required","","Not Required","","",true,0.0,0,0,0); var pOptSel_20357_179_312 = new Selection(312,"Not Required","","Not Required","","",true,0.0,0,0,0); var pOptSel_20357_181_312 = new Selection(312,"Not Required","","Not Required","","",true,0.0,0,0,0); var pOptSel_20357_183_312 = new Selection(312,"Not Required","","Not Required","","",true,0.0,0,0,0); var pOptSel_20357_209_312 = new Selection(312,"Not Required","","Not Required","","",true,0.0,0,0,0); var pOptSel_20357_210_312 = new Selection(312,"Not Required","","Not Required","","",true,0.0,0,0,0); var pOptSel_20357_211_312 = new Selection(312,"Not Required","","Not Required","","",true,0.0,0,0,0); var pOptSel_20357_214_312 = new Selection(312,"Not Required","","Not Required","","",true,0.0,0,0,0); var pOptSel_20357_215_312 = new Selection(312,"Not Required","","Not Required","","",true,0.0,0,0,0); var pOptSel_20357_225_312 = new Selection(312,"Not Required","","Not Required","","",true,0.0,0,0,0); var pOptSel_20357_251_312 = new Selection(312,"Not Required","","Not Required","","",true,0.0,0,0,0); var pOptSel_20357_179_314 = new Selection(314,"Signature Strip","
Yes - Signature Strips are normally 12.7mm wide 
and can be anywhere on the back of the card and
usually cover the entire long edge of the card.
","Signature Strip 12.7mm high","","",false,0.0,0,0,0); var pOptSel_20357_176_315 = new Selection(315,"Plastic Card Thickness .30mm","
.30mm - about 1 third the thickness of a credit card.",".30mm","","",false,0.0,0,0,0); var pOptSel_20357_179_316 = new Selection(316,"All Over Matt Both Sides","","All Over Matt Finish 2 sides","","",false,0.0,0,0,0); var pOptSel_20357_204_330 = new Selection(330,"Pick-up (Sydney Only)","","Pick-up (7.30 -6.00pm Mon-Fri)","","",false,0.0,0,0,0); var pOptSel_20357_209_340 = new Selection(340,"Hi-Co Magnetic Stripe","","Hi-Co Magnetic Stripe","","",false,0.0,0,0,0); var pOptSel_20357_209_342 = new Selection(342,"Lo-Co Magnetic Stripe","","Lo-Co Magnetic Stripe","","",false,0.0,0,0,0); var pOptSel_20357_210_344 = new Selection(344,"Overprint Coating","","Overprint Coating on Cards","","",false,0.0,0,0,0); var pOptSel_20357_211_345 = new Selection(345,"Track 1 Encoding","","Track 1 Encoding","","",false,0.0,0,0,0); var pOptSel_20357_211_346 = new Selection(346,"Track 2 Encoding","","Track 2 Encoding","","",false,0.0,0,0,0); var pOptSel_20357_211_347 = new Selection(347,"Track 3 Encoding","","Track 3 Encoding","","",false,0.0,0,0,0); var pOptSel_20357_219_348 = new Selection(348,"Turnaround Time on Plastic Cards (Standard)","
Standard 10 Working days 
turnaround is fine. Please note
this is the manufacture time which only starts
from the time your Artwork is completed and
approved so the job is ready to go to print.
","Standard 10 working days","","",true,0.0,0,0,0); var pOptSel_20357_212_349 = new Selection(349,"Turnaround Time on PVC Cards","
Approx 10-12 Working Days 
is the normal turnaround time
for PVC cards which do take longer to produce
because they are Offset printed. Also please note
this is the manufacture time only which starts
from the time your Artwork is completed and
approved so the job is ready to go to print.
","Approx 10-12 Working days","","",true,0.0,0,0,0); var pOptSel_20357_214_350 = new Selection(350,"Embossed Numbering Gold","","Gold Tipped","","",false,0.0,0,0,0); var pOptSel_20357_214_351 = new Selection(351,"Embossed Numbering Sliver","","Silver Tipped","","",false,0.0,0,0,0); var pOptSel_20357_215_352 = new Selection(352,"Foil Stamping","","Foil Stamping","","",false,0.0,0,0,0); var pOptSel_20357_219_361 = new Selection(361,"Turnaround Time on PET Cards (Express)","Express 5 Working days turnaround. Please note
this is the manufacture time which only starts
from the time your Artwork is completed and
approved so the job is ready to go to print.
","Express 5 Working days","","",false,0.0,0,0,0); var pOptSel_20357_219_362 = new Selection(362,"Turnaround Time on PET Cards (Lightning Fast)","Lightning Fast 2 Days turnaround. No-one
else in this country can produce plastic cards
this fast - have your artwork ready and watch
us Go.
Please note this is the manufacture time which
only starts from the time your Artwork is completed
and approved so the job is ready to go to print.
","Urgent 2 Days (Art Ready)","","",false,0.0,0,0,0); var pOptSel_20357_225_380 = new Selection(380,"Metallic Gold Cards","","Metallic Gold Cards","","",false,0.0,0,0,0); var pOptSel_20357_225_381 = new Selection(381,"Metallic Silver Cards","","Metallic Silver Cards","","",false,0.0,0,0,0); var pOptSel_20357_227_385 = new Selection(385,"Plastic Gloss both sides","
Yes - Brilliant Gloss Protective Finish to
both sides of your cards ensures protection
of your images that won\'t rub off and your
Plastic Cards still look great after constant
long term use.
","Gloss finish both sides","","",true,0.0,0,0,0); var pOptSel_20357_227_386 = new Selection(386,"Plastic Gloss 1 side Matt 1 side","
Yes - Brilliant Gloss Protective Finish to
1 side & Matt writable finish to the other
is a great combination if you need to be
able to write on your Plastic business cards.
","Gloss 1 side Matt 1 side","","",false,0.0,0,0,0); var pOptSel_20357_227_387 = new Selection(387,"Plastic Matt both sides","
Yes - Matt finish to both sides of your
Plastic cards gives a unique look that
also allows you to write on the cards
but gives a protective finish that will
still look great after constant long
term use. 
","Matt finish both sides","","",false,0.0,0,0,0); var pOptSel_20357_204_388 = new Selection(388,"FREE DELIVERY Aust wide","
FREE DELIVERY AUSTRALIA WIDE 
We use TNT, FASTWAY & Express Post
for Free Overnight delivery to your work or home.
Please specify in the comments field if you have
a preference & please make sure someone is
there to accept the delivery.
","Overnight Free Delivery","","",true,0.0,0,0,0); var pOptSel_20357_204_389 = new Selection(389,"FREE DELIVERY Same Day Urgent","","Urgent VIP same day at additional cost","","",false,0.0,0,0,0); var pOptSel_20357_228_390 = new Selection(390,"2 x Plastic Card Multiple Artwork","","2 Different Artworks in this Qty","","",false,0.0,0,0,0); var pOptSel_20357_228_391 = new Selection(391,"3 x Plastic Card Multiple Artwork","","3 Different Artworks in this Qty","","",false,0.0,0,0,0); var pOptSel_20357_228_392 = new Selection(392,"4 x Plastic Card Multiple Artwork","","4 Different Artworks in this Qty","","",false,0.0,0,0,0); var pOptSel_20357_228_393 = new Selection(393,"5 x Plastic Card Multiple Artwork","","5 Different Artworks in this Qty","","",false,0.0,0,0,0); var pOptSel_20357_228_394 = new Selection(394,"One Artwork 1 or 2 sides","","Only 1 Artwork for this job","","",true,0.0,0,0,0); var pOptSel_20357_229_395 = new Selection(395,"PET Full Colour 2 sides","","Full Colour Both Sides","","",true,0.0,0,0,0); var pOptSel_20357_229_397 = new Selection(397,"PET Full Col 1 side blank other","","Full Col 1 Side, Blank reverse","","",false,0.0,0,0,0); var pOptSel_20357_177_398 = new Selection(398,"Barcoding Option 2","
Yes
 - Code 39 Barcode Symbology required 
and remember a 3 digit barcode ie 001 will only give you
999 cards in your range so it might be better to start
at 0001 or even 00001.


","Code 39 Barcode","","",false,0.0,0,0,0); var pOptSel_20357_177_399 = new Selection(399,"Barcoding Option 3","
Yes
 - Please advise your Barcode Symbology required in
the comments field below
and remember a 3 digit barcode ie 001 will only give you
999 cards in your range so it might be better to start
at 0001 or even 00001.


","Other Barcode Type","","",false,0.0,0,0,0); var pOptSel_20357_177_444 = new Selection(444,"Barcoding Option 5","
Yes
 - QR Barcodes in sequential numbering or from your database

Remember a 3 digit barcode ie 001 will only give you
999 cards in your range so it might be better to start
at 0001 or even 00001.


","QR Barcodes","","",false,0.0,0,0,0); var pOptSel_20357_249_458 = new Selection(458,"PVC Plastic (Offset Printed)","","PVC Plastic (Offset Printed)","","",false,0.0,0,0,0); var pOptSel_20357_249_459 = new Selection(459,"PET Plastic (High Definition Digital)","","PET Plastic (High Definition Digital)","","",true,0.0,0,0,0); var pOptSel_20357_215_461 = new Selection(461,"Spot Varnish","","Spot Varnish","","",false,0.0,0,0,0); var pOptSel_20357_251_463 = new Selection(463,"PVC Single Writing Panel","","Single Writing Panel","","",false,0.0,0,0,0); var pOptSel_20357_251_464 = new Selection(464,"PVC Two Writing Panels","","Two Writing Panels","","",false,0.0,0,0,0); var pOptSel_20357_251_465 = new Selection(465,"PVC Three Writing Panels","","Three Writing Panels","","",false,0.0,0,0,0); var pOptSel_20357_251_466 = new Selection(466,"PVC Four Writing Panels","","Four Writing Panels","","",false,0.0,0,0,0); var pOpt_20357_98 = new Option(98,"Artwork Options","","Artwork Options","Artwork Options ","

Your selection is:

","DropDown","5","Design Option","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_98_110, pOptSel_20357_98_91, pOptSel_20357_98_97, pOptSel_20357_98_263],true); var pOpt_20357_176 = new Option(176,"Plastic Card Thickness","","","Card Thickness ","

What thickness do you need the cards:

","DropDown","1","Base Modifier","15","Stock","1","Table","vertical","MultiLine","","","","1","0",0,[pOptSel_20357_176_315, pOptSel_20357_176_287, pOptSel_20357_176_286],true); var pOpt_20357_177 = new Option(177,"Plastic Card Barcoding","","Plastic Card Barcoding","Barcodes Sequential ","

Barcoding required:


","DropDown","4","Finishing Option","-1","","1","Table","horizontal","SingleLine","","","","1","0",0,[pOptSel_20357_177_312, pOptSel_20357_177_288, pOptSel_20357_177_398, pOptSel_20357_177_399, pOptSel_20357_177_444],true); var pOpt_20357_178 = new Option(178,"Sequential Numbering","","","Serial Numbers ","

Numbering required:

","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_178_312, pOptSel_20357_178_289],true); var pOpt_20357_179 = new Option(179,"PET Plastic Card Writing panel","","","Signature Strip or Writing Panel ","

Use this option for Signature Strips or an Allover Writable Matt finish on the back of the card:

","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_179_312, pOptSel_20357_179_314, pOptSel_20357_179_290, pOptSel_20357_179_316],true); var pOpt_20357_181 = new Option(181,"Plastic Card Hole Drilled or Slot","","","Slot or Hole for Lanyard ","

Hole Drilling required:

","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_181_312, pOptSel_20357_181_293, pOptSel_20357_181_291],true); var pOpt_20357_183 = new Option(183,"Plastic Card VDP","","","Variable Data Printing ","

Variable Data Printing required:

","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_183_312, pOptSel_20357_183_292],true); var pOpt_20357_194 = new Option(194,"Starting Number","","Starting Number","Starting Number ","","TextBox","-1","","-1","","1","Table","vertical","SingleLine","","","","0","0",0,[pOptSel_20357_194_310],true); var pOpt_20357_195 = new Option(195,"Starting Number Barcoding","","Starting Number Barcoding","Barcode Start No. ","","TextBox","-1","","-1","","1","Table","vertical","SingleLine","","","","0","0",0,[pOptSel_20357_195_288],true); var pOpt_20357_204 = new Option(204,"FREE DELIVERY Aust Wide","","","FREE DELIVERY Aust Wide ","","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_204_388, pOptSel_20357_204_330, pOptSel_20357_204_389],true); var pOpt_20357_209 = new Option(209,"Magnetic Stripe","","Magnetic Stripe","Magnetic Stripe Required ","Magnetic Stripes on cards come in two options - Hi-Co or Lo-Co and it is important that you choose the correct type for your cards. Lo-Co Magnetic Stripes are the most common type. Please note if you do not have your own encoding machine you will also need to choose the \"Encoding\" option on this page and specify Track 1, 2 or 3.","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_209_312, pOptSel_20357_209_342, pOptSel_20357_209_340],true); var pOpt_20357_210 = new Option(210,"Overprint Coating","","Overprint Coating on Cards","Overprint Coating for thermal printers ","Overprint Coating is essential if you intend to overprint on the cards with your own thermal ID card printer. It is clear and won\'t affect the appearance of your artwork. Please select this option to allow the usage of thermal printers, to overprint names, numbers, photos etc on the cards with ease.","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_210_312, pOptSel_20357_210_344],true); var pOpt_20357_211 = new Option(211,"Magnetic Stripe Encoding","","Magnetic Stripe Encoding","Magnetic Stripe Encoding ","Please specify Track 1, 2 or 3 for encoding. Track 1 is Alphanumerical and Track 2 is Numerical only but is the most common track used. Also if using this option please specify the starting number or supply your own database if using random numbering.","DropDown","4","Finishing Option","-1","","1","Table","horizontal","SingleLine","","","","1","0",0,[pOptSel_20357_211_312, pOptSel_20357_211_345, pOptSel_20357_211_346, pOptSel_20357_211_347],true); var pOpt_20357_212 = new Option(212,"Turn Around Time PVC Cards","","Turn Around Time PVC Cards","Turn Around Time PVC Cards ","","DropDown","-1","","-1","","1","Table","horizontal","SingleLine","","","","1","0",0,[pOptSel_20357_212_349],true); var pOpt_20357_214 = new Option(214,"Embossed Numbering","","Embossed Numbering","Embossed Numbering ","","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_214_312, pOptSel_20357_214_350, pOptSel_20357_214_351],true); var pOpt_20357_215 = new Option(215,"Foil Stamping","","Foil Stamping","Foil Stamping or Spot Varnish ","","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_215_312, pOptSel_20357_215_352, pOptSel_20357_215_461],true); var pOpt_20357_219 = new Option(219,"Turn Around Time PET Plastic Cards","","","Manufacture Time ","","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_219_348, pOptSel_20357_219_361, pOptSel_20357_219_362],true); var pOpt_20357_225 = new Option(225,"Metallic Inks","","","Metallic Ink ","","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_225_312, pOptSel_20357_225_380, pOptSel_20357_225_381],true); var pOpt_20357_227 = new Option(227,"Plastic Card Gloss or Matt Finish","","","Gloss or Matt finish ","","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_227_385, pOptSel_20357_227_386, pOptSel_20357_227_387],true); var pOpt_20357_228 = new Option(228,"Plastic Cards Multiple Artworks","","Plastic Cards Multiple Artworks","More than 1 card type ie 2+ Artworks ","

Use this option if you require a Quantity of cards but have more than 1 artwork to supply ie 1500 cards but 3 different artworks with 500 of each:

","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_228_394, pOptSel_20357_228_390, pOptSel_20357_228_391, pOptSel_20357_228_392, pOptSel_20357_228_393],true); var pOpt_20357_229 = new Option(229,"Plastic Card No of sides printed","","","Number of sides Printed ","","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_229_395, pOptSel_20357_229_397],true); var pOpt_20357_249 = new Option(249,"Plastic Card Type PET OR PVC","","","Choose your Type of Plastic Cards ","","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_249_459, pOptSel_20357_249_458],true); var pOpt_20357_251 = new Option(251,"PVC Plastic Card Writing Panel","",""," ","","DropDown","-1","","-1","","1","Table","vertical","SingleLine","","","","1","0",0,[pOptSel_20357_251_312, pOptSel_20357_251_463, pOptSel_20357_251_464, pOptSel_20357_251_465, pOptSel_20357_251_466],true); var pq_143607_98_110 = new SelectionsPrice(98, 110, 0.000) var pq_143607_176_315 = new SelectionsPrice(176, 315, 0.000) var pq_143607_177_312 = new SelectionsPrice(177, 312, 0.000) var pq_143607_178_312 = new SelectionsPrice(178, 312, 0.000) var pq_143607_179_312 = new SelectionsPrice(179, 312, 0.000) var pq_143607_181_312 = new SelectionsPrice(181, 312, 0.000) var pq_143607_183_312 = new SelectionsPrice(183, 312, 0.000) var pq_143607_194_310 = new SelectionsPrice(194, 310, 0.000) var pq_143607_195_288 = new SelectionsPrice(195, 288, 0.000) var pq_143607_209_312 = new SelectionsPrice(209, 312, 0.000) var pq_143607_210_312 = new SelectionsPrice(210, 312, 0.000) var pq_143607_211_312 = new SelectionsPrice(211, 312, 0.000) var pq_143607_212_349 = new SelectionsPrice(212, 349, 0.000) var pq_143607_214_312 = new SelectionsPrice(214, 312, 0.000) var pq_143607_215_312 = new SelectionsPrice(215, 312, 0.000) var pq_143607_219_348 = new SelectionsPrice(219, 348, 0.000) var pq_143607_225_312 = new SelectionsPrice(225, 312, 0.000) var pq_143607_227_385 = new SelectionsPrice(227, 385, 0.000) var pq_143607_228_394 = new SelectionsPrice(228, 394, 0.000) var pq_143607_229_395 = new SelectionsPrice(229, 395, 0.000) var pq_143607_249_459 = new SelectionsPrice(249, 459, 0.000) var pq_143607_251_312 = new SelectionsPrice(251, 312, 0.000) var pq_143607_98_91 = new SelectionsPrice(98, 91, 0.000) var pq_143607_176_287 = new SelectionsPrice(176, 287, 0.000) var pq_143607_177_288 = new SelectionsPrice(177, 288, 25.000) var pq_143607_178_289 = new SelectionsPrice(178, 289, 25.000) var pq_143607_179_314 = new SelectionsPrice(179, 314, 28.000) var pq_143607_181_293 = new SelectionsPrice(181, 293, 18.000) var pq_143607_183_292 = new SelectionsPrice(183, 292, 20.000) var pq_143607_204_388 = new SelectionsPrice(204, 388, 0.000) var pq_143607_209_342 = new SelectionsPrice(209, 342, 35.000) var pq_143607_210_344 = new SelectionsPrice(210, 344, 60.000) var pq_143607_211_345 = new SelectionsPrice(211, 345, 54.000) var pq_143607_214_350 = new SelectionsPrice(214, 350, 65.000) var pq_143607_215_352 = new SelectionsPrice(215, 352, 70.000) var pq_143607_219_361 = new SelectionsPrice(219, 361, 30.000) var pq_143607_225_380 = new SelectionsPrice(225, 380, 65.000) var pq_143607_227_386 = new SelectionsPrice(227, 386, 0.000) var pq_143607_228_390 = new SelectionsPrice(228, 390, 45.000) var pq_143607_229_397 = new SelectionsPrice(229, 397, -0.750) var pq_143607_249_458 = new SelectionsPrice(249, 458, 29.000) var pq_143607_251_463 = new SelectionsPrice(251, 463, 18.000) var pq_143607_98_97 = new SelectionsPrice(98, 97, 90.000) var pq_143607_176_286 = new SelectionsPrice(176, 286, 0.000) var pq_143607_177_398 = new SelectionsPrice(177, 398, 25.000) var pq_143607_179_290 = new SelectionsPrice(179, 290, 28.000) var pq_143607_181_291 = new SelectionsPrice(181, 291, 18.000) var pq_143607_204_330 = new SelectionsPrice(204, 330, 0.000) var pq_143607_209_340 = new SelectionsPrice(209, 340, 59.000) var pq_143607_211_346 = new SelectionsPrice(211, 346, 54.000) var pq_143607_214_351 = new SelectionsPrice(214, 351, 65.000) var pq_143607_215_461 = new SelectionsPrice(215, 461, 70.000) var pq_143607_219_362 = new SelectionsPrice(219, 362, 100.000) var pq_143607_225_381 = new SelectionsPrice(225, 381, 65.000) var pq_143607_227_387 = new SelectionsPrice(227, 387, 0.000) var pq_143607_228_391 = new SelectionsPrice(228, 391, 88.000) var pq_143607_251_464 = new SelectionsPrice(251, 464, 27.000) var pq_143607_98_263 = new SelectionsPrice(98, 263, 40.000) var pq_143607_177_399 = new SelectionsPrice(177, 399, 25.000) var pq_143607_179_316 = new SelectionsPrice(179, 316, 36.000) var pq_143607_204_389 = new SelectionsPrice(204, 389, 0.000) var pq_143607_211_347 = new SelectionsPrice(211, 347, 54.000) var pq_143607_228_392 = new SelectionsPrice(228, 392, 122.000) var pq_143607_251_465 = new SelectionsPrice(251, 465, 36.000) var pq_143607_177_444 = new SelectionsPrice(177, 444, 75.000) var pq_143607_228_393 = new SelectionsPrice(228, 393, 137.000) var pq_143607_251_466 = new SelectionsPrice(251, 466, 45.000) var pq_143607 = new ProductQuantities(143607, 20357, 50, 110.0000, [pq_143607_98_110, pq_143607_176_315, pq_143607_177_312, pq_143607_178_312, pq_143607_179_312, pq_143607_181_312, pq_143607_183_312, pq_143607_194_310, pq_143607_195_288, pq_143607_209_312, pq_143607_210_312, pq_143607_211_312, pq_143607_212_349, pq_143607_214_312, pq_143607_215_312, pq_143607_219_348, pq_143607_225_312, pq_143607_227_385, pq_143607_228_394, pq_143607_229_395, pq_143607_249_459, pq_143607_251_312, pq_143607_98_91, pq_143607_176_287, pq_143607_177_288, pq_143607_178_289, pq_143607_179_314, pq_143607_181_293, pq_143607_183_292, pq_143607_204_388, pq_143607_209_342, pq_143607_210_344, pq_143607_211_345, pq_143607_214_350, pq_143607_215_352, pq_143607_219_361, pq_143607_225_380, pq_143607_227_386, pq_143607_228_390, pq_143607_229_397, pq_143607_249_458, pq_143607_251_463, pq_143607_98_97, pq_143607_176_286, pq_143607_177_398, pq_143607_179_290, pq_143607_181_291, pq_143607_204_330, pq_143607_209_340, pq_143607_211_346, pq_143607_214_351, pq_143607_215_461, pq_143607_219_362, pq_143607_225_381, pq_143607_227_387, pq_143607_228_391, pq_143607_251_464, pq_143607_98_263, pq_143607_177_399, pq_143607_179_316, pq_143607_204_389, pq_143607_211_347, pq_143607_228_392, pq_143607_251_465, pq_143607_177_444, pq_143607_228_393, pq_143607_251_466]); var pq_144239_98_110 = new SelectionsPrice(98, 110, 0.000) var pq_144239_176_315 = new SelectionsPrice(176, 315, 0.000) var pq_144239_177_312 = new SelectionsPrice(177, 312, 0.000) var pq_144239_178_312 = new SelectionsPrice(178, 312, 0.000) var pq_144239_179_312 = new SelectionsPrice(179, 312, 0.000) var pq_144239_181_312 = new SelectionsPrice(181, 312, 0.000) var pq_144239_183_312 = new SelectionsPrice(183, 312, 0.000) var pq_144239_194_310 = new SelectionsPrice(194, 310, 0.000) var pq_144239_195_288 = new SelectionsPrice(195, 288, 0.000) var pq_144239_209_312 = new SelectionsPrice(209, 312, 0.000) var pq_144239_210_312 = new SelectionsPrice(210, 312, 0.000) var pq_144239_211_312 = new SelectionsPrice(211, 312, 0.000) var pq_144239_212_349 = new SelectionsPrice(212, 349, 0.000) var pq_144239_214_312 = new SelectionsPrice(214, 312, 0.000) var pq_144239_215_312 = new SelectionsPrice(215, 312, 0.000) var pq_144239_219_348 = new SelectionsPrice(219, 348, 0.000) var pq_144239_225_312 = new SelectionsPrice(225, 312, 0.000) var pq_144239_227_385 = new SelectionsPrice(227, 385, 0.000) var pq_144239_228_394 = new SelectionsPrice(228, 394, 0.000) var pq_144239_229_395 = new SelectionsPrice(229, 395, 0.000) var pq_144239_249_459 = new SelectionsPrice(249, 459, 0.000) var pq_144239_251_312 = new SelectionsPrice(251, 312, 0.000) var pq_144239_98_91 = new SelectionsPrice(98, 91, 0.000) var pq_144239_176_287 = new SelectionsPrice(176, 287, 0.000) var pq_144239_177_288 = new SelectionsPrice(177, 288, 35.000) var pq_144239_178_289 = new SelectionsPrice(178, 289, 35.000) var pq_144239_179_314 = new SelectionsPrice(179, 314, 28.000) var pq_144239_181_293 = new SelectionsPrice(181, 293, 28.000) var pq_144239_183_292 = new SelectionsPrice(183, 292, 35.000) var pq_144239_204_388 = new SelectionsPrice(204, 388, 0.000) var pq_144239_209_342 = new SelectionsPrice(209, 342, 35.000) var pq_144239_210_344 = new SelectionsPrice(210, 344, 60.000) var pq_144239_211_345 = new SelectionsPrice(211, 345, 54.000) var pq_144239_214_350 = new SelectionsPrice(214, 350, 65.000) var pq_144239_215_352 = new SelectionsPrice(215, 352, 70.000) var pq_144239_219_361 = new SelectionsPrice(219, 361, 30.000) var pq_144239_225_380 = new SelectionsPrice(225, 380, 65.000) var pq_144239_227_386 = new SelectionsPrice(227, 386, 0.000) var pq_144239_228_390 = new SelectionsPrice(228, 390, 79.000) var pq_144239_229_397 = new SelectionsPrice(229, 397, -1.500) var pq_144239_249_458 = new SelectionsPrice(249, 458, 16.500) var pq_144239_251_463 = new SelectionsPrice(251, 463, 20.000) var pq_144239_98_97 = new SelectionsPrice(98, 97, 90.000) var pq_144239_176_286 = new SelectionsPrice(176, 286, 0.000) var pq_144239_177_398 = new SelectionsPrice(177, 398, 35.000) var pq_144239_179_290 = new SelectionsPrice(179, 290, 28.000) var pq_144239_181_291 = new SelectionsPrice(181, 291, 28.000) var pq_144239_204_330 = new SelectionsPrice(204, 330, 0.000) var pq_144239_209_340 = new SelectionsPrice(209, 340, 59.000) var pq_144239_211_346 = new SelectionsPrice(211, 346, 54.000) var pq_144239_214_351 = new SelectionsPrice(214, 351, 65.000) var pq_144239_215_461 = new SelectionsPrice(215, 461, 70.000) var pq_144239_219_362 = new SelectionsPrice(219, 362, 100.000) var pq_144239_225_381 = new SelectionsPrice(225, 381, 65.000) var pq_144239_227_387 = new SelectionsPrice(227, 387, 0.000) var pq_144239_228_391 = new SelectionsPrice(228, 391, 100.000) var pq_144239_251_464 = new SelectionsPrice(251, 464, 30.000) var pq_144239_98_263 = new SelectionsPrice(98, 263, 40.000) var pq_144239_177_399 = new SelectionsPrice(177, 399, 35.000) var pq_144239_179_316 = new SelectionsPrice(179, 316, 36.000) var pq_144239_204_389 = new SelectionsPrice(204, 389, 0.000) var pq_144239_211_347 = new SelectionsPrice(211, 347, 54.000) var pq_144239_228_392 = new SelectionsPrice(228, 392, 164.000) var pq_144239_251_465 = new SelectionsPrice(251, 465, 40.000) var pq_144239_177_444 = new SelectionsPrice(177, 444, 75.000) var pq_144239_228_393 = new SelectionsPrice(228, 393, 181.000) var pq_144239_251_466 = new SelectionsPrice(251, 466, 50.000) var pq_144239 = new ProductQuantities(144239, 20357, 100, 116.0000, [pq_144239_98_110, pq_144239_176_315, pq_144239_177_312, pq_144239_178_312, pq_144239_179_312, pq_144239_181_312, pq_144239_183_312, pq_144239_194_310, pq_144239_195_288, pq_144239_209_312, pq_144239_210_312, pq_144239_211_312, pq_144239_212_349, pq_144239_214_312, pq_144239_215_312, pq_144239_219_348, pq_144239_225_312, pq_144239_227_385, pq_144239_228_394, pq_144239_229_395, pq_144239_249_459, pq_144239_251_312, pq_144239_98_91, pq_144239_176_287, pq_144239_177_288, pq_144239_178_289, pq_144239_179_314, pq_144239_181_293, pq_144239_183_292, pq_144239_204_388, pq_144239_209_342, pq_144239_210_344, pq_144239_211_345, pq_144239_214_350, pq_144239_215_352, pq_144239_219_361, pq_144239_225_380, pq_144239_227_386, pq_144239_228_390, pq_144239_229_397, pq_144239_249_458, pq_144239_251_463, pq_144239_98_97, pq_144239_176_286, pq_144239_177_398, pq_144239_179_290, pq_144239_181_291, pq_144239_204_330, pq_144239_209_340, pq_144239_211_346, pq_144239_214_351, pq_144239_215_461, pq_144239_219_362, pq_144239_225_381, pq_144239_227_387, pq_144239_228_391, pq_144239_251_464, pq_144239_98_263, pq_144239_177_399, pq_144239_179_316, pq_144239_204_389, pq_144239_211_347, pq_144239_228_392, pq_144239_251_465, pq_144239_177_444, pq_144239_228_393, pq_144239_251_466]); var pq_143600_98_110 = new SelectionsPrice(98, 110, 0.000) var pq_143600_176_315 = new SelectionsPrice(176, 315, -10.000) var pq_143600_177_312 = new SelectionsPrice(177, 312, 0.000) var pq_143600_178_312 = new SelectionsPrice(178, 312, 0.000) var pq_143600_179_312 = new SelectionsPrice(179, 312, 0.000) var pq_143600_181_312 = new SelectionsPrice(181, 312, 0.000) var pq_143600_183_312 = new SelectionsPrice(183, 312, 0.000) var pq_143600_194_310 = new SelectionsPrice(194, 310, 0.000) var pq_143600_195_288 = new SelectionsPrice(195, 288, 0.000) var pq_143600_209_312 = new SelectionsPrice(209, 312, 0.000) var pq_143600_210_312 = new SelectionsPrice(210, 312, 0.000) var pq_143600_211_312 = new SelectionsPrice(211, 312, 0.000) var pq_143600_212_349 = new SelectionsPrice(212, 349, 0.000) var pq_143600_214_312 = new SelectionsPrice(214, 312, 0.000) var pq_143600_215_312 = new SelectionsPrice(215, 312, 0.000) var pq_143600_219_348 = new SelectionsPrice(219, 348, 0.000) var pq_143600_225_312 = new SelectionsPrice(225, 312, 0.000) var pq_143600_227_385 = new SelectionsPrice(227, 385, 0.000) var pq_143600_228_394 = new SelectionsPrice(228, 394, 0.000) var pq_143600_229_395 = new SelectionsPrice(229, 395, 0.000) var pq_143600_249_459 = new SelectionsPrice(249, 459, 0.000) var pq_143600_251_312 = new SelectionsPrice(251, 312, 0.000) var pq_143600_98_91 = new SelectionsPrice(98, 91, 0.000) var pq_143600_176_287 = new SelectionsPrice(176, 287, 0.000) var pq_143600_177_288 = new SelectionsPrice(177, 288, 35.000) var pq_143600_178_289 = new SelectionsPrice(178, 289, 45.000) var pq_143600_179_314 = new SelectionsPrice(179, 314, 32.000) var pq_143600_181_293 = new SelectionsPrice(181, 293, 32.000) var pq_143600_183_292 = new SelectionsPrice(183, 292, 60.000) var pq_143600_204_388 = new SelectionsPrice(204, 388, 0.000) var pq_143600_209_342 = new SelectionsPrice(209, 342, 35.000) var pq_143600_210_344 = new SelectionsPrice(210, 344, 70.000) var pq_143600_211_345 = new SelectionsPrice(211, 345, 54.000) var pq_143600_214_350 = new SelectionsPrice(214, 350, 65.000) var pq_143600_215_352 = new SelectionsPrice(215, 352, 70.000) var pq_143600_219_361 = new SelectionsPrice(219, 361, 30.000) var pq_143600_225_380 = new SelectionsPrice(225, 380, 65.000) var pq_143600_227_386 = new SelectionsPrice(227, 386, 0.000) var pq_143600_228_390 = new SelectionsPrice(228, 390, 95.000) var pq_143600_229_397 = new SelectionsPrice(229, 397, -3.750) var pq_143600_249_458 = new SelectionsPrice(249, 458, 9.000) var pq_143600_251_463 = new SelectionsPrice(251, 463, 22.000) var pq_143600_98_97 = new SelectionsPrice(98, 97, 90.000) var pq_143600_176_286 = new SelectionsPrice(176, 286, 0.000) var pq_143600_177_398 = new SelectionsPrice(177, 398, 35.000) var pq_143600_179_290 = new SelectionsPrice(179, 290, 32.000) var pq_143600_181_291 = new SelectionsPrice(181, 291, 32.000) var pq_143600_204_330 = new SelectionsPrice(204, 330, 0.000) var pq_143600_209_340 = new SelectionsPrice(209, 340, 59.000) var pq_143600_211_346 = new SelectionsPrice(211, 346, 54.000) var pq_143600_214_351 = new SelectionsPrice(214, 351, 65.000) var pq_143600_215_461 = new SelectionsPrice(215, 461, 70.000) var pq_143600_219_362 = new SelectionsPrice(219, 362, 100.000) var pq_143600_225_381 = new SelectionsPrice(225, 381, 65.000) var pq_143600_227_387 = new SelectionsPrice(227, 387, 0.000) var pq_143600_228_391 = new SelectionsPrice(228, 391, 204.000) var pq_143600_251_464 = new SelectionsPrice(251, 464, 31.000) var pq_143600_98_263 = new SelectionsPrice(98, 263, 40.000) var pq_143600_177_399 = new SelectionsPrice(177, 399, 35.000) var pq_143600_179_316 = new SelectionsPrice(179, 316, 54.000) var pq_143600_204_389 = new SelectionsPrice(204, 389, 0.000) var pq_143600_211_347 = new SelectionsPrice(211, 347, 54.000) var pq_143600_228_392 = new SelectionsPrice(228, 392, 310.000) var pq_143600_251_465 = new SelectionsPrice(251, 465, 44.000) var pq_143600_177_444 = new SelectionsPrice(177, 444, 75.000) var pq_143600_228_393 = new SelectionsPrice(228, 393, 415.000) var pq_143600_251_466 = new SelectionsPrice(251, 466, 55.000) var pq_143600 = new ProductQuantities(143600, 20357, 250, 125.0000, [pq_143600_98_110, pq_143600_176_315, pq_143600_177_312, pq_143600_178_312, pq_143600_179_312, pq_143600_181_312, pq_143600_183_312, pq_143600_194_310, pq_143600_195_288, pq_143600_209_312, pq_143600_210_312, pq_143600_211_312, pq_143600_212_349, pq_143600_214_312, pq_143600_215_312, pq_143600_219_348, pq_143600_225_312, pq_143600_227_385, pq_143600_228_394, pq_143600_229_395, pq_143600_249_459, pq_143600_251_312, pq_143600_98_91, pq_143600_176_287, pq_143600_177_288, pq_143600_178_289, pq_143600_179_314, pq_143600_181_293, pq_143600_183_292, pq_143600_204_388, pq_143600_209_342, pq_143600_210_344, pq_143600_211_345, pq_143600_214_350, pq_143600_215_352, pq_143600_219_361, pq_143600_225_380, pq_143600_227_386, pq_143600_228_390, pq_143600_229_397, pq_143600_249_458, pq_143600_251_463, pq_143600_98_97, pq_143600_176_286, pq_143600_177_398, pq_143600_179_290, pq_143600_181_291, pq_143600_204_330, pq_143600_209_340, pq_143600_211_346, pq_143600_214_351, pq_143600_215_461, pq_143600_219_362, pq_143600_225_381, pq_143600_227_387, pq_143600_228_391, pq_143600_251_464, pq_143600_98_263, pq_143600_177_399, pq_143600_179_316, pq_143600_204_389, pq_143600_211_347, pq_143600_228_392, pq_143600_251_465, pq_143600_177_444, pq_143600_228_393, pq_143600_251_466]); var pq_143596_98_110 = new SelectionsPrice(98, 110, 0.000) var pq_143596_176_315 = new SelectionsPrice(176, 315, -15.000) var pq_143596_177_312 = new SelectionsPrice(177, 312, 0.000) var pq_143596_178_312 = new SelectionsPrice(178, 312, 0.000) var pq_143596_179_312 = new SelectionsPrice(179, 312, 0.000) var pq_143596_181_312 = new SelectionsPrice(181, 312, 0.000) var pq_143596_183_312 = new SelectionsPrice(183, 312, 0.000) var pq_143596_194_310 = new SelectionsPrice(194, 310, 0.000) var pq_143596_195_288 = new SelectionsPrice(195, 288, 0.000) var pq_143596_209_312 = new SelectionsPrice(209, 312, 0.000) var pq_143596_210_312 = new SelectionsPrice(210, 312, 0.000) var pq_143596_211_312 = new SelectionsPrice(211, 312, 0.000) var pq_143596_212_349 = new SelectionsPrice(212, 349, 0.000) var pq_143596_214_312 = new SelectionsPrice(214, 312, 0.000) var pq_143596_215_312 = new SelectionsPrice(215, 312, 0.000) var pq_143596_219_348 = new SelectionsPrice(219, 348, 0.000) var pq_143596_225_312 = new SelectionsPrice(225, 312, 0.000) var pq_143596_227_385 = new SelectionsPrice(227, 385, 0.000) var pq_143596_228_394 = new SelectionsPrice(228, 394, 0.000) var pq_143596_229_395 = new SelectionsPrice(229, 395, 0.000) var pq_143596_249_459 = new SelectionsPrice(249, 459, 0.000) var pq_143596_251_312 = new SelectionsPrice(251, 312, 0.000) var pq_143596_98_91 = new SelectionsPrice(98, 91, 0.000) var pq_143596_176_287 = new SelectionsPrice(176, 287, 10.000) var pq_143596_177_288 = new SelectionsPrice(177, 288, 53.000) var pq_143596_178_289 = new SelectionsPrice(178, 289, 53.000) var pq_143596_179_314 = new SelectionsPrice(179, 314, 53.000) var pq_143596_181_293 = new SelectionsPrice(181, 293, 53.000) var pq_143596_183_292 = new SelectionsPrice(183, 292, 60.000) var pq_143596_204_388 = new SelectionsPrice(204, 388, 0.000) var pq_143596_209_342 = new SelectionsPrice(209, 342, 53.000) var pq_143596_210_344 = new SelectionsPrice(210, 344, 75.000) var pq_143596_211_345 = new SelectionsPrice(211, 345, 54.000) var pq_143596_214_350 = new SelectionsPrice(214, 350, 65.000) var pq_143596_215_352 = new SelectionsPrice(215, 352, 80.000) var pq_143596_219_361 = new SelectionsPrice(219, 361, 40.000) var pq_143596_225_380 = new SelectionsPrice(225, 380, 65.000) var pq_143596_227_386 = new SelectionsPrice(227, 386, 0.000) var pq_143596_228_390 = new SelectionsPrice(228, 390, 117.000) var pq_143596_229_397 = new SelectionsPrice(229, 397, -7.500) var pq_143596_249_458 = new SelectionsPrice(249, 458, 0.000) var pq_143596_251_463 = new SelectionsPrice(251, 463, 31.000) var pq_143596_98_97 = new SelectionsPrice(98, 97, 90.000) var pq_143596_176_286 = new SelectionsPrice(176, 286, 0.000) var pq_143596_177_398 = new SelectionsPrice(177, 398, 53.000) var pq_143596_179_290 = new SelectionsPrice(179, 290, 53.000) var pq_143596_181_291 = new SelectionsPrice(181, 291, 53.000) var pq_143596_204_330 = new SelectionsPrice(204, 330, 0.000) var pq_143596_209_340 = new SelectionsPrice(209, 340, 59.000) var pq_143596_211_346 = new SelectionsPrice(211, 346, 54.000) var pq_143596_214_351 = new SelectionsPrice(214, 351, 65.000) var pq_143596_215_461 = new SelectionsPrice(215, 461, 80.000) var pq_143596_219_362 = new SelectionsPrice(219, 362, 100.000) var pq_143596_225_381 = new SelectionsPrice(225, 381, 65.000) var pq_143596_227_387 = new SelectionsPrice(227, 387, 0.000) var pq_143596_228_391 = new SelectionsPrice(228, 391, 235.000) var pq_143596_251_464 = new SelectionsPrice(251, 464, 46.500) var pq_143596_98_263 = new SelectionsPrice(98, 263, 40.000) var pq_143596_177_399 = new SelectionsPrice(177, 399, 53.000) var pq_143596_179_316 = new SelectionsPrice(179, 316, 72.000) var pq_143596_204_389 = new SelectionsPrice(204, 389, 0.000) var pq_143596_211_347 = new SelectionsPrice(211, 347, 54.000) var pq_143596_228_392 = new SelectionsPrice(228, 392, 353.000) var pq_143596_251_465 = new SelectionsPrice(251, 465, 62.000) var pq_143596_177_444 = new SelectionsPrice(177, 444, 75.000) var pq_143596_228_393 = new SelectionsPrice(228, 393, 471.000) var pq_143596_251_466 = new SelectionsPrice(251, 466, 77.500) var pq_143596 = new ProductQuantities(143596, 20357, 500, 143.0000, [pq_143596_98_110, pq_143596_176_315, pq_143596_177_312, pq_143596_178_312, pq_143596_179_312, pq_143596_181_312, pq_143596_183_312, pq_143596_194_310, pq_143596_195_288, pq_143596_209_312, pq_143596_210_312, pq_143596_211_312, pq_143596_212_349, pq_143596_214_312, pq_143596_215_312, pq_143596_219_348, pq_143596_225_312, pq_143596_227_385, pq_143596_228_394, pq_143596_229_395, pq_143596_249_459, pq_143596_251_312, pq_143596_98_91, pq_143596_176_287, pq_143596_177_288, pq_143596_178_289, pq_143596_179_314, pq_143596_181_293, pq_143596_183_292, pq_143596_204_388, pq_143596_209_342, pq_143596_210_344, pq_143596_211_345, pq_143596_214_350, pq_143596_215_352, pq_143596_219_361, pq_143596_225_380, pq_143596_227_386, pq_143596_228_390, pq_143596_229_397, pq_143596_249_458, pq_143596_251_463, pq_143596_98_97, pq_143596_176_286, pq_143596_177_398, pq_143596_179_290, pq_143596_181_291, pq_143596_204_330, pq_143596_209_340, pq_143596_211_346, pq_143596_214_351, pq_143596_215_461, pq_143596_219_362, pq_143596_225_381, pq_143596_227_387, pq_143596_228_391, pq_143596_251_464, pq_143596_98_263, pq_143596_177_399, pq_143596_179_316, pq_143596_204_389, pq_143596_211_347, pq_143596_228_392, pq_143596_251_465, pq_143596_177_444, pq_143596_228_393, pq_143596_251_466]); var pq_143597_98_110 = new SelectionsPrice(98, 110, 0.000) var pq_143597_176_315 = new SelectionsPrice(176, 315, -20.000) var pq_143597_177_312 = new SelectionsPrice(177, 312, 0.000) var pq_143597_178_312 = new SelectionsPrice(178, 312, 0.000) var pq_143597_179_312 = new SelectionsPrice(179, 312, 0.000) var pq_143597_181_312 = new SelectionsPrice(181, 312, 0.000) var pq_143597_183_312 = new SelectionsPrice(183, 312, 0.000) var pq_143597_194_310 = new SelectionsPrice(194, 310, 0.000) var pq_143597_195_288 = new SelectionsPrice(195, 288, 0.000) var pq_143597_209_312 = new SelectionsPrice(209, 312, 0.000) var pq_143597_210_312 = new SelectionsPrice(210, 312, 0.000) var pq_143597_211_312 = new SelectionsPrice(211, 312, 0.000) var pq_143597_212_349 = new SelectionsPrice(212, 349, 0.000) var pq_143597_214_312 = new SelectionsPrice(214, 312, 0.000) var pq_143597_215_312 = new SelectionsPrice(215, 312, 0.000) var pq_143597_219_348 = new SelectionsPrice(219, 348, 0.000) var pq_143597_225_312 = new SelectionsPrice(225, 312, 0.000) var pq_143597_227_385 = new SelectionsPrice(227, 385, 0.000) var pq_143597_228_394 = new SelectionsPrice(228, 394, 0.000) var pq_143597_229_395 = new SelectionsPrice(229, 395, 0.000) var pq_143597_249_459 = new SelectionsPrice(249, 459, 0.000) var pq_143597_251_312 = new SelectionsPrice(251, 312, 0.000) var pq_143597_98_91 = new SelectionsPrice(98, 91, 0.000) var pq_143597_176_287 = new SelectionsPrice(176, 287, 72.000) var pq_143597_177_288 = new SelectionsPrice(177, 288, 69.000) var pq_143597_178_289 = new SelectionsPrice(178, 289, 69.000) var pq_143597_179_314 = new SelectionsPrice(179, 314, 69.000) var pq_143597_181_293 = new SelectionsPrice(181, 293, 69.000) var pq_143597_183_292 = new SelectionsPrice(183, 292, 69.000) var pq_143597_204_388 = new SelectionsPrice(204, 388, 0.000) var pq_143597_209_342 = new SelectionsPrice(209, 342, 65.000) var pq_143597_210_344 = new SelectionsPrice(210, 344, 75.000) var pq_143597_211_345 = new SelectionsPrice(211, 345, 72.000) var pq_143597_214_350 = new SelectionsPrice(214, 350, 69.000) var pq_143597_215_352 = new SelectionsPrice(215, 352, 95.000) var pq_143597_219_361 = new SelectionsPrice(219, 361, 50.000) var pq_143597_225_380 = new SelectionsPrice(225, 380, 74.000) var pq_143597_227_386 = new SelectionsPrice(227, 386, 0.000) var pq_143597_228_390 = new SelectionsPrice(228, 390, 121.000) var pq_143597_229_397 = new SelectionsPrice(229, 397, -15.000) var pq_143597_249_458 = new SelectionsPrice(249, 458, 0.000) var pq_143597_251_463 = new SelectionsPrice(251, 463, 40.000) var pq_143597_98_97 = new SelectionsPrice(98, 97, 90.000) var pq_143597_176_286 = new SelectionsPrice(176, 286, 0.000) var pq_143597_177_398 = new SelectionsPrice(177, 398, 69.000) var pq_143597_179_290 = new SelectionsPrice(179, 290, 69.000) var pq_143597_181_291 = new SelectionsPrice(181, 291, 69.000) var pq_143597_204_330 = new SelectionsPrice(204, 330, 0.000) var pq_143597_209_340 = new SelectionsPrice(209, 340, 69.000) var pq_143597_211_346 = new SelectionsPrice(211, 346, 72.000) var pq_143597_214_351 = new SelectionsPrice(214, 351, 69.000) var pq_143597_215_461 = new SelectionsPrice(215, 461, 90.000) var pq_143597_219_362 = new SelectionsPrice(219, 362, 100.000) var pq_143597_225_381 = new SelectionsPrice(225, 381, 74.000) var pq_143597_227_387 = new SelectionsPrice(227, 387, 0.000) var pq_143597_228_391 = new SelectionsPrice(228, 391, 250.000) var pq_143597_251_464 = new SelectionsPrice(251, 464, 60.000) var pq_143597_98_263 = new SelectionsPrice(98, 263, 40.000) var pq_143597_177_399 = new SelectionsPrice(177, 399, 69.000) var pq_143597_179_316 = new SelectionsPrice(179, 316, 98.000) var pq_143597_204_389 = new SelectionsPrice(204, 389, 0.000) var pq_143597_211_347 = new SelectionsPrice(211, 347, 72.000) var pq_143597_228_392 = new SelectionsPrice(228, 392, 376.000) var pq_143597_251_465 = new SelectionsPrice(251, 465, 80.000) var pq_143597_177_444 = new SelectionsPrice(177, 444, 99.000) var pq_143597_228_393 = new SelectionsPrice(228, 393, 495.000) var pq_143597_251_466 = new SelectionsPrice(251, 466, 100.000) var pq_143597 = new ProductQuantities(143597, 20357, 1000, 215.0000, [pq_143597_98_110, pq_143597_176_315, pq_143597_177_312, pq_143597_178_312, pq_143597_179_312, pq_143597_181_312, pq_143597_183_312, pq_143597_194_310, pq_143597_195_288, pq_143597_209_312, pq_143597_210_312, pq_143597_211_312, pq_143597_212_349, pq_143597_214_312, pq_143597_215_312, pq_143597_219_348, pq_143597_225_312, pq_143597_227_385, pq_143597_228_394, pq_143597_229_395, pq_143597_249_459, pq_143597_251_312, pq_143597_98_91, pq_143597_176_287, pq_143597_177_288, pq_143597_178_289, pq_143597_179_314, pq_143597_181_293, pq_143597_183_292, pq_143597_204_388, pq_143597_209_342, pq_143597_210_344, pq_143597_211_345, pq_143597_214_350, pq_143597_215_352, pq_143597_219_361, pq_143597_225_380, pq_143597_227_386, pq_143597_228_390, pq_143597_229_397, pq_143597_249_458, pq_143597_251_463, pq_143597_98_97, pq_143597_176_286, pq_143597_177_398, pq_143597_179_290, pq_143597_181_291, pq_143597_204_330, pq_143597_209_340, pq_143597_211_346, pq_143597_214_351, pq_143597_215_461, pq_143597_219_362, pq_143597_225_381, pq_143597_227_387, pq_143597_228_391, pq_143597_251_464, pq_143597_98_263, pq_143597_177_399, pq_143597_179_316, pq_143597_204_389, pq_143597_211_347, pq_143597_228_392, pq_143597_251_465, pq_143597_177_444, pq_143597_228_393, pq_143597_251_466]); var pq_143598_98_110 = new SelectionsPrice(98, 110, 0.000) var pq_143598_176_315 = new SelectionsPrice(176, 315, -40.000) var pq_143598_177_312 = new SelectionsPrice(177, 312, 0.000) var pq_143598_178_312 = new SelectionsPrice(178, 312, 0.000) var pq_143598_179_312 = new SelectionsPrice(179, 312, 0.000) var pq_143598_181_312 = new SelectionsPrice(181, 312, 0.000) var pq_143598_183_312 = new SelectionsPrice(183, 312, 0.000) var pq_143598_194_310 = new SelectionsPrice(194, 310, 0.000) var pq_143598_195_288 = new SelectionsPrice(195, 288, 0.000) var pq_143598_209_312 = new SelectionsPrice(209, 312, 0.000) var pq_143598_210_312 = new SelectionsPrice(210, 312, 0.000) var pq_143598_211_312 = new SelectionsPrice(211, 312, 0.000) var pq_143598_212_349 = new SelectionsPrice(212, 349, 0.000) var pq_143598_214_312 = new SelectionsPrice(214, 312, 0.000) var pq_143598_215_312 = new SelectionsPrice(215, 312, 0.000) var pq_143598_219_348 = new SelectionsPrice(219, 348, 0.000) var pq_143598_225_312 = new SelectionsPrice(225, 312, 0.000) var pq_143598_227_385 = new SelectionsPrice(227, 385, 0.000) var pq_143598_228_394 = new SelectionsPrice(228, 394, 0.000) var pq_143598_229_395 = new SelectionsPrice(229, 395, 0.000) var pq_143598_249_459 = new SelectionsPrice(249, 459, 0.000) var pq_143598_251_312 = new SelectionsPrice(251, 312, 0.000) var pq_143598_98_91 = new SelectionsPrice(98, 91, 0.000) var pq_143598_176_287 = new SelectionsPrice(176, 287, 12.000) var pq_143598_177_288 = new SelectionsPrice(177, 288, 95.000) var pq_143598_178_289 = new SelectionsPrice(178, 289, 95.000) var pq_143598_179_314 = new SelectionsPrice(179, 314, 95.000) var pq_143598_181_293 = new SelectionsPrice(181, 293, 95.000) var pq_143598_183_292 = new SelectionsPrice(183, 292, 95.000) var pq_143598_204_388 = new SelectionsPrice(204, 388, 0.000) var pq_143598_209_342 = new SelectionsPrice(209, 342, 98.000) var pq_143598_210_344 = new SelectionsPrice(210, 344, 145.000) var pq_143598_211_345 = new SelectionsPrice(211, 345, 110.000) var pq_143598_214_350 = new SelectionsPrice(214, 350, 98.000) var pq_143598_215_352 = new SelectionsPrice(215, 352, 145.000) var pq_143598_219_361 = new SelectionsPrice(219, 361, 70.000) var pq_143598_225_380 = new SelectionsPrice(225, 380, 92.000) var pq_143598_227_386 = new SelectionsPrice(227, 386, 0.000) var pq_143598_228_390 = new SelectionsPrice(228, 390, 41.000) var pq_143598_229_397 = new SelectionsPrice(229, 397, -30.000) var pq_143598_249_458 = new SelectionsPrice(249, 458, 0.000) var pq_143598_251_463 = new SelectionsPrice(251, 463, 60.000) var pq_143598_98_97 = new SelectionsPrice(98, 97, 90.000) var pq_143598_176_286 = new SelectionsPrice(176, 286, 0.000) var pq_143598_177_398 = new SelectionsPrice(177, 398, 95.000) var pq_143598_179_290 = new SelectionsPrice(179, 290, 95.000) var pq_143598_181_291 = new SelectionsPrice(181, 291, 95.000) var pq_143598_204_330 = new SelectionsPrice(204, 330, 0.000) var pq_143598_209_340 = new SelectionsPrice(209, 340, 145.000) var pq_143598_211_346 = new SelectionsPrice(211, 346, 110.000) var pq_143598_214_351 = new SelectionsPrice(214, 351, 95.000) var pq_143598_215_461 = new SelectionsPrice(215, 461, 145.000) var pq_143598_219_362 = new SelectionsPrice(219, 362, 138.000) var pq_143598_225_381 = new SelectionsPrice(225, 381, 92.000) var pq_143598_227_387 = new SelectionsPrice(227, 387, 0.000) var pq_143598_228_391 = new SelectionsPrice(228, 391, 180.000) var pq_143598_251_464 = new SelectionsPrice(251, 464, 90.000) var pq_143598_98_263 = new SelectionsPrice(98, 263, 40.000) var pq_143598_177_399 = new SelectionsPrice(177, 399, 95.000) var pq_143598_179_316 = new SelectionsPrice(179, 316, 128.000) var pq_143598_204_389 = new SelectionsPrice(204, 389, 0.000) var pq_143598_211_347 = new SelectionsPrice(211, 347, 110.000) var pq_143598_228_392 = new SelectionsPrice(228, 392, 320.000) var pq_143598_251_465 = new SelectionsPrice(251, 465, 120.000) var pq_143598_177_444 = new SelectionsPrice(177, 444, 99.000) var pq_143598_228_393 = new SelectionsPrice(228, 393, 453.000) var pq_143598_251_466 = new SelectionsPrice(251, 466, 150.000) var pq_143598 = new ProductQuantities(143598, 20357, 2000, 413.0000, [pq_143598_98_110, pq_143598_176_315, pq_143598_177_312, pq_143598_178_312, pq_143598_179_312, pq_143598_181_312, pq_143598_183_312, pq_143598_194_310, pq_143598_195_288, pq_143598_209_312, pq_143598_210_312, pq_143598_211_312, pq_143598_212_349, pq_143598_214_312, pq_143598_215_312, pq_143598_219_348, pq_143598_225_312, pq_143598_227_385, pq_143598_228_394, pq_143598_229_395, pq_143598_249_459, pq_143598_251_312, pq_143598_98_91, pq_143598_176_287, pq_143598_177_288, pq_143598_178_289, pq_143598_179_314, pq_143598_181_293, pq_143598_183_292, pq_143598_204_388, pq_143598_209_342, pq_143598_210_344, pq_143598_211_345, pq_143598_214_350, pq_143598_215_352, pq_143598_219_361, pq_143598_225_380, pq_143598_227_386, pq_143598_228_390, pq_143598_229_397, pq_143598_249_458, pq_143598_251_463, pq_143598_98_97, pq_143598_176_286, pq_143598_177_398, pq_143598_179_290, pq_143598_181_291, pq_143598_204_330, pq_143598_209_340, pq_143598_211_346, pq_143598_214_351, pq_143598_215_461, pq_143598_219_362, pq_143598_225_381, pq_143598_227_387, pq_143598_228_391, pq_143598_251_464, pq_143598_98_263, pq_143598_177_399, pq_143598_179_316, pq_143598_204_389, pq_143598_211_347, pq_143598_228_392, pq_143598_251_465, pq_143598_177_444, pq_143598_228_393, pq_143598_251_466]); var pq_143601_98_110 = new SelectionsPrice(98, 110, 0.000) var pq_143601_176_315 = new SelectionsPrice(176, 315, -60.000) var pq_143601_177_312 = new SelectionsPrice(177, 312, 0.000) var pq_143601_178_312 = new SelectionsPrice(178, 312, 0.000) var pq_143601_179_312 = new SelectionsPrice(179, 312, 0.000) var pq_143601_181_312 = new SelectionsPrice(181, 312, 0.000) var pq_143601_183_312 = new SelectionsPrice(183, 312, 0.000) var pq_143601_194_310 = new SelectionsPrice(194, 310, 0.000) var pq_143601_195_288 = new SelectionsPrice(195, 288, 0.000) var pq_143601_209_312 = new SelectionsPrice(209, 312, 0.000) var pq_143601_210_312 = new SelectionsPrice(210, 312, 0.000) var pq_143601_211_312 = new SelectionsPrice(211, 312, 0.000) var pq_143601_212_349 = new SelectionsPrice(212, 349, 0.000) var pq_143601_214_312 = new SelectionsPrice(214, 312, 0.000) var pq_143601_215_312 = new SelectionsPrice(215, 312, 0.000) var pq_143601_219_348 = new SelectionsPrice(219, 348, 0.000) var pq_143601_225_312 = new SelectionsPrice(225, 312, 0.000) var pq_143601_227_385 = new SelectionsPrice(227, 385, 0.000) var pq_143601_228_394 = new SelectionsPrice(228, 394, 0.000) var pq_143601_229_395 = new SelectionsPrice(229, 395, 0.000) var pq_143601_249_459 = new SelectionsPrice(249, 459, 0.000) var pq_143601_251_312 = new SelectionsPrice(251, 312, 0.000) var pq_143601_98_91 = new SelectionsPrice(98, 91, 0.000) var pq_143601_176_287 = new SelectionsPrice(176, 287, -74.000) var pq_143601_177_288 = new SelectionsPrice(177, 288, 95.000) var pq_143601_178_289 = new SelectionsPrice(178, 289, 95.000) var pq_143601_179_314 = new SelectionsPrice(179, 314, 105.000) var pq_143601_181_293 = new SelectionsPrice(181, 293, 95.000) var pq_143601_183_292 = new SelectionsPrice(183, 292, 110.000) var pq_143601_204_388 = new SelectionsPrice(204, 388, 0.000) var pq_143601_209_342 = new SelectionsPrice(209, 342, 110.000) var pq_143601_210_344 = new SelectionsPrice(210, 344, 190.000) var pq_143601_211_345 = new SelectionsPrice(211, 345, 135.000) var pq_143601_214_350 = new SelectionsPrice(214, 350, 165.000) var pq_143601_215_352 = new SelectionsPrice(215, 352, 190.000) var pq_143601_219_361 = new SelectionsPrice(219, 361, 86.000) var pq_143601_225_380 = new SelectionsPrice(225, 380, 165.000) var pq_143601_227_386 = new SelectionsPrice(227, 386, 0.000) var pq_143601_228_390 = new SelectionsPrice(228, 390, 92.000) var pq_143601_229_397 = new SelectionsPrice(229, 397, -45.000) var pq_143601_249_458 = new SelectionsPrice(249, 458, 0.000) var pq_143601_251_463 = new SelectionsPrice(251, 463, 80.000) var pq_143601_98_97 = new SelectionsPrice(98, 97, 90.000) var pq_143601_176_286 = new SelectionsPrice(176, 286, 0.000) var pq_143601_177_398 = new SelectionsPrice(177, 398, 95.000) var pq_143601_179_290 = new SelectionsPrice(179, 290, 105.000) var pq_143601_181_291 = new SelectionsPrice(181, 291, 95.000) var pq_143601_204_330 = new SelectionsPrice(204, 330, 0.000) var pq_143601_209_340 = new SelectionsPrice(209, 340, 175.000) var pq_143601_211_346 = new SelectionsPrice(211, 346, 135.000) var pq_143601_214_351 = new SelectionsPrice(214, 351, 165.000) var pq_143601_215_461 = new SelectionsPrice(215, 461, 190.000) var pq_143601_219_362 = new SelectionsPrice(219, 362, 201.000) var pq_143601_225_381 = new SelectionsPrice(225, 381, 165.000) var pq_143601_227_387 = new SelectionsPrice(227, 387, 0.000) var pq_143601_228_391 = new SelectionsPrice(228, 391, 143.000) var pq_143601_251_464 = new SelectionsPrice(251, 464, 120.000) var pq_143601_98_263 = new SelectionsPrice(98, 263, 40.000) var pq_143601_177_399 = new SelectionsPrice(177, 399, 95.000) var pq_143601_179_316 = new SelectionsPrice(179, 316, 136.000) var pq_143601_204_389 = new SelectionsPrice(204, 389, 0.000) var pq_143601_211_347 = new SelectionsPrice(211, 347, 135.000) var pq_143601_228_392 = new SelectionsPrice(228, 392, 280.000) var pq_143601_251_465 = new SelectionsPrice(251, 465, 160.000) var pq_143601_177_444 = new SelectionsPrice(177, 444, 99.000) var pq_143601_228_393 = new SelectionsPrice(228, 393, 419.000) var pq_143601_251_466 = new SelectionsPrice(251, 466, 200.000) var pq_143601 = new ProductQuantities(143601, 20357, 3000, 611.0000, [pq_143601_98_110, pq_143601_176_315, pq_143601_177_312, pq_143601_178_312, pq_143601_179_312, pq_143601_181_312, pq_143601_183_312, pq_143601_194_310, pq_143601_195_288, pq_143601_209_312, pq_143601_210_312, pq_143601_211_312, pq_143601_212_349, pq_143601_214_312, pq_143601_215_312, pq_143601_219_348, pq_143601_225_312, pq_143601_227_385, pq_143601_228_394, pq_143601_229_395, pq_143601_249_459, pq_143601_251_312, pq_143601_98_91, pq_143601_176_287, pq_143601_177_288, pq_143601_178_289, pq_143601_179_314, pq_143601_181_293, pq_143601_183_292, pq_143601_204_388, pq_143601_209_342, pq_143601_210_344, pq_143601_211_345, pq_143601_214_350, pq_143601_215_352, pq_143601_219_361, pq_143601_225_380, pq_143601_227_386, pq_143601_228_390, pq_143601_229_397, pq_143601_249_458, pq_143601_251_463, pq_143601_98_97, pq_143601_176_286, pq_143601_177_398, pq_143601_179_290, pq_143601_181_291, pq_143601_204_330, pq_143601_209_340, pq_143601_211_346, pq_143601_214_351, pq_143601_215_461, pq_143601_219_362, pq_143601_225_381, pq_143601_227_387, pq_143601_228_391, pq_143601_251_464, pq_143601_98_263, pq_143601_177_399, pq_143601_179_316, pq_143601_204_389, pq_143601_211_347, pq_143601_228_392, pq_143601_251_465, pq_143601_177_444, pq_143601_228_393, pq_143601_251_466]); var pq_143599_98_110 = new SelectionsPrice(98, 110, 0.000) var pq_143599_176_315 = new SelectionsPrice(176, 315, -100.000) var pq_143599_177_312 = new SelectionsPrice(177, 312, 0.000) var pq_143599_178_312 = new SelectionsPrice(178, 312, 0.000) var pq_143599_179_312 = new SelectionsPrice(179, 312, 0.000) var pq_143599_181_312 = new SelectionsPrice(181, 312, 0.000) var pq_143599_183_312 = new SelectionsPrice(183, 312, 0.000) var pq_143599_194_310 = new SelectionsPrice(194, 310, 0.000) var pq_143599_195_288 = new SelectionsPrice(195, 288, 0.000) var pq_143599_209_312 = new SelectionsPrice(209, 312, 0.000) var pq_143599_210_312 = new SelectionsPrice(210, 312, 0.000) var pq_143599_211_312 = new SelectionsPrice(211, 312, 0.000) var pq_143599_212_349 = new SelectionsPrice(212, 349, 0.000) var pq_143599_214_312 = new SelectionsPrice(214, 312, 0.000) var pq_143599_215_312 = new SelectionsPrice(215, 312, 0.000) var pq_143599_219_348 = new SelectionsPrice(219, 348, 0.000) var pq_143599_225_312 = new SelectionsPrice(225, 312, 0.000) var pq_143599_227_385 = new SelectionsPrice(227, 385, 0.000) var pq_143599_228_394 = new SelectionsPrice(228, 394, 0.000) var pq_143599_229_395 = new SelectionsPrice(229, 395, 0.000) var pq_143599_249_459 = new SelectionsPrice(249, 459, 0.000) var pq_143599_251_312 = new SelectionsPrice(251, 312, 0.000) var pq_143599_98_91 = new SelectionsPrice(98, 91, 0.000) var pq_143599_176_287 = new SelectionsPrice(176, 287, -201.000) var pq_143599_177_288 = new SelectionsPrice(177, 288, 95.000) var pq_143599_178_289 = new SelectionsPrice(178, 289, 95.000) var pq_143599_179_314 = new SelectionsPrice(179, 314, 120.000) var pq_143599_181_293 = new SelectionsPrice(181, 293, 95.000) var pq_143599_183_292 = new SelectionsPrice(183, 292, 150.000) var pq_143599_204_388 = new SelectionsPrice(204, 388, 0.000) var pq_143599_209_342 = new SelectionsPrice(209, 342, 135.000) var pq_143599_210_344 = new SelectionsPrice(210, 344, 270.000) var pq_143599_211_345 = new SelectionsPrice(211, 345, 225.000) var pq_143599_214_350 = new SelectionsPrice(214, 350, 283.000) var pq_143599_215_352 = new SelectionsPrice(215, 352, 270.000) var pq_143599_219_361 = new SelectionsPrice(219, 361, 141.000) var pq_143599_225_380 = new SelectionsPrice(225, 380, 283.000) var pq_143599_227_386 = new SelectionsPrice(227, 386, 0.000) var pq_143599_228_390 = new SelectionsPrice(228, 390, 121.000) var pq_143599_229_397 = new SelectionsPrice(229, 397, -75.000) var pq_143599_249_458 = new SelectionsPrice(249, 458, 0.000) var pq_143599_251_463 = new SelectionsPrice(251, 463, 120.000) var pq_143599_98_97 = new SelectionsPrice(98, 97, 90.000) var pq_143599_176_286 = new SelectionsPrice(176, 286, 0.000) var pq_143599_177_398 = new SelectionsPrice(177, 398, 95.000) var pq_143599_179_290 = new SelectionsPrice(179, 290, 120.000) var pq_143599_181_291 = new SelectionsPrice(181, 291, 95.000) var pq_143599_204_330 = new SelectionsPrice(204, 330, 0.000) var pq_143599_209_340 = new SelectionsPrice(209, 340, 250.000) var pq_143599_211_346 = new SelectionsPrice(211, 346, 225.000) var pq_143599_214_351 = new SelectionsPrice(214, 351, 283.000) var pq_143599_215_461 = new SelectionsPrice(215, 461, 270.000) var pq_143599_219_362 = new SelectionsPrice(219, 362, 329.000) var pq_143599_225_381 = new SelectionsPrice(225, 381, 283.000) var pq_143599_227_387 = new SelectionsPrice(227, 387, 0.000) var pq_143599_228_391 = new SelectionsPrice(228, 391, 235.000) var pq_143599_251_464 = new SelectionsPrice(251, 464, 180.000) var pq_143599_98_263 = new SelectionsPrice(98, 263, 40.000) var pq_143599_177_399 = new SelectionsPrice(177, 399, 95.000) var pq_143599_179_316 = new SelectionsPrice(179, 316, 190.000) var pq_143599_204_389 = new SelectionsPrice(204, 389, 0.000) var pq_143599_211_347 = new SelectionsPrice(211, 347, 225.000) var pq_143599_228_392 = new SelectionsPrice(228, 392, 284.000) var pq_143599_251_465 = new SelectionsPrice(251, 465, 240.000) var pq_143599_177_444 = new SelectionsPrice(177, 444, 149.000) var pq_143599_228_393 = new SelectionsPrice(228, 393, 335.000) var pq_143599_251_466 = new SelectionsPrice(251, 466, 300.000) var pq_143599 = new ProductQuantities(143599, 20357, 5000, 935.0000, [pq_143599_98_110, pq_143599_176_315, pq_143599_177_312, pq_143599_178_312, pq_143599_179_312, pq_143599_181_312, pq_143599_183_312, pq_143599_194_310, pq_143599_195_288, pq_143599_209_312, pq_143599_210_312, pq_143599_211_312, pq_143599_212_349, pq_143599_214_312, pq_143599_215_312, pq_143599_219_348, pq_143599_225_312, pq_143599_227_385, pq_143599_228_394, pq_143599_229_395, pq_143599_249_459, pq_143599_251_312, pq_143599_98_91, pq_143599_176_287, pq_143599_177_288, pq_143599_178_289, pq_143599_179_314, pq_143599_181_293, pq_143599_183_292, pq_143599_204_388, pq_143599_209_342, pq_143599_210_344, pq_143599_211_345, pq_143599_214_350, pq_143599_215_352, pq_143599_219_361, pq_143599_225_380, pq_143599_227_386, pq_143599_228_390, pq_143599_229_397, pq_143599_249_458, pq_143599_251_463, pq_143599_98_97, pq_143599_176_286, pq_143599_177_398, pq_143599_179_290, pq_143599_181_291, pq_143599_204_330, pq_143599_209_340, pq_143599_211_346, pq_143599_214_351, pq_143599_215_461, pq_143599_219_362, pq_143599_225_381, pq_143599_227_387, pq_143599_228_391, pq_143599_251_464, pq_143599_98_263, pq_143599_177_399, pq_143599_179_316, pq_143599_204_389, pq_143599_211_347, pq_143599_228_392, pq_143599_251_465, pq_143599_177_444, pq_143599_228_393, pq_143599_251_466]); var pq_143611_98_110 = new SelectionsPrice(98, 110, 0.000) var pq_143611_176_315 = new SelectionsPrice(176, 315, -200.000) var pq_143611_177_312 = new SelectionsPrice(177, 312, 0.000) var pq_143611_178_312 = new SelectionsPrice(178, 312, 0.000) var pq_143611_179_312 = new SelectionsPrice(179, 312, 0.000) var pq_143611_181_312 = new SelectionsPrice(181, 312, 0.000) var pq_143611_183_312 = new SelectionsPrice(183, 312, 0.000) var pq_143611_194_310 = new SelectionsPrice(194, 310, 0.000) var pq_143611_195_288 = new SelectionsPrice(195, 288, 0.000) var pq_143611_209_312 = new SelectionsPrice(209, 312, 0.000) var pq_143611_210_312 = new SelectionsPrice(210, 312, 0.000) var pq_143611_211_312 = new SelectionsPrice(211, 312, 0.000) var pq_143611_212_349 = new SelectionsPrice(212, 349, 0.000) var pq_143611_214_312 = new SelectionsPrice(214, 312, 0.000) var pq_143611_215_312 = new SelectionsPrice(215, 312, 0.000) var pq_143611_219_348 = new SelectionsPrice(219, 348, 0.000) var pq_143611_225_312 = new SelectionsPrice(225, 312, 0.000) var pq_143611_227_385 = new SelectionsPrice(227, 385, 0.000) var pq_143611_228_394 = new SelectionsPrice(228, 394, 0.000) var pq_143611_229_395 = new SelectionsPrice(229, 395, 0.000) var pq_143611_249_459 = new SelectionsPrice(249, 459, 0.000) var pq_143611_251_312 = new SelectionsPrice(251, 312, 0.000) var pq_143611_98_91 = new SelectionsPrice(98, 91, 0.000) var pq_143611_176_287 = new SelectionsPrice(176, 287, -108.000) var pq_143611_177_288 = new SelectionsPrice(177, 288, 99.000) var pq_143611_178_289 = new SelectionsPrice(178, 289, 99.000) var pq_143611_179_314 = new SelectionsPrice(179, 314, 230.000) var pq_143611_181_293 = new SelectionsPrice(181, 293, 120.000) var pq_143611_183_292 = new SelectionsPrice(183, 292, 200.000) var pq_143611_204_388 = new SelectionsPrice(204, 388, 0.000) var pq_143611_209_342 = new SelectionsPrice(209, 342, 270.000) var pq_143611_210_344 = new SelectionsPrice(210, 344, 450.000) var pq_143611_211_345 = new SelectionsPrice(211, 345, 410.000) var pq_143611_214_350 = new SelectionsPrice(214, 350, 520.000) var pq_143611_215_352 = new SelectionsPrice(215, 352, 460.000) var pq_143611_219_361 = new SelectionsPrice(219, 361, 248.000) var pq_143611_225_380 = new SelectionsPrice(225, 380, 520.000) var pq_143611_227_386 = new SelectionsPrice(227, 386, 0.000) var pq_143611_228_390 = new SelectionsPrice(228, 390, 147.000) var pq_143611_229_397 = new SelectionsPrice(229, 397, -150.000) var pq_143611_249_458 = new SelectionsPrice(249, 458, 0.000) var pq_143611_251_463 = new SelectionsPrice(251, 463, 230.000) var pq_143611_98_97 = new SelectionsPrice(98, 97, 90.000) var pq_143611_176_286 = new SelectionsPrice(176, 286, 0.000) var pq_143611_177_398 = new SelectionsPrice(177, 398, 99.000) var pq_143611_179_290 = new SelectionsPrice(179, 290, 230.000) var pq_143611_181_291 = new SelectionsPrice(181, 291, 120.000) var pq_143611_204_330 = new SelectionsPrice(204, 330, 0.000) var pq_143611_209_340 = new SelectionsPrice(209, 340, 500.000) var pq_143611_211_346 = new SelectionsPrice(211, 346, 410.000) var pq_143611_214_351 = new SelectionsPrice(214, 351, 520.000) var pq_143611_215_461 = new SelectionsPrice(215, 461, 460.000) var pq_143611_219_362 = new SelectionsPrice(219, 362, 578.000) var pq_143611_225_381 = new SelectionsPrice(225, 381, 520.000) var pq_143611_227_387 = new SelectionsPrice(227, 387, 0.000) var pq_143611_228_391 = new SelectionsPrice(228, 391, 260.000) var pq_143611_251_464 = new SelectionsPrice(251, 464, 345.000) var pq_143611_98_263 = new SelectionsPrice(98, 263, 40.000) var pq_143611_177_399 = new SelectionsPrice(177, 399, 99.000) var pq_143611_179_316 = new SelectionsPrice(179, 316, 360.000) var pq_143611_204_389 = new SelectionsPrice(204, 389, 0.000) var pq_143611_211_347 = new SelectionsPrice(211, 347, 410.000) var pq_143611_228_392 = new SelectionsPrice(228, 392, 426.000) var pq_143611_251_465 = new SelectionsPrice(251, 465, 460.000) var pq_143611_177_444 = new SelectionsPrice(177, 444, 199.000) var pq_143611_228_393 = new SelectionsPrice(228, 393, 597.000) var pq_143611_251_466 = new SelectionsPrice(251, 466, 575.000) var pq_143611 = new ProductQuantities(143611, 20357, 10000, 1736.0000, [pq_143611_98_110, pq_143611_176_315, pq_143611_177_312, pq_143611_178_312, pq_143611_179_312, pq_143611_181_312, pq_143611_183_312, pq_143611_194_310, pq_143611_195_288, pq_143611_209_312, pq_143611_210_312, pq_143611_211_312, pq_143611_212_349, pq_143611_214_312, pq_143611_215_312, pq_143611_219_348, pq_143611_225_312, pq_143611_227_385, pq_143611_228_394, pq_143611_229_395, pq_143611_249_459, pq_143611_251_312, pq_143611_98_91, pq_143611_176_287, pq_143611_177_288, pq_143611_178_289, pq_143611_179_314, pq_143611_181_293, pq_143611_183_292, pq_143611_204_388, pq_143611_209_342, pq_143611_210_344, pq_143611_211_345, pq_143611_214_350, pq_143611_215_352, pq_143611_219_361, pq_143611_225_380, pq_143611_227_386, pq_143611_228_390, pq_143611_229_397, pq_143611_249_458, pq_143611_251_463, pq_143611_98_97, pq_143611_176_286, pq_143611_177_398, pq_143611_179_290, pq_143611_181_291, pq_143611_204_330, pq_143611_209_340, pq_143611_211_346, pq_143611_214_351, pq_143611_215_461, pq_143611_219_362, pq_143611_225_381, pq_143611_227_387, pq_143611_228_391, pq_143611_251_464, pq_143611_98_263, pq_143611_177_399, pq_143611_179_316, pq_143611_204_389, pq_143611_211_347, pq_143611_228_392, pq_143611_251_465, pq_143611_177_444, pq_143611_228_393, pq_143611_251_466]); var pq_143905_98_110 = new SelectionsPrice(98, 110, 0.000) var pq_143905_176_315 = new SelectionsPrice(176, 315, -400.000) var pq_143905_177_312 = new SelectionsPrice(177, 312, 0.000) var pq_143905_178_312 = new SelectionsPrice(178, 312, 0.000) var pq_143905_179_312 = new SelectionsPrice(179, 312, 0.000) var pq_143905_181_312 = new SelectionsPrice(181, 312, 0.000) var pq_143905_183_312 = new SelectionsPrice(183, 312, 0.000) var pq_143905_194_310 = new SelectionsPrice(194, 310, 0.000) var pq_143905_195_288 = new SelectionsPrice(195, 288, 0.000) var pq_143905_209_312 = new SelectionsPrice(209, 312, 0.000) var pq_143905_210_312 = new SelectionsPrice(210, 312, 0.000) var pq_143905_211_312 = new SelectionsPrice(211, 312, 0.000) var pq_143905_212_349 = new SelectionsPrice(212, 349, 0.000) var pq_143905_214_312 = new SelectionsPrice(214, 312, 0.000) var pq_143905_215_312 = new SelectionsPrice(215, 312, 0.000) var pq_143905_219_348 = new SelectionsPrice(219, 348, 0.000) var pq_143905_225_312 = new SelectionsPrice(225, 312, 0.000) var pq_143905_227_385 = new SelectionsPrice(227, 385, 0.000) var pq_143905_228_394 = new SelectionsPrice(228, 394, 0.000) var pq_143905_229_395 = new SelectionsPrice(229, 395, 0.000) var pq_143905_249_459 = new SelectionsPrice(249, 459, 0.000) var pq_143905_251_312 = new SelectionsPrice(251, 312, 0.000) var pq_143905_98_91 = new SelectionsPrice(98, 91, 0.000) var pq_143905_176_287 = new SelectionsPrice(176, 287, -340.000) var pq_143905_177_288 = new SelectionsPrice(177, 288, 99.000) var pq_143905_178_289 = new SelectionsPrice(178, 289, 99.000) var pq_143905_179_314 = new SelectionsPrice(179, 314, 400.000) var pq_143905_181_293 = new SelectionsPrice(181, 293, 140.000) var pq_143905_183_292 = new SelectionsPrice(183, 292, 400.000) var pq_143905_204_388 = new SelectionsPrice(204, 388, 0.000) var pq_143905_209_342 = new SelectionsPrice(209, 342, 500.000) var pq_143905_210_344 = new SelectionsPrice(210, 344, 730.000) var pq_143905_211_345 = new SelectionsPrice(211, 345, 630.000) var pq_143905_214_350 = new SelectionsPrice(214, 350, 1256.000) var pq_143905_215_352 = new SelectionsPrice(215, 352, 730.000) var pq_143905_219_361 = new SelectionsPrice(219, 361, 435.000) var pq_143905_225_380 = new SelectionsPrice(225, 380, 1256.000) var pq_143905_227_386 = new SelectionsPrice(227, 386, 0.000) var pq_143905_228_390 = new SelectionsPrice(228, 390, 513.000) var pq_143905_229_397 = new SelectionsPrice(229, 397, -300.000) var pq_143905_249_458 = new SelectionsPrice(249, 458, 0.000) var pq_143905_251_463 = new SelectionsPrice(251, 463, 400.000) var pq_143905_98_97 = new SelectionsPrice(98, 97, 90.000) var pq_143905_176_286 = new SelectionsPrice(176, 286, 0.000) var pq_143905_177_398 = new SelectionsPrice(177, 398, 99.000) var pq_143905_179_290 = new SelectionsPrice(179, 290, 400.000) var pq_143905_181_291 = new SelectionsPrice(181, 291, 240.000) var pq_143905_204_330 = new SelectionsPrice(204, 330, 0.000) var pq_143905_209_340 = new SelectionsPrice(209, 340, 900.000) var pq_143905_211_346 = new SelectionsPrice(211, 346, 630.000) var pq_143905_214_351 = new SelectionsPrice(214, 351, 1256.000) var pq_143905_215_461 = new SelectionsPrice(215, 461, 730.000) var pq_143905_219_362 = new SelectionsPrice(219, 362, 1015.000) var pq_143905_225_381 = new SelectionsPrice(225, 381, 1256.000) var pq_143905_227_387 = new SelectionsPrice(227, 387, 0.000) var pq_143905_228_391 = new SelectionsPrice(228, 391, 706.000) var pq_143905_251_464 = new SelectionsPrice(251, 464, 600.000) var pq_143905_98_263 = new SelectionsPrice(98, 263, 40.000) var pq_143905_177_399 = new SelectionsPrice(177, 399, 99.000) var pq_143905_179_316 = new SelectionsPrice(179, 316, 800.000) var pq_143905_204_389 = new SelectionsPrice(204, 389, 0.000) var pq_143905_211_347 = new SelectionsPrice(211, 347, 630.000) var pq_143905_228_392 = new SelectionsPrice(228, 392, 900.000) var pq_143905_251_465 = new SelectionsPrice(251, 465, 800.000) var pq_143905_177_444 = new SelectionsPrice(177, 444, 199.000) var pq_143905_228_393 = new SelectionsPrice(228, 393, 973.000) var pq_143905_251_466 = new SelectionsPrice(251, 466, 900.000) var pq_143905 = new ProductQuantities(143905, 20357, 20000, 3041.0000, [pq_143905_98_110, pq_143905_176_315, pq_143905_177_312, pq_143905_178_312, pq_143905_179_312, pq_143905_181_312, pq_143905_183_312, pq_143905_194_310, pq_143905_195_288, pq_143905_209_312, pq_143905_210_312, pq_143905_211_312, pq_143905_212_349, pq_143905_214_312, pq_143905_215_312, pq_143905_219_348, pq_143905_225_312, pq_143905_227_385, pq_143905_228_394, pq_143905_229_395, pq_143905_249_459, pq_143905_251_312, pq_143905_98_91, pq_143905_176_287, pq_143905_177_288, pq_143905_178_289, pq_143905_179_314, pq_143905_181_293, pq_143905_183_292, pq_143905_204_388, pq_143905_209_342, pq_143905_210_344, pq_143905_211_345, pq_143905_214_350, pq_143905_215_352, pq_143905_219_361, pq_143905_225_380, pq_143905_227_386, pq_143905_228_390, pq_143905_229_397, pq_143905_249_458, pq_143905_251_463, pq_143905_98_97, pq_143905_176_286, pq_143905_177_398, pq_143905_179_290, pq_143905_181_291, pq_143905_204_330, pq_143905_209_340, pq_143905_211_346, pq_143905_214_351, pq_143905_215_461, pq_143905_219_362, pq_143905_225_381, pq_143905_227_387, pq_143905_228_391, pq_143905_251_464, pq_143905_98_263, pq_143905_177_399, pq_143905_179_316, pq_143905_204_389, pq_143905_211_347, pq_143905_228_392, pq_143905_251_465, pq_143905_177_444, pq_143905_228_393, pq_143905_251_466]); var pod_690 = new ProductOptionDependencies(227, 249, 458, "-1"); var pod_510 = new ProductOptionDependencies(195, 177, 288, "c"); var pod_586 = new ProductOptionDependencies(195, 177, 398, "-1"); var pod_587 = new ProductOptionDependencies(195, 177, 399, "-1"); var pod_623 = new ProductOptionDependencies(195, 177, 444, "-1"); var pod_695 = new ProductOptionDependencies(179, 249, 459, "-1"); var pod_696 = new ProductOptionDependencies(251, 249, 458, "-1"); var pod_507 = new ProductOptionDependencies(194, 178, 289, "-1"); var pod_687 = new ProductOptionDependencies(214, 249, 458, "-1"); var pod_688 = new ProductOptionDependencies(225, 249, 458, "-1"); var pod_689 = new ProductOptionDependencies(215, 249, 458, "-1"); var pod_691 = new ProductOptionDependencies(209, 249, 458, "-1"); var pod_694 = new ProductOptionDependencies(211, 249, 458, "-1"); var pod_693 = new ProductOptionDependencies(210, 249, 458, "-1"); var pod_685 = new ProductOptionDependencies(219, 249, 459, "-1"); var pod_686 = new ProductOptionDependencies(212, 249, 458, "-1"); var p_20357 = new Product(20357, "Plastic Membership Cards from $110 Print Full Colour CMYK 2 sides rounded corners 85.5 x 54mm 0.76mm thick plastic Made in Aust in 1-2 days", [pq_143607, pq_144239, pq_143600, pq_143596, pq_143597, pq_143598, pq_143601, pq_143599, pq_143611, pq_143905], [pOpt_20357_249, pOpt_20357_229, pOpt_20357_176, pOpt_20357_227, pOpt_20357_177, pOpt_20357_195, pOpt_20357_179, pOpt_20357_251, pOpt_20357_178, pOpt_20357_194, pOpt_20357_181, pOpt_20357_183, pOpt_20357_214, pOpt_20357_225, pOpt_20357_215, pOpt_20357_209, pOpt_20357_211, pOpt_20357_210, pOpt_20357_228, pOpt_20357_98, pOpt_20357_219, pOpt_20357_212, pOpt_20357_204], [pod_690, pod_510, pod_586, pod_587, pod_623, pod_695, pod_696, pod_507, pod_687, pod_688, pod_689, pod_691, pod_694, pod_693, pod_685, pod_686], [],[],[false]); var prodGroup = new ProductGroup("Plastic Membership Cards ", [], [], [], []); //alert(pgGrpOpt_74.selections[2].name); // 4.Create products // 4.1.Add All Selections (by ID) // 4.2.Add All Options (by ID) // 2.3. Create Selection Arrays for each product Quantity // 2.4. Create Option Constructor // 4.5. Create Array of Product Options // 4.6. Create Array of Product Option Dependencies // 4.7. Create Array of Option Qty Excludes // 4.5. Create Array of Product Quantities // 4.8. Create // 0.Create initial config Settings var ConfigSettings = new ConfigSettings(82, 20357, p_20357, 143607, pq_143607); function ConfigSettings(productGroupID, productID, objProduct, productQuantityID, productQuantity) { this.productGroupID = productGroupID; this.productID = productID; this.product = objProduct; this.productQuantityID = productQuantityID; this.productQuantity = productQuantity; // Addl Ptr to prodGroup Obj this.prodGroup = prodGroup; // Base Product Quantity ID this.baseProductQuantityID = productQuantityID; this.baseProdTimeSelectionID = 0; this.basePriceWithTurnAround = 0; } function ProductQuantities(ID, productID, quantity, basePrice, selectionsPrice) { this.ID = ID; this.productID = productID; this.quantity = quantity; this.basePrice = basePrice; this.selectionsPrice = selectionsPrice; this.PriceForSelection=function GetPriceForSelection(pqID, OptionID, SelectionID) { //alert("pq_" + pqID.toString() + "_" + OptionID.toString() + "_" + SelectionID.toString()); return eval("pq_" + pqID.toString() + "_" + OptionID.toString() + "_" + SelectionID.toString()).price; /* for (i = 0; i < this.selectionsPrice.length; i++) { alert(this.selectionsPrice[i].OptionID.toString if ((this.selectionsPrice[i].OptionID == OptionID) && (this.selectionsPrice[i].SelectionID == SelectionID)) return this.selectionsPrice[i].Price; } return null; */ } } function SelectionsPrice(OptionID,SelectionID,Price) { this.optionID=OptionID; this.selectionID=SelectionID; this.price=Price; } function Product(ID, name, quantities, options, optionDepends, optionQtyExludes,turnArounds,doNotAllowDiscount) { this.ID = ID; this.name = name; this.quantities = quantities; this.options = options; this.optionDepends = optionDepends; this.optionQtyExcludes = optionQtyExludes; this.turnArounds=turnArounds; this.doNotAllowDiscount=doNotAllowDiscount; Product.prototype.GetQuantityObj=function (Qty) { var vClosestObj = null; var vCurrentClosestDiff = 99999999; for (z=0; z < this.quantities.length; z++) { if (this.quantities[z].quantity==Qty) { return this.quantities[z] } if (vClosestObj == null) { vClosestObj = this.quantities[z]; vCurrentClosestDiff = Math.abs(vClosestObj.quantity-Qty) } else { if (Math.abs(vClosestObj.quantity-Qty) < vCurrentClosestDiff) { vClosestObj = this.quantities[z]; vCurrentClosestDiff = Math.abs(vClosestObj.quantity-Qty) } } } return vClosestObj; } } function Option(ID, name, notes, description, displayTitle, displayDescription, type, role, roleName, subRole, subRoleName, repeatColumns, repeatLayout, repeatDirection, textMode, width, height, defaultText, required, maxLength, readOnly, selections, DisplayInItemizedData) { this.ID = ID; this.name = name; this.notes = notes; this.description = description; this.displayTitle = displayTitle; this.displayDescription = displayDescription; this.type = type; this.role = role; this.roleName = roleName; this.subRole = subRole; this.subRoleName = subRoleName; this.repeatColumns = repeatColumns; this.repeatDirection = repeatDirection; this.repeatLayout = repeatLayout; this.textMode = textMode; this.width = width; this.height = height; this.defaultText = defaultText; this.required = required; this.maxLength = maxLength; this.readOnly = readOnly; this.selections = selections; this.isVisible=false; this.DisplayInItemizedData=DisplayInItemizedData; } function Selection(selectionID, name, description, title, image, suffix, isDefault, price, printedPages, width, height) { this.selectionID = selectionID; this.name = name; this.description = description; this.title = title; this.image = image; this.suffix = suffix; this.isDefault = isDefault; this.price = price; this.printedPages = printedPages; this.width = width; this.height = height; } // Product TurnAround function TurnAround(ID, name, description, type, amount, TurnAroundQtys ){ this.ID = ID; this.name = name; this.type = type; this.amount = amount; this.description = description; this.TurnAroundQtys=TurnAroundQtys; } function TurnAroundQty(ID,Cost,TurnAroundID,ExcludeTurnAround) { this.ID=ID; this.Cost=Cost; this.TurnAroundID=TurnAroundID; this.ExcludeTurnAround=ExcludeTurnAround; } // Product Group function ProductGroup(name, products, productGroupOptions, productOptionAssigns, productOptionDepends) { this.name = ""; this.products = products; this.productGroupOptions = productGroupOptions; this.productOptionAssigns = productOptionAssigns; this.productOptionDepends = productOptionDepends; } function ProductOptionAssign(ID, productID, optionID, selectionID) { this.ID = ID; this.productID = productID; this.optionID = optionID; this.selectionID = selectionID; } // Product Option Dependencies function ProductOptionDependencies(optionID, requiresOptionID, requiresSelectionID, checkboxValue) { this.optionID = optionID; this.requiresOptionID = requiresOptionID; this.requiresSelectionID = requiresSelectionID; this.checkboxValue = checkboxValue; } // Product Option Qty Dependencies function ProductOptionQtyDependencies(optionID, qtyID, qty) { this.optionID = optionID; this.qtyID = qtyID; this.qty = qty; } // Product Option Qty Dependencies function OptionQtyExcludes(productID, optionID, qty) { this.productID = productID; this.optionID = optionID; this.qty = qty; } function SelectedSelections(OptionID, SelectionID) { this.optionID=OptionID; this.selectionID=SelectionID; } /* function _CurrentGroupSelections() { this.selected = []; _CurrentGroupSelections.prototype.UpdateSelection = function SetSelection(OptionID, SelectionID) { var bFound = false; for (i = 0; i < this.selected.length; i++) { if (this.selected[i].optionID == OptionID) { this.selected[i].selectionID = SelectionID; bFound = true; } } if (bFound == false) { var vNewObj = new SelectedSelections(OptionID, SelectionID); this.selected.push(vNewObj); //this.UpdateOptionPrice(); } } // Get Selected Value for given OptionID _CurrentGroupSelections.prototype.GetSelected = function GetSelectedOptionID(OptionID) { for (var x = 0; x < this.selected.length; x++) { if (this.selected[x].optionID == OptionID) { return this.selected[x].selectionID; } } return -1; } // Get "|" Selection String _CurrentGroupSelections.prototype.SelectionString = function GetSelections() { var vStr = "|"; for (i = 0; i < this.selected.length; i++) { vStr += this.selected[i].optionID.toString() + "_" + this.selected[i].selectionID.toString() + "|" } return vStr; } } */ function _CurrentSelections() { this.selected = []; //to update check box selections _CurrentSelections.prototype.UpdateChkSelection = function SetChkSelection(OptionID, SelectionID) { var check=1; //will loop through and check if its already selected ot not if selected will make it -1 for unchecking it, if not selection does not exists for (i = 0; i < this.selected.length; i++) { if (this.selected[i].optionID == OptionID) { if(this.selected[i].selectionID == SelectionID){ //alert("here"); this.selected[i].selectionID =-1; return; check=0; } else { check=1; } } } //alert(check); //will check if first selection is -1 or not if -1 it will replace the first selection if(check==1){ for (i = 0; i < this.selected.length; i++) { if (this.selected[i].optionID == OptionID) { if(this.selected[i].selectionID == -1){ this.selected[i].selectionID =SelectionID; return; check=0; } } } } //if selection does not exist or first one is not -1 then it will add a new row. if(check==1){ var vNewObj = new SelectedSelections(OptionID, SelectionID); this.selected.push(vNewObj); } } _CurrentSelections.prototype.GetChkSelected = function GetChkSelectedOptionID(OptionID) { var vStr = "|"; for (var x = 0; x < this.selected.length; x++) { if (this.selected[x].optionID == OptionID) { vStr=vStr + this.selected[x].selectionID +"|"; } } return vStr; } _CurrentSelections.prototype.UpdateSelection = function SetSelection(OptionID, SelectionID) { var bFound = false; for (i = 0; i < this.selected.length; i++) { if (this.selected[i].optionID == OptionID) { this.selected[i].selectionID = SelectionID; for (j = 0; j < ConfigSettings.product.options.length; j++) { if((ConfigSettings.product.options[j].ID==OptionID)&&(ConfigSettings.product.options[j].type=='TextBox')) { if (ConfigSettings.product.options[j].selections[0].selectionID==SelectionID){ this.selected[i].selectionID = ' '; } } } //alert(OptionID.toString() + ":::" + SelectionID.toString()); bFound = true; } } if (bFound == false) { var vNewObj = new SelectedSelections(OptionID, SelectionID); this.selected.push(vNewObj); //this.UpdateOptionPrice(); } } // Get Selected Value for given OptionID _CurrentSelections.prototype.GetSelected = function GetSelectedOptionID(OptionID) { for (var x = 0; x < this.selected.length; x++) { if (this.selected[x].optionID == OptionID) { return this.selected[x].selectionID; } } return -1; } // Get "|" Selection String _CurrentSelections.prototype.SelectionString = function GetSelections() { var vStr = "|"; for (i = 0; i < this.selected.length; i++) { for (j = 0; j < ConfigSettings.product.options.length; j++) { if(ConfigSettings.product.options[j].ID==this.selected[i].optionID){ if(ConfigSettings.product.options[j].isVisible==true){ vStr += this.selected[i].optionID.toString() + "_" + this.selected[i].selectionID.toString() + "|" } } } } return vStr; } // Build Display Option HTML String for Selected Options _CurrentSelections.prototype.DisplayOptionsString = function GetDisplayOptionsString() { var vStr = ""; //alert(ConfigSettings.product.options.length); for (j = 0; j < ConfigSettings.product.options.length; j++) { var vSelSelectionID = this.GetSelected(ConfigSettings.product.options[j].ID); if (1==1) {//(ConfigSettings.product.options[j].role != 5) { if ((vSelSelectionID > -1) && (ConfigSettings.product.options[j].role != 2) && (ConfigSettings.product.options[j].isVisible==true)) { //alert(ConfigSettings.product.options[j].ID.toString() + ":" + this.GetSelected(ConfigSettings.product.options[j].ID).toString()); //alert("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); var vPQ = eval("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); var vSel = eval("pOptSel_" + ConfigSettings.productID.toString() + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); if (vPQ.price > 0) vStr += "
" + vSel.title + "
$" + CurrencyFormatted(GetPriceBySize(vPQ.price)) + "
" } } // else { // Role 5 -- Finishing OPtions // if ((vSelSelectionID > -1) && (ConfigSettings.product.options[j].isVisible==true)) { // //alert(ConfigSettings.product.options[j].role); // //alert(ConfigSettings.product.options[j].ID.toString() + ":" + this.GetSelected(ConfigSettings.product.options[j].ID).toString()); // //alert("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); // var vPQ = eval("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); // var vSel = eval("pOptSel_" + ConfigSettings.productID.toString() + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); // var vCalcPrice = GetBannerOptionPrice(ConfigSettings.product.options[j], vPQ.price); // if (vCalcPrice > 0) // vStr += "
" + vSel.title + "
$" + CurrencyFormatted(vCalcPrice) + "
" // } // } } return vStr; } _CurrentSelections.prototype.SetOptionPriceRows = function SetOptionPriceRowsDisplay(tbl,QtyH, CSymbol) { var vStr = ""; //alert(ConfigSettings.product.options.length); for (j = 0; j < ConfigSettings.product.options.length; j++) { var vSelSelectionID = this.GetSelected(ConfigSettings.product.options[j].ID); if (1==1) {//(ConfigSettings.product.options[j].role != 5) { if ((vSelSelectionID > -1) && (ConfigSettings.product.options[j].role != 2) && (ConfigSettings.product.options[j].isVisible==true) && (ConfigSettings.product.options[j].type!='TextBox')) { //alert(ConfigSettings.product.options[j].ID.toString() + ":" + this.GetSelected(ConfigSettings.product.options[j].ID).toString()); //alert("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); var vPQ = eval("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); //alert('123'); //alert("pq_"+ QtyH+ "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); if(QtyH>0) { var vPQH = eval("pq_"+ QtyH+ "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); //alert(vPQH); } //alert(vPQH); var vSel = eval("pOptSel_" + ConfigSettings.productID.toString() + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); //if (vPQ.price > 0) { //alert(vSel.DisplayInItemizedData.toString()+" "+vSelSelectionID.toString()); //alert(ConfigSettings.product.options[j].DisplayInItemizedData); if(ConfigSettings.product.options[j].DisplayInItemizedData==true ){ var row = tbl.insertRow(tbl.rows.length); var cell1 = document.createElement("TH"); var cell2 = document.createElement("TD"); var bold1 = document.createElement("B"); var textnode1a = document.createTextNode(ConfigSettings.product.options[j].displayTitle + ": "); var textnode1b = document.createTextNode(vSel.title); if(QtyH>0) { var textnode2 = document.createTextNode(CSymbol + CurrencyFormatted(GetPriceBySize(vPQ.price,vPQH.price))); } else var textnode2 = document.createTextNode(CSymbol + CurrencyFormatted(GetPriceBySize(vPQ.price,0))); bold1.appendChild(textnode1a); cell1.appendChild(bold1); cell1.appendChild(textnode1b); cell2.appendChild(textnode2); row.appendChild(cell1); row.appendChild(cell2); //vStr += "
" + vSel.title + "
$" + CurrencyFormatted(GetPriceBySize(vPQ.price)) + "
" } } else if ((vSelSelectionID > -1) && (ConfigSettings.product.options[j].role == 2) && (ConfigSettings.product.options[j].isVisible==true)) { //alert(ConfigSettings.product.options[j].ID.toString() + ":" + this.GetSelected(ConfigSettings.product.options[j].ID).toString()); //alert("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); var vPQ = eval("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); if(QtyH>0) { var vPQH = eval("pq_"+ QtyH+ "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); //alert(vPQH); } var vSel = eval("pOptSel_" + ConfigSettings.productID.toString() + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); //alert(vPQ.price); //if (vPQ.price > 0) { if(ConfigSettings.product.options[j].DisplayInItemizedData==true ){ var row = tbl.insertRow(tbl.rows.length); var cell1 = document.createElement("TH"); var cell2 = document.createElement("TD"); var textnode1 = document.createTextNode(ConfigSettings.product.options[j].displayTitle + ": " + vSel.title); if(QtyH>0) { var textnode2 = document.createTextNode(CSymbol + CurrencyFormatted(GetPriceBySize(vPQ.price,vPQH.price))); } else var textnode2 = document.createTextNode(CSymbol + CurrencyFormatted(GetPriceBySize(vPQ.price))); cell1.appendChild(textnode1); cell2.appendChild(textnode2); row.appendChild(cell1); row.appendChild(cell2); //vStr += "
" + vSel.title + "
$" + CurrencyFormatted(GetPriceBySize(vPQ.price)) + "
" } } } // else { // Role 5 -- Finishing OPtions // if ((vSelSelectionID > -1) && (ConfigSettings.product.options[j].isVisible==true)) { // //alert(ConfigSettings.product.options[j].role); // //alert(ConfigSettings.product.options[j].ID.toString() + ":" + this.GetSelected(ConfigSettings.product.options[j].ID).toString()); // //alert("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); // var vPQ = eval("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); // var vSel = eval("pOptSel_" + ConfigSettings.productID.toString() + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); // var vCalcPrice = GetBannerOptionPrice(ConfigSettings.product.options[j], vPQ.price); // if (vCalcPrice > 0) { // var row = tbl.insertRow(tbl.rows.length); // var cell1 = document.createElement("TH"); // var cell2 = document.createElement("TD"); // var textnode1 = document.createTextNode(vSel.title); // var textnode2 = document.createTextNode("$" + CurrencyFormatted(vCalcPrice)); // cell1.appendChild(textnode1); // cell2.appendChild(textnode2); // row.appendChild(cell1); // row.appendChild(cell2); // // //vStr += "
" + vSel.title + "
$" + CurrencyFormatted(vCalcPrice) + "
" // } // } // } } return vStr; } _CurrentSelections.prototype.SetOptionPriceRowsOld = function SetOptionPriceRowsDisplayOLD(tbl) { var vStr = ""; //alert(ConfigSettings.product.options.length); for (j = 0; j < ConfigSettings.product.options.length; j++) { var vSelSelectionID = this.GetSelected(ConfigSettings.product.options[j].ID); if (1==1) {//(ConfigSettings.product.options[j].role != 5) { if ((vSelSelectionID > -1) && (ConfigSettings.product.options[j].role != 2) && (ConfigSettings.product.options[j].isVisible==true)) { //alert(ConfigSettings.product.options[j].ID.toString() + ":" + this.GetSelected(ConfigSettings.product.options[j].ID).toString()); //alert("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); var vPQ = eval("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); var vSel = eval("pOptSel_" + ConfigSettings.productID.toString() + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); if (vPQ.price > 0) { var row = tbl.insertRow(tbl.rows.length); var cell1 = document.createElement("TH"); var cell2 = document.createElement("TD"); var textnode1 = document.createTextNode(ConfigSettings.product.options[j].displayTitle + vSel.title); var textnode2 = document.createTextNode("$" + CurrencyFormatted(GetPriceBySize(vPQ.price))); cell1.appendChild(textnode1); cell2.appendChild(textnode2); row.appendChild(cell1); row.appendChild(cell2); //vStr += "
" + vSel.title + "
$" + CurrencyFormatted(GetPriceBySize(vPQ.price)) + "
" } } else if ((vSelSelectionID > -1) && (ConfigSettings.product.options[j].role == 2) && (ConfigSettings.product.options[j].isVisible==true)) { //alert(ConfigSettings.product.options[j].ID.toString() + ":" + this.GetSelected(ConfigSettings.product.options[j].ID).toString()); //alert("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); var vPQ = eval("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); var vSel = eval("pOptSel_" + ConfigSettings.productID.toString() + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); //alert(vPQ.price); if (vPQ.price > 0) { var row = tbl.insertRow(tbl.rows.length); var cell1 = document.createElement("TH"); var cell2 = document.createElement("TD"); var textnode1 = document.createTextNode(ConfigSettings.product.options[j].displayTitle + ": " + vSel.title); var textnode2 = document.createTextNode("$" + CurrencyFormatted(GetPriceBySize(vPQ.price))); cell1.appendChild(textnode1); cell2.appendChild(textnode2); row.appendChild(cell1); row.appendChild(cell2); //vStr += "
" + vSel.title + "
$" + CurrencyFormatted(GetPriceBySize(vPQ.price)) + "
" } } } // else { // Role 5 -- Finishing OPtions // if ((vSelSelectionID > -1) && (ConfigSettings.product.options[j].isVisible==true)) { // //alert(ConfigSettings.product.options[j].role); // //alert(ConfigSettings.product.options[j].ID.toString() + ":" + this.GetSelected(ConfigSettings.product.options[j].ID).toString()); // //alert("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); // var vPQ = eval("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); // var vSel = eval("pOptSel_" + ConfigSettings.productID.toString() + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); // var vCalcPrice = GetBannerOptionPrice(ConfigSettings.product.options[j], vPQ.price); // if (vCalcPrice > 0) { // var row = tbl.insertRow(tbl.rows.length); // var cell1 = document.createElement("TH"); // var cell2 = document.createElement("TD"); // var textnode1 = document.createTextNode(vSel.title); // var textnode2 = document.createTextNode("$" + CurrencyFormatted(vCalcPrice)); // cell1.appendChild(textnode1); // cell2.appendChild(textnode2); // row.appendChild(cell1); // row.appendChild(cell2); // // //vStr += "
" + vSel.title + "
$" + CurrencyFormatted(vCalcPrice) + "
" // } // } // } } return vStr; } this.GetOptionPrice = function GetOptionPrice (QtyH) { var vOptionPrice = 0.0; for (j = 0; j < ConfigSettings.product.options.length; j++) { var vSelSelectionID = this.GetSelected(ConfigSettings.product.options[j].ID); //if ((ConfigSettings.product.options[j].role != 5) && (ConfigSettings.product.options[j].isVisible==true)) { //alert(ConfigSettings.product.options[j].ID); //alert(ConfigSettings.product.options[j].isVisible); if (vSelSelectionID == -1) { // get default var selCnt = ConfigSettings.product.options[j].selections.length; for (var selIndex = 0; selIndex < selCnt; selIndex++) { if (ConfigSettings.product.options[j].selections[selIndex].isDefault == true) { vSelSelectionID = ConfigSettings.product.options[j].selections[selIndex].selectionID; continue; } } } if ((ConfigSettings.product.options[j].isVisible==true)&& (ConfigSettings.product.options[j].type != 'TextBox') ){ if (vSelSelectionID > -1) { var vPQ = eval("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); if(QtyH>0) { var vPQH = eval("pq_"+ QtyH+ "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); //alert(vPQH); } if(QtyH>0) vOptionPrice +=GetPriceBySize(vPQ.price,vPQH.price); else vOptionPrice += vPQ.price; } } // else if ((ConfigSettings.product.options[j].role == 5) && (ConfigSettings.product.options[j].isVisible==true)) { // Role 5 -- Finishing OPtions // // if (vSelSelectionID > -1) { // //alert(ConfigSettings.product.options[j].role); // //alert(ConfigSettings.product.options[j].ID.toString() + ":" + this.GetSelected(ConfigSettings.product.options[j].ID).toString()); // //alert("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); // var vPQ = eval("pq_"+ ConfigSettings.productQuantityID + "_" + ConfigSettings.product.options[j].ID.toString() + "_" + vSelSelectionID.toString()); // var vCalcPrice = GetBannerOptionPrice(ConfigSettings.product.options[j], vPQ.price); // vOptionPrice += vCalcPrice; // } // } } return vOptionPrice; } } function GetBannerOptionPrice(option, unitPrice) { if (option.subRoleName == "Grommets") { //alert(GetGrommetCount()); //alert(unitPrice); return unitPrice * GetGrommetCount(); } else if (option.subRoleName == "Webbing") { return unitPrice * GetWebbingLength(); } else if (option.subRoleName == "Pole Pockets") { return unitPrice * GetPolePocketsLength(); } else if (option.subRoleName == "Rope") { return unitPrice * GetRopeLength(); } else if (option.subRoleName == "Sewing") { return unitPrice * GetSewingLength(); } else if (option.subRoleName == "3/4\" Velcro") { return unitPrice * GetVelcro3Length(); } else if (option.subRoleName == "2\" Velcro") { return unitPrice * GetVelcro2Length(); } //else //alert(option.subRoleName); } var currentSelections = new _CurrentSelections(); var currentGroupSelections = new _CurrentSelections(); function SetCurrentGroupSelections() { //alert('abc'); for (z=0; z < prodGroup.productGroupOptions.length; z++) { var OptionID = prodGroup.productGroupOptions[z].ID; var obj = document.getElementById("grpopt_" + OptionID.toString()); //alert(obj); //alert("opt_" + OptionID.toString()); if (obj) { if (prodGroup.productGroupOptions[z].type == "DropDown") { var SelectionID = obj.options[obj.selectedIndex].value; currentGroupSelections.UpdateSelection(OptionID, SelectionID); } } } //alert(currentGroupSelections.SelectionString()); } function SetCurrentSelections() { //alert(ConfigSettings.product.options.length); for (z=0; z < ConfigSettings.product.options.length; z++) { var OptionID = ConfigSettings.product.options[z].ID; //alert(OptionID.toString() + ":" + currentSelections.GetSelected(OptionID).toString()) if (currentSelections.GetSelected(OptionID) == -1) { //alert(ConfigSettings.product.options[z].selections); if (ConfigSettings.product.options[z].selections) { for (y=0; y < ConfigSettings.product.options[z].selections.length; y++) { if (ConfigSettings.product.options[z].selections[y].isDefault == true) { //alert(OptionID.toString() + ":" + ConfigSettings.product.options[z].selections[y].selectionID.toString()); currentSelections.UpdateSelection(OptionID, ConfigSettings.product.options[z].selections[y].selectionID); y=99999; } } } else { currentSelections.UpdateSelection(OptionID, ConfigSettings.product.options[z].defaultText); } } } //alert(currentSelections.SelectionString()); } function CurrencyFormatted(amount) { var i = parseFloat(amount.toString().replace("$","")); 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 CommaFormatted(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()