function gotoWachtwoord() {
	hideIt('lce');
	document.getElementById('lcw').style.display = 'block';
}

function send() {
	if(document.getElementById('voorwaardencheck').checked ==true){
		document.getElementById('form').submit();
	}
	else {
		document.getElementById('voorwaardentext').style.color='#FF0000';
	}
}

function checkeditform() {
	document.getElementById('cinputfieldimage1').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)'
	document.getElementById('cinputfieldimage2').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage3').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)'
	document.getElementById('cinputfieldimage4').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage5').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage6').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage7').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage8').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ifww1').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ifww2').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ifww3').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ifww4').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	i=0;
	if(document.formeditc.cVoornaam.value=='') {
		document.getElementById('cinputfieldimage2').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formeditc.cAchternaam.value=='') {
		document.getElementById('cinputfieldimage4').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formeditc.cStraat.value=='') {
		document.getElementById('cinputfieldimage5').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formeditc.cHuisnummer.value=='') {
		document.getElementById('cinputfieldimage6').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formeditc.cPostcode.value=='') {
		document.getElementById('cinputfieldimage7').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formeditc.cWoonplaats.value=='') {
		document.getElementById('cinputfieldimage8').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formeditc.cTelefoon.value=='') {
		document.getElementById('ifww4').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.getElementById('cWachtwoord1').style.display == 'block') {
		if(document.formeditc.cWachtwoord1.value=='') {
			document.getElementById('ifww1').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
			i=1;
		}
		if(document.formeditc.cWachtwoord2.value=='') {
			document.getElementById('ifww2').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
			i=1;
		}
		if(document.formeditc.cWachtwoord3.value=='') {
			document.getElementById('ifww3').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
			i=1;
		}
	}
	if(i==0) {
		document.getElementById('formeditc').submit();
	}
}

function checknewform() {
	document.getElementById('ninputfieldimage1').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage2').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage3').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage4').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage5').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage6').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage7').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage8').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage9').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage10').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage11').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage12').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	i=0;
	if(document.formnewc.nVoornaam.value=='') {
		document.getElementById('ninputfieldimage2').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formnewc.nAchternaam.value=='') {
		document.getElementById('ninputfieldimage4').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formnewc.nStraat.value=='') {
		document.getElementById('ninputfieldimage5').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formnewc.nHuisnummer.value=='') {
		document.getElementById('ninputfieldimage6').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formnewc.nPostcode.value=='') {
		document.getElementById('ninputfieldimage7').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formnewc.nWoonplaats.value=='') {
		document.getElementById('ninputfieldimage8').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formnewc.nTelefoon.value=='') {
		document.getElementById('ninputfieldimage9').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formnewc.nEmail.value=='') {
		document.getElementById('ninputfieldimage10').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formnewc.nWachtwoord2.value=='') {
		document.getElementById('ninputfieldimage11').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(document.formnewc.nWachtwoord3.value=='') {
		document.getElementById('ninputfieldimage12').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
		i=1;
	}
	if(i==0) {
		document.getElementById('formnewc').submit();
	}
}

function checkform() {
	document.getElementById('oDiv').style.width='348px';
	document.getElementById('oText1').style.display='block';
	document.getElementById('oFail1').style.display='none';
	document.getElementById('oFailtext1').style.display='none';
	document.getElementById('oFail2').style.display='none';
	document.getElementById('oFailtext2').style.display='none';
	if(document.form.sService.value=='') {
		oshowservicefail();
		if(document.form.sDatum.value=='') {
			oshowdatumfail();
		}
	}
	else if(document.form.sDatum.value=='') {
		oshowdatumfail();
	}
	else {
		reportform();
		showIt('div10','10');
	}
}

function reportform() {
	document.form.rBedrijfsnaam.value=document.form.sBedrijfsnaam.value;
	document.form.rVoornaam.value=document.form.sVoornaam.value;
	document.form.rTussenvoegsel.value=document.form.sTussenvoegsel.value;
	document.form.rAchternaam.value=document.form.sAchternaam.value;
	document.form.rStraat.value=document.form.sStraat.value;
	document.form.rHuisnummer.value=document.form.sHuisnummer.value;
	document.form.rPostcode.value=document.form.sPostcode.value;
	document.form.rWoonplaats.value=document.form.sWoonplaats.value;
	document.form.rTelefoon.value=document.form.sTelefoon.value;
	document.form.rEmail.value=document.form.sEmail.value;
	document.form.rService.value=document.form.sService.value;
	document.form.rDatum.value=document.form.sDatum.value;
	document.form.rOpmerkingen.value=document.form.sOpmerkingen.value;
}

function prepareeditform() {
	document.formeditc.cBedrijfsnaam.value=document.form.sBedrijfsnaam.value;
	document.formeditc.cVoornaam.value=document.form.sVoornaam.value;
	document.formeditc.cTussenvoegsel.value=document.form.sTussenvoegsel.value;
	document.formeditc.cAchternaam.value=document.form.sAchternaam.value;
	document.formeditc.cStraat.value=document.form.sStraat.value;
	document.formeditc.cHuisnummer.value=document.form.sHuisnummer.value;
	document.formeditc.cPostcode.value=document.form.sPostcode.value;
	document.formeditc.cWoonplaats.value=document.form.sWoonplaats.value;
	document.formeditc.cTelefoon.value=document.form.sTelefoon.value;
	document.formeditc.cEmail.value=document.form.sEmail.value;
}

function showeditwachtwoord() {
	document.getElementById('ww0').style.display = 'none';
	document.getElementById('editww').style.display = 'none';
	document.getElementById('ifww4').style.height = '23px';
	document.getElementById('ifww1').style.display = 'block';
	document.getElementById('ifww2').style.display = 'block';
	document.getElementById('ifww3').style.display = 'block';
	document.getElementById('ww1').style.display = 'block';
	document.getElementById('ww2').style.display = 'block';
	document.getElementById('ww3').style.display = 'block';
	document.getElementById('ww4').style.display = 'block';
	document.getElementById('editcontactww').value = 'ja';
	document.getElementById('cEmailtext').style.display = 'block';
	document.getElementById('cWachtwoord1').style.display = 'block';
	document.getElementById('cWachtwoord2').style.display = 'block';
	document.getElementById('cWachtwoord3').style.display = 'block';
}

function hideeditwachtwoord() {
	document.getElementById('ww0').style.display = 'block';
	document.getElementById('editww').style.display = 'block';
	document.getElementById('ifww1').style.display = 'none';
	document.getElementById('ifww2').style.display = 'none';
	document.getElementById('ifww3').style.display = 'none';
	document.getElementById('ifww4').style.height = '60px';
	document.getElementById('ww1').style.display = 'none';
	document.getElementById('ww2').style.display = 'none';
	document.getElementById('ww3').style.display = 'none';
	document.getElementById('ww4').style.display = 'none';
	document.getElementById('editcontactww').value = 'nee';
	document.getElementById('cEmailtext').style.display = 'none';
	document.getElementById('cWachtwoord1').style.display = 'none';
	document.getElementById('cWachtwoord2').style.display = 'none';
	document.getElementById('cWachtwoord3').style.display = 'none';
}

function canceledit() {
	document.getElementById('cBedrijfsnaam').readOnly = false;
	document.getElementById('cVoornaam').readOnly = false;
	document.getElementById('cTussenvoegsel').readOnly = false;
	document.getElementById('cAchternaam').readOnly = false;
	document.getElementById('cStraat').readOnly = false;
	document.getElementById('cHuisnummer').readOnly = false;
	document.getElementById('cPostcode').readOnly = false;
	document.getElementById('cWoonplaats').readOnly = false;
	document.getElementById('cTelefoon').readOnly = false;
	document.getElementById('cWachtwoord1').readOnly = false;
	document.getElementById('cWachtwoord2').readOnly = false;
	document.getElementById('cWachtwoord3').readOnly = false;
	document.getElementById('cinputfieldimage1').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('cinputfieldimage2').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('cinputfieldimage3').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('cinputfieldimage4').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('cinputfieldimage5').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('cinputfieldimage6').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('cinputfieldimage7').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('cinputfieldimage8').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ifww4').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ifww1').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ifww2').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ifww3').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.formeditc.cBedrijfsnaam.value='';
	document.formeditc.cVoornaam.value='';
	document.formeditc.cTussenvoegsel.value='';
	document.formeditc.cAchternaam.value='';
	document.formeditc.cStraat.value='';
	document.formeditc.cHuisnummer.value='';
	document.formeditc.cPostcode.value='';
	document.formeditc.cWoonplaats.value='';
	document.formeditc.cTelefoon.value='';
	document.formeditc.cEmail.value='';
	document.formeditc.cWachtwoord1.value='';
	document.formeditc.cWachtwoord2.value='';
	document.formeditc.cWachtwoord3.value='';
	document.getElementById('cText0').style.display='block';
	document.getElementById('cText1').style.display='block';
	document.getElementById('cFailtext2').style.display='none';
	document.getElementById('cFailtext3').style.display='none';
	hideeditwachtwoord();
	showIt('div8','8');
}

function oshowservicefail() {
	document.getElementById('oDiv').style.width='348px';
	document.getElementById('oText1').style.display='none';
	document.getElementById('oFail1').style.display='block';
	document.getElementById('oFailtext1').style.display='block';
}

function oshowdatumfail() {
	document.getElementById('oDiv').style.width='348px';
	document.getElementById('oText1').style.display='none';
	document.getElementById('oFail2').style.display='block';
	document.getElementById('oFailtext2').style.display='block';
}

function nshowpassfail() {
	document.getElementById('nText1').style.display='none';
	document.getElementById('nBedrijfsnaam').readOnly = true;
	document.getElementById('nVoornaam').readOnly = true;
	document.getElementById('nTussenvoegsel').readOnly = true;
	document.getElementById('nAchternaam').readOnly = true;
	document.getElementById('nStraat').readOnly = true;
	document.getElementById('nHuisnummer').readOnly = true;
	document.getElementById('nPostcode').readOnly = true;
	document.getElementById('nWoonplaats').readOnly = true;
	document.getElementById('nTelefoon').readOnly = true;
	document.getElementById('nEmail').readOnly = true;
	document.getElementById('ninputfieldimage1').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage2').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage3').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage4').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage5').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage6').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage7').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage8').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage9').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage10').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ninputfieldimage11').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
	document.getElementById('ninputfieldimage12').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
	document.getElementById('nFailtext2').style.display='block';
}

function cshowpassfail() {
	showeditwachtwoord();
	document.getElementById('cText0').style.display='none';
	document.getElementById('cText1').style.display='none';
	document.getElementById('cBedrijfsnaam').readOnly = true;
	document.getElementById('cVoornaam').readOnly = true;
	document.getElementById('cTussenvoegsel').readOnly = true;
	document.getElementById('cAchternaam').readOnly = true;
	document.getElementById('cStraat').readOnly = true;
	document.getElementById('cHuisnummer').readOnly = true;
	document.getElementById('cPostcode').readOnly = true;
	document.getElementById('cWoonplaats').readOnly = true;
	document.getElementById('cTelefoon').readOnly = true;
	document.getElementById('cWachtwoord1').readOnly = true;
	document.getElementById('cinputfieldimage1').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage2').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage3').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage4').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage5').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage6').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage7').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage8').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ifww4').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ifww1').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cWachtwoord2').value='';
	document.getElementById('cWachtwoord3').value='';
	document.getElementById('ifww2').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
	document.getElementById('ifww3').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
	document.getElementById('cFailtext2').style.display='block';
}

function cshowpassfail2() {
	showeditwachtwoord();
	document.getElementById('cText0').style.display='none';
	document.getElementById('cText1').style.display='none';
	document.getElementById('cBedrijfsnaam').readOnly = true;
	document.getElementById('cVoornaam').readOnly = true;
	document.getElementById('cTussenvoegsel').readOnly = true;
	document.getElementById('cAchternaam').readOnly = true;
	document.getElementById('cStraat').readOnly = true;
	document.getElementById('cHuisnummer').readOnly = true;
	document.getElementById('cPostcode').readOnly = true;
	document.getElementById('cWoonplaats').readOnly = true;
	document.getElementById('cTelefoon').readOnly = true;
	document.getElementById('cWachtwoord2').readOnly = true;
	document.getElementById('cWachtwoord3').readOnly = true;
	document.getElementById('cinputfieldimage1').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage2').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage3').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage4').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage5').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage6').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage7').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cinputfieldimage8').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ifww4').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cWachtwoord1').value='';
	document.getElementById('ifww1').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
	document.getElementById('ifww2').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('ifww3').style.backgroundImage = 'url(/euroclean/login/images/inputfield_green.png)';
	document.getElementById('cFailtext3').style.display='block';
}

function cshowpassfail3() {
	document.getElementById('ifww2').readOnly = false;
	document.getElementById('ifww3').readOnly = false;
	document.getElementById('cWachtwoord2').value='';
	document.getElementById('cWachtwoord3').value='';
	document.getElementById('ifww2').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
	document.getElementById('ifww3').style.backgroundImage = 'url(/euroclean/login/images/inputfield_red.png)';
	document.getElementById('cFailtext2').style.display='block';
}

function nshowitemfail(spot) {
	document.getElementById('logincenterformback').style.width='316px';
	document.getElementById('nText1').style.display='none';
	document.getElementById('spot').style.display='block';
	document.getElementById('nFailtext1').style.display='block';
}

function cshowitemfail(spot) {
	document.getElementById('nText1').style.display='none';
	document.getElementById('spot').style.display='block';
	document.getElementById('nFailtext1').style.display='block';
}

function cancelnew() {
	document.getElementById('nBedrijfsnaam').readOnly = false;
	document.getElementById('nVoornaam').readOnly = false;
	document.getElementById('nTussenvoegsel').readOnly = false;
	document.getElementById('nAchternaam').readOnly = false;
	document.getElementById('nStraat').readOnly = false;
	document.getElementById('nHuisnummer').readOnly = false;
	document.getElementById('nPostcode').readOnly = false;
	document.getElementById('nWoonplaats').readOnly = false;
	document.getElementById('nTelefoon').readOnly = false;
	document.getElementById('nEmail').readOnly = false;
	document.getElementById('ninputfieldimage1').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ninputfieldimage2').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ninputfieldimage3').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ninputfieldimage4').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ninputfieldimage5').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ninputfieldimage6').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ninputfieldimage7').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ninputfieldimage8').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ninputfieldimage9').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ninputfieldimage10').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ninputfieldimage11').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('ninputfieldimage12').style.backgroundImage = 'url(/euroclean/login/images/inputfield.png)';
	document.getElementById('nBedrijfsnaam').value='';
	document.getElementById('nVoornaam').value='';
	document.getElementById('nTussenvoegsel').value='';
	document.getElementById('nAchternaam').value='';
	document.getElementById('nStraat').value='';
	document.getElementById('nHuisnummer').value='';
	document.getElementById('nPostcode').value='';
	document.getElementById('nWoonplaats').value='';
	document.getElementById('nTelefoon').value='';
	document.getElementById('nEmail').value='';
	document.getElementById('nWachtwoord2').value='';
	document.getElementById('nWachtwoord3').value='';
	document.getElementById('nText1').style.display='block';
	document.getElementById('nFailtext2').style.display='none';
	showIt('div5','5');
}

function onclicklogin(id) {
	document.getElementById(id).style.fontStyle = 'normal';
	document.getElementById(id).style.color = '#000000';
	document.getElementById(id).style.fontSize= 'medium';
	document.getElementById(id).value = '';
	if(id=='flifw'){
		document.getElementById('flit').style.display='none';
		document.getElementById('flifw').select();		
	}
	if(id=='mlifw'){
		document.getElementById('mlit').style.display='none';
		document.getElementById('mlifw').select();		
	}
	
}

function onblurlogin(id,ww) {
	document.getElementById(id).style.fontStyle = 'italic';
	document.getElementById(id).style.color = '#858585';
	document.getElementById(id).style.fontSize= 'small';
	if(ww=='ja') {document.getElementById(id).value = 'uw wachtwoord';
	} else { document.getElementById(id).value = 'uw login emailadres'; }
}
	
function getEmailAddress() {
	return document.myform.sEmail.value;
}

function loggedin() {
	hideIt('lce');
	document.getElementById('lout').style.display = 'block';
}

function inlogproceskey() {
	if (event.keyCode == 9) {
		gotoWachtwoord();
	}
	if (event.keyCode == 13) {
		gotoWachtwoord();
	}
}

function maininlogproceskey() {
	if (event.keyCode == 9) {
		 onclicklogin('mlifw');
	}
	if (event.keyCode == 13) {
		onclicklogin('mlifw');
	}
}


