// JavaScript Document
// populate the arrary
//
// Rechanged Prices on June 1 2006 to include hst

//
// ------------ Price Data for Thrill Ride -----------
var thra = 37.12;
var thrc = 26.50;
var thrf = 115.00;
// ------------ End of Price Data For Thrill ride ----

// Prices for SightSeeing tour

	var SiA = 37.12;
	var SiC = 26.50;
	var SiF = 115.00;

// Prices for "The Bubble

	var bub = 107.92;
// hst 

var hst = .13;
// Removed tax calculation march 16, 2006
// calculation for sightseeing ride adults used in forms



 tadsgtwtax = SiA;

// Tax calculation for sight seeing childern used in formas



tadsgtwtaxc = SiC;

// tax calculation for sightseeing ride family used in forms



tadsgtwtaxf = SiF;

// Tax Calculation for thrill ride

// calculation for Thrill ride adults used in forms



tadthrgtwtax = thra;

// Tax calculation for Thrill ride childern used in formas



tadthrgtwtaxc = thrc;

// tax calculation for sightseeing ride family used in forms



tadthrgtwtaxf = thrf;

//---- Tax Calculation for the ball


Totalball = bub;


// --------------- common declarations --------------- 
var Ds = "<b><font size = '2' face='Arial, Helvetica, sans-serif'>$</font></b>";
var DsB = "$";
    tax ="<font color='#FF00001' face='Arial, Helvetica, sans-serif' <strong>*</strong></font> <font size ='1' face='Arial, Helvetica, sans-serif'><em>Tax <font color='#FF00001'>not</font> included.</em></font>";
	taxe = "<font color='#FF00001' face='Arial, Helvetica, sans-serif' <strong>*</strong></font> <font size ='1' face='Arial, Helvetica, sans-serif'><em>Taxe <font color='#FF00001'> non </font>incluse.</em></font>";
	
	taxeinc = "<font color='#FF00001' face='Arial, Helvetica, sans-serif' <strong>*</strong></font> <font size ='1' face='Arial, Helvetica, sans-serif'><em>Taxe (pas incluse.)<br />Prix pour 2010</em></font>";
	// ---- change tax to not included 2007
	taxinc = "<em><font size='2'>Tax (not incl.)<br />2010 Prices</font></em>";
	pa =" per adult.<br>";
	Pafr = " par adulte.<br>";
	child = " <font size='2'>per child <em>(12 years and under)</em></font>.<br>";
	enfantFr = " <font size='2'>par enfant <em>(12 ans et moins)</em></font>.<br>";
	
	child2 = " <dd> <font color='#FFFFFF' size='2'>...</font><font size='2'>Free <em>(Children 2 and under).</font></em></dd><br>";
	enfantFr2 = " <dd> <font color='#FFFFFF' size='2'>...</font><font size='2'>Gratuit <em>(Enfant de 2 & moins).</font></em></dd><br>";
	fam = " <font size ='2'>per family <em> (2 adults & 2 children)</em>.</font><br>";
	famFr = " <font size ='2'>par famille <em> (2 adultes & 2 enfants)</em>.</font><br>";
// french declariations
	
// ------------------ End of Common declarations --------


function ThrillRide(pricesEng)
{
	pricesEng["ta"] = thra;
	pricesEng["tc"] = thrc;
	pricesEng["tf"] = thrf;
	pricesEng["tx"] = taxinc; // changed on June 1 2006 to add tax included.
	pricesEng["txe"] = taxeinc;
	
}
	// Display product quantities
	function Thrprices(pricesEng)
	{
		document.write(Ds+pricesEng['ta'],pa );
		document.write(Ds+pricesEng['tc'], child);
		document.write(Ds+pricesEng['tf'], fam);
		document.write(pricesEng['tx']);

	}
	
	// create a product quantity array
	var Thrill = new Array();
	
	//Set product quantities
	ThrillRide(Thrill);
	
	// --------------------- display prices for thrill ride french ---------------
	
	function ThrillRideFr(pricesFr)
{
	/*pricesFr["ta"] = thra;
	pricesFr["tc"] = thrc;
	pricesFr["tf"] = thrf;
	pricesFr["txe"] = taxe;*/

	
}

	
	function ThrpricesFr(pricesFr)
	{
		document.write(pricesFr['ta']+Ds,Pafr );
		document.write(pricesFr['tc']+Ds,enfantFr);
		document.write(pricesFr['tf']+Ds, famFr);
		document.write(pricesFr['txe']);

	}
	
	// create a price quntity array for french
	var ThrillFr = new Array();
	
	
	ThrillRide(ThrillFr);

	// ------ function for sight seeing tour ----------
	
	function Sightseeing(SipricesEng)
{
	SipricesEng["si"] = SiA;
	SipricesEng["sc"] = SiC;
	SipricesEng["sf"] = SiF;
	SipricesEng["tx"] = taxinc;
	SipricesEng["txe"] = taxeinc;
	SipricesEng["chld"] = child2;
	SipricesEng["chldFr"] = enfantFr2;
	
}
	// Display product quantities
	function Siprices(SipricesEng)
	{
		document.write(Ds+SipricesEng['si'],pa );
		document.write(Ds+SipricesEng['sc'], child);
		document.write(Ds+SipricesEng['sf'], fam);
		document.write(SipricesEng['chld']);
		document.write(SipricesEng['tx']);

	}
	
	// create a product quantity array
	var Sight = new Array();
	
	//Set product quantities
	Sightseeing(Sight);
	
	
// ---------  Display prices for Sightseeing tour French ----------------
	
	
	// Display product quantities
	function SipricesFr(SipricesFr)
	{
		document.write(SipricesFr['si']+Ds,Pafr );
		document.write(SipricesFr['sc']+Ds, enfantFr);
		document.write(SipricesFr['sf']+Ds, famFr);
		document.write(SipricesFr['chldFr']);
		document.write(SipricesFr['txe']);

	}
	
	// create a product quantity array
	var SightFr = new Array();
	
	//Set product quantities
	Sightseeing(SightFr);
	
	
	
	
	
	
	// Function for the bubble price
	
	function BubbleRide(BubpricesEng)
{
		BubpricesEng["bu"] = bub;
	
	
}

function Buprices(BubpricesEng)
	{
		document.write(DsB+BubpricesEng['bu']+" "+taxinc);
		

	}
function BupricesFr(BubpricesEng)
	{
		document.write(BubpricesEng['bu']+DsB+" "+taxeinc);
		

	}
	
// create a product quantity array
	var Bubble = new Array();
// set product quantities

	BubbleRide(Bubble);