function printit() {
	var NS = (navigator.appName == "Netscape");
	var VERSION = parseInt(navigator.appVersion);
		if (NS) {window.print() ;}
		else {
			var webBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
			document.body.insertAdjacentHTML('beforeEnd', webBrowser);
			WebBrowser1.ExecWB(6,1); //Use a 1 vs, a 2 for a prompting dialog box
			WebBrowser1.outerHTML= "";
		}
	}

function Suggestions_Popup() {
window.open( "http://www.morningstarfiber.com/popups/suggestions.htm", "myWindow", 
"status = 1, scrollbars" )
}

function calculate()
{
	var Breed = document.Breedform.Breed.value;
	var Certified = document.Certified_Sorting.Certified.checked;
	var Batch_Size = document.Breedform.Batch_Size.value;
	var Waste = document.Spin_form.Waste.checked;
	var Card = document.Spin_form.Card.value;
	var Spin = document.Spin_form.Spin.value;
	var Ply = document.Spin_form.Ply.value;
	var Finish = document.Spin_form.Finish.value;
	var Location = document.Blend_form.Location.value;
	var Blend = document.Blend_form.Blend.value;
	var Blend_Fiber = document.Blend_form.Fiber.value;

/* to put time and date info into printed form */
	var d = new Date();
	var t_date = d.getDate();      // Returns the day of the month
	var t_mon = d.getMonth();      // Returns the month as a digit
	var t_year = d.getFullYear();  // Returns 4 digit year
	var t_hour = d.getHours();     // Returns hours
	var t_min = d.getMinutes();    // Returns minutes
	var t_sec = d.getSeconds();    // Returns seocnds
		
	{Datetext = (t_mon + 1) + "/" + t_date + "/" + t_year;}
	{Timetext = t_hour + ":" + t_min + ":" + t_sec;}


/* to put readable info in submitted form */
	if      (Batch_Size == 1) {
		if  (Breed == 1) {Weight = 12;}
		else             {Weight = 9;}
		}
	else if	(Batch_Size == 2) {
		if  (Breed == 1) {Weight = 24;}
		else             {Weight = 18;}
		}
	else if (Breed == 1) {Weight = 36;}
	else				 {Weight = 27;}


	if      (Finish == 1) {Finishtext = "none";}
	else if (Finish == 2) {Finishtext = "cone";}
	else if (Finish == 3) {Finishtext = "fulled 4oz. skein";}
	else                  {Finishtext = "fulled 8oz. skein";}


	if (Waste)	{Waste_Text = "Return Waste";}
	else		{Waste_Text = "Discard Waste";}


	if      (Spin == 1) {Spintext = "none";
		document.Spin_form.Finish.value = 1;
		document.Spin_form.Ply.value = 1;}
	else if (Spin == 2) {Spintext = "Lopi";
		document.Spin_form.Card.value = 6;
		document.Spin_form.Finish.value = 4;
		document.Spin_form.Ply.value = 1;
		Yarn_Weight = "300";}
	else if (Spin == 3) {Spintext = "Lopi Lite";
		document.Spin_form.Card.value = 6;
		document.Spin_form.Finish.value = 4;
		document.Spin_form.Ply.value = 1;
		Yarn_Weight = "400";}
	else if (Spin == 4) {Spintext = "Bulky";
		document.Spin_form.Card.value = 6;
		document.Spin_form.Finish.value = 3;
		Yarn_Weight = "800";
		if (Ply == 1)
			{document.Spin_form.Ply.value = 2;
			Ply = 2;}
		else {}
		}
	else if (Spin == 5) {Spintext = "Sport";
		document.Spin_form.Card.value = 6;
		document.Spin_form.Finish.value = 3;
		Yarn_Weight = "1200";
		if (Ply == 1)
			{document.Spin_form.Ply.value = 2;
			Ply = 2;}
		else {}
		}
	else if (Spin == 6) {Spintext = "Fingering";
		document.Spin_form.Card.value = 6;
		document.Spin_form.Finish.value = 3;
		Yarn_Weight = "1600";
		if (Ply == 1)
			{document.Spin_form.Ply.value = 2;
			Ply = 2;}
		else if (Ply == 4)
			{document.Spin_form.Ply.value = 3;
			Ply = 3;}
		else {}
		}
	else 				{Spintext = "Lace";
		document.Spin_form.Card.value = 6;
		document.Spin_form.Finish.value = 3;
		document.Spin_form.Ply.value = 2;
		Yarn_Weight = "2400";}
	
	if      (Ply == 1) {Plytext = "none";}
	else if (Ply == 2) {Plytext = "2 Ply";}
	else if (Ply == 3) {Plytext = "3 Ply";}
	else               {Plytext = "4 Ply";}

	if      (Card == 1) {CardText = "Batting";
		document.Spin_form.Spin.value = 1;
		Spin = 1;
		Yarn_Weight = "N/A";
		document.Spin_form.Finish.value =1;
		document.Spin_form.Ply.value = 1;} 
	else if (Card == 2) {CardText = "Cloud";
		document.Spin_form.Spin.value = 1;
		Spin = 1;
		Yarn_Weight = "N/A";
		document.Spin_form.Finish.value =1;
		document.Spin_form.Ply.value = 1;}
	else if (Card == 3) {CardText = "Roving";
		document.Spin_form.Spin.value = 1;
		Spin = 1;
		Yarn_Weight = "N/A";
		document.Spin_form.Finish.value =1;
		document.Spin_form.Ply.value = 1;}
	else if (Card == 4) {CardText = "Bumps";
		document.Spin_form.Spin.value = 1;
		Spin = 1;
		Yarn_Weight = "N/A";
		document.Spin_form.Finish.value =1;
		document.Spin_form.Ply.value = 1;}
	else if (Card == 5) {CardText = "Rug Yarn";
		document.Spin_form.Spin.value = 1;
		Spin = 1;
		Yarn_Weight = "(varies)";
		document.Spin_form.Finish.value = 1;
		document.Spin_form.Ply.value = 1;}
	else                {CardText = "Yarn";
		document.Spin_form.Card.value = 6;}

/* Icelandic */
	if (Breed == 1) {Breedtext = "Icelandic"; Loss = .40;
		if      (Batch_Size == 1) {Weight = 12; Weight_Text = "12 lbs.";
			if      (Card == 1) {PoundCharge = 11.00;}		//Batting
			else if (Card == 2) {PoundCharge =  5.00;}		//Cloud
			else if (Card == 3) {PoundCharge = 11.00;}		//Roving
			else if (Card == 4) {PoundCharge = 11.50;}		//Bumps
			else if (Card == 5) {PoundCharge = 13.00;}		//Rug Yarn
			else if (Spin == 2) {PoundCharge = 18.00;}		//Lopi
			else if (Spin == 3) {PoundCharge = 20.00;}		//Lopi Lite
			else if (Spin == 4) {
				if (Ply == 4)   {PoundCharge = 23.00;}		//4 Ply Bulky
				else 			{PoundCharge = 21.00;}		//2 or 3 Ply Bulky
				}
			else if (Spin == 5) {
				if (Ply == 4)   {PoundCharge = 24.50;}		//4 Ply Sport
				else 			{PoundCharge = 22.50;}		//2 or 3 Ply Sport
				}
			else if (Spin == 6)	{
				if (Ply == 2)   {PoundCharge = 24.00;}		//2 Ply Fingering
				else 			{PoundCharge = 26.00;}		//3 Ply Fingering
				}
			else 				{PoundCharge = 28.00;}		//2 Ply Lace
			}
		else if (Batch_Size == 2) {Weight = 24; Weight_Text = "24 lbs.";
			if      (Card == 1) {PoundCharge = 10.25;}		//Batting
			else if (Card == 2) {PoundCharge =  4.75;}		//Cloud
			else if (Card == 3) {PoundCharge = 10.25;}		//Roving
			else if (Card == 4) {PoundCharge = 11.25;}		//Bumps
			else if (Card == 5) {PoundCharge = 12.00;}		//Rug Yarn
			else if (Spin == 2) {PoundCharge = 16.75;}		//Lopi
			else if (Spin == 3) {PoundCharge = 18.75;}		//Lopi Lite
			else if (Spin == 4) {
				if (Ply == 4)   {PoundCharge = 21.50;}		//4 Ply Bulky
				else 			{PoundCharge = 19.50;}		//2 or 3 Ply Bulky
				}
			else if (Spin == 5) {
				if (Ply == 4)   {PoundCharge = 23.00;}		//4 Ply Sport
				else 			{PoundCharge = 21.00;}		//2 or 3 Ply Sport
				}
			else if (Spin == 6) {
				if (Ply == 2)   {PoundCharge = 22.50;}		//2 Ply Fingering
				else 			{PoundCharge = 24.50;}		//3 Ply Fingering
				}
			else 		  		{PoundCharge = 26.50;}		//2 Ply Lace
			}
		else					  {Weight = 36; Weight_Text = "36 lbs.";
			if      (Card == 1) {PoundCharge = 10.25;}		//Batting
			else if (Card == 2) {PoundCharge = 10.25;}		//Cloud
			else if (Card == 3) {PoundCharge = 10.25;}		//Roving
			else if (Card == 4) {PoundCharge = 10.25;}		//Bumps
			else if (Card == 5) {PoundCharge = 10.25;}		//Rug Yarn
			else if (Spin == 2) {PoundCharge = 16.50;}		//Lopi
			else if (Spin == 3) {PoundCharge = 16.50;}		//Lopi Lite
			else if (Spin == 4) {
				if (Ply == 4)   {PoundCharge = 22.50;}		//4 Ply Bulky
				else 			{PoundCharge = 20.50;}		//2 or 3 Ply Bulky
				}
			else if (Spin == 5) {
				if (Ply == 4)   {PoundCharge = 26.50;}		//4 Ply Sport
				else 			{PoundCharge = 24.50;}		//2 or 3 Ply Sport
				}
			else if (Spin == 6) {
				if (Ply == 2)   {PoundCharge = 26.25;}		//2 Ply Fingering
				else 			{PoundCharge = 26.25;}		//3 Ply Fingering
				}
			else 		 		{PoundCharge = 29.75;}		//2 Ply Lace
			}
		}

/* Llama */
	else if (Breed == 2) {Breedtext = "Llama";
		if (Certified)			{Loss = .10;}
		else					{Loss = .20;}
		if      (Batch_Size == 1) {Weight = 9; Weight_Text = "9 lbs.";
			if      (Card == 1) {PoundCharge = 16.00;}		//Batting
			else if (Card == 2) {PoundCharge = 10.00;}		//Cloud
			else if (Card == 3) {PoundCharge = 16.00;}		//Roving
			else if (Card == 4) {PoundCharge = 16.50;}		//Bumps
			else if (Card == 5) {PoundCharge = 17.00;}		//Rug Yarn
			else if (Spin == 2) {PoundCharge = 23.00;}		//Lopi
			else if (Spin == 3) {PoundCharge = 25.00;}		//Lopi Lite
			else if (Spin == 4) {
				if (Ply == 4)   {PoundCharge = 30.00;}		//4 Ply Bulky
				else 			{PoundCharge = 28.00;}		//2 or 3 Ply Bulky
				}
			else if (Spin == 5) {
				if (Ply == 4)   {PoundCharge = 31.50;}		//4 Ply Sport
				else 			{PoundCharge = 29.50;}		//2 or 3 Ply Sport
				}
			else if (Spin == 6)	{
				if (Ply == 2)   {PoundCharge = 32.00;}		//2 Ply Fingering
				else 			{PoundCharge = 34.00;}		//3 Ply Fingering
				}
			else 				{PoundCharge = 36.00;}		//2 Ply Lace
			}
		else if (Batch_Size == 2) {Weight = 18; Weight_Text = "18 lbs.";
			if      (Card == 1) {PoundCharge = 14.75;}		//Batting
			else if (Card == 2) {PoundCharge =  9.25;}		//Cloud
			else if (Card == 3) {PoundCharge = 14.75;}		//Roving
			else if (Card == 4) {PoundCharge = 15.25;}		//Bumps
			else if (Card == 5) {PoundCharge = 15.75;}		//Rug Yarn
			else if (Spin == 2) {PoundCharge = 21.50;}		//Lopi
			else if (Spin == 3) {PoundCharge = 23.50;}		//Lopi Lite
			else if (Spin == 4) {
				if (Ply == 4)   {PoundCharge = 28.50;}		//4 Ply Bulky
				else 			{PoundCharge = 26.50;}		//2 or 3 Ply Bulky
				}
			else if (Spin == 5) {
				if (Ply == 4)   {PoundCharge = 30.00;}		//4 Ply Sport
				else 			{PoundCharge = 28.00;}		//2 or 3 Ply Sport
				}
			else if (Spin == 6) {
				if (Ply == 2)   {PoundCharge = 30.50;}		//2 Ply Fingering
				else 			{PoundCharge = 32.50;}		//3 Ply Fingering
				}
			else 		  		{PoundCharge = 34.50;}		//2 Ply Lace
			}
		else					  {Weight = 27; Weight_Text = "27 lbs.";
			if      (Card == 1) {PoundCharge = 17.00;}		//Batting
			else if (Card == 2) {PoundCharge = 17.00;}		//Cloud
			else if (Card == 3) {PoundCharge = 17.00;}		//Roving
			else if (Card == 4) {PoundCharge = 17.00;}		//Bumps
			else if (Card == 5) {PoundCharge = 17.00;}		//Rug Yarn
			else if (Spin == 2) {PoundCharge = 21.25;}		//Lopi
			else if (Spin == 3) {PoundCharge = 21.25;}		//Lopi Lite
			else if (Spin == 4) {
				if (Ply == 4)   {PoundCharge = 28.50;}		//4 Ply Bulky
				else 			{PoundCharge = 26.50;}		//2 or 3 Ply Bulky
				}
			else if (Spin == 5) {
				if (Ply == 4)   {PoundCharge = 32.50;}		//4 Ply Sport
				else 			{PoundCharge = 30.50;}		//2 or 3 Ply Sport
				}
			else if (Spin == 6) {
				if (Ply == 2)   {PoundCharge = 32.50;}		//2 Ply Fingering
				else 			{PoundCharge = 32.50;}		//3 Ply Fingering
				}
			else 		 		{PoundCharge = 35.50;}		//2 Ply Lace
			}
		}

/* Huacaya Alpaca */
	else if (Breed == 3) {Breedtext = "Huacaya Alpaca";
		if (Certified)			{Loss = .10;}
		else					{Loss = .20;}
		if      (Batch_Size == 1) {Weight = 9; Weight_Text = "9 lbs.";
			if      (Card == 1) {PoundCharge = 16.00;}		//Batting
			else if (Card == 2) {PoundCharge = 10.00;}		//Cloud
			else if (Card == 3) {PoundCharge = 16.00;}		//Roving
			else if (Card == 4) {PoundCharge = 16.50;}		//Bumps
			else if (Card == 5) {PoundCharge = 17.00;}		//Rug Yarn
			else if (Spin == 2) {PoundCharge = 23.00;}		//Lopi
			else if (Spin == 3) {PoundCharge = 25.00;}		//Lopi Lite
			else if (Spin == 4) {
				if (Ply == 4)   {PoundCharge = 30.00;}		//4 Ply Bulky
				else 			{PoundCharge = 28.00;}		//2 or 3 Ply Bulky
				}
			else if (Spin == 5) {
				if (Ply == 4)   {PoundCharge = 31.50;}		//4 Ply Sport
				else 			{PoundCharge = 29.50;}		//2 or 3 Ply Sport
				}
			else if (Spin == 6)	{
				if (Ply == 2)   {PoundCharge = 32.00;}		//2 Ply Fingering
				else 			{PoundCharge = 34.00;}		//3 Ply Fingering
				}
			else 				{PoundCharge = 36.00;}		//2 Ply Lace
			}
		else if (Batch_Size == 2) {Weight = 18; Weight_Text = "18 lbs.";
			if      (Card == 1) {PoundCharge = 14.75;}		//Batting
			else if (Card == 2) {PoundCharge =  9.25;}		//Cloud
			else if (Card == 3) {PoundCharge = 14.75;}		//Roving
			else if (Card == 4) {PoundCharge = 15.25;}		//Bumps
			else if (Card == 5) {PoundCharge = 15.75;}		//Rug Yarn
			else if (Spin == 2) {PoundCharge = 21.50;}		//Lopi
			else if (Spin == 3) {PoundCharge = 23.50;}		//Lopi Lite
			else if (Spin == 4) {
				if (Ply == 4)   {PoundCharge = 28.50;}		//4 Ply Bulky
				else 			{PoundCharge = 26.50;}		//2 or 3 Ply Bulky
				}
			else if (Spin == 5) {
				if (Ply == 4)   {PoundCharge = 30.00;}		//4 Ply Sport
				else 			{PoundCharge = 28.00;}		//2 or 3 Ply Sport
				}
			else if (Spin == 6) {
				if (Ply == 2)   {PoundCharge = 30.50;}		//2 Ply Fingering
				else 			{PoundCharge = 32.50;}		//3 Ply Fingering
				}
			else 		  		{PoundCharge = 34.50;}		//2 Ply Lace
			}
		else					  {Weight = 27; Weight_Text = "27 lbs.";
			if      (Card == 1) {PoundCharge = 17.00;}		//Batting
			else if (Card == 2) {PoundCharge = 17.00;}		//Cloud
			else if (Card == 3) {PoundCharge = 17.00;}		//Roving
			else if (Card == 4) {PoundCharge = 17.00;}		//Bumps
			else if (Card == 5) {PoundCharge = 17.00;}		//Rug Yarn
			else if (Spin == 2) {PoundCharge = 21.25;}		//Lopi
			else if (Spin == 3) {PoundCharge = 21.25;}		//Lopi Lite
			else if (Spin == 4) {
				if (Ply == 4)   {PoundCharge = 28.50;}		//4 Ply Bulky
				else 			{PoundCharge = 26.50;}		//2 or 3 Ply Bulky
				}
			else if (Spin == 5) {
				if (Ply == 4)   {PoundCharge = 32.50;}		//4 Ply Sport
				else 			{PoundCharge = 30.50;}		//2 or 3 Ply Sport
				}
			else if (Spin == 6) {
				if (Ply == 2)   {PoundCharge = 32.50;}		//2 Ply Fingering
				else 			{PoundCharge = 32.50;}		//3 Ply Fingering
				}
			else 		 		{PoundCharge = 35.50;}		//2 Ply Lace
			}
		}

/* Suri Alpaca */
	else {Breedtext = "Suri Alpaca";
		if (Certified)			{Loss = .10;}
		else					{Loss = .20;}
		if      (Batch_Size == 1) {Weight = 9; Weight_Text = "9 lbs.";
			if      (Card == 1) {PoundCharge = 18.50;}		//Batting
			else if (Card == 2) {PoundCharge = 11.50;}		//Cloud
			else if (Card == 3) {PoundCharge = 18.50;}		//Roving
			else if (Card == 4) {PoundCharge = 19.00;}		//Bumps
			else if (Card == 5) {PoundCharge = 19.50;}		//Rug Yarn
			else if (Spin == 2) {PoundCharge = 26.50;}		//Lopi
			else if (Spin == 3) {PoundCharge = 28.75;}		//Lopi Lite
			else if (Spin == 4) {
				if (Ply == 4)   {PoundCharge = 34.50;}		//4 Ply Bulky
				else 			{PoundCharge = 32.25;}		//2 or 3 Ply Bulky
				}
			else if (Spin == 5) {
				if (Ply == 4)   {PoundCharge = 36.25;}		//4 Ply Sport
				else 			{PoundCharge = 34.00;}		//2 or 3 Ply Sport
				}
			else if (Spin == 6)	{
				if (Ply == 2)   {PoundCharge = 36.75;}		//2 Ply Fingering
				else 			{PoundCharge = 39.00;}		//3 Ply Fingering
				}
			else 				{PoundCharge = 41.50;}		//2 Ply Lace
			}
		else if (Batch_Size == 2) {Weight = 18; Weight_Text = "18 lbs.";
			if      (Card == 1) {PoundCharge = 17.00;}		//Batting
			else if (Card == 2) {PoundCharge = 10.50;}		//Cloud
			else if (Card == 3) {PoundCharge = 17.00;}		//Roving
			else if (Card == 4) {PoundCharge = 17.50;}		//Bumps
			else if (Card == 5) {PoundCharge = 18.00;}		//Rug Yarn
			else if (Spin == 2) {PoundCharge = 24.75;}		//Lopi
			else if (Spin == 3) {PoundCharge = 27.00;}		//Lopi Lite
			else if (Spin == 4) {
				if (Ply == 4)   {PoundCharge = 32.75;}		//4 Ply Bulky
				else 			{PoundCharge = 30.50;}		//2 or 3 Ply Bulky
				}
			else if (Spin == 5) {
				if (Ply == 4)   {PoundCharge = 34.50;}		//4 Ply Sport
				else 			{PoundCharge = 32.25;}		//2 or 3 Ply Sport
				}
			else if (Spin == 6) {
				if (Ply == 2)   {PoundCharge = 35.00;}		//2 Ply Fingering
				else 			{PoundCharge = 37.25;}		//3 Ply Fingering
				}
			else 		  		{PoundCharge = 39.75;}		//2 Ply Lace
			}
		else					  {Weight = 27; Weight_Text = "27 lbs.";
			if      (Card == 1) {PoundCharge = 17.00;}		//Batting
			else if (Card == 2) {PoundCharge = 17.00;}		//Cloud
			else if (Card == 3) {PoundCharge = 17.00;}		//Roving
			else if (Card == 4) {PoundCharge = 17.00;}		//Bumps
			else if (Card == 5) {PoundCharge = 17.00;}		//Rug Yarn
			else if (Spin == 2) {PoundCharge = 21.25;}		//Lopi
			else if (Spin == 3) {PoundCharge = 21.25;}		//Lopi Lite
			else if (Spin == 4) {
				if (Ply == 4)   {PoundCharge = 28.50;}		//4 Ply Bulky
				else 			{PoundCharge = 26.50;}		//2 or 3 Ply Bulky
				}
			else if (Spin == 5) {
				if (Ply == 4)   {PoundCharge = 32.50;}		//4 Ply Sport
				else 			{PoundCharge = 30.50;}		//2 or 3 Ply Sport
				}
			else if (Spin == 6) {
				if (Ply == 2)   {PoundCharge = 32.50;}		//2 Ply Fingering
				else 			{PoundCharge = 32.50;}		//3 Ply Fingering
				}
			else 		 		{PoundCharge = 35.50;}		//2 Ply Lace
			}
		}

	if 		(Blend == 1)
			{Blend_Weight = 0; Blendratio = "no blending";}
	else if (Blend == 2)
			{Blend_Weight = (Weight - (Weight * .90)) / .90;
			Blendratio = "10% Blend";}
	else if (Blend == 3)
			{Blend_Weight = (Weight - (Weight * .75)) / .75;
			Blendratio = "25% Blend";}
	else
			{Blend_Weight = (Weight - (Weight * .66666)) / .66666;
			Blendratio = "33% Blend";}

	if 		(Location == 1) {Blendtext = "none";}
	else if (Location == 2) {Blendtext = "Picker Blending";}
	else if (Location == 3) {Blendtext = "Carder Blending";}
	else if (Location == 4) {Blendtext = "Drawframe Blending";}
	else 					{Blendtext = "Plyer Blending";}

	Total_Weight = Weight + Blend_Weight;
	Finish_Weight = (Weight * (1 - Loss)) + Blend_Weight;
	Finish_Charge = (PoundCharge * (Weight + Blend_Weight)) / Finish_Weight;
			
	if		(Blend_Fiber == 1)
			{Fibertext = "none";}
	else if	(Blend_Fiber == 2)
			{Fibertext = "merino/tencel";}
	else if	(Blend_Fiber == 3)
			{Fibertext = "merino/tussah";}
	else if	(Blend_Fiber == 4)
			{Fibertext = "merino/bamboo";}
	else if	(Blend_Fiber == 5)
			{Fibertext = "nylon";}
	else
			{Fibertext = "other (call)";}

	document.Spin_form.Spin.value = Spin;
	document.Breedform.Batch_Weight.value = Weight.toFixed(2);
	document.Spin_form.Yarn_Weight.value = Yarn_Weight;
	TotalCharge = PoundCharge * (Weight + Blend_Weight);
	document.Total_form.Pound_Charge.value = PoundCharge.toFixed(2);
	document.Total_form.Total_Charge.value = TotalCharge.toFixed(2);
	document.Total_form.Finish_Charge.value = Finish_Charge.toFixed(2);
	
	document.Blend_form.Total_Weight.value = Finish_Weight.toFixed(2);

	document.FrontPage_Form6.Breed.value = Breedtext;
	document.FrontPage_Form6.Weight.value = Weight;
	document.FrontPage_Form6.Card.value = CardText;
	document.FrontPage_Form6.Spin.value = Spintext;
	document.FrontPage_Form6.Ply.value = Plytext;
	document.FrontPage_Form6.Finish.value = Finishtext;
	document.FrontPage_Form6.Blend.value = Blendtext;
	document.FrontPage_Form6.Ratio.value = Blendratio;
	document.FrontPage_Form6.Fiber.value = Fibertext;
	document.FrontPage_Form6.Waste.value = Waste_Text;
	document.FrontPage_Form6.Total_Charge.value = TotalCharge.toFixed(2);

	document.Batch_Form.Breed.value = Breedtext;
	document.Batch_Form.Batch_Size.value = Weight.toFixed(2);
	document.Batch_Form.Total_Weight.value = Total_Weight.toFixed(2);
	document.Batch_Form.Blend_Weight.value = Blend_Weight.toFixed(2);
	document.Batch_Form.Card.value = CardText;
	document.Batch_Form.Spin.value = Spintext;
	document.Batch_Form.Ply.value = Plytext;
	document.Batch_Form.Finish.value = Finishtext;
	document.Batch_Form.Location.value = Blendtext;
	document.Batch_Form.Blend.value = Blendratio;
	document.Batch_Form.Fiber.value = Fibertext;
	document.Batch_Form.Waste.value = Waste_Text;
	document.Batch_Form.Total_Charge.value = TotalCharge.toFixed(2);
	document.Batch_Form.Date.value = Datetext;
	document.Batch_Form.Time.value = Timetext;
	document.Batch_Form.Name.value = document.FrontPage_Form6.Name.value;
	document.Batch_Form.Phone.value = document.FrontPage_Form6.Phone.value;
	document.Batch_Form.Address.value = document.FrontPage_Form6.Address.value;
	document.Batch_Form.Animal_Name.value = document.FrontPage_Form6.Animal_Name.value;
	document.Batch_Form.Animal_Color.value = document.FrontPage_Form6.Animal_Color.value;
	document.Batch_Form.City.value = document.FrontPage_Form6.City.value;
	document.Batch_Form.State.value = document.FrontPage_Form6.State.value;
	document.Batch_Form.Zipcode.value = document.FrontPage_Form6.Zipcode.value;
	document.Batch_Form.Email.value = document.FrontPage_Form6.Email.value;
	document.Batch_Form.Comments.value = document.FrontPage_Form6.Comments.value;
	
}
