// JavaScript Document

function testCreditCard () {
  myCardNo = document.getElementById('CardNumber').value;
  myCardType = document.getElementById('CardType').value;
  if (checkCreditCard (myCardNo,myCardType)) {
    alert ("Credit card has a valid format")
  } 
  //else {alert (ccErrors[ccErrorNo])};
  alert ("Credit card is invalid format")
}






function times(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_1.value.split('|');

 if(window.document.checkprint.bullname_1.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total1.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_1.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_1.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_1.value = 0;
  }
  
 if(window.document.checkprint.num_straws_1.value == '') window.document.checkprint.num_straws_1.value = 0;
}

function times2(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_2.value.split('|');

 if(window.document.checkprint.bullname_2.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total2.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_2.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_2.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_2.value = 0;
  }
  
 if(window.document.checkprint.num_straws_2.value == '') window.document.checkprint.num_straws_2.value = 0;
}

function times3(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_3.value.split('|');

 if(window.document.checkprint.bullname_3.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total3.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_3.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_3.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_3.value = 0;
  }
  
 if(window.document.checkprint.num_straws_3.value == '') window.document.checkprint.num_straws_3.value = 0;
}

function times4(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_4.value.split('|');

 if(window.document.checkprint.bullname_4.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total4.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_4.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_4.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_4.value = 0;
  }
  
 if(window.document.checkprint.num_straws_4.value == '') window.document.checkprint.num_straws_4.value = 0;
}

function times5(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_5.value.split('|');

 if(window.document.checkprint.bullname_5.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total5.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_5.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_5.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_5.value = 0;
  }
  
 if(window.document.checkprint.num_straws_5.value == '') window.document.checkprint.num_straws_5.value = 0;
}

function times6(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_6.value.split('|');

 if(window.document.checkprint.bullname_6.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total6.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_6.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_6.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_6.value = 0;
  }
  
 if(window.document.checkprint.num_straws_6.value == '') window.document.checkprint.num_straws_6.value = 0;
}

function times7(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_7.value.split('|');

 if(window.document.checkprint.bullname_7.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total7.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_7.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_7.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_7.value = 0;
  }
  
 if(window.document.checkprint.num_straws_7.value == '') window.document.checkprint.num_straws_7.value = 0;
}

function times8(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_8.value.split('|');

 if(window.document.checkprint.bullname_8.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total8.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_8.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_8.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_8.value = 0;
  }
  
 if(window.document.checkprint.num_straws_8.value == '') window.document.checkprint.num_straws_8.value = 0;
}

function times9(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_9.value.split('|');

 if(window.document.checkprint.bullname_9.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total9.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_9.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_9.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_9.value = 0;
  }
  
 if(window.document.checkprint.num_straws_9.value == '') window.document.checkprint.num_straws_9.value = 0;
}

function times10(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_10.value.split('|');

 if(window.document.checkprint.bullname_10.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total10.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_10.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_10.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_10.value = 0;
  }
  
 if(window.document.checkprint.num_straws_10.value == '') window.document.checkprint.num_straws_10.value = 0;
}

function times11(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_11.value.split('|');

 if(window.document.checkprint.bullname_11.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total11.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_11.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_11.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_11.value = 0;
  }
  
 if(window.document.checkprint.num_straws_11.value == '') window.document.checkprint.num_straws_11.value = 0;
}

function times12(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_12.value.split('|');

 if(window.document.checkprint.bullname_12.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total12.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_12.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_12.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_12.value = 0;
  }
  
 if(window.document.checkprint.num_straws_12.value == '') window.document.checkprint.num_straws_12.value = 0;
}

function times13(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_13.value.split('|');

 if(window.document.checkprint.bullname_13.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total13.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_13.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_13.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_13.value = 0;
  }
  
 if(window.document.checkprint.num_straws_13.value == '') window.document.checkprint.num_straws_13.value = 0;
}

function times14(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_14.value.split('|');

 if(window.document.checkprint.bullname_14.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total14.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_14.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_14.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_14.value = 0;
  }
  
 if(window.document.checkprint.num_straws_14.value == '') window.document.checkprint.num_straws_14.value = 0;
}

function times15(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_15.value.split('|');

 if(window.document.checkprint.bullname_15.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total15.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_15.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_15.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_15.value = 0;
  }
  
 if(window.document.checkprint.num_straws_15.value == '') window.document.checkprint.num_straws_15.value = 0;
}

function times16(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_16.value.split('|');

 if(window.document.checkprint.bullname_16.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total16.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_16.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_16.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_16.value = 0;
  }
  
 if(window.document.checkprint.num_straws_16.value == '') window.document.checkprint.num_straws_16.value = 0;
}

function times17(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_17.value.split('|');

 if(window.document.checkprint.bullname_17.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total17.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_17.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_17.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_17.value = 0;
  }
  
 if(window.document.checkprint.num_straws_17.value == '') window.document.checkprint.num_straws_17.value = 0;
}

function times18(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_18.value.split('|');

 if(window.document.checkprint.bullname_18.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total18.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_18.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_18.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_18.value = 0;
  }
  
 if(window.document.checkprint.num_straws_18.value == '') window.document.checkprint.num_straws_18.value = 0;
}

function times19(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_19.value.split('|');

 if(window.document.checkprint.bullname_19.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total19.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_19.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_19.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_19.value = 0;
  }
  
 if(window.document.checkprint.num_straws_19.value == '') window.document.checkprint.num_straws_19.value = 0;
}

function times20(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_20.value.split('|');

 if(window.document.checkprint.bullname_20.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total20.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_20.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_20.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_20.value = 0;
  }
  
 if(window.document.checkprint.num_straws_20.value == '') window.document.checkprint.num_straws_20.value = 0;
}

function times21(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_21.value.split('|');

 if(window.document.checkprint.bullname_21.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total21.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_21.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_21.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_21.value = 0;
  }
  
 if(window.document.checkprint.num_straws_21.value == '') window.document.checkprint.num_straws_21.value = 0;
}

function times22(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_22.value.split('|');

 if(window.document.checkprint.bullname_22.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total22.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_22.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_22.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_22.value = 0;
  }
  
 if(window.document.checkprint.num_straws_22.value == '') window.document.checkprint.num_straws_22.value = 0;
}

function times23(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_23.value.split('|');

 if(window.document.checkprint.bullname_23.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total23.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_23.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_23.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_23.value = 0;
  }
  
 if(window.document.checkprint.num_straws_23.value == '') window.document.checkprint.num_straws_23.value = 0;
}

function times24(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_24.value.split('|');

 if(window.document.checkprint.bullname_24.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total24.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_24.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_24.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_24.value = 0;
  }
  
 if(window.document.checkprint.num_straws_24.value == '') window.document.checkprint.num_straws_24.value = 0;
}

function times25(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_25.value.split('|');

 if(window.document.checkprint.bullname_25.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total25.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_25.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_25.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_25.value = 0;
  }
  
 if(window.document.checkprint.num_straws_25.value == '') window.document.checkprint.num_straws_25.value = 0;
}

function times26(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_26.value.split('|');

 if(window.document.checkprint.bullname_26.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total26.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_26.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_26.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_26.value = 0;
  }
  
 if(window.document.checkprint.num_straws_26.value == '') window.document.checkprint.num_straws_26.value = 0;
}

function times27(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_27.value.split('|');

 if(window.document.checkprint.bullname_27.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total27.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_27.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_27.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_27.value = 0;
  }
  
 if(window.document.checkprint.num_straws_27.value == '') window.document.checkprint.num_straws_27.value = 0;
}

function times28(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_28.value.split('|');

 if(window.document.checkprint.bullname_28.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total28.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_28.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_28.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_28.value = 0;
  }
  
 if(window.document.checkprint.num_straws_28.value == '') window.document.checkprint.num_straws_28.value = 0;
}

function times29(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_29.value.split('|');

 if(window.document.checkprint.bullname_29.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total29.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_29.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_29.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_29.value = 0;
  }
  
 if(window.document.checkprint.num_straws_29.value == '') window.document.checkprint.num_straws_29.value = 0;
}

function times30(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_30.value.split('|');

 if(window.document.checkprint.bullname_30.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total31.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_30.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_30.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_30.value = 0;
  }
  
 if(window.document.checkprint.num_straws_30.value == '') window.document.checkprint.num_straws_30.value = 0;
}

function times31(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_31.value.split('|');

 if(window.document.checkprint.bullname_31.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total31.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_31.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_31.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_31.value = 0;
  }
  
 if(window.document.checkprint.num_straws_31.value == '') window.document.checkprint.num_straws_31.value = 0;
}

function times32(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_32.value.split('|');

 if(window.document.checkprint.bullname_32.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total32.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_32.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_32.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_32.value = 0;
  }
  
 if(window.document.checkprint.num_straws_32.value == '') window.document.checkprint.num_straws_32.value = 0;
}

function times33(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_33.value.split('|');

 if(window.document.checkprint.bullname_33.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total33.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_33.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_33.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_33.value = 0;
  }
  
 if(window.document.checkprint.num_straws_33.value == '') window.document.checkprint.num_straws_33.value = 0;
}

function times34(straw)
{
 var count;
 var brokeme = window.document.checkprint.strawprice_34.value.split('|');

 if(window.document.checkprint.bullname_34.value != "None|0") 
 {
	 if(straw == parseFloat(straw))
	   { 
		 count = parseFloat(straw) * parseFloat(brokeme[1]);
		 window.document.checkprint.total34.value = count;
		 total();
	   }
	   
	 if(straw != parseFloat(straw)) 
	   {
		 alert('please enter a numeric value.');
		 window.document.checkprint.num_straws_34.value = 0;
	   }
 }
 
 if(window.document.checkprint.bullname_34.value == "None|0") 
 {
	 alert('please enter an item name first.');
	 window.document.checkprint.num_straws_34.value = 0;
  }
  
 if(window.document.checkprint.num_straws_34.value == '') window.document.checkprint.num_straws_34.value = 0;
}

//***					-----					***//

function total()
{
	window.document.checkprint.subtotal.value = parseFloat(window.document.checkprint.total1.value) +  parseFloat(window.document.checkprint.total2.value) +  parseFloat(window.document.checkprint.total3.value) +  parseFloat(window.document.checkprint.total4.value) +  parseFloat(window.document.checkprint.total5.value) + parseFloat(window.document.checkprint.total6.value) +  parseFloat(window.document.checkprint.total7.value) +  parseFloat(window.document.checkprint.total8.value) + parseFloat(window.document.checkprint.total9.value) +  parseFloat(window.document.checkprint.total10.value) +  parseFloat(window.document.checkprint.total11.value) + parseFloat(window.document.checkprint.total12.value) +  parseFloat(window.document.checkprint.total13.value) +  parseFloat(window.document.checkprint.total14.value) +  parseFloat(window.document.checkprint.total15.value) +  parseFloat(window.document.checkprint.total16.value) +  parseFloat(window.document.checkprint.total17.value) +  parseFloat(window.document.checkprint.total18.value) +  parseFloat(window.document.checkprint.total19.value) +  parseFloat(window.document.checkprint.total20.value) +  parseFloat(window.document.checkprint.total21.value) +  parseFloat(window.document.checkprint.total22.value) +  parseFloat(window.document.checkprint.total23.value) +  parseFloat(window.document.checkprint.total24.value) +  parseFloat(window.document.checkprint.total25.value) +  parseFloat(window.document.checkprint.total26.value) +  parseFloat(window.document.checkprint.total27.value) +  parseFloat(window.document.checkprint.total28.value) +  parseFloat(window.document.checkprint.total29.value) +  parseFloat(window.document.checkprint.total30.value) +  parseFloat(window.document.checkprint.total31.value) +  parseFloat(window.document.checkprint.total32.value) +  parseFloat(window.document.checkprint.total33.value) +  parseFloat(window.document.checkprint.total34.value)
	
	check_shipping();
	total_enclosed();
}

function total_enclosed()
{
	check_shipping();
	window.document.checkprint.totalenclosed.value = parseFloat(window.document.checkprint.subtotal.value) + parseFloat(window.document.checkprint.shipping.value);
}

function check_shipping()
{
	if(window.document.checkprint.shipping.value == '')	window.document.checkprint.shipping.value = 0;
	if(window.document.checkprint.shipping.value != parseFloat(window.document.checkprint.shipping.value))
	{
		alert("please enter a numeric value");
		window.document.checkprint.shipping.value = 0;
	}
}

//***					-----					***//

function bullchange1(bullname,bullprice)
{
	if(bullname != '')	
	{  
		window.document.checkprint.strawprice_1.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_1.value = 0;	
	}
	if(bullprice != '')	
	{	
		window.document.checkprint.bullname_1.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_1.value = 0;	
	}
	
	var brokeme = window.document.checkprint.strawprice_1.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_1.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total1.value = count;
	total();

}

function bullchange2(bullname,bullprice)
{
	if(bullname != '')
	{
		window.document.checkprint.strawprice_2.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_2.value = 0;	
	}
	if(bullprice != '')	
	{
		window.document.checkprint.bullname_2.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_2.value = 0;	
	}
	
	var brokeme = window.document.checkprint.strawprice_2.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_2.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total2.value = count;
	total();

}

function bullchange3(bullname,bullprice)
{
	if(bullname != '')	{
		window.document.checkprint.strawprice_3.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_3.value = 0;	
	}
	if(bullprice != '')	{
		window.document.checkprint.bullname_3.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_3.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_3.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_3.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total3.value = count;
	total();

}

function bullchange4(bullname,bullprice)
{
	if(bullname != '')	{
		window.document.checkprint.strawprice_4.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_4.value = 0;	
	}
	if(bullprice != '')	{
		window.document.checkprint.bullname_4.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_4.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_4.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_4.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total4.value = count;
	total();

}

function bullchange5(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_5.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_5.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_5.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_5.value = 0;	
	}	
	var brokeme = window.document.checkprint.strawprice_5.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_5.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total5.value = count;
	total();
	
}

function bullchange6(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_6.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_6.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_6.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_6.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_6.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_6.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total6.value = count;
	total();

}

function bullchange7(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_7.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_7.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_7.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_7.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_7.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_7.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total7.value = count;
	total();

}

function bullchange8(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_8.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_8.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_8.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_8.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_8.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_8.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total8.value = count;
	total();

}

function bullchange9(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_9.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_9.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_9.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_9.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_9.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_9.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total9.value = count;
	total();

}

function bullchange10(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_10.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_10.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_10.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_10.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_10.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_10.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total10.value = count;
	total();

}

function bullchange11(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_11.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_11.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_11.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_11.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_11.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_11.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total11.value = count;
	total();

}

function bullchange12(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_12.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_12.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_12.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_12.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_12.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_12.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total12.value = count;
	total();

}

function bullchange13(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_13.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_13.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_13.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_13.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_13.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_13.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total13.value = count;
	total();

}

function bullchange14(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_14.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_14.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_14.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_14.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_14.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_14.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total14.value = count;
	total();

}

function bullchange15(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_15.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_15.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_15.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_15.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_15.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_15.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total15.value = count;
	total();

}

function bullchange16(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_16.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_16.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_16.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_16.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_16.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_16.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total16.value = count;
	total();

}

function bullchange17(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_17.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_17.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_17.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_17.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_17.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_17.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total17.value = count;
	total();

}

function bullchange18(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_18.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_18.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_18.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_18.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_18.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_18.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total18.value = count;
	total();

}

function bullchange19(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_19.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_19.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_19.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_19.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_19.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_19.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total19.value = count;
	total();

}

function bullchange20(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_20.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_20.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_20.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_20.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_20.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_20.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total20.value = count;
	total();

}

function bullchange21(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_21.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_21.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_21.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_21.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_21.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_21.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total21.value = count;
	total();

}

function bullchange22(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_22.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_22.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_22.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_22.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_22.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_22.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total22.value = count;
	total();

}

function bullchange23(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_23.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_23.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_23.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_23.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_23.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_23.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total23.value = count;
	total();

}

function bullchange24(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_24.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_24.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_24.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_24.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_24.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_24.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total24.value = count;
	total();

}

function bullchange25(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_25.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_25.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_25.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_25.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_25.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_25.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total25.value = count;
	total();

}

function bullchange26(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_26.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_26.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_26.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_26.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_26.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_26.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total26.value = count;
	total();

}

function bullchange27(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_27.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_27.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_27.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_27.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_27.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_27.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total27.value = count;
	total();

}

function bullchange28(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_28.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_28.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_28.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_28.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_28.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_28.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total28.value = count;
	total();

}

function bullchange29(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_29.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_29.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_29.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_29.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_29.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_29.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total29.value = count;
	total();

}

function bullchange30(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_30.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_30.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_30.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_30.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_30.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_30.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total30.value = count;
	total();

}

function bullchange31(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_31.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_31.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_31.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_31.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_31.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_31.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total31.value = count;
	total();

}

function bullchange32(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_32.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_32.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_32.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_32.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_32.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_32.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total32.value = count;
	total();

}

function bullchange33(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_33.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_33.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_33.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_33.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_33.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_33.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total33.value = count;
	total();

}

function bullchange34(bullname,bullprice)
{
	if(bullname != ''){
		window.document.checkprint.strawprice_34.value = bullname;
		if(bullname == "None|0") window.document.checkprint.num_straws_34.value = 0;	
	}
	if(bullprice != ''){
		window.document.checkprint.bullname_34.value = bullprice;
		if(bullprice == "None|0") window.document.checkprint.num_straws_34.value = 0;	
	}
	var brokeme = window.document.checkprint.strawprice_34.value.split('|'); 
	var count ;
	count = parseFloat(window.document.checkprint.num_straws_34.value) * parseFloat(brokeme[1]);
    window.document.checkprint.total34.value = count;
	total();

}
