
function chkFormular()
{
    if(document.Formular.Name.value == ""){alert("Vul a.u.b. uw naam in");document.Formular.Name.focus();return false;}
	if(document.Formular.City.value == ""){alert("Vul a.u.b. uw woonplaats in");document.Formular.City.focus();return false;}
	if(document.Formular.Email.value == ""){alert("Graag Uw E-mail invullen ?");document.Formular.Email.focus();return false;}
	if(document.Formular.Phone.value == ""){alert("Vul a.u.b. uw telefoon / mobiel in");document.Formular.Phone.focus();return false;}
	if(document.Formular.Age.value == ""){alert("Vul a.u.b. uw leeftijd in");document.Formular.Age.focus();return false;}
}
 

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImagesArray(array) {
	
		var d = document; var img;
		for (var i=0; i<array.length; i+=2) {
			img = null; var n = array[i];
			if (d.images) {img = d.images[n];}
			if (!img && d.getElementById) {img = d.getElementById(n);}
			if (img) {img.src = array[i+1];}
		}
	
}

function changeImages() {
	changeImagesArray(changeImages.arguments);
}

function ShowImage(aimage,anaam,aprijs){
	var BigImage = document.getElementById('aktie_big');
	var BigNaam = document.getElementById('aktie_naam');
	var BigPrijs = document.getElementById('aktie_prijs');
	/*BigImage.src = aimage.src;*/
	BigImage.src = aimage;
	BigNaam.value = anaam;
    /*BigPrijs.value = aprijs;*/
}

function BigImagePopup(Thumb){
	var sfile = Thumb;
	var s="toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no, resizable=no,width=660,height=500,curmbox=ACTIVE";
	var hWnd = window.open(sfile,"CA",s);
	
	if ((document.window != null) && (!hWnd.opener))
		hWnd.opener = document.window;
	hWnd.focus();	
}

       