function calcIt() {		
		
		//Set all the variables to a default
		
		var Quantity = 0;
		var SubTotal = 0.00;
		var TotalShipCost = 0.00;
		var Theory = 0;
		var Sessions = 0;
		var Manhattan = 0;
        var Things = 0;
		var Hours = 0;
		var Mood = 0;
		var Feeling = 0;
		var Tails = 0;
		var Heart = 0;
		var Seduce = 0;
		var Collectn = 0;
		var Picture = 0;
		var Fposter = 0;
		var Mposter = 0;
		var Nposter = 0;
		var Oposter = 0;
		var CA_Tax = 0;
		var CA_Tax_Amt = 0.00;
		
		// poll each select control and modify the item variable and the Quantity variable,
		// which tracks the total quantity of things orders so that shipping may be calculated.

		var Twilight = parseInt(document.orderForm.Twilight_Blues[document.orderForm.Twilight_Blues.selectedIndex].text);
            Quantity = Quantity + Twilight;
			var Twilight = 11.99 * Twilight;

		var Theory = parseInt(document.orderForm.SD_Theory[document.orderForm.SD_Theory.selectedIndex].text);
            Quantity = Quantity + Theory;
			var Theory = 11.99 * Theory;
			
		var Sessions = parseInt(document.orderForm.NY_sessions[document.orderForm.NY_sessions.selectedIndex].text);
            Quantity = Quantity + Sessions;
			var Sessions = 11.99 * Sessions;
			
		var Manhattan = parseInt(document.orderForm.Midnight_in_Manhattan[document.orderForm.Midnight_in_Manhattan.selectedIndex].text);
            Quantity = Quantity + Manhattan;
			var Manhattan = 11.99 * Manhattan;
		
		var Things = parseInt(document.orderForm.My_Favorite_Things[document.orderForm.My_Favorite_Things.selectedIndex].text);
            Quantity = Quantity + Things;
			var Things = 11.99 * Things;
		
        var Hours = parseInt(document.orderForm.Jazz_After_Hours[document.orderForm.Jazz_After_Hours.selectedIndex].text);
            Quantity = Quantity + Hours;
			var Hours = 11.99 * Hours;
			        
		var Mood = parseInt(document.orderForm.In_The_Mood_for_Jazz[document.orderForm.In_The_Mood_for_Jazz.selectedIndex].text);
            Quantity = Quantity + Mood;
			var Mood = 11.99 * Mood;
		
		var Feeling = parseInt(document.orderForm.Feeling_Good[document.orderForm.Feeling_Good.selectedIndex].text);
            Quantity = Quantity + Feeling;
			var Feeling = 11.99 * Feeling;
		
		var Tails = parseInt(document.orderForm.Cocktails_at_Eight[document.orderForm.Cocktails_at_Eight.selectedIndex].text);
            Quantity = Quantity + Tails;
			var Tails = 11.99 * Tails;
		
		var Heart = parseInt(document.orderForm.Playing_By_Heart[document.orderForm.Playing_By_Heart.selectedIndex].text);
            Quantity = Quantity + Heart;
			var Heart = 11.99 * Heart;
		
		var Seduce = parseInt(document.orderForm.Seduction[document.orderForm.Seduction.selectedIndex].text);
            Quantity = Quantity + Seduce;
			var Seduce = 11.99 * Seduce;
		
		var Fposter = parseInt(document.orderForm.FavThings_Poster[document.orderForm.FavThings_Poster.selectedIndex].text);
            Quantity = Quantity + Fposter;
			var Fposter = 5.99 * Fposter;
	
	    var Mposter = parseInt(document.orderForm.Midnight_in_Manhattan_poster[document.orderForm.Midnight_in_Manhattan_poster.selectedIndex].text);
            Quantity = Quantity + Mposter;
			var Mposter = 5.99 * Mposter;
			
		var Nposter = parseInt(document.orderForm.NY_Sessions_poster[document.orderForm.NY_Sessions_poster.selectedIndex].text);
            Quantity = Quantity + Nposter;
			var Nposter = 5.99 * Nposter;
			
		var Oposter = parseInt(document.orderForm.Lisa_Ocean_poster[document.orderForm.Lisa_Ocean_poster.selectedIndex].text);
            Quantity = Quantity + Oposter;
			var Oposter = 5.99 * Oposter;

		var Tposter = parseInt(document.orderForm.Twilight_Blues_poster[document.orderForm.Twilight_Blues_poster.selectedIndex].text);
            Quantity = Quantity + Tposter;
			var Tposter = 5.99 * Tposter;

	
		//These if statements are used to calculate shipping changes.

	if (Quantity == 1) {TotalShipCost = 2.75};
	if (Quantity == 2) {TotalShipCost = 3.50};
	if (Quantity == 3) {TotalShipCost = 4.50};
	if (Quantity > 3)  {TotalShipCost = 5.50};
	if (Quantity > 4)  {TotalShipCost = 6.50};


        //These statements respond to the California Sales Tax Check box and add sales tax if appropriate

		if(document.orderForm.SalesTax.checked) {
			var CA_Tax = 1;
		    var CA_Tax_Amt = formatCurrency( ( (Twilight + Theory + Sessions + Manhattan + Things + Hours + Mood + Feeling + Tails + Heart + Seduce + Collectn + Fposter + Mposter + Nposter + Oposter + Tposter) * 0.0975) );
 	 		document.orderForm.LHTax.value = CA_Tax_Amt;
			document.orderForm.GrandTotal.value = formatCurrency( ( (Twilight + Theory + Sessions + Manhattan + Things + Hours + Mood + Feeling + Tails + Heart + Seduce + Collectn + Fposter + Mposter + Nposter + Oposter + Tposter) * 1.0975) + TotalShipCost );
             } else {
			  CA_Tax = 0;
			  CA_Tax_Amt = 0.00;
		   	document.orderForm.GrandTotal.value = formatCurrency( (Twilight + Theory + Sessions + Manhattan + Things + Hours + Mood + Feeling + Tails + Heart + Seduce + Collectn + Fposter + Mposter + Nposter + Oposter + Tposter + TotalShipCost));
        
	       }

        // Time to display sub-total, shipping total and grand Total.
		// and format the results of the math at currency.

         document.orderForm.SubTotal.value = formatCurrency((Twilight + Theory + Sessions + Manhattan + Things + Hours + Mood + Feeling + Tails + Heart + Seduce + Collectn + Fposter + Mposter + Nposter + Oposter + Tposter));
         document.orderForm.LHTax.value = formatCurrency   (((Twilight + Theory + Sessions + Manhattan + Things + Hours + Mood + Feeling + Tails + Heart + Seduce + Collectn + Fposter + Mposter + Nposter + Oposter + Tposter) * 0.0975 * CA_Tax) );
	 	 document.orderForm.Shipping.value = formatCurrency(TotalShipCost);

	}

//Dollar Format for Dicount option

function formatCurrency(num) {
num = num.toString().replace(/\$|\,/g,'');
if(isNaN(num))
num = "0";
sign = (num == (num = Math.abs(num)));
num = Math.floor(num*100+0.50000000001);
cents = num%100;
num = Math.floor(num/100).toString();
if(cents<10)
cents = "0" + cents;
for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)
num = num.substring(0,num.length-(4*i+3))+','+
num.substring(num.length-(4*i+3));
return (((sign)?'':'-') + num + '.' + cents);
}