Solved

Need help debugging javascript math function

Posted on 2003-12-06
6
285 Views
Last Modified: 2010-04-06
Some time ago an expert from this site wrote some javascript for me for an e-commerce form that would multiply the amount entered by the user by the price of an item, then would add up a grand total at the bottom.  It works great and I have used it on other forms by changing the names of boxes, etc. and continues to work.  I have recently created a form for people to register to come to an event using this same javascript.  It multiplies across fine, but will not add up at the bottom.  When a number is entered in the quantity box, a total appears in the "amount for that item" box, but the grand total box at the bottom shows "NaN.NaN"  I see "NaN" within the script, but cannot figure out why it is appearing in my total.  The only thing that is considerably different in this form than any of the others I've made is the amounts for the tickets to the event.  People are asked to sign up for tables of ten that go from $2,500 to $50,000.  Maybe that has something to do with it???

The url of the page in questions is:
http://io.amigoslink.org/commerce/40th-gala-reg.htm

I'd appreciate any help I can get.
Thanks
Jacque Fuller
0
Comment
Question by:JacqueFuller
  • 5
6 Comments
 
LVL 15

Expert Comment

by:Timbo87
ID: 9889837
It's saying NaN because the values are too large and outside the bounds of the JavaScript.
0
 
LVL 15

Expert Comment

by:Timbo87
ID: 9889862
The culprit is the formatCurrency function. There is an error in the code when it tries to add the commas to separate the three digit blocks. Here is code that works that does not use commas.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
      <meta http-equiv="Content-Language" content="en-us" />
      <title>40th Anniversary Gala Registration Form</title>

      <meta name="description" content="Amigos de las Américas (AMIGOS) excels in creating opportunities for young people to volunteer and take leadership roles in public health, education and community development programs.  High school/ college students live with a host family and work alongside community members in Latin America, while learning a new language and culture." />
      <meta name="keywords" content="Amigos de las Americas intercultural international Latin America community service health home improvement projects intensive summer programs teenagers high school college students service learning leaders youth education volunteers volunteer opportunities overseas work work abroad non-profit NGO cross-cultural Bolivia Brazil Costa Rica Dominican Republic Honduras Mexico Nicaragua Paraguay Spanish Portuguese grassroots environments homestay sustainable development short-term programs exchange CSIET International Volunteer Programs Association IVPA National Association of International Educators NAFSA" />

<SCRIPT LANGUAGE="JavaScript">
function popUp(url) {
sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=450');
self.name = "mainWin";
}
    </SCRIPT>
            
<script language="JavaScript" type="text/javascript">
      <!--
      function MM_preloadImages() { //v3.0
        var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
          var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
          if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
      }

      function MM_swapImgRestore() { //v3.0
        var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
      }

      function MM_findObj(n, d) { //v4.0
        var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
          d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
        if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
        for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
        if(!x && document.getElementById) x=document.getElementById(n); return x;
      }

      function MM_swapImage() { //v3.0
        var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
         if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
      }
      
      var timeDelay = 4; // change delay time in seconds
      var Pix = new Array
      ("images/sitetopleft1.jpg"
      ,"images/sitetopleft2.jpg"
      ,"images/sitetopleft3.jpg"
      ,"images/sitetopleft4.jpg"
      ,"images/sitetopleft5.jpg"
      ,"images/sitetopleft6.jpg"
      );
      var howMany = Pix.length;
      timeDelay *= 1000;
      var PicCurrentNum = 0;
    if (document.images) {
        var PicCurrent = new Image();
        PicCurrent.src = Pix[PicCurrentNum];
      }

      function startPix() {
       if (document.images) {
        setInterval("slideshow()", timeDelay);
       }
      }
      function slideshow() {
        PicCurrentNum++;
        if (PicCurrentNum == howMany) {
          PicCurrentNum = 0;
        }
        PicCurrent.src = Pix[PicCurrentNum];
        document["sitetopleft"].src = PicCurrent.src;
      }
      //from JavascriptSource
      function formatCurrency(number) {
            number = number.toString().replace(/\$|\,/g,'');
            number = Math.floor(number*100+0.50000000001);
            cents = number%100;
            number = Math.floor(number/100).toString();
            if(cents<10)
                  cents ="0" + cents;
            return (number + '.' + cents);
      }
      function update(box, factor) {
            var arrayOfBoxes = [box.form.AmtGoldenTables, box.form.AmtMajorTables, box.form.AmtUnderwriterTables, box.form.AmtBenefactorTables, box.form.AmtPatronTables, box.form.AmtIndividualTickets, box.form.Donation];
            var theName = box.name.substr(3);
            if(box.value == '' || isNaN(box.value) || (box.name != "Donation" && Math.floor(box.value) != box.value)) {
                  alert("Please enter a number.");
                  box.focus();
            }
            else {
                  if(box.name != "Donation") {
                        var amtBox = eval("box.form.Amt" + theName);
                        amtBox.value = formatCurrency(box.value * factor);
                  }
                  if(box.name == "Donation")
                        box.value = formatCurrency(box.value);
                  var sum = 0;
                  for (var i = 0; i < arrayOfBoxes.length; i++)
                  {
                        sum += arrayOfBoxes[i].value * 1;
                  }
                  box.form.ssl_amount.value = formatCurrency(sum);
                  
            }
      }
      function unEdit(aBox) {
            alert("Please don't edit this field.");
            aBox.blur();
      }
      //-->
            </script>
      
      <style type="text/css">
      <!--
      body {
            font-size: 15px;
            font-family: arial, sans-serif;
      }
      td {
            font-size: 15px;
            font-family: arial, sans-serif;
      }
      .smalltext {
            font-size: 12px;
            font-family: arial, sans-serif;
      }
      .normtext {
            font-size: 15px;
            font-family: arial, sans-serif;
      }
      .bigtext {
            font-size: 18px;
            font-family: arial, sans-serif;
      }
      a:hover {
            color: #4c7511;
      }
      -->
      </style>
</head>

<body bgcolor="#ffffff" text="#000000" link="#2f007c" vlink="#2f007c" alink="#2f007c" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/navabout2.gif','images/navinvolve2.gif','images/navprograms2.gif','images/navalumni2.gif','images/navcontact2.gif','images/navhome2.gif'); startPix();">

<!-- begin header table -->
<table cellpadding="0" cellspacing="0" border="0" width="780">
<tbody>
<tr>
<td valign="top">
      <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%">
      <tbody>
      <tr>
        <td width="100%" style="border-style: none; border-width: medium">
        <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" height="266">
          <tbody>
          <tr>
            <td width="21%" style="border-style: none; border-width: medium" height="164">
    <font face="Arial" size="2">
    <img src="../images/sitetopleft1.jpg" alt="" border="0" name="sitetopleft" width="158" height="166" /></font></td>
            <td width="79%" style="border-style: none; border-width: medium" rowspan="2" valign="top" height="230"><font face="Arial" size="2">
    <img border="0" src="../images/sitehead.jpg" width="622" height="207" /></font></td>
          </tr>
          <tr>
            <td width="21%" style="border-style: none; border-width: medium" height="64"><font face="Arial" size="2">
    <img src="../images/sitearctip.jpg" alt="" border="0" width="158" height="66" /></font></td>
          </tr>
          <tr>
            <td width="21%" style="border-style: none; border-width: medium" height="32">&#160;</td>
            <td width="79%" style="border-style: none; border-width: medium" height="32">
    <font face="Arial" size="2">
    <img border="0" src="../images/40-hd.jpg" width="267" height="34" /></font></td>
          </tr>
        </tbody>
        </table>
        </td>
      </tr>
    </tbody>
    </table>
</td>
</tr>
<tr>
<td>
<p align="center">
      <map name="FPMap0">
<font face="Arial">
<area coords="9, 2, 91, 16" shape="rect" href="brushdance.html" target="_self" />
<area href="http://www.amigoslink.org/about/history.html" shape="rect" coords="102, 1, 143, 16" />
<area href="http://www.amigoslink.org/jobs/jobs.html" shape="rect" coords="152, 1, 175, 16" />
<area href="http://www.amigoslink.org/about/affiliate.html" shape="rect" coords="183, 0, 219, 16" />
<area href="http://www.amigoslink.org/about/mission.html" shape="rect" coords="225, 1, 273, 16" />
<area href="http://www.amigoslink.org/news/news.htm" shape="rect" coords="278, 2, 310, 15" />
<area href="http://www.amigoslink.org/publications/publications.htm" shape="rect" coords="316, 0, 388, 16" />
<area href="http://www.amigoslink.org/photogallery/photo-album-index.htm" shape="rect" coords="393, 1, 439, 16" />
<area href="http://io.amigoslink.org/commerce/mdse.html" shape="rect" coords="444, 1, 500, 16" />
<area href="http://www.amigoslink.org/involve/volunteer.html" shape="rect" coords="505, 0, 566, 16" />
</font></map><font face="Arial">
    <img border="0" src="images/headlinks.jpg" usemap="#FPMap0" width="567" height="17" /></font></p></td>
</tr>
<tr>
<td><font face="Arial">
<img src="images/siteheadrule.gif" alt="" border="0" width="780" height="7" /></font></td>
</tr>
</tbody>
</table>
<!-- end header table -->
<!-- begin body table -->
<table cellpadding="0" cellspacing="0" border="0" width="780" height="831">
<tbody>
<tr>
<td valign="top" background="images/navback.gif" height="1050">
      <!-- begin nav bar -->
      <table cellpadding="0" cellspacing="0" border="0" width="139" background="none">
      <tbody>
      <tr><td><font face="Arial">
      <img src="images/navshimtop.gif" alt="" border="0" width="17" height="33" /></font></td></tr>
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navabout','','images/navabout2.gif',1)" href="http://www.amigoslink.org/about/about.html">
      <img src="images/navabout1.gif" alt="About Amigos" border="0" name="navabout" width="139" height="18" /></a></font></td></tr>
      <tr><td><font face="Arial">
      <img src="images/navshimmid.gif" alt="" border="0" width="139" height="12" /></font></td></tr>
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navinvolve','','images/navinvolve2.gif',1)" href="http://www.amigoslink.org/involve/involve.html">
      <img src="images/navinvolve1.gif" alt="Get Involved" border="0" name="navinvolve" width="139" height="18" /></a></font></td></tr>
      <tr><td><font face="Arial">
      <img src="images/navshimmid.gif" alt="" border="0" width="139" height="12" /></font></td></tr>
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navdonate','','images/navdonate2.gif',1)" href="http://www.amigoslink.org/donate/donate.html">
      <img src="images/navdonate1.gif" alt="Make a Donation" border="0" name="navdonate" width="139" height="18" /></a></font></td></tr>
      <tr><td><font face="Arial">
      <img src="images/navshimmid.gif" alt="" border="0" width="139" height="12" /></font></td></tr>
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navprograms','','images/navprograms2.gif',1)" href="http://www.amigoslink.org/programs/2004projects/lapdhome.html">
      <img src="images/navprograms1.gif" alt="Our Programs" border="0" name="navprograms" width="139" height="18" /></a></font></td></tr>
      <tr><td><font face="Arial">
      <img src="images/navshimmid.gif" alt="" border="0" width="139" height="12" /></font></td></tr>
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navalumni','','images/navalumni2.gif',1)" href="http://www.amigoslink.org/alumni/alumni.html">
      <img src="images/navalumni1.gif" alt="For our Alumni" border="0" name="navalumni" width="139" height="18" /></a></font></td></tr>
      <tr><td><font face="Arial">
      <img src="images/navshimmid.gif" alt="" border="0" width="139" height="12" /></font></td></tr>                  
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navcontact','','images/navcontact2.gif',1)" href="http://www.amigoslink.org/contacts/contact.html">
      <img src="images/navcontact1.gif" alt="Contact Us" border="0" name="navcontact" width="139" height="18" /></a></font></td></tr>
      <tr><td><font face="Arial">
      <img src="images/navshimmid.gif" alt="" border="0" width="139" height="12" /></font></td></tr>
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navhome','','images/navhome2.gif',1)" href="http://www.amigoslink.org/default.htm">
      <img src="images/navhome1.gif" alt="Home" border="0" name="navhome" width="139" height="18" /></a></font></td></tr>      
      <tr><td><font face="Arial">
      <img src="images/navshimbottom.gif" alt="" border="0" width="17" height="21" /></font></td></tr>
      </tbody>
      </table>
      <!-- end nav bar -->
</td>
<td rowspan="2" valign="top" height="831">
      <!-- begin content area -->
      <table cellpadding="0" cellspacing="0" border="0" width="648" height="1069">
      <tbody>
      <tr>
      <td width="211" valign="top" height="1069">&#160;</td>
      <td width="585" valign="top" height="1069">
      <!-- begin content -->
      
      <p class="normtext">
      
      </p>
      
      <table cellSpacing="0" cellPadding="0" width="605" border="0" style="border-collapse: collapse" bordercolor="#111111" height="21">
        <tbody>
        <tr>
          <td style="background-color: #FFFFFF" width="534" height="1">
        <b><font size="4" face="Arial" color="#000080">Gala Registration
        Form</font></b></td>
          <td style="background-color: #FFFFFF" width="139" height="1">
          <p align="center">
          <font face="Arial" size="1">
          <b><font color="#000080">Required Field</font></b>
          <img height="11" src="images/required.gif" width="11" border="0" /></font></p></td>
        </tr>
      </tbody>
      </table>
      <!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script Language="JavaScript" Type="text/javascript"><!--
function FrontPage_Form1_Validator(theForm)
{

  if (theForm.ssl_amount.value == "")
  {
    alert("Please enter a value for the \"ssl_amount\" field.");
    theForm.ssl_amount.focus();
    return (false);
  }
  return (true);
}
//--></script><!--webbot BOT="GeneratedScript" endspan --><form action="../_vti_bin/shtml.dll/commerce/40th-gala-reg.htm" method="POST" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1" webbot-action="--WEBBOT-SELF--">
          <!--webbot bot="SaveResults" u-file="_private/40thGalaform_results.csv" s-format="HTML/BR" s-label-fields="TRUE" b-reverse-chronology="FALSE" s-email-format="HTML/BR" s-email-address="jfuller@amigoslink.org" b-email-label-fields="TRUE" s-date-format="%m/%d/%Y" s-time-format="%I:%M %p" s-builtin-fields="REMOTE_NAME REMOTE_USER HTTP_USER_AGENT Date Time" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" --><table cellSpacing="0" cellPadding="0" width="615" border="0" style="border-collapse: collapse" bordercolor="#111111" height="694">
        <tbody>
        <tr>
          <td width="910" valign="top" height="1"></td>
        </tr>
        <tr>
          <td width="910" valign="top" height="1">
          </td>
        </tr>
        <tr>
          <td width="910" valign="top" height="242">
          <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="614" height="216">
            <tbody>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="36"></td>
              <td width="183" style="border-style: none; border-width: medium" colspan="2" height="36">
              <b><span style="font-family: Arial">
              <font size="2" color="#4C7511">Golden
              Underwriter Table<br />
&#160;</font><font size="1" color="#4C7511">(10
              tickets) </font></span></b></td>
              <td width="85" style="border-style: none; border-width: medium" align="left" height="36">
              <b><font size="2" color="#4C7511" face="Arial">$50,000</font></b></td>
              <td width="50" style="border-style: none; border-width: medium" align="right" height="36">
              <p align="center">
              <input type="text" name="QtyGoldenTables" size="3" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1; vertical-align:baseline" 1"="" value="0" onBlur="update(this,50000.00);" tabindex="1" /></p></td>
              <td width="18" style="border-style: none; border-width: medium" align="right" height="36">
              <p>
              <b><font color="#4C7511" size="2" face="Arial">$</font></b></p></td>
              <td width="69" style="border-style: none; border-width: medium" align="left" height="36">
              <input type="text" name="AmtGoldenTables" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0.00" onFocus="unEdit(this);" /></td>
              <td width="36" style="border-style: none; border-width: medium" align="left" height="36">
              </td>
              <td width="107" style="border-style: none; border-width: medium" align="left" height="36">
              <p align="center"><font color="#C0C0C0" size="3">
        <span style="font-family: Arial; font-weight: 700">Register to<br />
              Attend</span></font></p></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="34"></td>
              <td width="183" style="border-style: none; border-width: medium" colspan="2" height="34">
              <b><span style="font-family: Arial">
              <font size="2" color="#4C7511">Major
              Underwriter Table <br />
              </font><font size="1" color="#4C7511">(10
              tickets) </font></span></b></td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="left" height="34">
              <font size="2" color="#4C7511" face="Arial"><b>$25,000</b></font></td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="34">
              <input type="text" name="QtyMajorTables" size="3" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0" onBlur="update(this,25000);" tabindex="2" /></td>
              <td width="17" style="border-style: none; border-width: medium" valign="middle" align="right" height="34">
              <b><font color="#4C7511" size="2" face="Arial">$</font></b></td>
              <td width="69" style="border-style: none; border-width: medium" valign="middle" align="left" height="34">
              <input type="text" name="AmtMajorTables" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0.00" onFocus="unEdit(this);" /></td>
              <td width="36" style="border-style: none; border-width: medium" valign="middle" align="left" height="34">
              &#160;</td>
              <td width="107" style="border-style: none; border-width: medium" valign="middle" align="left" height="34">
              <font face="Arial" size="3">&#160;</font></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="36"></td>
              <td width="183" style="border-style: none; border-width: medium" colspan="2" height="36">
              <b><span style="font-family: Arial">
              <font size="2" color="#4C7511">Underwriter
              Table</font><br />
              <font size="1" color="#4C7511">(10 tickets)</font></span></b></td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="left" height="36">
              <font size="2" color="#4C7511" face="Arial"><b>$10,000</b></font></td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="36">
              <input type="text" name="QtyUnderwriterTables" size="3" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0" onBlur="update(this,10000);" tabindex="3" /></td>
              <td width="17" style="border-style: none; border-width: medium" valign="middle" align="right" height="36">
              <b><font color="#4C7511" size="2" face="Arial">$</font></b></td>
              <td width="69" style="border-style: none; border-width: medium" valign="middle" align="left" height="36">
              <input type="text" name="AmtUnderwriterTables" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0.00" onFocus="unEdit(this);" /></td>
              <td width="36" style="border-style: none; border-width: medium" valign="middle" align="left" height="36">
              </td>
              <td width="107" style="border-style: none; border-width: medium" valign="middle" align="left" height="36">
              <p align="center">
        <font size="3" color="#2F007C">
        <span style="font-family: Arial; font-weight: 700">
        <a href="http://www.amigoslink.org/40thAnniversary/attendees.htm" style="text-decoration: none">Who's</a><br />
        <a href="http://www.amigoslink.org/40thAnniversary/attendees.htm" style="text-decoration: none">Coming?</a></span></font></p></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="33">&#160;</td>
              <td width="316" style="border-style: none; border-width: medium" valign="middle" colspan="2" height="33">
              <b><span style="font-family: Arial">
              <font size="2" color="#4C7511">Benefactor
              Table <br />
              </font><font size="1" color="#4C7511">(10 tickets) </font></span></b></td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="left" height="33">
              <font size="2" color="#4C7511" face="Arial"><b>$5,000</b></font></td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="33">
              <input type="text" name="QtyBenefactorTables" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0" onBlur="update(this,5000);" tabindex="4" /></td>
              <td width="17" style="border-style: none; border-width: medium" valign="middle" align="right" height="33">
              <b><font color="#4C7511" size="2" face="Arial">$</font></b></td>
              <td width="69" style="border-style: none; border-width: medium" valign="middle" align="left" height="33">
              <input type="text" name="AmtBenefactorTables" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0.00" onFocus="unEdit(this);" /></td>
              <td width="36" style="border-style: none; border-width: medium" valign="middle" align="left" height="33">
              &#160;</td>
              <td width="107" style="border-style: none; border-width: medium" valign="middle" align="left" height="33">
              <font face="Arial" size="3">&#160;</font></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="36"></td>
              <td width="316" style="border-style: none; border-width: medium" valign="middle" height="36" colspan="2">
              <b><span style="font-family: Arial">
              <font size="2" color="#4C7511">Patron Table</font><br />
              <font size="1" color="#4C7511">(10 tickets)</font></span></b><font size="2" color="#4C7511" face="Arial"><b> </b></font></td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="left" height="36">
              <font size="2" color="#4C7511" face="Arial"><b>$2,500</b></font></td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="36">
              <input type="text" name="QtyPatronTables" size="3" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0" onBlur="update(this,2500);" tabindex="5" /></td>
              <td width="17" style="border-style: none; border-width: medium" valign="middle" align="right" height="36">
              <b><font color="#4C7511" size="2" face="Arial">$</font></b></td>
              <td width="69" style="border-style: none; border-width: medium" valign="middle" align="left" height="36">
              <input type="text" name="AmtPatronTables" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0.00" onFocus="unEdit(this);" /></td>
              <td width="36" style="border-style: none; border-width: medium" valign="middle" align="center" height="36">
              </td>
              <td width="107" style="border-style: none; border-width: medium" valign="middle" align="center" height="36">
        <font size="3" color="#2F007C">
        <span style="font-family: Arial; font-weight: 700">
        <a href="http://www.amigoslink.org/40thAnniversary/informed.html" style="text-decoration: none">Keep me<br />
        informed</a></span></font></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="18"></td>
              <td width="221" style="border-style: none; border-width: medium" height="18" colspan="2">
              <p align="left">
              <font size="2" color="#4C7511"><b><span style="font-family: Arial">Individual
              Ticket(s)</span></b></font></p></td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="left" height="18">
              <font color="#4C7511" size="2" face="Arial"><b>$250</b></font></td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="18">
              <font color="#4C7511">
              <input type="text" name="QtyIndividualTickets" size="3" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border: 1px solid #4C7511; 1" value="0" onBlur="update(this,250);" tabindex="6" /></font></td>
              <td width="17" style="border-style: none; border-width: medium" valign="middle" align="right" height="18">
              <b><font size="2" face="Arial" color="#4C7511">$</font></b></td>
              <td width="69" style="border-style: none; border-width: medium" valign="middle" align="left" height="18">
              <font color="#4C7511">
              <input type="text" name="AmtIndividualTickets" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border: 1px solid #4C7511; 1" value="0.00" onFocus="unEdit(this);" /></font></td>
              <td width="36" style="border-style: none; border-width: medium" valign="middle" align="center" height="18">
              </td>
              <td width="107" style="border-style: none; border-width: medium" valign="middle" align="center" height="18">
              </td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="1"></td>
              <td width="88" style="border-style: none; border-width: medium" height="1"></td>
              <td width="133" style="border-style: none; border-width: medium" valign="middle" height="1">
              </td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="right" height="1">
              </td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="1">
              </td>
              <td width="18" style="border-style: none; border-width: medium" align="right" height="1"></td>
              <td width="69" style="border-style: none; border-width: medium" align="right" height="1"></td>
              <td width="36" style="border-style: none; border-width: medium" align="right" height="1"></td>
              <td width="107" style="border-style: none; border-width: medium" align="right" height="20" rowspan="2" valign="top">
              <p align="center">
        <font face="Arial" size="3">
        <b><a href="http://www.amigoslink.org/40thAnniversary/lodging.html" style="text-decoration: none">Lodging<br />
        Info</a></b></font></p></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="20">&#160;</td>
              <td width="308" style="border-style: none; border-width: medium" height="20" align="center" colspan="3">
              <p align="left"><b><font size="2" face="Arial"><br />
              <font color="#800000">I&apos;m sorry I won&apos;t be able to attend, but I
              would like to make a donation to AMIGOS.</font></font></b></p></td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="20">
              &#160;</td>
              <td width="18" style="border-style: none; border-width: medium" align="center" height="20">
            <font face="Arial" color="#800000" size="2"><b>$</b></font></td>
              <td width="69" style="border-style: none; border-width: medium" align="center" height="20">
            <font face="Arial" color="#800000" size="2">
              <input name="Donation" value="0.00" onBlur="update(this, 1);" size="6" tabindex="7" style="color: #800000; font-family: Arial; font-size: 10pt; font-weight: bold; float:left" /></font></td>
              <td width="36" style="border-style: none; border-width: medium" align="right" height="20">&#160;</td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="20">&#160;</td>
              <td width="88" style="border-style: none; border-width: medium" height="20">&#160;</td>
              <td width="133" style="border-style: none; border-width: medium" valign="middle" height="20">
              &#160;</td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="right" height="20">
              &#160;</td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="20">
              &#160;</td>
              <td width="18" style="border-style: none; border-width: medium" align="right" height="20">
              &#160;</td>
              <td width="69" style="border-style: none; border-width: medium" align="right" height="20">
            &#160;</td>
              <td width="36" style="border-style: none; border-width: medium" align="right" height="20">
              &#160;</td>
              <td width="107" style="border-style: none; border-width: medium" align="right" height="20">
              <font face="Arial" size="3">&#160;</font></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="20"></td>
              <td width="88" style="border-style: none; border-width: medium" height="20"></td>
              <td width="133" style="border-style: none; border-width: medium" valign="middle" height="20" bgcolor="#C0C0C0">
              <font color="#800000" size="3" face="Arial"><b>Total</b></font></td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="right" height="20" bgcolor="#C0C0C0">
              </td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="20" bgcolor="#C0C0C0">
              </td>
              <td width="18" style="border-style: none; border-width: medium" align="right" bgcolor="#C0C0C0" height="20">
              <p>
            <font face="Arial"><b><font size="2" color="#800000">$</font></b></font></p></td>
              <td width="69" style="border-style: none; border-width: medium" align="right" bgcolor="#C0C0C0" height="20">
            <p align="left">
            <font face="Arial">
            <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="ssl_amount" value="0.00" onFocus="unEdit(this);" size="6" style="color: #800000; font-family: Arial; font-size: 10pt; font-weight: bold; background-color:#C0C0C0" /></font></p></td>
              <td width="36" style="border-style: none; border-width: medium" align="right" height="20">
              </td>
              <td width="107" style="border-style: none; border-width: medium" align="right" height="20">
              </td>
            </tr>
          </tbody>
          </table>
          </td>
        </tr>
        <tr>
          <td width="910" valign="top" height="17"></td>
        </tr>
        <tr>
          <font face="Arial" size="2">
          <td width="910" valign="top" height="19">
          <font face="Arial" color="#800000" size="3"><b>Billing Address</b></font><b><font face="Arial">
          </font></b></td>
      </font>
        </tr>
        <tr>
          <font face="Arial" size="2">
          <td width="910" height="556" valign="top">
          <table cellSpacing="0" cellPadding="2" width="522" border="0" style="border-collapse: collapse" bordercolor="#111111">
            <tbody>
            <tr>
              <td width="144"><b><font face="Arial" size="2">Name </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="20" name="Name" size="40" tabindex="25" />&#160;</b></font><b><font face="Arial" size="2"><img height="11" src="images/required.gif" width="11" border="0" /></font><font face="Arial">
              </font></b></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">
              Company </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="50" size="40" name="Company" tabindex="26" /> </b> </font></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">
              Address1 </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="30" size="30" name="Address1" tabindex="27" />&#160;</b></font><b><font face="Arial" size="2"><img height="11" src="images/required.gif" width="11" border="0" /></font><font face="Arial">
              </font></b></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">
              Address2 </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="30" size="30" name="Address2" tabindex="28" /> </b> </font></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">City
              </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="30" size="30" name="City" tabindex="29" />&#160;</b></font><b><font face="Arial" size="2"><img height="11" src="images/required.gif" width="11" border="0" /></font><font face="Arial">
              </font></b></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">State
              </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="10" size="10" name="ST" tabindex="30" />&#160;</b></font><b><font face="Arial" size="2"><img height="11" src="images/required.gif" width="11" border="0" /></font><font face="Arial">
              </font></b></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">Zip
              Code </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="10" size="10" name="Zip" tabindex="31" />&#160;</b></font><b><font face="Arial" size="2"><img height="11" src="images/required.gif" width="11" border="0" /></font><font face="Arial">
              </font></b></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">Email
              Address </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="100" size="40" name="Email" tabindex="32" />&#160;</b></font><b><font face="Arial" size="2"><img height="11" src="images/required.gif" width="11" border="0" /></font><font face="Arial">
              </font></b></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">Day
              Phone </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <input maxLength="20" name="DayPhone" size="20" tabindex="33" /> </font></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">
              Evening Phone</font><font face="Arial" size="2" color="#000080">
              </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <input maxLength="50" size="20" name="EvePhone" tabindex="34" /> </font></td>
            </tr>
            <tr>
          <font face="Arial" size="2">
              <td width="144" valign="top">
              <font face="Arial" size="2"><b>Comments</b>:</font></td>
              <td width="370" colspan="2">
              <textarea rows="5" name="Comments" cols="38" style="color: #800000; font-family: Arial; font-size: 10pt; font-weight: bold" tabindex="35"></textarea></td>
      </font>
            </tr>
            <tr>
              <td width="514" colspan="3"><b>
              <font color="#800000" face="Arial" size="3">I would like to see
              the following people at the Alumni Reunion:</font></b></td>
            </tr>
            <tr>
              <td width="144">&#160;</td>
              <td width="370" colspan="2">
          <font face="Arial" size="2">
              <textarea rows="5" name="PeopleIWantToSee" cols="38" style="color: #800000; font-family: Arial; font-size: 10pt; font-weight: bold" tabindex="36"></textarea></font></td>
            </tr>
            <tr>
              <td width="518" colspan="3">&#160;</td>
            </tr>
            <tr>
              <td width="518" colspan="3"><font face="Arial">
              <b>
              <font face="Arial" color="#800000" size="3">Credit Card
              Information</font></b></font><font face="Arial" size="2">
          </font>
              </td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">Credit
              Card Type</font></b></td>
              <td width="188">
              <font face="Arial">
              <select size="1" name="ssl_credit_card_type" tabindex="38">
              <option>American Express</option>
              <option>Discover</option>
              <option>Master Card</option>
              <option>Visa</option>
              </select></font><font face="Arial" size="2">
              <img height="11" src="images/required.gif" width="11" border="0" />&#160; </font>
              </td>
              <td width="182">
              <font face="Arial">
              <img alt="credit cards" src="../images/credit_cards.gif" border="0" width="170" height="25" /></font></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">Credit
              Card Number</font></b></td>
              <td width="370" colspan="2">
              <font face="Arial">
              <input type="text" name="CardNo" size="30" tabindex="39" /></font><font face="Arial" size="2">
              <img height="11" src="images/required.gif" width="11" border="0" /><b>
              </b> </font>
              <b><font face="Arial" size="1">(no
              spaces or dashes)</font></b></td>
            </tr>
            <tr>
              <td width="144">
              </font><p align="left"><font align="left" face="Arial" size="2"><b><font face="Arial" size="2">
              Expiration Date  </font><font face="Arial" size="1">
              (mmyy)</font></b></font></p><font face="Arial" size="2"></font></td><font face="Arial" size="2">
              <td width="370" colspan="2">
              <font face="Arial">
              <input type="text" name="ExpDate" size="4" tabindex="40" /></font><font face="Arial" size="2">
              <img height="11" src="images/required.gif" width="11" border="0" /></font></td>
            </font></tr><font face="Arial" size="2">
            <tr>
              <td width="144">&#160;</td>
              <td width="370" colspan="2">&#160;</td>
            </tr>
            </font></tbody><font face="Arial" size="2">
            </font></table><font face="Arial" size="2">
          </font></td><font face="Arial" size="2">
      </font>
        </tr>
      </tbody>
      </table>
      <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="89%" height="1">
        <tbody>
        <tr>
          <td width="100%" style="border-style: none; border-width: medium" height="15"></td>
          <td width="1%" style="border-style: none; border-width: medium" height="15"></td>
        </tr>
        <tr>
          <td width="100%" style="border-style: none; border-width: medium" colspan="2" height="14">
      <p align="center"><b>
      <font size="2" face="Arial">
      Please confirm that all information above is correct,
      then click the button below.</font></b></p></td>
        </tr>
        <tr>
          <td width="100%" style="border-style: none; border-width: medium" height="15"></td>
          <td width="1%" style="border-style: none; border-width: medium" height="15"></td>
        </tr>
        <tr>
          <td width="100%" style="border-style: none; border-width: medium" height="34">
        <p align="center">&#160;<script src="https://seal.verisign.com/getseal?host_name=Amigos" de="" las="" Américas&size="S&amp;use_flash=NO&amp;use_transparent=NO"></script><input type="submit" value="Submit" name="Submit" style="color: #800000; font-family: Arial; font-size: 10pt; font-weight: bold" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        <input type="reset" value="Reset" name="Reset" style="color: #800000; font-family: Arial; font-size: 10pt; font-weight: bold" /></p></td>
        </tr>
        </tbody>
        </table>
      </form>
      
      
      
      <!-- end content -->
      </td>
      <td width="116" height="1069">&#160;</td>
      </tr>
      </tbody>
      </table>      
      <!-- end content area -->
</td>
</tr>

<tr>
<td valign="bottom" background="images/navback.gif" height="1">&#160;</td>
</tr>

</tbody>

</table>
<!-- end body table -->
</body>
</html>
0
 
LVL 15

Expert Comment

by:Timbo87
ID: 9889911
And here's a fixed page that incorporates the commas. I recommend you use this one.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
      <meta http-equiv="Content-Language" content="en-us" />
      <title>40th Anniversary Gala Registration Form</title>

      <meta name="description" content="Amigos de las Américas (AMIGOS) excels in creating opportunities for young people to volunteer and take leadership roles in public health, education and community development programs.  High school/ college students live with a host family and work alongside community members in Latin America, while learning a new language and culture." />
      <meta name="keywords" content="Amigos de las Americas intercultural international Latin America community service health home improvement projects intensive summer programs teenagers high school college students service learning leaders youth education volunteers volunteer opportunities overseas work work abroad non-profit NGO cross-cultural Bolivia Brazil Costa Rica Dominican Republic Honduras Mexico Nicaragua Paraguay Spanish Portuguese grassroots environments homestay sustainable development short-term programs exchange CSIET International Volunteer Programs Association IVPA National Association of International Educators NAFSA" />

<SCRIPT LANGUAGE="JavaScript">
function popUp(url) {
sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=450');
self.name = "mainWin";
}
    </SCRIPT>
            
<script language="JavaScript" type="text/javascript">
      <!--
      function MM_preloadImages() { //v3.0
        var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
          var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
          if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
      }

      function MM_swapImgRestore() { //v3.0
        var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
      }

      function MM_findObj(n, d) { //v4.0
        var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
          d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
        if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
        for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
        if(!x && document.getElementById) x=document.getElementById(n); return x;
      }

      function MM_swapImage() { //v3.0
        var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
         if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
      }
      
      var timeDelay = 4; // change delay time in seconds
      var Pix = new Array
      ("images/sitetopleft1.jpg"
      ,"images/sitetopleft2.jpg"
      ,"images/sitetopleft3.jpg"
      ,"images/sitetopleft4.jpg"
      ,"images/sitetopleft5.jpg"
      ,"images/sitetopleft6.jpg"
      );
      var howMany = Pix.length;
      timeDelay *= 1000;
      var PicCurrentNum = 0;
    if (document.images) {
        var PicCurrent = new Image();
        PicCurrent.src = Pix[PicCurrentNum];
      }

      function startPix() {
       if (document.images) {
        setInterval("slideshow()", timeDelay);
       }
      }
      function slideshow() {
        PicCurrentNum++;
        if (PicCurrentNum == howMany) {
          PicCurrentNum = 0;
        }
        PicCurrent.src = Pix[PicCurrentNum];
        document["sitetopleft"].src = PicCurrent.src;
      }
      //from JavascriptSource
      function formatCurrency(number) {
            number = number.toString().replace(/\$|\,/g,'');
            number = Math.floor(number*100+0.50000000001);
            cents = number%100;
            number = Math.floor(number/100).toString();
            if(cents<10)
                  cents ="0" + cents;
            for (var i =0; i < Math.floor((number.length-(1+i))/3); i++)
                  number = number.substring(0,number.length-(4*i+3))+','+ number.substring(number.length-(4*i+3));
            return (number + '.' + cents);
      }
      function update(box, factor) {
            var arrayOfBoxes = [box.form.AmtGoldenTables, box.form.AmtMajorTables, box.form.AmtUnderwriterTables, box.form.AmtBenefactorTables, box.form.AmtPatronTables, box.form.AmtIndividualTickets, box.form.Donation];
            var theName = box.name.substr(3);
            if(box.value == '' || isNaN(box.value) || (box.name != "Donation" && Math.floor(box.value) != box.value)) {
                  alert("Please enter a number.");
                  box.focus();
            }
            else {
                  if(box.name != "Donation") {
                        var amtBox = eval("box.form.Amt" + theName);
                        amtBox.value = formatCurrency(box.value * factor);
                  }
                  if(box.name == "Donation")
                        box.value = formatCurrency(box.value);
                  var sum = 0;
                  for (var i = 0; i < arrayOfBoxes.length; i++)
                  {
                        var temp = arrayOfBoxes[i].value.replace(",", "")
                        sum+=temp * 1
                  }
                  box.form.ssl_amount.value = formatCurrency(sum);
                  
            }
      }
      function unEdit(aBox) {
            alert("Please don't edit this field.");
            aBox.blur();
      }
      //-->
            </script>
      
      <style type="text/css">
      <!--
      body {
            font-size: 15px;
            font-family: arial, sans-serif;
      }
      td {
            font-size: 15px;
            font-family: arial, sans-serif;
      }
      .smalltext {
            font-size: 12px;
            font-family: arial, sans-serif;
      }
      .normtext {
            font-size: 15px;
            font-family: arial, sans-serif;
      }
      .bigtext {
            font-size: 18px;
            font-family: arial, sans-serif;
      }
      a:hover {
            color: #4c7511;
      }
      -->
      </style>
</head>

<body bgcolor="#ffffff" text="#000000" link="#2f007c" vlink="#2f007c" alink="#2f007c" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/navabout2.gif','images/navinvolve2.gif','images/navprograms2.gif','images/navalumni2.gif','images/navcontact2.gif','images/navhome2.gif'); startPix();">

<!-- begin header table -->
<table cellpadding="0" cellspacing="0" border="0" width="780">
<tbody>
<tr>
<td valign="top">
      <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%">
      <tbody>
      <tr>
        <td width="100%" style="border-style: none; border-width: medium">
        <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" height="266">
          <tbody>
          <tr>
            <td width="21%" style="border-style: none; border-width: medium" height="164">
    <font face="Arial" size="2">
    <img src="../images/sitetopleft1.jpg" alt="" border="0" name="sitetopleft" width="158" height="166" /></font></td>
            <td width="79%" style="border-style: none; border-width: medium" rowspan="2" valign="top" height="230"><font face="Arial" size="2">
    <img border="0" src="../images/sitehead.jpg" width="622" height="207" /></font></td>
          </tr>
          <tr>
            <td width="21%" style="border-style: none; border-width: medium" height="64"><font face="Arial" size="2">
    <img src="../images/sitearctip.jpg" alt="" border="0" width="158" height="66" /></font></td>
          </tr>
          <tr>
            <td width="21%" style="border-style: none; border-width: medium" height="32">&#160;</td>
            <td width="79%" style="border-style: none; border-width: medium" height="32">
    <font face="Arial" size="2">
    <img border="0" src="../images/40-hd.jpg" width="267" height="34" /></font></td>
          </tr>
        </tbody>
        </table>
        </td>
      </tr>
    </tbody>
    </table>
</td>
</tr>
<tr>
<td>
<p align="center">
      <map name="FPMap0">
<font face="Arial">
<area coords="9, 2, 91, 16" shape="rect" href="brushdance.html" target="_self" />
<area href="http://www.amigoslink.org/about/history.html" shape="rect" coords="102, 1, 143, 16" />
<area href="http://www.amigoslink.org/jobs/jobs.html" shape="rect" coords="152, 1, 175, 16" />
<area href="http://www.amigoslink.org/about/affiliate.html" shape="rect" coords="183, 0, 219, 16" />
<area href="http://www.amigoslink.org/about/mission.html" shape="rect" coords="225, 1, 273, 16" />
<area href="http://www.amigoslink.org/news/news.htm" shape="rect" coords="278, 2, 310, 15" />
<area href="http://www.amigoslink.org/publications/publications.htm" shape="rect" coords="316, 0, 388, 16" />
<area href="http://www.amigoslink.org/photogallery/photo-album-index.htm" shape="rect" coords="393, 1, 439, 16" />
<area href="http://io.amigoslink.org/commerce/mdse.html" shape="rect" coords="444, 1, 500, 16" />
<area href="http://www.amigoslink.org/involve/volunteer.html" shape="rect" coords="505, 0, 566, 16" />
</font></map><font face="Arial">
    <img border="0" src="images/headlinks.jpg" usemap="#FPMap0" width="567" height="17" /></font></p></td>
</tr>
<tr>
<td><font face="Arial">
<img src="images/siteheadrule.gif" alt="" border="0" width="780" height="7" /></font></td>
</tr>
</tbody>
</table>
<!-- end header table -->
<!-- begin body table -->
<table cellpadding="0" cellspacing="0" border="0" width="780" height="831">
<tbody>
<tr>
<td valign="top" background="images/navback.gif" height="1050">
      <!-- begin nav bar -->
      <table cellpadding="0" cellspacing="0" border="0" width="139" background="none">
      <tbody>
      <tr><td><font face="Arial">
      <img src="images/navshimtop.gif" alt="" border="0" width="17" height="33" /></font></td></tr>
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navabout','','images/navabout2.gif',1)" href="http://www.amigoslink.org/about/about.html">
      <img src="images/navabout1.gif" alt="About Amigos" border="0" name="navabout" width="139" height="18" /></a></font></td></tr>
      <tr><td><font face="Arial">
      <img src="images/navshimmid.gif" alt="" border="0" width="139" height="12" /></font></td></tr>
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navinvolve','','images/navinvolve2.gif',1)" href="http://www.amigoslink.org/involve/involve.html">
      <img src="images/navinvolve1.gif" alt="Get Involved" border="0" name="navinvolve" width="139" height="18" /></a></font></td></tr>
      <tr><td><font face="Arial">
      <img src="images/navshimmid.gif" alt="" border="0" width="139" height="12" /></font></td></tr>
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navdonate','','images/navdonate2.gif',1)" href="http://www.amigoslink.org/donate/donate.html">
      <img src="images/navdonate1.gif" alt="Make a Donation" border="0" name="navdonate" width="139" height="18" /></a></font></td></tr>
      <tr><td><font face="Arial">
      <img src="images/navshimmid.gif" alt="" border="0" width="139" height="12" /></font></td></tr>
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navprograms','','images/navprograms2.gif',1)" href="http://www.amigoslink.org/programs/2004projects/lapdhome.html">
      <img src="images/navprograms1.gif" alt="Our Programs" border="0" name="navprograms" width="139" height="18" /></a></font></td></tr>
      <tr><td><font face="Arial">
      <img src="images/navshimmid.gif" alt="" border="0" width="139" height="12" /></font></td></tr>
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navalumni','','images/navalumni2.gif',1)" href="http://www.amigoslink.org/alumni/alumni.html">
      <img src="images/navalumni1.gif" alt="For our Alumni" border="0" name="navalumni" width="139" height="18" /></a></font></td></tr>
      <tr><td><font face="Arial">
      <img src="images/navshimmid.gif" alt="" border="0" width="139" height="12" /></font></td></tr>                  
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navcontact','','images/navcontact2.gif',1)" href="http://www.amigoslink.org/contacts/contact.html">
      <img src="images/navcontact1.gif" alt="Contact Us" border="0" name="navcontact" width="139" height="18" /></a></font></td></tr>
      <tr><td><font face="Arial">
      <img src="images/navshimmid.gif" alt="" border="0" width="139" height="12" /></font></td></tr>
      <tr><td>
      <font face="Arial">
      <a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('navhome','','images/navhome2.gif',1)" href="http://www.amigoslink.org/default.htm">
      <img src="images/navhome1.gif" alt="Home" border="0" name="navhome" width="139" height="18" /></a></font></td></tr>      
      <tr><td><font face="Arial">
      <img src="images/navshimbottom.gif" alt="" border="0" width="17" height="21" /></font></td></tr>
      </tbody>
      </table>
      <!-- end nav bar -->
</td>
<td rowspan="2" valign="top" height="831">
      <!-- begin content area -->
      <table cellpadding="0" cellspacing="0" border="0" width="648" height="1069">
      <tbody>
      <tr>
      <td width="211" valign="top" height="1069">&#160;</td>
      <td width="585" valign="top" height="1069">
      <!-- begin content -->
      
      <p class="normtext">
      
      </p>
      
      <table cellSpacing="0" cellPadding="0" width="605" border="0" style="border-collapse: collapse" bordercolor="#111111" height="21">
        <tbody>
        <tr>
          <td style="background-color: #FFFFFF" width="534" height="1">
        <b><font size="4" face="Arial" color="#000080">Gala Registration
        Form</font></b></td>
          <td style="background-color: #FFFFFF" width="139" height="1">
          <p align="center">
          <font face="Arial" size="1">
          <b><font color="#000080">Required Field</font></b>
          <img height="11" src="images/required.gif" width="11" border="0" /></font></p></td>
        </tr>
      </tbody>
      </table>
      <!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script Language="JavaScript" Type="text/javascript"><!--
function FrontPage_Form1_Validator(theForm)
{

  if (theForm.ssl_amount.value == "")
  {
    alert("Please enter a value for the \"ssl_amount\" field.");
    theForm.ssl_amount.focus();
    return (false);
  }
  return (true);
}
//--></script><!--webbot BOT="GeneratedScript" endspan --><form action="../_vti_bin/shtml.dll/commerce/40th-gala-reg.htm" method="POST" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1" webbot-action="--WEBBOT-SELF--">
          <!--webbot bot="SaveResults" u-file="_private/40thGalaform_results.csv" s-format="HTML/BR" s-label-fields="TRUE" b-reverse-chronology="FALSE" s-email-format="HTML/BR" s-email-address="jfuller@amigoslink.org" b-email-label-fields="TRUE" s-date-format="%m/%d/%Y" s-time-format="%I:%M %p" s-builtin-fields="REMOTE_NAME REMOTE_USER HTTP_USER_AGENT Date Time" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" --><table cellSpacing="0" cellPadding="0" width="615" border="0" style="border-collapse: collapse" bordercolor="#111111" height="694">
        <tbody>
        <tr>
          <td width="910" valign="top" height="1"></td>
        </tr>
        <tr>
          <td width="910" valign="top" height="1">
          </td>
        </tr>
        <tr>
          <td width="910" valign="top" height="242">
          <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="614" height="216">
            <tbody>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="36"></td>
              <td width="183" style="border-style: none; border-width: medium" colspan="2" height="36">
              <b><span style="font-family: Arial">
              <font size="2" color="#4C7511">Golden
              Underwriter Table<br />
&#160;</font><font size="1" color="#4C7511">(10
              tickets) </font></span></b></td>
              <td width="85" style="border-style: none; border-width: medium" align="left" height="36">
              <b><font size="2" color="#4C7511" face="Arial">$50,000</font></b></td>
              <td width="50" style="border-style: none; border-width: medium" align="right" height="36">
              <p align="center">
              <input type="text" name="QtyGoldenTables" size="3" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1; vertical-align:baseline" 1"="" value="0" onBlur="update(this,50000.00);" tabindex="1" /></p></td>
              <td width="18" style="border-style: none; border-width: medium" align="right" height="36">
              <p>
              <b><font color="#4C7511" size="2" face="Arial">$</font></b></p></td>
              <td width="69" style="border-style: none; border-width: medium" align="left" height="36">
              <input type="text" name="AmtGoldenTables" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0.00" onFocus="unEdit(this);" /></td>
              <td width="36" style="border-style: none; border-width: medium" align="left" height="36">
              </td>
              <td width="107" style="border-style: none; border-width: medium" align="left" height="36">
              <p align="center"><font color="#C0C0C0" size="3">
        <span style="font-family: Arial; font-weight: 700">Register to<br />
              Attend</span></font></p></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="34"></td>
              <td width="183" style="border-style: none; border-width: medium" colspan="2" height="34">
              <b><span style="font-family: Arial">
              <font size="2" color="#4C7511">Major
              Underwriter Table <br />
              </font><font size="1" color="#4C7511">(10
              tickets) </font></span></b></td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="left" height="34">
              <font size="2" color="#4C7511" face="Arial"><b>$25,000</b></font></td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="34">
              <input type="text" name="QtyMajorTables" size="3" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0" onBlur="update(this,25000);" tabindex="2" /></td>
              <td width="17" style="border-style: none; border-width: medium" valign="middle" align="right" height="34">
              <b><font color="#4C7511" size="2" face="Arial">$</font></b></td>
              <td width="69" style="border-style: none; border-width: medium" valign="middle" align="left" height="34">
              <input type="text" name="AmtMajorTables" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0.00" onFocus="unEdit(this);" /></td>
              <td width="36" style="border-style: none; border-width: medium" valign="middle" align="left" height="34">
              &#160;</td>
              <td width="107" style="border-style: none; border-width: medium" valign="middle" align="left" height="34">
              <font face="Arial" size="3">&#160;</font></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="36"></td>
              <td width="183" style="border-style: none; border-width: medium" colspan="2" height="36">
              <b><span style="font-family: Arial">
              <font size="2" color="#4C7511">Underwriter
              Table</font><br />
              <font size="1" color="#4C7511">(10 tickets)</font></span></b></td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="left" height="36">
              <font size="2" color="#4C7511" face="Arial"><b>$10,000</b></font></td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="36">
              <input type="text" name="QtyUnderwriterTables" size="3" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0" onBlur="update(this,10000);" tabindex="3" /></td>
              <td width="17" style="border-style: none; border-width: medium" valign="middle" align="right" height="36">
              <b><font color="#4C7511" size="2" face="Arial">$</font></b></td>
              <td width="69" style="border-style: none; border-width: medium" valign="middle" align="left" height="36">
              <input type="text" name="AmtUnderwriterTables" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0.00" onFocus="unEdit(this);" /></td>
              <td width="36" style="border-style: none; border-width: medium" valign="middle" align="left" height="36">
              </td>
              <td width="107" style="border-style: none; border-width: medium" valign="middle" align="left" height="36">
              <p align="center">
        <font size="3" color="#2F007C">
        <span style="font-family: Arial; font-weight: 700">
        <a href="http://www.amigoslink.org/40thAnniversary/attendees.htm" style="text-decoration: none">Who's</a><br />
        <a href="http://www.amigoslink.org/40thAnniversary/attendees.htm" style="text-decoration: none">Coming?</a></span></font></p></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="33">&#160;</td>
              <td width="316" style="border-style: none; border-width: medium" valign="middle" colspan="2" height="33">
              <b><span style="font-family: Arial">
              <font size="2" color="#4C7511">Benefactor
              Table <br />
              </font><font size="1" color="#4C7511">(10 tickets) </font></span></b></td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="left" height="33">
              <font size="2" color="#4C7511" face="Arial"><b>$5,000</b></font></td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="33">
              <input type="text" name="QtyBenefactorTables" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0" onBlur="update(this,5000);" tabindex="4" /></td>
              <td width="17" style="border-style: none; border-width: medium" valign="middle" align="right" height="33">
              <b><font color="#4C7511" size="2" face="Arial">$</font></b></td>
              <td width="69" style="border-style: none; border-width: medium" valign="middle" align="left" height="33">
              <input type="text" name="AmtBenefactorTables" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0.00" onFocus="unEdit(this);" /></td>
              <td width="36" style="border-style: none; border-width: medium" valign="middle" align="left" height="33">
              &#160;</td>
              <td width="107" style="border-style: none; border-width: medium" valign="middle" align="left" height="33">
              <font face="Arial" size="3">&#160;</font></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="36"></td>
              <td width="316" style="border-style: none; border-width: medium" valign="middle" height="36" colspan="2">
              <b><span style="font-family: Arial">
              <font size="2" color="#4C7511">Patron Table</font><br />
              <font size="1" color="#4C7511">(10 tickets)</font></span></b><font size="2" color="#4C7511" face="Arial"><b> </b></font></td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="left" height="36">
              <font size="2" color="#4C7511" face="Arial"><b>$2,500</b></font></td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="36">
              <input type="text" name="QtyPatronTables" size="3" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0" onBlur="update(this,2500);" tabindex="5" /></td>
              <td width="17" style="border-style: none; border-width: medium" valign="middle" align="right" height="36">
              <b><font color="#4C7511" size="2" face="Arial">$</font></b></td>
              <td width="69" style="border-style: none; border-width: medium" valign="middle" align="left" height="36">
              <input type="text" name="AmtPatronTables" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border-style: solid; border-width: 1" value="0.00" onFocus="unEdit(this);" /></td>
              <td width="36" style="border-style: none; border-width: medium" valign="middle" align="center" height="36">
              </td>
              <td width="107" style="border-style: none; border-width: medium" valign="middle" align="center" height="36">
        <font size="3" color="#2F007C">
        <span style="font-family: Arial; font-weight: 700">
        <a href="http://www.amigoslink.org/40thAnniversary/informed.html" style="text-decoration: none">Keep me<br />
        informed</a></span></font></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="18"></td>
              <td width="221" style="border-style: none; border-width: medium" height="18" colspan="2">
              <p align="left">
              <font size="2" color="#4C7511"><b><span style="font-family: Arial">Individual
              Ticket(s)</span></b></font></p></td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="left" height="18">
              <font color="#4C7511" size="2" face="Arial"><b>$250</b></font></td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="18">
              <font color="#4C7511">
              <input type="text" name="QtyIndividualTickets" size="3" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border: 1px solid #4C7511; 1" value="0" onBlur="update(this,250);" tabindex="6" /></font></td>
              <td width="17" style="border-style: none; border-width: medium" valign="middle" align="right" height="18">
              <b><font size="2" face="Arial" color="#4C7511">$</font></b></td>
              <td width="69" style="border-style: none; border-width: medium" valign="middle" align="left" height="18">
              <font color="#4C7511">
              <input type="text" name="AmtIndividualTickets" size="7" style="color: #4C7511; font-size: 10pt; font-weight: bold; font-family: Arial; border: 1px solid #4C7511; 1" value="0.00" onFocus="unEdit(this);" /></font></td>
              <td width="36" style="border-style: none; border-width: medium" valign="middle" align="center" height="18">
              </td>
              <td width="107" style="border-style: none; border-width: medium" valign="middle" align="center" height="18">
              </td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="1"></td>
              <td width="88" style="border-style: none; border-width: medium" height="1"></td>
              <td width="133" style="border-style: none; border-width: medium" valign="middle" height="1">
              </td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="right" height="1">
              </td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="1">
              </td>
              <td width="18" style="border-style: none; border-width: medium" align="right" height="1"></td>
              <td width="69" style="border-style: none; border-width: medium" align="right" height="1"></td>
              <td width="36" style="border-style: none; border-width: medium" align="right" height="1"></td>
              <td width="107" style="border-style: none; border-width: medium" align="right" height="20" rowspan="2" valign="top">
              <p align="center">
        <font face="Arial" size="3">
        <b><a href="http://www.amigoslink.org/40thAnniversary/lodging.html" style="text-decoration: none">Lodging<br />
        Info</a></b></font></p></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="20">&#160;</td>
              <td width="308" style="border-style: none; border-width: medium" height="20" align="center" colspan="3">
              <p align="left"><b><font size="2" face="Arial"><br />
              <font color="#800000">I&apos;m sorry I won&apos;t be able to attend, but I
              would like to make a donation to AMIGOS.</font></font></b></p></td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="20">
              &#160;</td>
              <td width="18" style="border-style: none; border-width: medium" align="center" height="20">
            <font face="Arial" color="#800000" size="2"><b>$</b></font></td>
              <td width="69" style="border-style: none; border-width: medium" align="center" height="20">
            <font face="Arial" color="#800000" size="2">
              <input name="Donation" value="0.00" onBlur="update(this, 1);" size="6" tabindex="7" style="color: #800000; font-family: Arial; font-size: 10pt; font-weight: bold; float:left" /></font></td>
              <td width="36" style="border-style: none; border-width: medium" align="right" height="20">&#160;</td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="20">&#160;</td>
              <td width="88" style="border-style: none; border-width: medium" height="20">&#160;</td>
              <td width="133" style="border-style: none; border-width: medium" valign="middle" height="20">
              &#160;</td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="right" height="20">
              &#160;</td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="20">
              &#160;</td>
              <td width="18" style="border-style: none; border-width: medium" align="right" height="20">
              &#160;</td>
              <td width="69" style="border-style: none; border-width: medium" align="right" height="20">
            &#160;</td>
              <td width="36" style="border-style: none; border-width: medium" align="right" height="20">
              &#160;</td>
              <td width="107" style="border-style: none; border-width: medium" align="right" height="20">
              <font face="Arial" size="3">&#160;</font></td>
            </tr>
            <tr>
              <td width="54" style="border-style: none; border-width: medium" height="20"></td>
              <td width="88" style="border-style: none; border-width: medium" height="20"></td>
              <td width="133" style="border-style: none; border-width: medium" valign="middle" height="20" bgcolor="#C0C0C0">
              <font color="#800000" size="3" face="Arial"><b>Total</b></font></td>
              <td width="87" style="border-style: none; border-width: medium" valign="middle" align="right" height="20" bgcolor="#C0C0C0">
              </td>
              <td width="54" style="border-style: none; border-width: medium" valign="middle" align="center" height="20" bgcolor="#C0C0C0">
              </td>
              <td width="18" style="border-style: none; border-width: medium" align="right" bgcolor="#C0C0C0" height="20">
              <p>
            <font face="Arial"><b><font size="2" color="#800000">$</font></b></font></p></td>
              <td width="69" style="border-style: none; border-width: medium" align="right" bgcolor="#C0C0C0" height="20">
            <p align="left">
            <font face="Arial">
            <!--webbot bot="Validation" b-value-required="TRUE" --><input type="text" name="ssl_amount" value="0.00" onFocus="unEdit(this);" size="6" style="color: #800000; font-family: Arial; font-size: 10pt; font-weight: bold; background-color:#C0C0C0" /></font></p></td>
              <td width="36" style="border-style: none; border-width: medium" align="right" height="20">
              </td>
              <td width="107" style="border-style: none; border-width: medium" align="right" height="20">
              </td>
            </tr>
          </tbody>
          </table>
          </td>
        </tr>
        <tr>
          <td width="910" valign="top" height="17"></td>
        </tr>
        <tr>
          <font face="Arial" size="2">
          <td width="910" valign="top" height="19">
          <font face="Arial" color="#800000" size="3"><b>Billing Address</b></font><b><font face="Arial">
          </font></b></td>
      </font>
        </tr>
        <tr>
          <font face="Arial" size="2">
          <td width="910" height="556" valign="top">
          <table cellSpacing="0" cellPadding="2" width="522" border="0" style="border-collapse: collapse" bordercolor="#111111">
            <tbody>
            <tr>
              <td width="144"><b><font face="Arial" size="2">Name </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="20" name="Name" size="40" tabindex="25" />&#160;</b></font><b><font face="Arial" size="2"><img height="11" src="images/required.gif" width="11" border="0" /></font><font face="Arial">
              </font></b></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">
              Company </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="50" size="40" name="Company" tabindex="26" /> </b> </font></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">
              Address1 </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="30" size="30" name="Address1" tabindex="27" />&#160;</b></font><b><font face="Arial" size="2"><img height="11" src="images/required.gif" width="11" border="0" /></font><font face="Arial">
              </font></b></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">
              Address2 </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="30" size="30" name="Address2" tabindex="28" /> </b> </font></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">City
              </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="30" size="30" name="City" tabindex="29" />&#160;</b></font><b><font face="Arial" size="2"><img height="11" src="images/required.gif" width="11" border="0" /></font><font face="Arial">
              </font></b></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">State
              </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="10" size="10" name="ST" tabindex="30" />&#160;</b></font><b><font face="Arial" size="2"><img height="11" src="images/required.gif" width="11" border="0" /></font><font face="Arial">
              </font></b></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">Zip
              Code </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="10" size="10" name="Zip" tabindex="31" />&#160;</b></font><b><font face="Arial" size="2"><img height="11" src="images/required.gif" width="11" border="0" /></font><font face="Arial">
              </font></b></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">Email
              Address </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <b>
              <input maxLength="100" size="40" name="Email" tabindex="32" />&#160;</b></font><b><font face="Arial" size="2"><img height="11" src="images/required.gif" width="11" border="0" /></font><font face="Arial">
              </font></b></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">Day
              Phone </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <input maxLength="20" name="DayPhone" size="20" tabindex="33" /> </font></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">
              Evening Phone</font><font face="Arial" size="2" color="#000080">
              </font></b></td>
              <td width="370" colspan="2"><font face="Arial">
              <input maxLength="50" size="20" name="EvePhone" tabindex="34" /> </font></td>
            </tr>
            <tr>
          <font face="Arial" size="2">
              <td width="144" valign="top">
              <font face="Arial" size="2"><b>Comments</b>:</font></td>
              <td width="370" colspan="2">
              <textarea rows="5" name="Comments" cols="38" style="color: #800000; font-family: Arial; font-size: 10pt; font-weight: bold" tabindex="35"></textarea></td>
      </font>
            </tr>
            <tr>
              <td width="514" colspan="3"><b>
              <font color="#800000" face="Arial" size="3">I would like to see
              the following people at the Alumni Reunion:</font></b></td>
            </tr>
            <tr>
              <td width="144">&#160;</td>
              <td width="370" colspan="2">
          <font face="Arial" size="2">
              <textarea rows="5" name="PeopleIWantToSee" cols="38" style="color: #800000; font-family: Arial; font-size: 10pt; font-weight: bold" tabindex="36"></textarea></font></td>
            </tr>
            <tr>
              <td width="518" colspan="3">&#160;</td>
            </tr>
            <tr>
              <td width="518" colspan="3"><font face="Arial">
              <b>
              <font face="Arial" color="#800000" size="3">Credit Card
              Information</font></b></font><font face="Arial" size="2">
          </font>
              </td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">Credit
              Card Type</font></b></td>
              <td width="188">
              <font face="Arial">
              <select size="1" name="ssl_credit_card_type" tabindex="38">
              <option>American Express</option>
              <option>Discover</option>
              <option>Master Card</option>
              <option>Visa</option>
              </select></font><font face="Arial" size="2">
              <img height="11" src="images/required.gif" width="11" border="0" />&#160; </font>
              </td>
              <td width="182">
              <font face="Arial">
              <img alt="credit cards" src="../images/credit_cards.gif" border="0" width="170" height="25" /></font></td>
            </tr>
            <tr>
              <td width="144"><b><font face="Arial" size="2">Credit
              Card Number</font></b></td>
              <td width="370" colspan="2">
              <font face="Arial">
              <input type="text" name="CardNo" size="30" tabindex="39" /></font><font face="Arial" size="2">
              <img height="11" src="images/required.gif" width="11" border="0" /><b>
              </b> </font>
              <b><font face="Arial" size="1">(no
              spaces or dashes)</font></b></td>
            </tr>
            <tr>
              <td width="144">
              </font><p align="left"><font align="left" face="Arial" size="2"><b><font face="Arial" size="2">
              Expiration Date  </font><font face="Arial" size="1">
              (mmyy)</font></b></font></p><font face="Arial" size="2"></font></td><font face="Arial" size="2">
              <td width="370" colspan="2">
              <font face="Arial">
              <input type="text" name="ExpDate" size="4" tabindex="40" /></font><font face="Arial" size="2">
              <img height="11" src="images/required.gif" width="11" border="0" /></font></td>
            </font></tr><font face="Arial" size="2">
            <tr>
              <td width="144">&#160;</td>
              <td width="370" colspan="2">&#160;</td>
            </tr>
            </font></tbody><font face="Arial" size="2">
            </font></table><font face="Arial" size="2">
          </font></td><font face="Arial" size="2">
      </font>
        </tr>
      </tbody>
      </table>
      <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="89%" height="1">
        <tbody>
        <tr>
          <td width="100%" style="border-style: none; border-width: medium" height="15"></td>
          <td width="1%" style="border-style: none; border-width: medium" height="15"></td>
        </tr>
        <tr>
          <td width="100%" style="border-style: none; border-width: medium" colspan="2" height="14">
      <p align="center"><b>
      <font size="2" face="Arial">
      Please confirm that all information above is correct,
      then click the button below.</font></b></p></td>
        </tr>
        <tr>
          <td width="100%" style="border-style: none; border-width: medium" height="15"></td>
          <td width="1%" style="border-style: none; border-width: medium" height="15"></td>
        </tr>
        <tr>
          <td width="100%" style="border-style: none; border-width: medium" height="34">
        <p align="center">&#160;<script src="https://seal.verisign.com/getseal?host_name=Amigos" de="" las="" Américas&size="S&amp;use_flash=NO&amp;use_transparent=NO"></script><input type="submit" value="Submit" name="Submit" style="color: #800000; font-family: Arial; font-size: 10pt; font-weight: bold" />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
        <input type="reset" value="Reset" name="Reset" style="color: #800000; font-family: Arial; font-size: 10pt; font-weight: bold" /></p></td>
        </tr>
        </tbody>
        </table>
      </form>
      
      
      
      <!-- end content -->
      </td>
      <td width="116" height="1069">&#160;</td>
      </tr>
      </tbody>
      </table>      
      <!-- end content area -->
</td>
</tr>

<tr>
<td valign="bottom" background="images/navback.gif" height="1">&#160;</td>
</tr>

</tbody>

</table>
<!-- end body table -->
</body>
</html>
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 15

Accepted Solution

by:
Timbo87 earned 500 total points
ID: 9889922
The actual reason is not because the numbers are out of bounds, it's because the function is trying to perform math on a number that contains commas. Hence, it's not a number (NaN). My code fix removes all commas before performing the math, then adds them in to the final product.
0
 

Author Comment

by:JacqueFuller
ID: 9889988
That did it!  Thanks a million, you saved my life.  A newsletter is going out this weekend announcing this event and telling people to go to our website for details and registration!  Whew!
Jacque
0
 
LVL 15

Expert Comment

by:Timbo87
ID: 9889999
Glad it worked. Please click Accept Answer on the top right of my post with the code.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now