<!-- Begin
function checkFieldsm() {
missinginfo = "";
if ((document.form4.Email.value == "") || 
(document.form4.Email.value.indexOf('@') == -1) || 
(document.form4.Email.value.indexOf(' ') != -1) || 
(document.form4.Email.value.indexOf('.') == -1)) {
missinginfo += "\n     -  Email adres (en/of ongeldig)";
}
if (missinginfo != "") {
missinginfo ="_____________________________\n" +
"Onderstaande emailadres is niet goed ingevuld:\n" +
missinginfo + "\n_____________________________" +
"\nPas uw emailadres aan en voeg opnieuw toe!";
alert(missinginfo);
return false;
}
else 
return true;
}
function checkFieldsm2() {
missinginfo = "";
if ((document.form2.Email.value == "") || 
(document.form2.Email.value.indexOf('@') == -1) || 
(document.form2.Email.value.indexOf(' ') != -1) || 
(document.form2.Email.value.indexOf('.') == -1)) {
missinginfo += "\n     -  Email adres (en/of ongeldig)";
}
if (missinginfo != "") {
missinginfo ="_____________________________\n" +
"Onderstaande emailadres is niet goed ingevuld:\n" +
missinginfo + "\n_____________________________" +
"\nPas uw emailadres aan en voeg opnieuw toe!";
alert(missinginfo);
return false;
}
else 
return true;
}
function checkFields() {
missinginfo = "";
//nm = document.form.elements[2].value;
if (document.form.Naam.value == "") {
missinginfo += "\n     -  Naam";
}
if (document.form.Adres.value == "") {
missinginfo += "\n     -  Adres";
}
if (document.form.Postcode.value == "") {
missinginfo += "\n     -  Postcode";
}
if (document.form.Plaats.value == "") {
missinginfo += "\n     -  Plaats";
}
if ((document.form.Email.value == "") || 
(document.form.Email.value.indexOf('@') == -1) || 
(document.form.Email.value.indexOf(' ') != -1) || 
(document.form.Email.value.indexOf('.') == -1)) {
missinginfo += "\n     -  Email adres (en/of ongeldig)";
}
if (document.form.Land.value == "") {
missinginfo += "\n     -  Land";
}
if (!document.form.tbetaalwijze[0].checked &&
 !document.form.tbetaalwijze[1].checked &&
 !document.form.tbetaalwijze[2].checked &&
 !document.form.tbetaalwijze[3].checked &&
 !document.form.tbetaalwijze[4].checked &&
 !document.form.tbetaalwijze[5].checked)
{
missinginfo += "\n     -  Betaalwijze ontbreekt";
}
if (document.form.tbetaalwijze[2].checked == true)
 if (document.form.ubanknummer.value == "" && document.form.vgironummer.value == "")
{missinginfo += "\n     -  Bank- of Gironummer ontbreekt";}

if (document.form.tbetaalwijze[3].checked == true)
{
 if (document.form.wkaartnummer.value == "" )
{missinginfo += "\n     -  Eurocard-nummer ontbreekt";}
if (document.form.tbetaalwijze[3].checked == true && document.form.wkaartnummer.value != "")
 if (document.form.wkaartnummer.value.length != 16)
{missinginfo += "\n     -  Eurocard-nummer niet compleet";}

if (document.form.tbetaalwijze[3].checked == true)
 if (document.form.xvervalmaand.options[document.form.xvervalmaand.selectedIndex].value == "")
{missinginfo += "\n     -  Eurocard vervalmaand ontbreekt";}

if (document.form.tbetaalwijze[3].checked == true)
 if (document.form.yvervaljaar.options[document.form.yvervaljaar.selectedIndex].value == "")
{missinginfo += "\n     -  Eurocard vervaljaar ontbreekt";}

if (document.form.tbetaalwijze[3].checked == true)
 if (document.form.zcvccode.value == "")
{missinginfo += "\n     -  Eurocard veiligheidscode ontbreekt";}
}
if (document.form.tbetaalwijze[4].checked == true)
{
 if (document.form.wkaartnummer.value == "" )
{missinginfo += "\n     -  Visacard-nummer ontbreekt";}
if (document.form.tbetaalwijze[4].checked == true && document.form.wkaartnummer.value != "")
 if (document.form.wkaartnummer.value.length != 16)
{missinginfo += "\n     -  Visacard-nummer niet compleet";}

if (document.form.tbetaalwijze[4].checked == true)
 if (document.form.xvervalmaand.options[document.form.xvervalmaand.selectedIndex].value == "")
{missinginfo += "\n     -  Visacard vervalmaand ontbreekt";}

if (document.form.tbetaalwijze[4].checked == true)
 if (document.form.yvervaljaar.options[document.form.yvervaljaar.selectedIndex].value == "")
{missinginfo += "\n     -  Visacard vervaljaar ontbreekt";}

if (document.form.tbetaalwijze[4].checked == true)
 if (document.form.zcvccode.value == "")
{missinginfo += "\n     -  Visacard veiligheidscode ontbreekt";}
}

if (missinginfo != "") {
missinginfo ="_____________________________\n" +
"Onderstaande velden zijn niet of niet goed ingevuld:\n" +
missinginfo + "\n_____________________________" +
"\nPas de velden aan en Verzend Bestelling opnieuw!";
alert(missinginfo);
return false;
}
else 
return true;
}

function checkFieldsi(s) {
missinginfo = "";
//nm = document.form.elements[2].value;
if (document.form.anaam.value == "") {
missinginfo += "\n     -  Naam";
}
if (document.form.bstraat.value == "") {
missinginfo += "\n     -  Straat";
}
if (document.form.cpc.value == "") {
missinginfo += "\n     -  Postcode";
}
if (document.form.dplaats.value == "") {
missinginfo += "\n     -  Plaats";
}
if ((document.form.femail.value == "") || 
(document.form.femail.value.indexOf('@') == -1) || 
(document.form.femail.value.indexOf('.') == -1))
{missinginfo += "\n     -  Email adres (en/of ongeldig)";}
if (missinginfo != "") {
missinginfo ="_____________________________\n" +
"Onderstaande velden zijn niet of niet goed ingevuld:\n" +
missinginfo + "\n_____________________________" +
"\nPas de velden aan en Verzend aanvraag opnieuw!";
alert(missinginfo);
return false;
}
else 
s.value = "wordt verzonden...";
return true;
//return true;
}
function checkFieldsa() {
missinginfo = "";
//nm = document.form.elements[2].value;
if (document.form.Naam.value == "") {
missinginfo += "\n     -  Naam";
}
if (document.form.Adres.value == "") {
missinginfo += "\n     -  Straat";
}
if (document.form.Postcode.value == "") {
missinginfo += "\n     -  Postcode";
}
if (document.form.Plaats.value == "") {
missinginfo += "\n     -  Plaats";
}
if ((document.form.Email.value == "") || 
(document.form.Email.value.indexOf('@') == -1) || 
(document.form.Email.value.indexOf('.') == -1))
{missinginfo += "\n     -  Email adres (en/of ongeldig)";}
if (missinginfo != "") {
missinginfo ="_____________________________\n" +
"Onderstaande velden zijn niet of niet goed ingevuld:\n" +
missinginfo + "\n_____________________________" +
"\nPas de velden aan en Verzend aanvraag opnieuw!";
alert(missinginfo);
return false;
}
else 
return true;
//return true;
}
function reken()
{if (document.f1.Aantal.value>99) {document.f1.Prijs.value='2.15';}
if (document.f1.Aantal.value>499) {document.f1.Prijs.value='1.95';}
if (document.f1.Aantal.value>999) {document.f1.Prijs.value='1.75';}
if (document.f1.Aantal.value<100) {document.f1.prnw.value='€ 2,35';}
if (document.f1.Aantal.value>99) {document.f1.prnw.value='€ 2,15';}
if (document.f1.Aantal.value>499) {document.f1.prnw.value='€ 1,95';}
if (document.f1.Aantal.value>999) {document.f1.prnw.value='€ 1,75';}
if (document.f2.Aantal.value>99) {document.f2.Prijs.value='2.20';}
if (document.f2.Aantal.value>499) {document.f2.Prijs.value='2.00';}
if (document.f2.Aantal.value>999) {document.f2.Prijs.value='1.80';}
if (document.f2.Aantal.value<100) {document.f2.prnw.value='€ 2,40';}
if (document.f2.Aantal.value>99) {document.f2.prnw.value='€ 2,20';}
if (document.f2.Aantal.value>499) {document.f2.prnw.value='€ 2,00';}
if (document.f2.Aantal.value>999) {document.f2.prnw.value='€ 1,80';}
if (document.f3.Aantal.value>99) {document.f3.Prijs.value='2.25';}
if (document.f3.Aantal.value>499) {document.f3.Prijs.value='2.05';}
if (document.f3.Aantal.value>999) {document.f3.Prijs.value='1.85';}
if (document.f3.Aantal.value<100) {document.f3.prnw.value='€ 2,45';}
if (document.f3.Aantal.value>99) {document.f3.prnw.value='€ 2,25';}
if (document.f3.Aantal.value>499) {document.f3.prnw.value='€ 2,05';}
if (document.f3.Aantal.value>999) {document.f3.prnw.value='€ 1.85';}
if (document.f4.Aantal.value>99) {document.f4.Prijs.value='2.30';}
if (document.f4.Aantal.value>499) {document.f4.Prijs.value='2.10';}
if (document.f4.Aantal.value>999) {document.f4.Prijs.value='1.90';}
if (document.f4.Aantal.value<100) {document.f4.prnw.value='€ 2,50';}
if (document.f4.Aantal.value>99) {document.f4.prnw.value='€ 2,30';}
if (document.f4.Aantal.value>499) {document.f4.prnw.value='€ 2,10';}
if (document.f4.Aantal.value>999) {document.f4.prnw.value='€ 1,90';}
if (document.f11.Aantal.value>99) {document.f11.Prijs.value='2.00';}
if (document.f11.Aantal.value>499) {document.f11.Prijs.value='1.80';}
if (document.f11.Aantal.value>999) {document.f11.Prijs.value='1.60';}
if (document.f11.Aantal.value<100) {document.f11.prnw.value='€ 2,20';}
if (document.f11.Aantal.value>99) {document.f11.prnw.value='€ 2,00';}
if (document.f11.Aantal.value>499) {document.f11.prnw.value='€ 1,80';}
if (document.f11.Aantal.value>999) {document.f11.prnw.value='€ 1,60';}
if (document.f12.Aantal.value>99) {document.f12.Prijs.value='2.05';}
if (document.f12.Aantal.value>499) {document.f12.Prijs.value='1.85';}
if (document.f12.Aantal.value>999) {document.f12.Prijs.value='1.65';}
if (document.f12.Aantal.value<100) {document.f12.prnw.value='€ 2,25';}
if (document.f12.Aantal.value>99) {document.f12.prnw.value='€ 2,05';}
if (document.f12.Aantal.value>499) {document.f12.prnw.value='€ 1,85';}
if (document.f12.Aantal.value>999) {document.f12.prnw.value='€ 1,65';}
if (document.f13.Aantal.value>99) {document.f13.Prijs.value='2.10';}
if (document.f13.Aantal.value>499) {document.f13.Prijs.value='1.90';}
if (document.f13.Aantal.value>999) {document.f13.Prijs.value='1.70';}
if (document.f13.Aantal.value<100) {document.f13.prnw.value='€ 2,30';}
if (document.f13.Aantal.value>99) {document.f13.prnw.value='€ 2,10';}
if (document.f13.Aantal.value>499) {document.f13.prnw.value='€ 1,90';}
if (document.f13.Aantal.value>999) {document.f13.prnw.value='€ 1,70';}
if (document.f14.Aantal.value>99) {document.f14.Prijs.value='2.15';}
if (document.f14.Aantal.value>499) {document.f14.Prijs.value='1.95';}
if (document.f14.Aantal.value>999) {document.f14.Prijs.value='1.75';}
if (document.f14.Aantal.value<100) {document.f14.prnw.value='€ 2,35';}
if (document.f14.Aantal.value>99) {document.f14.prnw.value='€ 2,15';}
if (document.f14.Aantal.value>499) {document.f14.prnw.value='€ 1,95';}
if (document.f14.Aantal.value>999) {document.f14.prnw.value='€ 1,75';}
window.setTimeout('reken()',500);}
//function vkl(){document.f14.kl.value='#FFFFFF";}
function SetRowCol(Row,bgColor) {
    var RowCnt;
    RowCnt = Row.cells.length;

    for(var i=0;i<RowCnt;i++) {
        Row.cells[i].style.backgroundColor = bgColor;
    }
}
/**
 * This array is used to remember mark status of rows in browse mode
 */
var marked_row = new Array;


/**
 * Sets/unsets the pointer and marker in browse mode
 *
 * @param   object    the table row
 * @param   interger  the row number
 * @param   string    the action calling this script (over, out or click)
 * @param   string    the default background color
 * @param   string    the color to use for mouseover
 * @param   string    the color to use for marking a row
 *
 * @return  boolean  whether pointer is set or not
 */
function show()
{if ((document.form.Papierhouder[0].checked == true) 
    &&
     ((document.form.Papierh[0].checked != true) && (document.form.Papierh[1].checked != true))
    )
{document.form.pijl.src = 'pijl.gif';}
//	window.setTimeout('show();',500);
else
{document.form.pijl.src = 'pijlwit.gif';}
	window.setTimeout('show();',500);
	return;}

function setPointer(theRow, theRowNum, theAction, theDefaultColor, thePointerColor, theMarkColor)
{
    var theCells = null;

    // 1. Pointer and mark feature are disabled or the browser can't get the
    //    row -> exits
    if ((thePointerColor == '' && theMarkColor == '')
        || typeof(theRow.style) == 'undefined') {
        return false;
    }

    // 2. Gets the current row and exits if the browser can't get it
    if (typeof(document.getElementsByTagName) != 'undefined') {
        theCells = theRow.getElementsByTagName('td');
    }
    else if (typeof(theRow.cells) != 'undefined') {
        theCells = theRow.cells;
    }
    else {
        return false;
    }

    // 3. Gets the current color...
    var rowCellsCnt  = theCells.length;
    var domDetect    = null;
    var currentColor = null;
    var newColor     = null;
    // 3.1 ... with DOM compatible browsers except Opera that does not return
    //         valid values with "getAttribute"
    if (typeof(window.opera) == 'undefined'
        && typeof(theCells[0].getAttribute) != 'undefined') {
        currentColor = theCells[0].getAttribute('bgcolor');
        domDetect    = true;
    }
    // 3.2 ... with other browsers
    else {
        currentColor = theCells[0].style.backgroundColor;
        domDetect    = false;
    } // end 3

    // 4. Defines the new color
    // 4.1 Current color is the default one
    if (currentColor == ''
        || currentColor.toLowerCase() == theDefaultColor.toLowerCase()) {
        if (theAction == 'over' && thePointerColor != '') {
            newColor              = thePointerColor;
        }
        else if (theAction == 'click' && theMarkColor != '') {
            newColor              = theMarkColor;
            marked_row[theRowNum] = true;
        }
    }
    // 4.1.2 Current color is the pointer one
    else if (currentColor.toLowerCase() == thePointerColor.toLowerCase()
             && (typeof(marked_row[theRowNum]) == 'undefined' || !marked_row[theRowNum])) {
        if (theAction == 'out') {
            newColor              = theDefaultColor;
        }
        else if (theAction == 'click' && theMarkColor != '') {
            newColor              = theMarkColor;
            marked_row[theRowNum] = true;
        }
    }
    // 4.1.3 Current color is the marker one
    else if (currentColor.toLowerCase() == theMarkColor.toLowerCase()) {
        if (theAction == 'click') {
            newColor              = (thePointerColor != '')
                                  ? thePointerColor
                                  : theDefaultColor;
            marked_row[theRowNum] = (typeof(marked_row[theRowNum]) == 'undefined' || !marked_row[theRowNum])
                                  ? true
                                  : null;
        }
    } // end 4

    // 5. Sets the new color...
    if (newColor) {
        var c = null;
        // 5.1 ... with DOM compatible browsers except Opera
        if (domDetect) {
            for (c = 0; c < rowCellsCnt; c++) {
                theCells[c].setAttribute('bgcolor', newColor, 0);
            } // end for
        }
        // 5.2 ... with other browsers
        else {
            for (c = 0; c < rowCellsCnt; c++) {
                theCells[c].style.backgroundColor = newColor;
            }
        }
    } // end 5

    return true;
} // end of the 'setPointer()' function

//  End -->
function maxi()
{
self.moveTo(0,0);self.resizeTo(window.screen.availWidth,window.screen.availHeight);
}

