?
Solved

Slightly faulty script

Posted on 2000-01-28
13
Medium Priority
?
298 Views
Last Modified: 2008-03-06
Hello,

Below is a rather large html document that has a dicky script. The second table gives total values of fl. 1.00 only, regardless of price entered into the script. The third table does not give any total altogether. Do you know what I've neglected to do in the script?

Thanks for your help

B

The page in question:

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

<HTML>
<HEAD>
<TITLE>Pauske Party Service. Catering via Internet!</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="nb.css">
<SCRIPT LANGUAGE="JavaScript"><!-- // this will be used by NS3 IE3
function dls(text) {
   window.status=text;
   return true;
}
function drs(text) {
   window.status=text;
   return true;
}
function nd() {
   window.status='';
   return true;
}

if (document.images) {

  image0on = new Image();
  image0on.src = "home_on.gif";
 
  image1on = new Image();
  image1on.src = "barbq_on.gif";
 
  image11on = new Image();
  image11on.src = "schot_on.gif";
 
  image12on = new Image();
  image12on.src = "diner_on.gif";

  image13on = new Image();
  image13on.src = "lev_on.gif";

  image2on = new Image();
  image2on.src = "hap_on.gif";
 
  image3on = new Image();
  image3on.src = "buf_on.gif";

  image4on = new Image();
  image4on.src = "kof_on.gif";

  image5on = new Image();
  image5on.src = "bufit_on.gif";

  image6on = new Image();
  image6on.src = "mat_on.gif";

  image7on = new Image();
  image7on.src = "bufas_on.gif";
 
  image8on = new Image();
  image8on.src = "glas_on.gif";
 
  image9on = new Image();
  image9on.src = "bezorg_on.gif";
 
  image10on = new Image();
  image10on.src = "mail_on.gif";

  image14on = new Image();
  image14on.src = "book_on.gif";

  image0off = new Image();
  image0off.src = "home_off.gif";

  image1off = new Image();
  image1off.src = "barbq_off.gif";
 
  image11off = new Image();
  image11off.src = "schot_off.gif";
 
  image12off = new Image();
  image12off.src = "diner_off.gif";
 
  image13off = new Image();
  image13off.src = "lev_off.gif";

  image2off = new Image();
  image2off.src = "hap_off.gif";
 
  image3off = new Image();
  image3off.src = "buf_off.gif";

  image4off = new Image();
  image4off.src = "kof_off.gif";

  image5off = new Image();
  image5off.src = "bufit_off.gif";

  image6off = new Image();
  image6off.src = "mat_off.gif";

  image7off = new Image();
  image7off.src = "bufas_off.gif";
 
  image8off = new Image();
  image8off.src = "glas_off.gif";
 
  image9off = new Image();
  image9off.src = "bezorg_off.gif";
 
  image10off = new Image();
  image10off.src = "mail_off.gif";

  image14off = new Image();
  image14off.src = "book_off.gif";


}

function changeImages() {
  if (document.images) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
    }
  }
}

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

Names:
subject_d contains how many per day
subject_w contains how many per week
subject contains calculated price and is read only
p_d_subject is the price per day variable
p_w_subject is the price per week variable

example:
input name=barkruk_d
input name=barkruk_w
input name=barkruk

--------------------------------------------------------*/
// Variables to be changed by webmaster:
var BTW = 0.06;

var p_d_bart85    = 20.00;
var p_w_bart85    = 30.00;

var p_d_barkruk   = 3.50;
var p_w_barkruk   = 5.00;

var p_d_rondtaf85   = 8.00;
var p_w_rondtaf85   = 12.00;

var p_d_rondtaf120   = 8.00;
var p_w_rondtaf120   = 12.00;

var p_d_rechttaf   = 8.00;
var p_w_rechttaf   = 12.00;

var p_d_terstoel   = 3.00;
var p_w_terstoel   = 4.50;


var p_d_bis_stoel   = 3.00;
var p_w_bis_stoel   = 4.50;

var p_d_rot_stoel   = 4.00;
var p_w_rot_stoel   = 6.00;


var p_d_stofst   = 5.00;
var p_w_stofst   = 7.50;


var p_d_rotsch   = 10.00;
var p_w_rotsch   = 15.00;


var p_d_garderek   = 15.00;
var p_w_garderek   = 22.50;


var p_d_buftaf   = 15.00;
var p_w_buftaf   = 22.50;

var p_d_pkraam   = 35.00;
var p_w_pkraam   = 50.00;

var p_d_lant   = 20.00;
var p_w_lant   = 30.00;

var p_d_tap   = 50.00;
var p_w_tap   = 75.00;

var p_d_kl_tap   = 75.00;
var p_w_kl_tap   = 110.00;

var p_d_gr_tap   = 160.00;
var p_w_gr_tap   = 225.00;






var p_tafg160     = 4.50;
var p_tafg130     = 4.50;
var p_tafw130     = 4.50;
var p_servwg      = 1.50;
var p_rokbar      = 4.50;
var p_nap         = 2.50;
var p_rokbuf      = 4.50;
var p_linbuf      = 6.00;







var p_d_koffiezet = 15.00;
var p_w_koffiezet = 22.50;

var p_d_kofcont   = 10.00;
var p_w_kofcont   = 15.00;

var p_d_chaf   = 17.50;
var p_w_chaf   = 25.00;

var p_d_pas   = 3.00;
var p_w_pas   = 25.00;

var p_d_inz   = 2.50;
var p_w_inz   = 3.75;


var subTotal    = 0; // one subtotal to show
var subTotal1   = 0; // consisting of one for furniture
var subTotal2   = 0; // one for linnen
var subTotal3   = 0; // and one for diversen

function Totals1(form) {
if (form.bart85_d.value != '' && form.bart85_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.bart85_d.focus();
   return;
}
if (form.bart85_d.value !='') {
   form.bart85.value = round( parseInt('0'+form.bart85_d.value,10)*p_d_bart85,2);
}
else if (form.bart85_w.value != '') {
   form.bart85.value = round( parseInt('0'+form.bart85_w.value,10)*p_w_bart85,2);
}

if (form.barkruk_d.value != '' && form.barkruk_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.barkruk_d.focus();
   return;
}
if (form.barkruk_d.value !='') {
   form.barkruk.value = round( parseInt('0'+form.barkruk_d.value,10)*p_d_barkruk,2);
}
else if (form.barkruk_w.value != '') {
   form.barkruk.value = round( parseInt('0'+form.barkruk_w.value,10)*p_w_barkruk,2);
}


if (form.rondtaf85_d.value != '' && form.rondtaf85_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.rondtaf85_d.focus();
   return;
}
if (form.rondtaf85_d.value !='') {
   form.rondtaf85.value = round( parseInt('0'+form.rondtaf85_d.value,10)*p_d_rondtaf85,2);
}
else if (form.rondtaf85_w.value != '') {
   form.rondtaf85.value = round( parseInt('0'+form.rondtaf85_w.value,10)*p_w_rondtaf85,2);
}


if (form.rondtaf120_d.value != '' && form.rondtaf120_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.rondtaf120_d.focus();
   return;
}
if (form.rondtaf120_d.value !='') {
   form.rondtaf120.value = round( parseInt('0'+form.rondtaf120_d.value,10)*p_d_rondtaf120,2);
}
else if (form.rondtaf120_w.value != '') {
   form.rondtaf120.value = round( parseInt('0'+form.rondtaf120_w.value,10)*p_w_rondtaf120,2);
}


if (form.rechttaf_d.value != '' && form.rechttaf_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.rechttaf_d.focus();
   return;
}
if (form.rechttaf_d.value !='') {
   form.rechttaf.value = round( parseInt('0'+form.rechttaf_d.value,10)*p_d_rechttaf,2);
}
else if (form.rechttaf_w.value != '') {
   form.rechttaf.value = round( parseInt('0'+form.rechttaf_w.value,10)*p_w_rechttaf,2);
}


if (form.terstoel_d.value != '' && form.terstoel_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.terstoel_d.focus();
   return;
}
if (form.terstoel_d.value !='') {
   form.terstoel.value = round( parseInt('0'+form.terstoel_d.value,10)*p_d_terstoel,2);
}
else if (form.terstoel_w.value != '') {
   form.terstoel.value = round( parseInt('0'+form.terstoel_w.value,10)*p_w_terstoel,2);
}


if (form.bis_stoel_d.value != '' && form.bis_stoel_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.bis_stoel_d.focus();
   return;
}
if (form.bis_stoel_d.value !='') {
   form.bis_stoel.value = round( parseInt('0'+form.bis_stoel_d.value,10)*p_d_bis_stoel,2);
}
else if (form.bis_stoel_w.value != '') {
   form.bis_stoel.value = round( parseInt('0'+form.bis_stoel_w.value,10)*p_w_bis_stoel,2);
}

if (form.rot_stoel_d.value != '' && form.rot_stoel_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.rot_stoel_d.focus();
   return;
}
if (form.rot_stoel_d.value !='') {
   form.rot_stoel.value = round( parseInt('0'+form.rot_stoel_d.value,10)*p_d_rot_stoel,2);
}
else if (form.rot_stoel_w.value != '') {
   form.rot_stoel.value = round( parseInt('0'+form.rot_stoel_w.value,10)*p_w_rot_stoel,2);
}


if (form.stofst_d.value != '' && form.stofst_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.stofst_d.focus();
   return;
}
if (form.stofst_d.value !='') {
   form.stofst.value = round( parseInt('0'+form.stofst_d.value,10)*p_d_stofst,2);
}
else if (form.stofst_w.value != '') {
   form.stofst.value = round( parseInt('0'+form.stofst_w.value,10)*p_w_stofst,2);
}

if (form.rotsch_d.value != '' && form.rotsch_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.rotsch_d.focus();
   return;
}
if (form.rotsch_d.value !='') {
   form.rotsch.value = round( parseInt('0'+form.rotsch_d.value,10)*p_d_rotsch,2);
}
else if (form.rotsch_w.value != '') {
   form.rotsch.value = round( parseInt('0'+form.rotsch_w.value,10)*p_w_rotsch,2);
}


if (form.garderek_d.value != '' && form.garderek_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.garderek_d.focus();
   return;
}
if (form.garderek_d.value !='') {
   form.garderek.value = round( parseInt('0'+form.garderek_d.value,10)*p_d_garderek,2);
}
else if (form.garderek_w.value != '') {
   form.garderek.value = round( parseInt('0'+form.garderek_w.value,10)*p_w_garderek,2);
}


if (form.buftaf_d.value != '' && form.buftaf_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.buftaf_d.focus();
   return;
}
if (form.buftaf_d.value !='') {
   form.buftaf.value = round( parseInt('0'+form.buftaf_d.value,10)*p_d_buftaf,2);
}
else if (form.buftaf_w.value != '') {
   form.buftaf.value = round( parseInt('0'+form.buftaf_w.value,10)*p_w_buftaf,2);
}

if (form.pkraam_d.value != '' && form.pkraam_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.pkraam_d.focus();
   return;
}
if (form.pkraam_d.value !='') {
   form.pkraam.value = round( parseInt('0'+form.pkraam_d.value,10)*p_d_pkraam,2);
}
else if (form.pkraam_w.value != '') {
   form.pkraam.value = round( parseInt('0'+form.pkraam_w.value,10)*p_w_pkraam,2);
}

if (form.lant_d.value != '' && form.lant_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.lant_d.focus();
   return;
}
if (form.lant_d.value !='') {
   form.lant.value = round( parseInt('0'+form.lant_d.value,10)*p_d_lant,2);
}
else if (form.lant_w.value != '') {
   form.lant.value = round( parseInt('0'+form.lant_w.value,10)*p_w_lant,2);
}



if (form.tap_d.value != '' && form.tap_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.tap_d.focus();
   return;
}
if (form.tap_d.value !='') {
   form.tap.value = round( parseInt('0'+form.tap_d.value,10)*p_d_tap,2);
}
else if (form.tap_w.value != '') {
   form.tap.value = round( parseInt('0'+form.tap_w.value,10)*p_w_tap,2);
}


if (form.kl_tap_d.value != '' && form.kl_tap_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.kl_tap_d.focus();
   return;
}
if (form.kl_tap_d.value !='') {
   form.kl_tap.value = round( parseInt('0'+form.kl_tap_d.value,10)*p_d_kl_tap,2);
}
else if (form.kl_tap_w.value != '') {
   form.kl_tap.value = round( parseInt('0'+form.kl_tap_w.value,10)*p_w_kl_tap,2);
}

if (form.gr_tap_d.value != '' && form.gr_tap_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.gr_tap_d.focus();
   return;
}
if (form.gr_tap_d.value !='') {
   form.gr_tap.value = round( parseInt('0'+form.gr_tap_d.value,10)*p_d_gr_tap,2);
}
else if (form.gr_tap_w.value != '') {
   form.gr_tap.value = round( parseInt('0'+form.gr_tap_w.value,10)*p_w_gr_tap,2);
}









subTotal1 = round(
  parseFloat('0'+form.bart85.value)
+ parseFloat('0'+form.barkruk.value)
+ parseFloat('0'+form.rondtaf85.value)
+ parseFloat('0'+form.rondtaf120.value)
+ parseFloat('0'+form.rechttaf.value)
+ parseFloat('0'+form.terstoel.value)
+ parseFloat('0'+form.bis_stoel.value)
+ parseFloat('0'+form.rot_stoel.value)
+ parseFloat('0'+form.stofst.value)
+ parseFloat('0'+form.rotsch.value)
+ parseFloat('0'+form.garderek.value)
+ parseFloat('0'+form.buftaf.value)
+ parseFloat('0'+form.pkraam.value)
+ parseFloat('0'+form.lant.value)
+ parseFloat('0'+form.tap.value)
+ parseFloat('0'+form.kl_tap.value)
+ parseFloat('0'+form.gr_tap.value)
);
Totals(form);
} // end of totals1












function Totals2(form) {
form.taflin_zg_160.value = round( parseInt('0'+form.tafg160.value,10)*p_tafg160,2);
form.taflin_zg_130.value = round( parseInt('0'+form.tafg130.value,10)*p_tafg130,2);
form.taflin_w_130.value = round( parseInt('0'+form.tafw130.value,10)*p_tafw130,2);
form.serv_wzg.value = round( parseInt('0'+form.servwg.value,10)*p_servwg,2);
form.rokbar_bordx_bl.value = round( parseInt('0'+form.rokbar.value,10)*p_rokbar,2);
form.nap_beig_borx.value = round( parseInt('0'+form.nap.value,10)*p_nap,2);
form.rok_buffet.value = round( parseInt('0'+form.rokbuf.value,10)*p_rokbuf,2);
form.lin_buffet.value = round( parseInt('0'+form.linbuf.value,10)*p_linbuf,2);


subTotal1 = round(
  parseFloat('0'+form.tafg160.value)
+ parseFloat('0'+form.tafg130.value)
+ parseFloat('0'+form.tafw130.value)
+ parseFloat('0'+form.servwg.value)
+ parseFloat('0'+form.rokbar.value)
+ parseFloat('0'+form.nap.value)
+ parseFloat('0'+form.rokbuf.value)
+ parseFloat('0'+form.linbuf.value)

);
Totals(form);
} // end of totals2

function Totals3(form) {
if (form.koffiezet_d.value != '' && form.koffiezet_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.koffiezet_d.focus();
   return;
}
if (form.koffiezet_d.value !='') {
   form.koffiezet.value = round( parseInt('0'+form.koffiezet_d.value,10)*p_d_koffiezet,2);
}
else if (form.koffiezet_w.value != '') {
   form.koffiezet.value = round( parseInt('0'+form.koffiezet_w.value,10)*p_w_koffiezet,2);
}


if (form.kofcont_d.value != '' && form.kofcont_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.kofcont_d.focus();
   return;
}
if (form.kofcont_d.value !='') {
   form.kofcont.value = round( parseInt('0'+form.kofcont_d.value,10)*p_d_kofcont,2);
}
else if (form.kofcont_w.value != '') {
   form.kofcont.value = round( parseInt('0'+form.kofcont_w.value,10)*p_w_kofcont,2);
}
if (form.kofcont_d.value != '' && form.kofcont_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.kofcont_d.focus();
   return;
}



if (form.chaf_d.value !='') {
   form.chaf.value = round( parseInt('0'+form.chaf_d.value,10)*p_d_chaf,2);
}
else if (form.chaf_w.value != '') {
   form.chaf.value = round( parseInt('0'+form.chaf_w.value,10)*p_w_chaf,2);
}





if (form.pas_d.value != '' && form.pas_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.pas_d.focus();
   return;
}
if (form.pas_d.value !='') {
   form.pas.value = round( parseInt('0'+form.pas_d.value,10)*p_d_pas,2);
}
else if (form.pas_w.value != '') {
   form.pas.value = round( parseInt('0'+form.pas_w.value,10)*p_w_pas,2);
}


if (form.inz_d.value != '' && form.inz_w.value != '') { // Not ok to fill in both???
   alert('Of Dagelijks Of weekelijks');
   form.inz_d.focus();
   return;
}
if (form.inz_d.value !='') {
   form.inzet.value = round( parseInt('0'+form.inz_d.value,10)*p_d_inz,2);
}
else if (form.inz_w.value != '') {
   form.inz.value = round( parseInt('0'+form.inz_w.value,10)*p_w_inz,2);
}















subTotal1 = round(
  parseFloat('0'+form.bart85.value)
+ parseFloat('0'+form.barkruk.value)
+ parseFloat('0'+form.rondtaf85.value)
);
Totals(form);
} // end of totals1


function round(number,X) {
   X = (!X ? 2 : X);
   rc = ''+(Math.round(number*Math.pow(10,X))/Math.pow(10,X));
   if ( rc.indexOf(".") == -1 ) rc += '.00';
   else if ( rc.indexOf(".") == rc.length-2 ) rc += '0';
   if (rc.indexOf(".") == 0) rc = ''+0+rc
   return(rc);
}

function TotalsAll() { // one line per "subForm"
   Totals1(document.forms[0]);
   Totals2(document.forms[0]);
   Totals3(document.forms[0]);
}
function Totals(form) { // one line per "subForm"
   subTotal = parseFloat(subTotal1)
             +parseFloat(subTotal2)
             +parseFloat(subTotal3);
   form.subtotaal.value = round(subTotal);
   form.btw.value       = round( parseFloat('0'+form.subtotaal.value) * BTW );
   form.totaal.value    = round( parseFloat('0'+form.subtotaal.value) + parseFloat('0'+form.btw.value) );
   return true;
}


// --></SCRIPT>
</HEAD>
<BODY TOPMARGIN="0" LEFTMARGIN="0" BGPROPERTIES="FIXED" BACKGROUND="bg2.jpg">
<DIV ID="overDiv" STYLE="position:absolute; visibility:hide;"></DIV>
<SCRIPT LANGUAGE="JavaScript">
<!--
if (document.all || document.layers){
  document.write('<SCRIPT LANGUAGE="JavaScript1.2" SRC="overlib.js"></script>')
}
// -->
</SCRIPT>

<TABLE WIDTH="97%" BORDER="1"><TR><Td><TABLE ALIGN="LEFT" BORDER="1"><TR><Th><A HREF="index.html"><IMG VSPACE="7" SRC="toplogo.gif" WIDTH=100 HEIGHT=49 BORDER=0 ALT="Voor mensen met smaak!"></A></Th><TD ROWSPAN="10">&nbsp;</TD></TR><TR><TD>
<A HREF="start.html" onMouseOver="changeImages('image0', 'image0on')" onMouseOut="changeImages('image0', 'image0off'); return false"><img name="image0" src="home_off.gif" alt="Home" width=123 height=26 border=0></a><BR>
<A HREF="hap.html" onMouseOver="changeImages('image2', 'image2on')" onMouseOut="changeImages('image2', 'image2off'); return false"><img name="image2" src="hap_off.gif" alt="Hapjes" width=123 height=26 border=0></a><BR>
<A HREF="buffet.html" onMouseOver="changeImages('image3', 'image3on')" onMouseOut="changeImages('image3', 'image3off'); return false"><img src="buf_off.gif" name="image3" alt="Buffet zelf samenstellen" width=61 height=26 border=0></a><A HREF="schotel.html" onMouseOver="changeImages('image11', 'image11on')" onMouseOut="changeImages('image11', 'image11off'); return false"><img name="image11" src="schot_off.gif" alt="Schotel zelf samenstellen" width=62 height=26 border=0></a><BR>
<A HREF="buf_it.html" onMouseOver="changeImages('image5', 'image5on')" onMouseOut="changeImages('image5', 'image5off'); return false"><img name="image5" src="bufit_off.gif" alt="Buffet Italia" width=123 height=26 border=0></a><BR>
<A HREF="buf_as.html" onMouseOver="changeImages('image7', 'image7on')" onMouseOut="changeImages('image7', 'image7off'); return false"><img name="image7" src="bufas_off.gif" alt="Buffet Asia" width=123 height=26 border=0></a><BR>
<A HREF="kof_brun.html" onMouseOver="changeImages('image4', 'image4on')" onMouseOut="changeImages('image4', 'image4off'); return false"><img name="image4" src="kof_off.gif" alt="Koffietafel of Brunchbuffet" width=123 height=26 border=0></a><BR>
<A HREF="barb.html" onMouseOver="changeImages('image1', 'image1on')" onMouseOut="changeImages('image1', 'image1off'); return false"><img name="image1" src="barbq_off.gif" alt="Barbecue" width=61 height=26 border=0></a><A HREF="dinner.html" onMouseOver="changeImages('image12', 'image12on')" onMouseOut="changeImages('image12', 'image12off'); return false"><img name="image12" src="diner_off.gif" alt="Diner aan huis" width=62 height=26 border=0></a><BR>
<img src="mat_on.gif" alt="U bevindt zich hier" width=123 height=26 border=0><BR>
<A HREF="glas_serv.html" onMouseOver="changeImages('image8', 'image8on')" onMouseOut="changeImages('image8', 'image8off'); return false"><img name="image8" src="glas_off.gif" alt="Glaswerk/Servies" width=123 height=26 border=0></a><BR>
<A HREF="bezorg.html" onMouseOver="changeImages('image9', 'image9on')" onMouseOut="changeImages('image9', 'image9off'); return false"><img name="image9" src="bezorg_off.gif" alt="" width=123 height=26 border=0></a><BR>
<A HREF="lev.html" onMouseOver="changeImages('image13', 'image13on')" onMouseOut="changeImages('image13', 'image13off'); return false"><img name="image13" src="lev_off.gif" alt="Leveringsvoorwaarden" width=123 height=26 border=0></a><BR>
<a href="mailto:pauske@tref.nl" onMouseOver="changeImages('image10', 'image10on')" onMouseOut="changeImages('image10', 'image10off'); return false"><img name="image10" src="mail_off.gif" alt="Bezorging" width=123 height=26 border=0></a><BR>
<A HREF="javascript:;" onMouseOver="changeImages('image14', 'image14on')" onMouseOut="changeImages('image14', 'image14off'); return false">
<SCRIPT LANGUAGE="JavaScript"><!-- //
if (document.all) {
   var Text = "";
   Text += "<SPAN STYLE='color:#005e00;cursor:hand;text-decoration: none;'";
   Text += " onclick='window.external.AddFavorite(location.href,document.title);'>";
   Text += "<IMG name=\"image14\" SRC=\"book_off.gif\" WIDTH=123 HEIGHT=26 BORDER=0 ALT=\"Bookmark deze pagina\"></SPAN>";
   document.write(Text);
}
// --></SCRIPT></a></Td></TR></TABLE><BR>
<IMG SRC="mater.gif" WIDTH=185 HEIGHT=29 VSPACE=5 BORDER=0 ALT="">


<BR><BR>
<FONT STYLE="font-size: 12pt" COLOR="#000080"><B>
Al deze materialen kunt u huren voor een dag of weekend, u dient alle materialen schoon in te leveren. Met uitzondering van het linnen, dit laten wij wassen in eigen wasserij. Eventuele breuk, manco's en schoonmaakkosten worden achteraf berekend. Wij kunnen de materialen ook bezorgen en ophalen. De kosten vindt u in het onderdeel <I>Bezorging</I>. Wilt u dat wij de materialen opbouwen en uitzetten dan berekenen wij de installatiekosten.

<BR><BR>Zie onderstaand bestelformulier voor een bestelling.</B></FONT><BR><BR>

<BR><BR><BR><BR><BR><BR>
<A NAME="mat"></A>
<DIV ALIGN="CENTER">
<BIG><B><FONT COLOR="#800000">Bestelformulier Materialen</FONT></B></BIG>

<TABLE WIDTH="450" BORDER="0"><TR><TD><B><FONT COLOR="#000080"><DIV STYLE="font-size: 12pt; text-align: justify">Vul het aantal gewenste items in en klik op 'Totaal' voor het eindbedrag. Om het formulier te mailen, klikt u op 'Verzenden'. Uw aanvraag zal onmiddellijk in behandeling worden genomen.<BR>(Klik <A HREF="fax_mat.html" onMouseOver="return drs('Prefereert u een bestelling te plaatsen per fax, dan kunt u het formulier op deze pagina handmatig invullen en ons toefaxen....'); return true;" onMouseOut="nd(); return true;">hier</A> om dit formulier uit te printen).</DIV></FONT></B></TD></TR></TABLE>

</DIV>
</TD></TR></TABLE>

<DIV ALIGN="CENTER">
<FORM name="myform" method=post action="http://www.pauske.nl/cgi-bin/twomail.cgi" onSubmit='return(Totals(this))'>
<input type=hidden name=template value="/forms/bestel_mater.txt">
<input type=hidden name=template2 value="/forms/bestel_mater_auto.txt">
<input type=hidden name=send VALUE="http://www.pauske.nl/bestel_dank.html">  



<TABLE BGCOLOR="#eed8d5" CELLSPACING="0" CELLPADDING="0" BORDER="1"><TR><TD><TABLE RULES="COLS" BORDER="0"><TR><TD><B><FONT COLOR="#800040">MEUBILAIR:</FONT></B></TD><TD><B><FONT COLOR="#800040">Per dag</FONT></B>&nbsp;&nbsp;</TD><Th><FONT COLOR="#800040">Aantal</FONT>&nbsp;</Th><Th><FONT COLOR="#800040">Per wk.</FONT></Th><Th><FONT COLOR="#800040">Aantal</FONT>&nbsp;</Th>
<TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B><FONT COLOR="#800040">Prijs</FONT></B>&nbsp;&nbsp;</TD></TR>

<TR><TD COLSPAN="7"><hr></TD></TR>

<TR><TD>Bartafels 85 cm <IMG SRC="mu.gif" WIDTH=11 HEIGHT=12 BORDER=0 ALT="">

 (stahoogte)</TD><TD>NFL&nbsp;&nbsp;20,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="bart85_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;30,00&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="bart85_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="bart85" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

<TR><TD>Barkruk</TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;3,50&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="barkruk_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;5,00&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="barkruk_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="barkruk" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>
 
<TR><TD>Ronde tafels 85 cm <IMG SRC="mu.gif" WIDTH=11 HEIGHT=12 BORDER=0 ALT="">

</TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;8,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="rondtaf85_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;12,00&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="rondtaf85_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="rondtaf85" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>
 
<TR><TD>Ronde tafels 120 cm <IMG SRC="mu.gif" WIDTH=11 HEIGHT=12 BORDER=0 ALT="">

</TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;8,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="rondtaf120_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;12,00&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="rondtaf120_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="rondtaf120" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>



<TR><TD>Rechthoekige tafels 120x80 cm</TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;8,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="rechttaf_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;12,00&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="rechttaf_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="rechttaf" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>


<TR><TD>Terrasstoelen armlegger en kussentje</TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;3,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="terstoel_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;4,50&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="terstoel_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="terstoel" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

<TR><TD>Bistrostoelen (wit of zwart)<SUP>*</SUP></TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;3,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="bis_stoel_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;4,50&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="bis_stoel_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="bis_stoel" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>





<TR><TD>Rotanstoelen evt. met kussentje<SUP>*</SUP></TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;4,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="rot_stoel_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;6,00&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="rot_stoel_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="rot_stoel" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

<TR><TD>Gestoffeerde stalen stoelen</TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;5,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="stofst_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;7,50&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="stofst_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="stofst" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>
 
<TR><TD>Rotan schermen</TD><TD>NFL&nbsp;&nbsp;10,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="rotsch_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;15,00&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="rotsch_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="rotsch" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

<TR><TD>Garderoberek met hangertjes</TD><TD>NFL&nbsp;&nbsp;15,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="garderek_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;22,22&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="garderek_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="garderek" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>


<TR><TD>Buffettafels 200x80 cm</TD><TD>NFL&nbsp;&nbsp;15,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="buftaf_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;22,50&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="buftaf_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="buftaf" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

<TR><TD>Party-kraam (blad 200x80 cm)</TD><TD>NFL&nbsp;&nbsp;35,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="pkraam_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;50,00&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="pkraam_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="pkraam" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>





<TR><TD>Franse tuinlantaarns (4 bollen)</TD><TD>NFL&nbsp;&nbsp;20,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="lant_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;30,00&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="lant_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="lant" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

<TR><TD>Biertapinstallatie met koolzuur</TD><TD>NFL&nbsp;&nbsp;50,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="tap_d" onChange="Totals1(this.form)"></TD><TD>NFL&nbsp;&nbsp;75,00&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="tap_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="tap" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>
 
<TR><TD>Kleine bar/tap en spoelbak en glaswerk</TD><TD>NFL&nbsp;&nbsp;75,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="kl_tap_d" onChange="Totals1(this.form)"></TD><TD>NFL 110,00&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="kl_tap_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="kl_tap" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

<TR><TD>Grote bar/tap en spoelbak en glaswerk&nbsp;&nbsp;</TD><TD>NFL 160,00&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="gr_tap_d" onChange="Totals1(this.form)"></TD><TD>NFL 225,00&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="gr_tap_w" onChange="Totals1(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="gr_tap" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>





</TABLE>

</TD></TR></TABLE>

<BR>

<TABLE BGCOLOR="#eed8d5" CELLSPACING="0" CELLPADDING="0" BORDER="1"><TR><TD><TABLE BORDER="0"><TR><TD><B><FONT COLOR="#800040">LINNEN:</FONT></B></TD><TD><B><FONT COLOR="#800040">Per keer</FONT></B>&nbsp;&nbsp;</TD><Th><FONT COLOR="#800040">Aantal</FONT>&nbsp;</Th>
<TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B><FONT COLOR="#800040">Prijs</FONT></B>&nbsp;&nbsp;</TD></TR>

<TR><TD COLSPAN="5"><hr></TD></TR>

<TR><TD>Tafel linnen, zacht geel, 160x160 cm</TD><TD>NFL&nbsp;&nbsp;4,50&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="tafg160" onChange="Totals2(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="taflin_zg_160" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

<TR><TD>Tafel linnen, zacht geel, 130x190 cm</TD><TD>NFL&nbsp;&nbsp;4,50&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="tafg130" onChange="Totals2(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="taflin_zg_130" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>
 
<TR><TD>Tafel linnen, wit, 130x190 cm</TD><TD>NFL&nbsp;&nbsp;4,50&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="tafw130" onChange="Totals2(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="taflin_w_130" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

<TR><TD>Servetten linnen, wit of zacht geel</TD><TD>NFL&nbsp;&nbsp;1,50&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="servwg" onChange="Totals2(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="serv_wzg" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>


<TR><TD>Rokken voor bartafels Bordeaux of blauw&nbsp;&nbsp;</TD><TD>NFL&nbsp;&nbsp;4,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="rokbar" onChange="Totals2(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="rokbar_bordx_bl" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>



<TR><TD>Napperons beige of Bordeaux</TD><TD>NFL&nbsp;&nbsp;2,50&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="nap" onChange="Totals2(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="nap_beig_borx" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>


<TR><TD>Rokken voor bufettafels (per 2 stuks)</TD><TD>NFL&nbsp;&nbsp;4,50&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="rokbuf" onChange="Totals2(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="rok_buffet" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>


<TR><TD>Linnen voor buffettafels (per 2 stuks)</TD><TD>NFL&nbsp;&nbsp;6,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="linbuf" onChange="Totals2(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="lin_buffet" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>


</TABLE>

</TD></TR></TABLE>

<BR>



<TABLE BGCOLOR="#eed8d5" CELLSPACING="0" CELLPADDING="0" BORDER="1"><TR><TD><TABLE BORDER="0"><TR><TD><B><FONT COLOR="#800040">DIVERSEN:</FONT></B></TD><TD><B><FONT COLOR="#800040">Per dag</FONT></B>&nbsp;&nbsp;</TD><Th><FONT COLOR="#800040">Aantal</FONT>&nbsp;</Th><Th><FONT COLOR="#800040">Per wk.</FONT></Th><Th><FONT COLOR="#800040">Aantal</FONT>&nbsp;</Th>
<TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B><FONT COLOR="#800040">Prijs</FONT></B>&nbsp;&nbsp;</TD></TR>

<TR><TD COLSPAN="7"><hr></TD></TR>

<TR><TD>Koffiezetapparaat (14 kops)) en filters</TD><TD>NFL&nbsp;&nbsp;15,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="koffiezet_d" onChange="Totals3(this.form)"></TD><TD>NFL&nbsp;&nbsp;22,50&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="koffiezet_w" onChange="Totals3(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="koffiezet" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

<TR><TD>Koffiecontainer (40 kops)</TD><TD>NFL&nbsp;&nbsp;10,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="kofcont_d" onChange="Totals3(this.form)"></TD><TD>NFL&nbsp;&nbsp;15,00&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="kofcont_w" onChange="Totals3(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="kofcont" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

<TR><TD>Chafing-dish met 1 blik pasta</TD><TD>NFL&nbsp;&nbsp;17,50&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="chaf_d" onChange="Totals3(this.form)"></TD><TD>NFL&nbsp;&nbsp;25,00&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="chaf_w" onChange="Totals3(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="chaf" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>
 
<TR><TD>Extra brandpasta per blikje</TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;3,00&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="pas_d" onChange="Totals3(this.form)"></TD><TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="pas_w" onChange="Totals3(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="pas" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

<TR><TD>Inzetbakken 1/3 of 1/2 gastronorm</TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;2,50&nbsp;&nbsp;x</TD>
<TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="inz_d" onChange="Totals3(this.form)"></TD><TD>NFL&nbsp;&nbsp;&nbsp;&nbsp;3,75&nbsp;&nbsp;x</TD><TD><INPUT SIZE="4" MAXLENGTH="4" TYPE="Text" NAME="inz_w" onChange="Totals3(this.form)"></TD>
<TD>=&nbsp;NFL&nbsp;<INPUT NAME="inzet" VALUE="0.00" SIZE="10" MAXLENGTH="16" TYPE="Text" onFocus='this.blur()'></TD></TR>

</TABLE>

</TD></TR></TABLE>







<BR>


<TABLE BGCOLOR="#eed8d5" CELLPADDING="0" CELLSPACING="0" BORDER="1"><TR><TD><TABLE><TR><TD COLSPAN="3"><B>Subtotaal:</B></TD><TD>=&nbsp;&nbsp;NFL&nbsp;<INPUT onFocus='this.blur()' NAME="subtotaal" VALUE="0.00" SIZE="6"
MAXLENGTH="16" TYPE="Text"></TD></TR>

<TR><TD COLSPAN="3"><B>BTW 6%:</B></TD><TD>=&nbsp;&nbsp;NFL&nbsp;<INPUT onFocus='this.blur()' NAME="btw" VALUE="0.00" SIZE="6"
MAXLENGTH="16" TYPE="Text"></TD></TR>

<TR><TD>&nbsp;</TD><TD>&nbsp;</TD><TD><INPUT style="background: #c0c0c0;" type="button" value="Totaal"></TD><TD>=&nbsp;&nbsp;NFL&nbsp;<INPUT
NAME="totaal" VALUE="0.00" SIZE="6" MAXLENGTH="16" TYPE="Text"></TD></TR> </TABLE></TD></TR></TABLE>
<BR>



<TABLE BGCOLOR="#eed8d5" CELLSPACING="0" CELLPADDING="0" BORDER="1"><TR><TD><TABLE BORDER="0"><TR><TD><B>Uw Naam:</B></TD><TD COLSPAN="3"><INPUT SIZE="25" TYPE="Text" NAME="Naam_klant"></TD></TR>

<TR><TD><B>Uw Email:</B></TD><TD COLSPAN="3"><INPUT SIZE="25" TYPE="Text" NAME="Emailadres"></TD></TR>


<TR><TD><B>Uw Telefoonnr:</B></TD><TD COLSPAN="3"><INPUT SIZE="25" TYPE="Text" NAME="Telefoonnummer"></TD></TR>


<TR><TD><B>Partydatum:</B></TD><TD COLSPAN="3"><INPUT SIZE="25" TYPE="Text" NAME="Partydatum"></TD></TR>


<TR><TD VALIGN="TOP"><B>Evt. opmerkingen:<SUP>*</SUP></B></TD><TD COLSPAN="3">
<TEXTAREA NAME="opmerking" COLS="21" ROWS="3" WRAP="VIRTUAL"></TEXTAREA></TD></TR>







</TABLE></TD></TR></TABLE>


<BR><INPUT type="submit" style="background: #c0c0c0;" value="Verzenden">&nbsp;&nbsp;<INPUT type="reset" style="background: #c0c0c0;" value="Wissen">
</FORM> </DIV>


<BR><BR><BR><BR>




<DIV ALIGN="CENTER"><B><FONT COLOR="#800040">'t Pauske Party Service,<BR>Houtduifstraat 34,<BR>4901 BR Oosterhout,<BR>Tel: 0162 - 451 452,<BR>Fax: 0162 - 434 641,<BR><a href="mailto:pauske@tref.nl">Email: pauske@tref.nl</a></FONT></B></DIV>
<BR><BR><BR>
</BODY>

</HTML>



0
Comment
Question by:bendegraaf
  • 7
  • 5
13 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 1360 total points
ID: 2398016
You are using subTotal1 = round(

in more than one function

Michel
0
 
LVL 8

Expert Comment

by:jbirk
ID: 2398030
In totals2 you have this:
 subTotal1 = round(
 parseFloat('0'+form.tafg160.value)
 + parseFloat('0'+form.tafg130.value)
 + parseFloat('0'+form.tafw130.value)
 + parseFloat('0'+form.servwg.value)
 + parseFloat('0'+form.rokbar.value)
 + parseFloat('0'+form.nap.value)
 + parseFloat('0'+form.rokbuf.value)
 + parseFloat('0'+form.linbuf.value)
 );

It's using the wrong fields.  It should be:
 subTotal1 = round(
 parseFloat('0'+form.taflin_zg_160.value)
 + parseFloat('0'+form.taflin_zg_130.value)
 + parseFloat('0'+form.taflin_w_130.value)
 + parseFloat('0'+form.serv_wzg.value)
 + parseFloat('0'+form.rokbar_bordx_bl.value)
 + parseFloat('0'+form.nap_beig_borx.value)
 + parseFloat('0'+form.rok_buffet.value)
 + parseFloat('0'+form.lin_buffet.value)

 );

Looking into the third table problem...

-Josh
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 2398038
But that is not all.

I am looking now

Michel
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 2398050
Sorry JBirk-...

It is also the wrong variable. Should subTotals2 in Totals2 and subTotals3 in Totals3

I also see that clearing a field does not zero it.
Michel
0
 
LVL 8

Expert Comment

by:jbirk
ID: 2398052
The end of totals is wrong also.  It should be:
 subTotal1 = round(
 parseFloat('0'+form.koffiezet.value)
 + parseFloat('0'+form.kofcont.value)
 + parseFloat('0'+form.chaf.value)
 + parseFloat('0'+form.pas.value)
 + parseFloat('0'+form.inzet.value)
 );

-Josh
0
 
LVL 8

Expert Comment

by:jbirk
ID: 2398059
I meant the end of totals3 (left out the 3...)
-Josh
0
 
LVL 8

Expert Comment

by:jbirk
ID: 2398069
Yeah, changing the ends of totals2, and totals3 to be setting subTotal2 and subTotal2 will fix the problem of subtotalling all three tables together...  I also noticed some wrong numbers being multiplied in the tables...

-Josh
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 2398072
And it should be subTotal3 = round(
                     parseFloat('0'+form.koffiezet.

So who is doing this you or me??? ;-)

Michel
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 2398081
Emailing fixed page...

Michel
0
 

Author Comment

by:bendegraaf
ID: 2398194
Thanks Michel. You corrections did the trick.

That second mail you sent me.... do I still need to adjust the zipped version you sent me?

B
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 2399461
No. Only proofread that all form field in the table1 are used in the Totals1, all fields in table2 are in Totals2 and all fields in table3 are in totals3

Michel
0
 
LVL 8

Expert Comment

by:jbirk
ID: 2403863
Sorry Michel, I was already typing out the first message I sent when yours went through...  I just wanted to follow up on my corrections, so that's why I sent more messages...

-Josh
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 2412281
I am sorry, that you wasted your time...

Michel
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

601 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