Hi,

I have a Javascript total calculation function within a php form that uses onBlur to show the client a running total of the dollar amount of items added: http://www.microtribe.com/dev4Tony/order881x2.php

And I have a linked external PHP file/script to email the results of the form to me. All works fine but I can't figure out how to grab the total dollar amount ("sub_total") created by the Javascript with this line:
document.getElementById('sub_total').innerHTML = '$ ' + runningTotal.toFixed(2);

Is there a way to have the Javascript send this variable to my php script?

Here is the full Javascript Function:
<code>

/*Addition Function
*/
var elements = new Array();

function calculatePrice(price,me,id) {
var newValue = 0;
if (me.value == 0) {
document.getElementById('total' + id).innerHTML = '';
} else if (me.value > 0) {
newValue = price * me.value;
document.getElementById('total' + id).innerHTML = newValue.toFixed(2);
}

elements = newValue.toFixed(2);

calculateTotal();

}

function calculateTotal() {
var runningTotal = 0;
for (var strCurrentKey in elements) {
runningTotal += parseFloat(elements[strCurrentKey]);
}

var sub = runningTotal.toFixed(2);
var tax = sub * 0.00;
var total = sub * 1.08375;

document.getElementById('sub_total').innerHTML = '$ ' + runningTotal.toFixed(2);
document.getElementById('tax').innerHTML = '$ ' + tax.toFixed(2);
document.getElementById('grand_total').innerHTML = '$ ' + total.toFixed(2);

document.getElementById('field_subtotal').value = runningTotal.toFixed(2);
document.getElementById('field_tax').value = tax.toFixed(2);
document.getElementById('field_total').value = total.toFixed(2);

}


/*Parse number to currency format:
By Website Abstraction (www.wsabstract.com)
and Java-scripts.net (www.java-scripts.net)
*/

//Remove the $ sign if you wish the parse number to NOT include it
var wd;
function parseelement(tempnum){
wd="w";
for (i=0;i<tempnum.length;i++){
if (tempnum.charAt(i)=="."){
wd="d";
break;
}
}
if (wd=="w") {
return tempnum+".00";
} else {
if (tempnum.charAt(tempnum.length-2)==".") {
return tempnum+"0";
} else {
tempnum=Math.round(tempnum*100)/100;
return tempnum;
}
}
}
</code>
Thanks!
Tony

you can either use AJAX or have javascript refresh the page with the dollar amount in the url.

you can either use AJAX or have javascript refresh the page with the dollar amount in the url.

Thanks for the reply, but I'm looking for some help. I'm aware that I can do it using AJAX, but I don't know how. Having Javascript refresh the page doesn't soung like it's going to help me get the variable into the email I'm sending from my php script.

Thanks,

t.

sorry i didn't go into enough detail. when you put the dollar amount in the url, php can access it through the $_GET method. i will make some code for you and post it soon.

Thanks.

In js script:
document.getElementById('subtotal').value = '$ ' + runningTotal.toFixed(2);
On HTML form:
<input type="hidden" id="subtotal" name="subtotal" value="">
In php script:
$sub_total = $_POST;

Didn't work...

here is the ajax code you need:

<script type="text/javascript">
function Send() {
function GetXmlHttpObject()
{
var xmlHttp=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttp;
}
xmlHttp=GetXmlHttpObject();
xmlHttp.onreadystatechange=changeofState;

//change the page below to you php page name

var url="something.php";

//change 'variable' to the name of the javascript variable that contains the dollar amount

url = url+"?amt="+variable;
url = url+"&sid"+Math.random();
xmlHttp.open("GET",url,true);
xmlHttp.send(null);  
function changeofState()
{
if(xmlHttp.readyState==4)
{
document.write('ok');
}
}
}
</script>

Thanks. That looked great, and it's over my head at this point, but it didn't work out...I don't understand so I can't ask any intelligent questions. I did replace the url and variable name, but it didn't work.

You know, I may be able to figure this out if I can understand how the Javascript gets the total amount to the div tag with this piece of code:
document.getElementById('sub_total').innerHTML = '$ ' + runningTotal.toFixed(2);

It would make sense from the code naming that it is "getting" something, not "putting" something.

But the amount shows up on the page through the div tag:
<div class="price" id="sub_total" name="sub_total"> $0.00</div>

However, I can't seem to get that same total into a hidden field. So that if I have a hidden field, and use the code referenced a couple posts above, I can get a fixed number from the hidden field to my php form, so that part works, but I can't get the Javascript total into the hidden field. If I could just do that, it would work...

Thanks a lot for your help. I appreciate the script.

Tony

oh ok i see what you are trying to do. I am going about it all wrong. you are sending the sub total value along with the form via a hidden field. i guess i didn't read into your problem very well.

this should do it. it worked for me:

HTML

<input type="hidden" id="subtotal" name="subtotal" value="">

JAVASCRIPT

// you need to put the name of your form in place of 'formname' below
document.formname.subtotal.value = '$ '+runningTotal.toFixed(2);

Unbelievably, this didn't work.

I have -
external.js:
document.order_guide.subtotal.value = '$ '+runningTotal.toFixed(2);
php/html form:
<form enctype="multipart/form-data" name="order_guide" action="sendorder.php" method="post">

and

<input name="subtotal" type="hidden" id="subtotal" value="">

???

post your html. ill look at it and find the problem

<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?>
<html>
<head>
<title>Food For Thought at Parkway Catering Order Guide</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Cache-Control" content="private">
<link href="styles.css" rel="stylesheet" type="text/css">
<link href="master2.css" rel="stylesheet" type="text/css">
<script src="clienthint.js"></script>
<script language="JavaScript" src="mm_menu.js"></script>
<script language="JavaScript" src="rollover.js"></script>
<script type="text/javascript">
function Send() {
function GetXmlHttpObject()
{
var xmlHttp=null;
try
{
// Firefox, Opera 8.0+, Safari
xmlHttp=new XMLHttpRequest();
}
catch (e)
{
// Internet Explorer
try
{
xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e)
{
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
}
}
return xmlHttp;
}
xmlHttp=GetXmlHttpObject();
xmlHttp.onreadystatechange=changeofState;


//change the page below to you php page name


var url="sendorder.php";


//change 'variable' to the name of the javascript variable that contains the dollar amount


url = url+"?amt="+sub_total;
url = url+"&sid"+Math.random();
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
function changeofState()
{
if(xmlHttp.readyState==4)
{
document.write('ok');
}
}
}
</script>
</head>
<?
$now = date("h")-1 . (':') . date("i") . date("a");
?>



<body>
<form enctype="multipart/form-data" name="order_guide" action="sendorder.php" method="post">
<table width="881" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td bgcolor="#999933">
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="3" color="#FFFFFF"><b><a href="index.php"><br>
<img src="images/FFT%20name.gif" width="429" height="44" hspace="10" vspace="10" border="0" align="left"></a><br>
Parkway Catering Order Guide</b></font> </div>
</td>
</tr>
</table>
<table border=0 align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<div id="center">
<div id="navBar"> <img src="media/nav_bckgrnd.gif" alt="nav background" />
<div class="navigation"> <a href="index.htm" target="_blank" class="nav1">home</a>
<a href="cafe.htm" target="_blank" class="nav1">Cafe menu</a> <a href="catering.htm" target="_blank" class="nav1">catering</a>
<a href="#" target="_blank" class="nav1">online ordering</a> <a href="PDFs/nutritionals.pdf" target="_blank" class="nav1">nutritional
information</a> <a href="contact.php" class="nav1">contact us</a>
<a href="weekly.pdf" target="_blank"  class="nav1">weekly specials</a>
</div>
</div>
</div>
</td>
</tr>
</table>
<TABLE width="881" border="0" align="center" cellpadding="3" cellspacing="2" bgcolor="#FFFFFF">
<tr bgcolor="#666622" valign="middle">
<td height="10" colspan="4" valign="top"> <div align="center"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">In
order to submit your order, all fields below (except End Time and Billing
Code) must be filled in</font></div></td>
</tr>
<tr>
<td valign="middle" height="34" bgcolor="#CFCF88" > <p style="margin-left:5" align="left"><font face="Verdana" size="2">
<font size="1">Name :</font></font> </td>
<td valign="middle" bgcolor="#CFCF88"> <input type="text" name="name" size="30" maxlength="50">
</td>
<td valign="middle" bgcolor="#CFCF88"> <p style="margin-left:5" align="left"><font face="Verdana" size="2">
<font size="1">Today's Date :</font></font> </td>
<td valign="middle" bgcolor="#CFCF88"> <input type="text" name="today" size="30" maxlength="50" value="<?echo date ("F d,  Y");?>">
</td>
</tr>
<tr>
<td valign="middle" bgcolor="#CFCF88"> <p style="margin-left:5" align="left"><font face="Verdana" size="2">
<font size="1">Company :</font></font> </td>
<td valign="middle" bgcolor="#CFCF88"> <input type="text" name="company" size="30" maxlength="50">
</td>
<td valign="middle" height="34" bgcolor="#CFCF88" > <p style="margin-left:5" align="left"><font face="Verdana" size="2">
<font size="1">Event Date :<br>
(enter mm/dd/yyyy)</font></font> </td>
<td valign="middle" bgcolor="#CFCF88"> <input type="text" name="event_date" size="30" maxlength="50" id="txt1"
onblur="showHint(this.value)"> </td>
</tr>
<tr>
<td valign="middle" bgcolor="#CFCF88"> <p style="margin-left:5" align="left"><font face="Verdana" size="2">
<font size="1">Phone :</font></font> </td>
<td valign="middle" bgcolor="#CFCF88"> <input type="text" name="phone" size="30" maxlength="50">
</td>
<td colspan="2" valign="middle" bgcolor="#CFCF88"> <p style="margin-left:5" align="left"><span class="warningtxt"id="txtHint"></span>
</td>
</tr>
<tr>
<td valign="middle" bgcolor="#CFCF88"> <p style="margin-left:5" align="left"><font face="Verdana" size="1">Email
:</font> </td>
<td valign="middle" bgcolor="#CFCF88"> <input type="text" name="email" size="30" maxlength="50">
</td>
<td valign="middle" height="34" bgcolor="#CFCF88" > <p style="margin-left:5" align="left"><font face="Verdana" size="1">Start
Time :</font> </td>
<td valign="middle" bgcolor="#CFCF88"> <input type="text" name="event_start" size="30" maxlength="50">
</td>
</tr>
<tr>
<td valign="middle" height="34" bgcolor="#CFCF88" > <p style="margin-left:5" align="left"><font face="Verdana" size="2">
<font size="1">Building &amp; Room No:</font></font> </td>
<td valign="middle" bgcolor="#CFCF88"> <input type="text" name="room" size="30" maxlength="50">
</td>
<td valign="middle" height="34" bgcolor="#CFCF88" > <p style="margin-left:5" align="left"><font face="Verdana" size="2">
<font size="1">End Time :</font></font> </td>
<td valign="middle" bgcolor="#CFCF88"> <input type="text" name="event_end" size="30" maxlength="50">
</td>
</tr>
<tr>
<td valign="middle" height="34" bgcolor="#CFCF88" > <p style="margin-left:5" align="left"><font face="Verdana" size="2">
<font size="1">No. of Guests :</font></font> </td>
<td valign="middle" bgcolor="#CFCF88"> <input type="text" name="guests" size="30" maxlength="50">
</td>
<td valign="middle" height="34" bgcolor="#CFCF88" > <p style="margin-left:5" align="left"><font face="Verdana" size="2">
<font size="1">Billing Code :</font></font> </td>
<td valign="middle" bgcolor="#CFCF88"> <input name="billing_code" type="text" id="billing_code" size="30" maxlength="50">
</td>
</tr>
<tr bgcolor="#424242" valign="middle">
<td height="24" colspan="4" valign="top"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif">Please
refer to the <a href="parkway_catmenu.pdf" target="_blank"><b>CATERING
MENU</b></a> for a complete description of all items</font></div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="36" colspan="2" valign="top"><table border="0" cellspacing="1" cellpadding="3" width="430" bgcolor="#FFFFFF">
<tr bgcolor="#666622">
<td height="34" colspan="4"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>BUSINESS BREAKFAST</b> </font></td>
</tr>
<tr>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>QTY</b></font> </td>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>Continental Breakfast</b></font> </td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Price</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Total</b></font></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input type="text" size="1" onBlur="calculatePrice(2.75,this,1)" name="a1" id="a1">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Classic
Continental ($2.75 pp)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1"> $2.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total1"></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input type="text" size="1"  onBlur="calculatePrice(1.75,this,2)" name="a2" id="a2">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Bagel
Break ($1.75 pp)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$1.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total2"></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input type="text" size="1" onBlur="calculatePrice(5.00,this,3)" name="a3" id="a3">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">FFT
Continental ($5.00 pp)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$5.00</font></td>
<td bgcolor="#CFCF88" class="price"  id="total3">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input type="text" onBlur="calculatePrice(6.50,this,4)" name="a4" size="1" id="a4">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Healthy
Select Breakfast ($6.50 pp)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$6.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total4">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>QTY</b></font> </td>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>Breakfast A la Carte</b></font> </td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Price</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Total</b></font></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a5" type="text" id="a5" size="1" onBlur="calculatePrice(17.50,this,5)">
</font></td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Seasonal
Fruit Platter</font><font face="Verdana" size="1"><br>
</font><font face="Verdana" size="1"> SMALL (3-5 people)&nbsp;</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">&nbsp;$17.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total5">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a6" type="text" id="a6" size="1" onBlur="calculatePrice(35.00,this,6)">
</font></td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Seasonal
Fruit Platter</font><font face="Verdana" size="1"><br>
</font><font face="Verdana" size="1"> MEDIUM (6-10 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$35.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total6">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input type="text" name="a7" size="1" onBlur="calculatePrice(52.50,this,7)">
</font></td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Seasonal
Fruit Platter</font><font face="Verdana" size="1"><br>
</font><font face="Verdana" size="1"> LARGE (11-15 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$52.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total7">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a8" type="text" id="a8" size="1" onBlur="calculatePrice(9.50,this,8)" >
</font> </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Seasonal
Whole Fruit Basket </font><font face="Verdana" size="1"><br>
</font><font face="Verdana" size="1"> SMALL&nbsp;(3-8 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total8">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a9" type="text" id="a9" size="1" onBlur="calculatePrice(18.00,this,9)" >
</font> </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Seasonal
Whole Fruit Basket <br>
LARGE (12-15 people)&nbsp;</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$18.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total9">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"> <input name="a10" type="text" id="a10" size="1" onBlur="calculatePrice(2.25,this,10)" >
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Individual
Low-Fat Yogurt Parfaits ($2.25 pp)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$2.25</font></td>
<td bgcolor="#CFCF88" class="price" id="total10">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a11" type="text" id="a11" size="1" onBlur="calculatePrice(41.25,this,11)" >
</font></td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Sliced
Smoked Salmon and Lox</font><font face="Verdana" size="1"><br>
</font><font face="Verdana" size="1"> SMALL&nbsp;(3-5 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$41.25</font></td>
<td bgcolor="#CFCF88" class="price" id="total11">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a12" type="text" id="a12" size="1" onBlur="calculatePrice(82.50,this,12)" >
</font></td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Sliced
Smoked Salmon and Lox</font><font face="Verdana" size="1"><br>
</font><font face="Verdana" size="1"> MEDIUM (6-10 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$82.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total12">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a13" type="text" id="a13" size="1" onBlur="calculatePrice(123.75,this,13)" >
</font></td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Sliced
Smoked Salmon and Lox<br>
LARGE (11-15 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$123.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total13">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>QTY</b></font> </td>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>The Bake Shop</b></font> </td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Price</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Total</b></font></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a14" type="text" id="a14" size="1" onBlur="calculatePrice(15.00,this,14)" >
</font> </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Breakfast
Pastry Assortment</font><font face="Verdana" size="1"><br>
</font><font face="Verdana" size="1"> SMALL (3-5 people)&nbsp;</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$15.00 </font></td>
<td bgcolor="#CFCF88" class="price" id="total14">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a15" type="text" id="a15" size="1" onBlur="calculatePrice(27.50,this,15)" >
</font> </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Breakfast
Pastry Assortment<br>
</font><font face="Verdana" size="1"> MEDIUM (6-10 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$27.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total15">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a16" type="text" id="a16" size="1" onBlur="calculatePrice(42.50,this,16)" >
</font> </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Breakfast
Pastry Assortment<br>
</font><font face="Verdana" size="1"> LARGE (11-15 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$42.50 </font></td>
<td bgcolor="#CFCF88" class="price" id="total16">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a17" type="text" id="a17" size="1" onBlur="calculatePrice(9.00,this,17)">
</font> </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Fresh
Baked Muffins<br>
1/2 Dozen&nbsp;</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total17">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a18" type="text" id="a18" size="1" onBlur="calculatePrice(18.00,this,18)">
</font> </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Fresh
Baked Muffins<br>
Dozen&nbsp;</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$18.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total18">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a19" type="text" id="a19" size="1" onBlur="calculatePrice(10.50,this,19)">
</font> </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Bagels
with Cream Cheese<br>
1/2 Dozen&nbsp;</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$10.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total19">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a20" type="text" id="a20" size="1" onBlur="calculatePrice(21.00,this,20)">
</font> </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Bagels
with Cream Cheese<br>
Dozen </font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$21.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total20">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a21" type="text" id="a21" size="1" onBlur="calculatePrice(10.50,this,21)">
</font> </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Donuts<br>
1/2 Dozen</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$10.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total21">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"><font face="Verdana" size="1">
<input name="a22" type="text" id="a22" size="1" onBlur="calculatePrice(21.00,this,22)">
</font> </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Donuts<br>
Dozen</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$21.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total22">&nbsp;</td>
</tr>
<tr bgcolor="#666622">
<td height="34" colspan="4"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>BEVERAGES</b></font></td>
</tr>
<tr>
<td height="34" class="top"> <p class="titletxt">QTY</p></td>
<td height="34" class="top"> <p class="tabletxtTOP"><span class="titletxt">Sodas
and Waters</span><br>
<span class="tabletxtsm2">Based on one can per person</span></p></td>
<td height="34" class="top"> <p class="titletxt">Price</p></td>
<td height="34" class="top"> <p class="titletxt">Total</p></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">&nbsp; </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Assorted
Canned Sodas ($1.25 per person)</font></div></td>
<td bgcolor="#CFCF88">&nbsp;</td>
<td bgcolor="#CFCF88">&nbsp;</td>
</tr>
<tr>
<td width="38" height="34" bgcolor="#CFCF88">
<input name="b1" type="text" id="b1" size="1" onBlur="calculatePrice(1.25,this,23)">
</td>
<td width="300" height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Coke</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$1.25</font></td>
<td bgcolor="#CFCF88" class="price" id="total23">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b2" type="text" id="b2" size="1" onBlur="calculatePrice(1.25,this,24)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Sprite</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$1.25</font></td>
<td bgcolor="#CFCF88" class="price" id="total24">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b3" type="text" id="b3" size="1" onBlur="calculatePrice(1.25,this,25)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Diet
Coke </font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$1.25</font></td>
<td bgcolor="#CFCF88" class="price" id="total25">&nbsp;</td>
</tr>
<tr>
<td width="38" height="34" bgcolor="#CFCF88">
<input name="b4" type="text" id="b4" size="1" onBlur="calculatePrice(1.25,this,26)">
</td>
<td width="300" height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Diet
Sprite</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$1.25</font></td>
<td bgcolor="#CFCF88" class="price" id="total26">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">&nbsp; </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Assorted
Bottled Sodas ($1.50 per person)</font></div></td>
<td bgcolor="#CFCF88">&nbsp;</td>
<td bgcolor="#CFCF88">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b5" type="text" id="b5" size="1" onBlur="calculatePrice(1.50,this,27)">
</td>
<td width="300" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Coke</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$1.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total27">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b6" type="text" id="b6" size="1" onBlur="calculatePrice(1.50,this,28)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Sprite</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$1.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total28">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b7" type="text" id="b7" size="1" onBlur="calculatePrice(1.50,this,29)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Diet
Coke </font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$1.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total29">&nbsp;</td>
</tr>
<tr>
<td width="38" height="34" bgcolor="#CFCF88">
<input name="b8" type="text" id="b8" size="1" onBlur="calculatePrice(1.50,this,30)">
</td>
<td width="300" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Diet
Sprite</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$1.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total30">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b9" type="text" id="b9" size="1" onBlur="calculatePrice(1.50,this,31)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Bottled
Water<br>
Aquafina ($1.50 per person)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$1.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total31">&nbsp;</td>
</tr>
<tr>
<td width="38" height="34" bgcolor="#CFCF88">
<input name="b10" type="text" id="b10" size="1" onBlur="calculatePrice(2.00,this,32)">
</td>
<td width="300" height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Bottled
Sparkling Water<br>
La Croix ($2.00 per person)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$2.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total32">&nbsp;</td>
</tr>
<tr>
<td height="34" class="top"> <p class="titletxt">QTY</p></td>
<td height="34" class="top"> <p class="tabletxtTOP"><span class="titletxt">Bottled
Juice</span><br>
<span class="tabletxtsm2">Based on one bottle per person</span></p></td>
<td height="34" class="top"> <p class="titletxt">Price</p></td>
<td height="34" class="top"> <p class="titletxt">Total</p></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b11" type="text" id="b11" size="1" onBlur="calculatePrice(2.00,this,33)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Bottled
Orange Juice ($2.00 per person)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$2.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total33">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b12" type="text" id="b12" size="1" onBlur="calculatePrice(2.00,this,34)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Bottled
Cranberry Juice ($2.00 per person)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$2.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total34">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b13" type="text" id="b13" size="1" onBlur="calculatePrice(2.00,this,35)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Bottled
Ruby Red Grapefruit Juice <br>
($2.00 per person)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$2.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total35">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b14" type="text" id="b14" size="1" onBlur="calculatePrice(2.00,this,36)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Bottled
Apple Juice ($2.00 per person)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$2.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total36">&nbsp;</td>
</tr>
<tr>
<td height="34" class="top"> <p class="titletxt">QTY</p></td>
<td height="34" class="top"> <p class="tabletxtTOP"><span class="titletxt">Beverage
Carafes </span><br>
<span class="tabletxtsm2">Serves 5-7 people</span></p></td>
<td height="34" class="top"> <p class="titletxt">Price</p></td>
<td height="34" class="top"> <p class="titletxt">Total</p></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b15" type="text" id="b15" size="1" onBlur="calculatePrice(6.25,this,37)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Carafe
Juice Orange</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$6.25</font></td>
<td bgcolor="#CFCF88" class="price" id="total37">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b16" type="text" id="b16" size="1" onBlur="calculatePrice(6.25,this,38)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Carafe
Juice Ruby Red Grapefruit</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$6.25</font></td>
<td bgcolor="#CFCF88" class="price" id="total38">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b17" type="text" id="b17" size="1" onBlur="calculatePrice(6.25,this,39)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Carafe
Juice Apple</font></div></td>
<td width="30" bgcolor="#CFCF88"><font face="Verdana" size="1">$6.25</font></td>
<td width="24" bgcolor="#CFCF88" class="price" id="total39">&nbsp;</td>
</tr>
<tr>
<td height="34" class="top"> <p class="titletxt">QTY</p></td>
<td height="34" class="top"> <p class="tabletxtTOP"><span class="titletxt">Coffee</span><br>
<span class="tabletxtsm2">Freshly Brewed Premium Coffee and Decaffeinated
Coffee</span></p></td>
<td height="34" class="top"> <p class="titletxt">Price</p></td>
<td height="34" class="top"> <p class="titletxt">Total</p></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b18" type="text" id="b18" size="1" onBlur="calculatePrice(16.00,this,40)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Freshly
Brewed Premium Coffee Regular <br>
Small Pot (6-11 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$16.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total40">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b19" type="text" id="b19" size="1" onBlur="calculatePrice(32.00,this,41)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Freshly
Brewed Premium Coffee Regular <br>
Large Pot (12-24 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$32.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total41">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b20" type="text" id="b20" size="1" onBlur="calculatePrice(16.00,this,42)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Freshly
Brewed Premium Coffee DECAF<br>
Small Pot (6-11 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$16.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total42">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b21" type="text" id="b21" size="1" onBlur="calculatePrice(32.00,this,43)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Freshly
Brewed Premium Coffee DECAF<br>
Large Pot (12-24 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$32.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total43">&nbsp;</td>
</tr>
<tr>
<td height="34" class="middle"> <p class="titletxt">QTY</p></td>
<td height="34" class="middle"> <p class="tabletxtTOP"><span class="titletxt">Hot
Tea Service</span></p></td>
<td height="34" class="middle"> <p class="titletxt">Price</p></td>
<td height="34" class="middle"> <p class="titletxt">Total</p></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="b22" type="text" id="b22" size="1" onBlur="calculatePrice(16.00,this,44)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Small
Pot (6-11 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$16.00</font></td>
<td width="24" bgcolor="#CFCF88" class="price" id="total44">&nbsp;</td>
</tr>
<tr bgcolor="#666622">
<td height="34" colspan="4"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>WORKING LUNCH BUFFET</b> </font></td>
</tr>
<tr>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>QTY</b></font> </td>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>Sandwich and Gourmet Wrap Tray</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Price</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Total</b></font></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="c1" type="text" id="c1" size="1" onBlur="calculatePrice(48.75,this,45)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">SMALL
TRAY (3-5 people)&nbsp;</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$48.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total45">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="c2" type="text" id="c2" size="1" onBlur="calculatePrice(97.50,this,46)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">MEDIUM
TRAY (6-10 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$97.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total46">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="c3" type="text" id="c3" size="1" onBlur="calculatePrice(146.25,this,47)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">LARGE
TRAY (11-15 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$146.25</font></td>
<td bgcolor="#CFCF88" class="price" id="total47">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">&nbsp;</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">*Choice
of One:
<select name="side_choice1" id="side_choice1">
<option selected>Fresh Fruit Salad</option>
<option>Mixed Greens</option>
<option>Pasta Salad</option>
</select>
</font></div></td>
<td bgcolor="#CFCF88">&nbsp;</td>
<td bgcolor="#CFCF88">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>QTY</b></font> </td>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font face="Verdana" size="2">
<b><font color="#FFFFFF">Petite Sandwich Assortment</font></b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Price</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Total</b></font></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="c4" type="text" id="c4" size="1" onBlur="calculatePrice(42.50,this,48)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">SMALL
ASSORTMENT (3-5 people)&nbsp;</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$42.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total48">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="c5" type="text" id="c5" size="1" onBlur="calculatePrice(85.00,this,49)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">MEDIUM
ASSORTMENT (6-10 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$85.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total49">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="c6" type="text" id="c6" size="1" onBlur="calculatePrice(127.50,this,50)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">LARGE
ASSORTMENT (11-15 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$127.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total50">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">&nbsp; </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">*Choice
of One:
<select name="side_choice2" id="side_choice2">
<option selected>Fresh Fruit Salad</option>
<option>Mixed Greens</option>
<option>Pasta Salad</option>
</select>
</font></div></td>
<td bgcolor="#CFCF88">&nbsp;</td>
<td bgcolor="#CFCF88">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>QTY</b></font> </td>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>The FFT Premium Deli Tray</b></font> </td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Price</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Total</b></font></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="c7" type="text" id="c7" size="1" onBlur="calculatePrice(50.00,this,51)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">SMALL
TRAY (3-5 people)&nbsp;</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$50.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total51">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="c8" type="text" id="c8" size="1" onBlur="calculatePrice(100.00,this,52)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">MEDIUM
TRAY (6-10 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$100.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total52">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="c9" type="text" id="c9" size="1" onBlur="calculatePrice(150.00,this,53)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">LARGE
TRAY (11-15 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$150.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total53">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">&nbsp; </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">*Choice
of One:
<select name="side_choice3" id="side_choice3">
<option selected>Fresh Fruit Salad</option>
<option>Mixed Greens</option>
<option>Pasta Salad</option>
</select>
</font></div></td>
<td bgcolor="#CFCF88">&nbsp;</td>
<td bgcolor="#CFCF88">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>QTY</b></font> </td>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>Antipasto Deli Tray</b></font> </td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Price</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Total</b></font></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="c10" type="text" id="c10" size="1" onBlur="calculatePrice(57.50,this,54)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">SMALL
TRAY (3-5 people)&nbsp;</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$57.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total54">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="c11" type="text" id="c11" size="1" onBlur="calculatePrice(115.00,this,55)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">MEDIUM
TRAY (6-10 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$115.00</font></td>
<td bgcolor="#CFCF88" class="price" id="total55">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="c12" type="text" id="c12" size="1" onBlur="calculatePrice(172.50,this,56)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">LARGE
TRAY (11-15 people)</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$172.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total56">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">&nbsp; </td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">*Choice
of One:
<select name="side_choice4" id="side_choice4">
<option selected>Fresh Fruit Salad</option>
<option>Mixed Greens</option>
<option>Pasta Salad</option>
</select>
</font></div></td>
<td bgcolor="#CFCF88">&nbsp;</td>
<td bgcolor="#CFCF88">&nbsp;</td>
</tr>
</table>
<TD colspan="2" valign="top"><TABLE border="0" cellspacing="1" cellpadding="3" width="433" bgcolor="#FFFFFF">
<tr bgcolor="#666622">
<td height="34" colspan="4"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>INDIVIDUAL BOXED LUNCHES</b> </font></td>
</tr>
<tr>
<td width="38" height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>QTY</b></font> </td>
<td width="266" height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>Entr&eacute;e Salads</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Price</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Total</b></font></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d1" type="text" id="d1" size="1" onBlur="calculatePrice(9.75,this,57)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font size="1" face="Verdana">Chicken
Caesar Salad</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total57">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d2" type="text" id="d2" size="1" onBlur="calculatePrice(9.75,this,58)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Signature
Chopped Salad</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total58">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d3" type="text" id="d3" size="1" onBlur="calculatePrice(9.75,this,59)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Chef's
Salad </font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total59">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d4" type="text" id="d4" size="1" onBlur="calculatePrice(9.75,this,60)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Tuna
Ni&ccedil;oise Salad</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total60">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d5" type="text" id="d5" size="1" onBlur="calculatePrice(9.75,this,61)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Salad
Trio </font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total61">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d6" type="text" id="d6" size="1" onBlur="calculatePrice(9.75,this,62)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Apple
Chicken Salad</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total62">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d7" type="text" id="d7" size="1" onBlur="calculatePrice(9.75,this,63)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Mandarin
Salad </font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total63">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d8" type="text" id="d8" size="1" onBlur="calculatePrice(9.75,this,64)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Mediterranean
Salad </font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total64">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d9" type="text" id="d9" size="1" onBlur="calculatePrice(9.75,this,65)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Grilled
Buffalo Chicken Salad </font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.75</font></td>
<td bgcolor="#CFCF88" class="price" id="total65">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>QTY</b></font> </td>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>Premium Sandwiches</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Price</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Total</b></font></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d10" type="text" id="d10" size="1" onBlur="calculatePrice(9.50,this,66)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Ham
&amp; Sliced Swiss</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total66">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d11" type="text" id="d11" size="1" onBlur="calculatePrice(9.50,this,67)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Low-Fat
Tuna Salad </font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total67">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d12" type="text" id="d12" size="1" onBlur="calculatePrice(9.50,this,68)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Smoked
Turkey Breast</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total68">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d13" type="text" id="d13" size="1" onBlur="calculatePrice(9.50,this,69)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Slow
Roasted Beef</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total69">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d14" type="text" id="d14" size="1" onBlur="calculatePrice(9.50,this,70)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Grilled
Chicken Salad</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total70">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d15" type="text" id="d15" size="1" onBlur="calculatePrice(9.50,this,71)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Italiano</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total71">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>QTY</b></font> </td>
<td height="34" bgcolor="#999933"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>Gourmet Wraps</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Price</b></font></td>
<td bgcolor="#999933"><font color="#FFFFFF" size="2" face="Verdana"><b>Total</b></font></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d16" type="text" id="d16" size="1" onBlur="calculatePrice(9.50,this,72)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Grilled
Chicken Caesar</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total72">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88">
<input name="d17" type="text" id="d17" size="1" onBlur="calculatePrice(9.50,this,73)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Mediterranean
Vegetable</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total73">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"> <input name="d18" type="text" id="d18" size="1" onBlur="calculatePrice(9.50,this,74)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Mandarin
Chicken</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total74">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"> <input name="d19" type="text" id="d19" size="1" onBlur="calculatePrice(9.50,this,75)">
</td>
<td height="34" bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Grilled
Buffalo Chicken</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$9.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total75">&nbsp;</td>
</tr>
<tr bgcolor="#666622">
<td height="34" colspan="4"> <p style="margin-left:5" align="center"><font color="#FFFFFF" size="2" face="Verdana">
<b>HOT BUFFET SELECTIONS<br>
</b></font></td>
</tr>
<tr>
<td height="34" class="top"> <p class="titletxt">QTY</p></td>
<td height="34" class="top"><p class="tabletxtTOP"><span class="tabletxtsm2">Minimum
of 8 Guests<br>
$11.50 Per Person</span></p></td>
<td height="34" class="top"> <p class="titletxt">Price</p></td>
<td height="34" class="top"> <p class="titletxt">Total</p></td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"> <input name="e1" type="text" id="e1" size="1" onBlur="calculatePrice(11.50,this,76)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font size="1" face="Verdana">Milano</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$11.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total76">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"> <input name="e2" type="text" id="e2" size="1" onBlur="calculatePrice(11.50,this,77)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Mykonos</font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$11.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total77">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"> <input name="e3" type="text" id="e3" size="1" onBlur="calculatePrice(11.50,this,78)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdana" size="1">Tex
Mex </font></div></td>
<td bgcolor="#CFCF88"><font face="Verdana" size="1">$11.50</font></td>
<td bgcolor="#CFCF88" class="price" id="total78">&nbsp;</td>
</tr>
<tr>
<td height="34" bgcolor="#CFCF88"> <input name="e4" type="text" id="e4" size="1" onBlur="calculatePrice(11.50,this,79)">
</td>
<td bgcolor="#CFCF88"> <div align="left" style="margin-left:5"><font face="Verdan

well, for the javascript. you don't need any of the code i gave you. that was for sending one value to php not the entire form. it could if you wanted it to without refreshing the page. just private message me the javascript. i'll put it all together and get you a working script soon.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.