<?php
?>
<html>
<head>
<title>COFETRANS</title>
<style type="text/css">
.style1 {
font-size: 12px;
font-weight: bold;}
.style2 {font-size: 12px}
.style5 {font-size: 14px; font-weight: bold; }
.style6 {color: #FF0000}
.style8 {color: #FF0000; font-size: 12px; }
body {
background-image: url(file:///C|/Documents%20and%20Settings/Jonathan%20/Mijn%20documenten/Mijn%20afbeeldingen/achtergrondcofep.jpg);
}
</style>
<script language="javascript" type="text/javascript">
<!--
//valideer de aantalvelden
function valideerAantal() {
if(event.keyCode < 48 || event.keyCode > 57) {
alert("Je mag enkel cijfers ingeven");
event.returnValue = false;
}
}
//bereken het totaal der aantallen
function berekenAantal(){
var temp;
var total = 0;
for(i=0;i<10;i++){
temp = parseInt(eval("document.form1.aantal"+i+".value"));
if(!isNaN(temp)){
total += temp;
}
}
document.form1.totaalAantal.value = total;
}
//doe enkele controles bij het submitten
function submitcontroles(){
//vergelijk het totaal aantal met het berekend totaal
var controleAantal = parseInt(document.form1.controleAantal.value);
var totaalAantal = parseInt(document.form1.totaalAantal.value);
if(controleAantal != totaalAantal){
alert("Aantal pakjes komt niet overeen met het berekend totaal!");
event.returnValue = false;
}
//controleer of in elke gebruikte rij het aantal, gewicht en het volume ingevuld is
var count = parseInt(document.form1.aantalRijen.value);
for(var i = 0; i < count; i++){
var tempaantal = eval("document.forms[0].aantal"+i+".value");
var tempgewicht = eval("document.forms[0].gewicht"+i+".value");
var tempvolume = parseFloat(eval("document.forms[0].volume"+i+".value"));
if((tempaantal == "") || (tempgewicht == "") || (tempvolume == -1)){
if(!((tempaantal == "") && (tempgewicht == "") && (tempvolume == -1))){
alert("Niet alles is ingevuld in rij "+(i+1));
event.returnValue = false;
}
}
}
if(document.form1.totaalGewicht.value > 1000) {
alert("Het totaal gewicht mag niet meer bedragen dan 1000kg.");
event.returnValue = false;
}
}
//valideer de gewichtvelden
function valideerGewicht(){
if((event.keyCode < 46) || (event.keyCode > 46 && event.keyCode < 48) || (event.keyCode > 57)) {
alert("Je mag enkel cijfers en een decimale punt ingeven");
event.returnValue = false;
}
}
//meer gewichtveld validatie
function controleerGewicht(naam){
var el = eval("document.form1."+naam);
var test = el.value;
if(test != ""){
//controleren als er een decimale punt in zit
if((x = test.indexOf(".")) != -1){
test1 = parseInt(test.substr(0,x));
test2 = parseInt(test.substr(x+1,test.length-x));
//controleer het gedeelte voor de punt
if((test1 >= 0) && (test1 < 250)){
//controleer het gedeelte na de punt
if((test2 >= 0) && (test2 < 10)){
berekenGewicht();
}
else{
alert("Gelieve maar 1 cijfer achter de komma op te geven!");
event.returnValue = false;
el.focus();
el.select();
}
}
else{
alert("Gelieve een waarde kleiner dan 100 op te geven voor de komma!");
event.returnValue = false;
el.focus();
el.select();
}
}
else{
//indien geen dec. punt, controleer dat gewicht < 100
tmp = parseInt(eval("test"));
if((tmp >= 0) && (tmp < 250)){
berekenGewicht();
}
else{
alert("Gelieve een waarde kleiner dan 250 op te geven!");
event.returnValue = false;
el.focus();
el.select();
}
}
}
}
//bereken het totaal der gewichten
function berekenGewicht(){
var temp;
var x;
var total = 0;
for(i=0;i<10;i++){
x = parseInt(eval("document.form1.aantal"+i+".value"));
temp = parseFloat(eval("document.form1.gewicht"+i+".value"));
if(!isNaN(temp) && !isNaN(x)){
total += (x * temp);
}
}
document.form1.totaalGewicht.value = total;
}
//kijken welke de geselecteerde zetcodes zijn
function selectedCode(){
var selVala;
var selValb;
for(var i = 0; i < document.form1.aanvragerZetcode.length; i++){
if(document.form1.aanvragerZetcode.options[i].selected){
selVala = document.form1.aanvragerZetcode.options[i].value;
break;
}
}
for(var i = 0; i < document.form1.bestemmelingZetcode.length; i++){
if(document.form1.bestemmelingZetcode.options[i].selected){
selValb = document.form1.bestemmelingZetcode.options[i].value;
break;
}
}
window.location="formulier.php?acode="+selVala+"&bcode="+selValb+" ";
}
//zet het aantal ingevulde rijen in een hidden veld
function aantalIngevuld(tekstveld) {
var waarde = tekstveld;
if(waarde.length >= 1) {
document.form1.aantalRijen.value ++;
}
}
//bereken het totaal der volumes
function berekenTotaalVolume() {
var temp;
var x;
var total = 0;
for(var i=0;i<10;i++){
x = parseInt(eval("document.form1.aantal"+i+".value"));
temp = parseFloat(eval("document.form1.volume"+i+".value"));
if((temp != -1) && !isNaN(x)){
total += (x * temp);
}
}
var rlength = 2; // The number of decimal places to round to
var newnumber = Math.round(total*Math.pow(10,rlength))/Math.pow(10,rlength);
document.form1.totaalVolume.value = newnumber;
}
function openTarieven() {
open("PrijzenEnVoorwaarden.php");
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body>
<form name="form1" method="GET" action="Factuur.php" onSubmit="submitcontroles()">
<table width="60%" border="1" align="center" >
<tr>
<td><table width="100%" border="0" align="center">
<tr>
<td><div align="center" class="style5">COFETRANS</div></td>
</tr>
</table>
<table width="100%" border="0" align="center">
<tr>
<td width="50%"><div align="center"><span class="style2">Tel : 011/634951</span></div></td>
<td width="50%"><div align="center"><span class="style2">Fax : 011/611681 </span></div></td>
</tr>
<tr>
<td><div align="center"><span class="style2">Code : BE01CRE </span></div></td>
<td><div align="center"><span class="style2">E-mail : Cofetrans@cofep.be</span></div></td>
</tr>
<tr>
<td><div align="center">
<p class="style2">BTW NR : 428.179.774</p>
</div></td>
<td><div align="center"><span class="style2"> REK NR : 000-1988546-46 </span></div></td>
</tr>
<tr>
<td colspan="2"><div align="center"><span class="style1">COFETRANS is een afdeling van CRECOR PEER </span></div></td>
</tr>
</table></td>
</tr>
</table>
<p align="center"> </p>
<table width="60%" border="1" align="center" >
<tr>
<td>
<table width="100%" border="0" align="center">
<tr>
<td width="26%"><strong><span class="style2">Zet-code aanvrager : </span></strong></td>
<td width="14%"><div align="right"><strong>BE01</strong> </div></td>
<td width="18%">
<select name="aanvragerZetcode" id="aanvragerZetcode" onChange="selectedCode()">
<?php
$sql="select code from formulier order by code";
if ($code==$_GET['acode'])
{echo "<option value= \"".$code."\" selected>".$code."</option>";} else
{echo "<option value= \"".$code."\">".$code."</option>";} }
$sql="select plaats,email from formulier where code = '".$_GET['acode']."'";
$row = mysql_fetch_row($bcodeRijen)
?>
</select></td>
<td width="42%"> </td>
</tr>
</table>
<table width="100%" border="0" align="center">
<tr>
<td width="8%"> </td>
<td width="32%"><span class="style1">Stad/Gemeente : </span></td>
<td width="60%"><input name="aanvragerGemeente" value = <?php echo $row[0]; ?> type="text" id="aanvragerGemeente" size="24"></td>
</tr>
<tr>
<td> </td>
<td><span class="style1">E-mail adres : </span></td>
<td><input name="aanvragerEmail" value = <?php echo $row[1]; ?> type="text" id="aanvragerEmail" size="24"></td>
</tr>
</table></td>
</tr>
</table>
<p> </p>
<table width="60%" border="1" align="center">
<tr>
<td><table width="100%" border="0" align="center" >
<tr>
<td width="31%"><span class="style1">Zet-code bestemmeling : </span></td>
<td width="9%"><div align="right"><strong>BE01</strong></div></td>
<td width="60%"><select name="bestemmelingZetcode" id="bestemmelingZetcode" onChange="selectedCode()">
<?php
$sql="select code from formulier order by code";
$bcodeRijen = mysql_query($sql) or die("foutieve query");
while ($row = mysql_fetch_row($bcodeRijen))
{$code=trim($row[0]);
if ($code==$_GET['bcode'])
{echo "<option value= \"".$code."\" selected>".$code."</option>";}
else
{echo "<option value= \"".$code."\">".$code."</option>";} }
$sql="select plaats,email from formulier where code = '".$_GET['bcode']."'";
?>
</select></td>
</tr>
</table>
<table width="100%" border="0" align="center">
<tr>
<td width="8%"> </td>
<td width="32%"><span class="style1">Stad/Gemeente : </span></td>
<td width="60%"><input name="bestemmelingGemeente" value =
<?php echo $row[0]; ?> type="text" id="bestemmelingGemeente" size="24"></td>
</tr>
<tr>
<td> </td>
<td><span class="style1">E-mail adres : </span></td>
<td><input name="bestemmelingEmail" value =
<?php echo $row[1]; ?> type="text" id="bestemmelingEmail" size="24"></td>
</tr>
</table></td>
</tr>
</table>
<p> </p>
<table width="60%" border="1" align="center" bordercolor="#999999">
<tr>
<td><table width="100%" border="0" align="center">
<tr>
<td width="40%"><span class="style1">Nr verzendnota : </span></td>
<td width="60%"><input name="nrverzendnota" type="text" id="nrverzendnota" size="5" maxlength="6" readonly="" value="910"></td>
</tr>
</table>
<table width="100%" border="0" align="center">
<tr>
<td width="40%"><strong><span class="style2">Nr factuur : </span></strong></td>
<td width="60%"><input name="nrfactuur" type="text" id="nrfactuur" size="5" maxlength="6" readonly="" value="910"></td>
</tr>
</table>
<table width="100%" border="0" align="center">
<tr>
<td width="40%"><strong><span class="style2 style2">Datum aanvraag:</span></strong></td>
<td width="60%"><span class="style2">
<select name="aanvraagdag" id="aanvraagdag">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select name="aanvraagmaand" id="aanvraagmaand">
<option value="Januari">Januari</option>
<option value="Februari">Februari</option>
<option value="Maart">Maart</option>
<option value="April">April</option>
<option value="Mei">Mei</option>
<option value="Juni">Juni</option>
<option value="Juli">Juli</option>
<option value="Augustus">Augustus</option>
<option value="September">September</option>
<option value="Oktober">Oktober</option>
<option value="November">November</option>
<option value="December">December</option>
</select>
<select name="aanvraagjaar" id="aanvraagjaar">
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
<option value="2014">2014</option>
<option value="2015">2015</option>
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
<option value="2020">2021</option>
<option value="2020">2022</option>
<option value="2020">2023</option>
<option value="2020">2024</option>
</select>
</span></td>
</tr>
</table>
<table width="100%" border="0" align="center">
<tr>
<td width="40%"><span class="style1">Gewenste leveringsdatum: </span></td>
<td width="60%"><select name="leveringsdag" id="leveringsdag">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select name="leveringsmaand" id="leveringsmaand">
<option value="Januari">Januari</option>
<option value="Februari">Februari</option>
<option value="Maart">Maart</option>
<option value="April">April</option>
<option value="Mei">Mei</option>
<option value="Juni">Juni</option>
<option value="Juli">Juli</option>
<option value="Augustus">Augustus</option>
<option value="September">September</option>
<option value="Oktober">Oktober</option>
<option value="November">November</option>
<option value="December">December</option>
</select>
<select name="leveringsjaar" id="leveringsjaar">
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
<option value="2014">2014</option>
<option value="2015">2015</option>
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
<option value="2020">2021</option>
<option value="2020">2022</option>
<option value="2020">2023</option>
<option value="2020">2024</option>
</select></td>
</tr>
</table>
<table width="100%" border="0" align="center">
<tr>
<td width="174"><span class="style1">Aantal pakjes : </span></td>
<td width="265"><input name="controleAantal" type="text" id="controleAantal" onKeyPress="valideerAantal()"></td>
</tr>
</table></td>
</tr>
</table>
<p align="left"> </p>
<table width="60%" border="1" align="center" bordercolor="#999999">
<tr>
<td><table width="100%" border="0" align="center">
<tr>
<td width="24%"><strong><span class="style2">Beschrijving :</span></strong></td>
<td width="76%"><div align="center" class="style5">
<input name="aantalRijen" type="hidden" id="aantalRijen">
</div></td>
</tr>
</table>
<table width="100%" border="0" align="center">
<tr>
<td width="26%"><div align="right"><span class="style1">Aantal</span></div></td>
<td width="18%"><div align="right"><span class="style1">Verpakking</span></div></td>
<td width="26%"><div align="right"><span class="style1"><span class="style6">*</span>Gewicht/Pak (in kg)</span></div></td>
<td width="30%"><div align="right"><span class="style1"><span class="style6">**</span>Volume/Pak (in m³)</span></div></td>
</tr>
<tr>
<td><div align="right">
<input name="aantal0" type="text" id="aantal0" onBlur="berekenAantal();aantalIngevuld(this.value)" onKeyPress="valideerAantal()" size="10" maxlength="3">
</div></td>
<td><div align="right">
<select name="verpakking0" id="verpakking0">
<option value="Karton">Karton</option>
<option value="Pallet">Pallet</option>
<option value="Plastiek">Plastiek</option>
</select>
</div></td>
<td><div align="right">
<input name="gewicht0" type="text" id="gewicht0" onBlur="controleerGewicht(this.name)" onKeyPress="valideerGewicht()" size="8" maxlength="5">
</div></td>
<td><div align="right">
<select name="volume0" id="volume0" onChange="berekenTotaalVolume()">
<option value="-1" selected></option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1.0">1.0</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="right">
<input name="aantal1" type="text" id="aantal1" onBlur="berekenAantal();aantalIngevuld(this.value)" onKeyPress="valideerAantal()" size="10" maxlength="3">
</div></td>
<td><div align="right">
<select name="verpakking1" id="verpakking1">
<option value="Karton">Karton</option>
<option value="Pallet">Pallet</option>
<option value="Plastiek">Plastiek</option>
</select>
</div></td>
<td><div align="right">
<input name="gewicht1" type="text" id="gewicht1" onBlur="controleerGewicht(this.name)" onKeyPress="valideerGewicht()" size="8" maxlength="5">
</div></td>
<td><div align="right">
<select name="volume1" id="volume1" onChange="berekenTotaalVolume()">
<option value="-1" selected></option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1.0">1.0</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="right">
<input name="aantal2" type="text" id="aantal2" onBlur="berekenAantal();aantalIngevuld(this.value)" onKeyPress="valideerAantal()" size="10" maxlength="3">
</div></td>
<td><div align="right">
<select name="verpakking2" id="verpakking2">
<option value="Karton">Karton</option>
<option value="Pallet">Pallet</option>
<option value="Plastiek">Plastiek</option>
</select>
</div></td>
<td><div align="right">
<input name="gewicht2" type="text" id="gewicht2" onBlur="controleerGewicht(this.name)" onKeyPress="valideerGewicht()" size="8" maxlength="5">
</div></td>
<td><div align="right">
<select name="volume2" id="volume2" onChange="berekenTotaalVolume()">
<option value="-1" selected></option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1.0">1.0</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="right">
<input name="aantal3" type="text" id="aantal3" onBlur="berekenAantal();aantalIngevuld(this.value)" onKeyPress="valideerAantal()" size="10" maxlength="3">
</div></td>
<td><div align="right">
<select name="verpakking3" id="verpakking3">
<option value="Karton">Karton</option>
<option value="Pallet">Pallet</option>
<option value="Plastiek">Plastiek</option>
</select>
</div></td>
<td><div align="right">
<input name="gewicht3" type="text" id="gewicht3" onBlur="controleerGewicht(this.name)" onKeyPress="valideerGewicht()" size="8" maxlength="5">
</div></td>
<td><div align="right">
<select name="volume3" id="volume3" onChange="berekenTotaalVolume()">
<option value="-1" selected></option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1.0">1.0</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="right">
<input name="aantal4" type="text" id="aantal4" onBlur="berekenAantal();aantalIngevuld(this.value)" onKeyPress="valideerAantal()" size="10" maxlength="3">
</div></td>
<td><div align="right">
<select name="verpakking4" id="verpakking4">
<option value="Karton">Karton</option>
<option value="Pallet">Pallet</option>
<option value="Plastiek">Plastiek</option>
</select>
</div></td>
<td><div align="right">
<input name="gewicht4" type="text" id="gewicht4" onBlur="controleerGewicht(this.name)" onKeyPress="valideerGewicht()" size="8" maxlength="5">
</div></td>
<td><div align="right">
<select name="volume4" id="volume4" onChange="berekenTotaalVolume()">
<option value="-1" selected></option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1.0">1.0</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="right">
<input name="aantal5" type="text" id="aantal5" onBlur="berekenAantal();aantalIngevuld(this.value)" onKeyPress="valideerAantal()" size="10" maxlength="3">
</div></td>
<td><div align="right">
<select name="verpakking5" id="verpakking5">
<option value="Karton">Karton</option>
<option value="Pallet">Pallet</option>
<option value="Plastiek">Plastiek</option>
</select>
</div></td>
<td><div align="right">
<input name="gewicht5" type="text" id="gewicht5" onBlur="controleerGewicht(this.name)" onKeyPress="valideerGewicht()" size="8" maxlength="5">
</div></td>
<td><div align="right">
<select name="volume5" id="volume5" onChange="berekenTotaalVolume()">
<option value="-1" selected></option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1.0">1.0</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="right">
<input name="aantal6" type="text" id="aantal6" onBlur="berekenAantal();aantalIngevuld(this.value)" onKeyPress="valideerAantal()" size="10" maxlength="3">
</div></td>
<td><div align="right">
<select name="verpakking6" id="verpakking6">
<option value="Karton">Karton</option>
<option value="Pallet">Pallet</option>
<option value="Plastiek">Plastiek</option>
</select>
</div></td>
<td><div align="right">
<input name="gewicht6" type="text" id="gewicht6" onBlur="controleerGewicht(this.name)" onKeyPress="valideerGewicht()" size="8" maxlength="5">
</div></td>
<td><div align="right">
<select name="volume6" id="volume6" onChange="berekenTotaalVolume()">
<option value="-1" selected></option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1.0">1.0</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="right">
<input name="aantal7" type="text" id="aantal7" onBlur="berekenAantal();aantalIngevuld(this.value)" onKeyPress="valideerAantal()" size="10" maxlength="3">
</div></td>
<td><div align="right">
<select name="verpakking7" id="verpakking7">
<option value="Karton">Karton</option>
<option value="Pallet">Pallet</option>
<option value="Plastiek">Plastiek</option>
</select>
</div></td>
<td><div align="right">
<input name="gewicht7" type="text" id="gewicht7" onBlur="controleerGewicht(this.name)" onKeyPress="valideerGewicht()" size="8" maxlength="5">
</div></td>
<td><div align="right">
<select name="volume7" id="volume7" onChange="berekenTotaalVolume()">
<option value="-1" selected></option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1.0">1.0</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="right">
<input name="aantal8" type="text" id="aantal8" onBlur="berekenAantal();aantalIngevuld(this.value)" onKeyPress="valideerAantal()" size="10" maxlength="3">
</div></td>
<td><div align="right">
<select name="verpakking8" id="verpakking8">
<option value="Karton">Karton</option>
<option value="Pallet">Pallet</option>
<option value="Plastiek">Plastiek</option>
</select>
</div></td>
<td><div align="right">
<input name="gewicht8" type="text" id="gewicht8" onBlur="controleerGewicht(this.name)" onKeyPress="valideerGewicht()" size="8" maxlength="5">
</div></td>
<td><div align="right">
<select name="volume8" id="volume8" onChange="berekenTotaalVolume()">
<option value="-1" selected></option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1.0">1.0</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="right">
<input name="aantal9" type="text" id="aantal9" onBlur="berekenAantal();aantalIngevuld(this.value)" onKeyPress="valideerAantal()" size="10" maxlength="3">
</div></td>
<td><div align="right">
<select name="verpakking9" id="verpakking9">
<option value="Karton">Karton</option>
<option value="Pallet">Pallet</option>
<option value="Plastiek">Plastiek</option>
</select>
</div></td>
<td><div align="right">
<input name="gewicht9" type="text" id="gewicht9" onBlur="controleerGewicht(this.name)" onKeyPress="valideerGewicht()" size="8" maxlength="5">
</div></td>
<td><div align="right">
<select name="volume9" id="volume9" onChange="berekenTotaalVolume()">
<option value="-1" selected></option>
<option value="0.1">0.1</option>
<option value="0.2">0.2</option>
<option value="0.3">0.3</option>
<option value="0.4">0.4</option>
<option value="0.5">0.5</option>
<option value="0.6">0.6</option>
<option value="0.7">0.7</option>
<option value="0.8">0.8</option>
<option value="0.9">0.9</option>
<option value="1.0">1.0</option>
</select>
</div></td>
</tr>
<tr>
<td><div align="right"> <span class="style1">Totaal:</span>
<input name="totaalAantal" type="text" id="totaalAantal" size="10" readonly="">
</div></td>
<td><div align="right" class="style1"></div></td>
<td><div align="right"> <span class="style1">Totaal:</span>
<input name="totaalGewicht" type="text" size="8" maxlength="4" readonly="">
</div></td>
<td><div align="right"> <span class="style1">Totaal :</span>
<input name="totaalVolume" type="text" size="8" readonly="">
</div></td>
</tr>
</table>
<p class="style8">* Een collo vanaf een gewicht van 50 kg wordt beschouwd als een pallet </p>
<p class="style8">** Volumecoëfficiënt van toepassing: 250 kg = 1 m³</p>
<table width="100%" border="0" align="center">
<tr>
<td><div align="center">
<input name="Maak een factuur" type="submit" id="Maak een factuur" value="Maak een factuur">
<input type="button" name="Button" value="Bekijk Tarieven" onClick="openTarieven()">
</div></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>