function calc() {
var iTot = 0;
var mTot = 0;
	document.forms["add_cart1"].elements["quantity"].value = document.forms["add_cart1"].elements["quantity_shortrun"].value;
 
 
	if (document.forms["add_cart1"].elements["quantity"].type=="select-one")
	{ var quantity = document.forms["add_cart1"].elements["quantity"].options[document.forms["add_cart1"].elements["quantity"].selectedIndex].value; }
	else
	{ var quantity = document.forms["add_cart1"].elements["quantity"].value; }
 
	if (document.forms["add_cart1"].elements["bccolors_free"].type=="select-one")
	{ var bccolors_free = document.forms["add_cart1"].elements["bccolors_free"].options[document.forms["add_cart1"].elements["bccolors_free"].selectedIndex].value; }
	else
	{if (document.forms["add_cart1"].elements["bccolors_free"].length>0)
{
 
	for (var i=0; i < document.forms["add_cart1"].elements["bccolors_free"].length; i++)
	{if (document.forms["add_cart1"].elements["bccolors_free"][i].checked)
	{var bccolors_free =i ;
	break;}}
}else
{
	var bccolors_free =0;
	}}
 
	if (document.forms["add_cart1"].elements["papertype_businesscards"].type=="select-one")
	{ var papertype_businesscards = document.forms["add_cart1"].elements["papertype_businesscards"].options[document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex].value; }
	else
	{if (document.forms["add_cart1"].elements["papertype_businesscards"].length>0)
{
 
	for (var i=0; i < document.forms["add_cart1"].elements["papertype_businesscards"].length; i++)
	{if (document.forms["add_cart1"].elements["papertype_businesscards"][i].checked)
	{var papertype_businesscards =i ;
	break;}}
}else
{
	var papertype_businesscards =0;
	}}
 
	if (document.forms["add_cart1"].elements["proof"].type=="select-one")
	{ var proof = document.forms["add_cart1"].elements["proof"].options[document.forms["add_cart1"].elements["proof"].selectedIndex].value; }
	else
	{if (document.forms["add_cart1"].elements["proof"].length>0)
{
 
	for (var i=0; i < document.forms["add_cart1"].elements["proof"].length; i++)
	{if (document.forms["add_cart1"].elements["proof"][i].checked)
	{var proof =i ;
	break;}}
}else
{
	var proof =0;
	}}
 
	if (document.forms["add_cart1"].elements["turnaround1235_recon"].type=="select-one")
	{ var turnaround1235_recon = document.forms["add_cart1"].elements["turnaround1235_recon"].options[document.forms["add_cart1"].elements["turnaround1235_recon"].selectedIndex].value; }
	else
	{if (document.forms["add_cart1"].elements["turnaround1235_recon"].length>0)
{
 
	for (var i=0; i < document.forms["add_cart1"].elements["turnaround1235_recon"].length; i++)
	{if (document.forms["add_cart1"].elements["turnaround1235_recon"][i].checked)
	{var turnaround1235_recon = document.forms["add_cart1"].elements["turnaround1235_recon"][i].value;
 
	var index_turnaround = i;
	break;}}
}else
{
	var turnaround1235_recon = document.forms["add_cart1"].elements["turnaround1235_recon"].value;
 
	var index_turnaround = 0;
	}}
 
	if ((quantity == 50) && turnaround1235_recon == "5 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.199*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.176*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 100) && turnaround1235_recon == "5 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.1495*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.176*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 150) && turnaround1235_recon == "5 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.133*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.176*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 200) && turnaround1235_recon == "5 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.11475*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.176*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 250) && turnaround1235_recon == "5 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.0998*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.176*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 500) && turnaround1235_recon == "5 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.0599*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.176*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 1000) && turnaround1235_recon == "5 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.03495*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.176*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 2000) && turnaround1235_recon == "5 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.027475*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.176*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 3000) && turnaround1235_recon == "5 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.021650*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.176*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 4000) && turnaround1235_recon == "5 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.018738*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.176*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 5000) && turnaround1235_recon == "5 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.01699*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.176*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity > 5000) && turnaround1235_recon == "5 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.013495*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.176*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 50) && turnaround1235_recon == "3 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.199*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.15*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 100) && turnaround1235_recon == "3 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.1495*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.15*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 150) && turnaround1235_recon == "3 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.133*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.15*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 200) && turnaround1235_recon == "3 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.11475*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.15*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 250) && turnaround1235_recon == "3 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.0998*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.15*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 500) && turnaround1235_recon == "3 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.0599*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.15*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 1000) && turnaround1235_recon == "3 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.03495*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.15*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 2000) && turnaround1235_recon == "3 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.027475*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.15*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 3000) && turnaround1235_recon == "3 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.02165*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.15*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 4000) && turnaround1235_recon == "3 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.018738*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.15*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 5000) && turnaround1235_recon == "3 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.01699*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.15*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity > 5000) && turnaround1235_recon == "3 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.013495*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(1.15*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 50) && turnaround1235_recon == "2 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.199*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.88*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 100) && turnaround1235_recon == "2 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.1495*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.88*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 150) && turnaround1235_recon == "2 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.133*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.88*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 200) && turnaround1235_recon == "2 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.11475*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.88*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 250) && turnaround1235_recon == "2 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.0998*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.88*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 500) && turnaround1235_recon == "2 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.0599*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.88*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 1000) && turnaround1235_recon == "2 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.03495*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.88*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 2000) && turnaround1235_recon == "2 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.027475*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.88*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 3000) && turnaround1235_recon == "2 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.02165*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.88*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 4000) && turnaround1235_recon == "2 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.018738*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.88*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 5000) && turnaround1235_recon == "2 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.01699*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.88*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity > 5000) && turnaround1235_recon == "2 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.013495*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.88*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 50) && turnaround1235_recon == "1 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.199*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 100) && turnaround1235_recon == "1 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.1495*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 150) && turnaround1235_recon == "1 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.133*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 200) && turnaround1235_recon == "1 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.11475*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 250) && turnaround1235_recon == "1 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.0998*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 500) && turnaround1235_recon == "1 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.0599*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 1000) && turnaround1235_recon == "1 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.03495*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 2000) && turnaround1235_recon == "1 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.027475*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 3000) && turnaround1235_recon == "1 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.02165*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 4000) && turnaround1235_recon == "1 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.018738*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 5000) && turnaround1235_recon == "1 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.01699*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity > 5000) && turnaround1235_recon == "1 Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.013495*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 50) && turnaround1235_recon == "Same Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.199*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 100) && turnaround1235_recon == "Same Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.1495*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 150) && turnaround1235_recon == "Same Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.133*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 200) && turnaround1235_recon == "Same Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.11475*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 250) && turnaround1235_recon == "Same Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.0998*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 500) && turnaround1235_recon == "Same Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.0599*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 1000) && turnaround1235_recon == "Same Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.03495*quantity*2.0)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 2000) && turnaround1235_recon == "Same Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.027475*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 3000) && turnaround1235_recon == "Same Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.02165*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 4000) && turnaround1235_recon == "Same Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.018738*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity == 5000) && turnaround1235_recon == "Same Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.01699*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}
 
 
	if ((quantity > 5000) && turnaround1235_recon == "Same Day")
	{
		turnaround1235_recon = index_turnaround;
iTot = iTot + ((((0.013495*quantity*2.15)*itemInfo[1][1][document.forms["add_cart1"].elements["papertype_businesscards"].selectedIndex]))*(0.76*itemInfo[1][4][turnaround1235_recon]))+(itemInfo[1][0][document.forms["add_cart1"].elements["bccolors_free"].selectedIndex])+itemInfo[1][2][document.forms["add_cart1"].elements["proof"].selectedIndex];
		mTot = mTot + iTot /quantity;
	}

if(iTot == 0)
{
tTot = iTot;
document.getElementById("sptotal").innerHTML = 'Free';
document.forms["add_cart1"].elements["total"].value = '$0.00';
document.forms["add_cart1"].elements["price"].value = '$0.00';
document.getElementById("spprice").innerHTML = 'Free';
}
else
{
tTot = Math.round(iTot * 100) / 100 + .00001;
var maxDisc = document.forms["add_cart1"].elements["price_max"].value;
var price_factor = document.forms["add_cart1"].elements["price_factor"].value;
var calculatedDisc;
var discountedTotal;
var iDiscount;
var youSave;
var displayDisc;

calculatedDisc = tTot*(1-price_factor);
if(calculatedDisc > maxDisc && maxDisc > 0 )
{
    discountedTotal=tTot-maxDisc;
    //iDiscount = maxDisc;
    iDiscount = (1-price_factor)*100;
    //displayDisc = "" + (Math.round(iDiscount* 100) / 100 + .001);   
    //displayDisc = displayDisc.substring(0, displayDisc.indexOf(".") + 3);
     displayDisc = "" + (Math.round(maxDisc* 100) / 100 + .001);   
    displayDisc = displayDisc.substring(0, displayDisc.indexOf(".") + 3);
    document.getElementById("idYouSave").innerHTML = "" + Math.round(iDiscount) + "%" ;
    document.getElementById("idMaxYouSave").innerHTML =  "$" + maxDisc ;
    document.getElementById("idYouSaveNew").innerHTML =  "- $" + displayDisc ;
}
else
{
   discountedTotal=tTot*price_factor;
   iDiscount = (1-price_factor)*100;
    displayDisc = "" + (Math.round(calculatedDisc* 100) / 100 + .001);
    displayDisc = displayDisc.substring(0, displayDisc.indexOf(".") + 3);
    document.getElementById("idYouSave").innerHTML ="" + Math.round(iDiscount) + "%" ;
    if (maxDisc != "off")
    {
        document.getElementById("idMaxYouSave").innerHTML =  "$" + maxDisc ;
    }
    document.getElementById("idYouSaveNew").innerHTML =  "- $" + displayDisc ;
}
var xDiscountedTotal = "" + discountedTotal;


	
xDiscountedTotal = xDiscountedTotal.substring(0,xDiscountedTotal.indexOf(".") + 3);
document.getElementById("idNowOnly").innerHTML = "$" + xDiscountedTotal;
	var totX = "" + tTot;
	totX = totX.substring(0,totX.indexOf(".") + 3);
	if(totX > 0 )
{
document.getElementById("sptotal").innerHTML = "$" + totX;}
else
{
document.getElementById("sptotal").innerHTML = "Free";}


	document.forms["add_cart1"].elements["total"].value = "$" + totX;

	pTot = (tTot/quantity);
	var totX = "" + pTot;
	totX = totX.substring(0,totX.indexOf(".") + 4);
pTot = (discountedTotal/quantity);
totX = "" + pTot;
totX = totX.substring(0,totX.indexOf(".") + 4);
	document.forms["add_cart1"].elements["price"].value = "$" + totX;
	if(totX > 0 )
{
document.getElementById("spprice").innerHTML =  "$" + totX;}
else
{
document.getElementById("spprice").innerHTML =  "Free";}

}
}

var itemInfo = new Array(1) ;
var fieldInfo = new Array(1) ;
var pfInfo = new Array(1) ;
var baseInfo = new Array(1) ;
itemInfo[1] = new Array(5);
fieldInfo[1] = new Array(5);
pfInfo[1] = new Array(5);
var sDescArr = new Array(5);
fieldInfo[1][0] = "bccolors_free";
itemInfo[1][0] = new Array(3);
pfInfo[1][0] = new Array(3);
itemInfo[1][0][0] = 0.00;
pfInfo[1][0][0] = 'NON';
itemInfo[1][0][1] = 5.00;
pfInfo[1][0][1] = 'NON';
itemInfo[1][0][2] = 7.00;
pfInfo[1][0][2] = 'NON';

fieldInfo[1][1] = "papertype_businesscards";
itemInfo[1][1] = new Array(2);
pfInfo[1][1] = new Array(2);
itemInfo[1][1][0] = 1.00;
pfInfo[1][1][0] = 'NON';
itemInfo[1][1][1] = 1.25;
pfInfo[1][1][1] = 'NON';

fieldInfo[1][2] = "proof";
itemInfo[1][2] = new Array(3);
pfInfo[1][2] = new Array(3);
itemInfo[1][2][0] = 0.00;
pfInfo[1][2][0] = 'NON';
itemInfo[1][2][1] = 35.00;
pfInfo[1][2][1] = 'NON';
itemInfo[1][2][2] = 50.00;
pfInfo[1][2][2] = 'NON';
fieldInfo[1][3] = "quantity_shortrun";
itemInfo[1][3] = new Array(15);
pfInfo[1][3] = new Array(15);
itemInfo[1][3][0] = 50.00;
pfInfo[1][3][0] = 'NON';
itemInfo[1][3][1] = 100.00;
pfInfo[1][3][1] = 'NON';
itemInfo[1][3][2] = 150.00;
pfInfo[1][3][2] = 'NON';
itemInfo[1][3][3] = 150.00;
pfInfo[1][3][3] = 'NON';
itemInfo[1][3][4] = 200.00;
pfInfo[1][3][4] = 'NON';
itemInfo[1][3][5] = 250.00;
pfInfo[1][3][5] = 'NON';
itemInfo[1][3][6] = 250.00;
pfInfo[1][3][6] = 'NON';
itemInfo[1][3][7] = 500.00;
pfInfo[1][3][7] = 'NON';
itemInfo[1][3][8] = 1000.00;
pfInfo[1][3][8] = 'NON';
itemInfo[1][3][9] = 1000.00;
pfInfo[1][3][9] = 'NON';
itemInfo[1][3][10] = 2000.00;
pfInfo[1][3][10] = 'NON';
itemInfo[1][3][11] = 3000.00;
pfInfo[1][3][11] = 'NON';
itemInfo[1][3][12] = 4000.00;
pfInfo[1][3][12] = 'NON';
itemInfo[1][3][13] = 5000.00;
pfInfo[1][3][13] = 'NON';
itemInfo[1][3][14] = 10000.00;
pfInfo[1][3][14] = 'NON';

fieldInfo[1][4] = "turnaround1235_recon";
itemInfo[1][4] = new Array(5);
pfInfo[1][4] = new Array(5);
itemInfo[1][4][0] = 0.85;
pfInfo[1][4][0] = 'NON';
itemInfo[1][4][1] = 1.00;
pfInfo[1][4][1] = 'NON';
itemInfo[1][4][2] = 1.50;
pfInfo[1][4][2] = 'NON';
itemInfo[1][4][3] = 2.00;
pfInfo[1][4][3] = 'NON';
itemInfo[1][4][4] = 2.60;
pfInfo[1][4][4] = 'NON';

baseInfo[1] = 0;

 
