// Quotation values
// Updated 20-Oct-06 on advice from Eddie

var Tmax=new Array()
Tmax["South1"]=20;
Tmax["South2"]=20;
Tmax["South3"]=20;
Tmax["South4"]=30;
Tmax["South5"]=30;
Tmax["South6"]=40;
Tmax["West1"]=20;
Tmax["West2"]=20;
Tmax["West3"]=20;
Tmax["West4"]=30;
Tmax["West5"]=40;
Tmax["West6"]=40;


var Tubo=new Array()
Tubo["South1"]=2;
Tubo["South2"]=2;
Tubo["South3"]=3;
Tubo["South4"]=3;
Tubo["South5"]=4;
Tubo["South6"]=4;
Tubo["West1"]=2;
Tubo["West2"]=3;
Tubo["West3"]=3;
Tubo["West4"]=4;
Tubo["West5"]=4;
Tubo["West6"]=5;

var Plano=new Array()
Plano["South1"]=1;
Plano["South2"]=1;
Plano["South3"]=2;
Plano["South4"]=2;
Plano["South5"]=3;
Plano["South6"]=3;
Plano["West1"]=1;
Plano["West2"]=1;
Plano["West3"]=2;
Plano["West4"]=2;
Plano["West5"]=3;
Plano["West6"]=3;

// Note the litre sizes used here are nominal... actual cylinder sizes may be slightly different
// Cylinder Type
var CylinderType=new Array()
// Thermomax
CylinderType["Tmax20V"]="V160";
CylinderType["Tmax30V"]="V210";
CylinderType["Tmax40V"]="V260";
CylinderType["Tmax20U"]="U210";
CylinderType["Tmax30U"]="U250";
CylinderType["Tmax40U"]="U330";

// Tubo
CylinderType["Tubo2V"]="V160";
CylinderType["Tubo3V"]="V210";
CylinderType["Tubo4V"]="V260";
CylinderType["Tubo5V"]="V260";
CylinderType["Tubo2U"]="U210";
CylinderType["Tubo3U"]="U250";
CylinderType["Tubo4U"]="U330";
CylinderType["Tubo5U"]="U330";

// Plano
CylinderType["Plano1V"]="V210";
CylinderType["Plano2V"]="V210";
CylinderType["Plano3V"]="V260";
CylinderType["Plano4V"]="V260";
CylinderType["Plano1U"]="U210";
CylinderType["Plano2U"]="U250";
CylinderType["Plano3U"]="U330";
CylinderType["Plano4U"]="U330";

var CylinderSize=new Array()
CylinderSize["V160"]="150cm h x 55cm w";
CylinderSize["V210"]="180cm h x 55cm w";
CylinderSize["V260"]="190cm h x 55cm w";
CylinderSize["U210"]="140cm h x 58cm w";
CylinderSize["U250"]="160cm h x 58cm w";
CylinderSize["U330"]="210cm h x 58cm w";
CylinderSize["CONUS"]="195cm h x 94cm w";
CylinderSize["EXISTING"]="Use current dual coil cylinder";

/////////////////////////////////
// Pricing information
/////////////////////////////////

// Collector prices
var CollectorPrice=new Array()
// Thermomax Prices
CollectorPrice["Tmax20"]=1200;
CollectorPrice["Tmax30"]=1750;
CollectorPrice["Tmax40"]=2400;

// Tubo Prices
CollectorPrice["Tubo2"]=956;
CollectorPrice["Tubo3"]=1434;
CollectorPrice["Tubo4"]=1912;
CollectorPrice["Tubo5"]=2390;

// Plano Prices
CollectorPrice["Plano1"]=540;
CollectorPrice["Plano2"]=1080;
CollectorPrice["Plano3"]=1620;
CollectorPrice["Plano4"]=2160;

// Mounting kit prices
var MountingPrice=new Array()
// Thermomax Prices
MountingPrice["Tmax20Flat"]=140;
MountingPrice["Tmax30Flat"]=140;
MountingPrice["Tmax40Flat"]=140;
MountingPrice["Tmax20Pitched"]=0;
MountingPrice["Tmax30Pitched"]=0;
MountingPrice["Tmax40Pitched"]=0;

// Tubo Prices
MountingPrice["Tubo2Flat"]=276;	
MountingPrice["Tubo3Flat"]=283;	
MountingPrice["Tubo4Flat"]=347;	
MountingPrice["Tubo5Flat"]=400;		// needs checking	
MountingPrice["Tubo2Pitched"]=249; 
MountingPrice["Tubo3Pitched"]=256;
MountingPrice["Tubo4Pitched"]=305;
MountingPrice["Tubo5Pitched"]=350;	// needs checking

// Plano Prices - options for on or in roof mounting
MountingPrice["Plano1Flat"]=121;
MountingPrice["Plano2Flat"]=196;	
MountingPrice["Plano3Flat"]=283;	
MountingPrice["Plano4Flat"]=405;	
MountingPrice["Plano1Pitched"]=161;
MountingPrice["Plano2Pitched"]=159;
MountingPrice["Plano3Pitched"]=239;
MountingPrice["Plano4Pitched"]=331;
MountingPrice["Plano1PitchedIn"]="N/A";  // Make sure this never gets selected
MountingPrice["Plano2PitchedIn"]=371;
MountingPrice["Plano3PitchedIn"]=499;	
MountingPrice["Plano4PitchedIn"]=627;	

// Cylinder prices
var CylinderPrice=new Array()
CylinderPrice["V160"]=300;	// NEWARK
CylinderPrice["V210"]=320;	// NEWARK
CylinderPrice["V260"]=350;	// NEWARK
CylinderPrice["U210"]=1100;	// OSO
CylinderPrice["U250"]=1188;	// OSO
CylinderPrice["U330"]=1324;	// OSO
CylinderPrice["CONUS"]=1573;	// CONSOLAR
CylinderPrice["EXISTING"]=0;

// Installation charges
var InstallationPrice = 1400; // Vented Cyl 300, pipework 500, collectors £450, wiring £150
var UnVentedExtra = 200;
var InRoofExtra = 100;  // 100 labour note; flashing costs included in MountinPrice (siffix In) above
var PumpPrice = 0; // included in controller price
var ControllerPrice = 320;
var PipeworkPrice = 300;
var DIYKit = 200;	// pipes excluded
var ShippingCharge = 120; // for shipping system for self install

// VAT rates
var InstalledVAT = 5;
var SelfInstallVAT = 17.5;

// Messages and text
var SpecialQuoteMessage = "SPECIAL - there are special circumstances indicated by some of the answers you have given. This is an estimate only and the final price may be higher. If you want to take things further please submit this form and take note of your estimate reference number. Contact us by phone or email to discuss your special circumstances in more detail before we can provide you with a quotation.";
var StandardQuoteMessage = "STANDARD - this estimate is likely to be very close to the final price. If you want to take things further please submit this form and take note of your estimate reference number. Contact us by phone or email and we'll be able to check the estimate and issue a quotation.";