	function validateCF(){

		if( Validate_Email_Address( $("email").value ) != false ){
			var error = true;

			if( $('firma').value == '' )	error	= false;
			if( $('tel').value == '' )	error	= false;
			if( $('naam').value == '')	error	= false;
			if( $('email').value == '')	error	= false;
			if( $('straat').value == '')	error	= false;
			if( $('land').value == '')	error	= false;
			if( $('city').value == '' )	error	= false;
			if( $('zip').value == '')	error	= false;

			if(error == false){
				alert(error_fields);
				return false;
			}else{
				return true;
			}
		}else{
			alert(error_email);
			return false;
		}
	}

	function Validate_Email_Address(email_address){
		validRegExp = /^[^@]+@[^@]+.[a-z]{2,}$/i;
		if (email_address.search(validRegExp) == -1){
			return false;
		}else{
			return true;
		}
	 }

	function getPrevNext(state){
		if( totalPics > 1 ){
			if( state == "next" ){
				currentPic += 1;
				if( currentPic > lastPic ){
					currentPic = 0;
				}
			}else if( state == "prev" ){
				currentPic -= 1;
				if( currentPic < 0 ){
					currentPic = lastPic;
				}
			}

			if( $('thePic') ){
				$('thePic').setProperties({
					src: myPics.images[currentPic].src
				});
			}
		}
	}

	function bringBack(){
		try{
			if( $('thePic') ){
				imgEffect.start({ 'opacity': 1 })
				setTimeout( "nextOne()", 3000 );
			}
		}catch(err){

		}
	}

	function nextOne(){
		try{	
			if( $('thePic') ){
				imgEffect.start({ 'opacity': 0 }).chain(function(){	getPrevNext("next"); });
			}
		}catch(err){

		}
	}	 