var swap = document.images ? true : false;
var imgList;
var start = "images/interface/";

function picswap(who, what)
{
	if (swap && document.images[who].complete)
	{
		document.images[who].src = start + what;
	}
}

function showPicture(imgName, imgHeight, imgWidth, imgTitle)
{ 
	popup = window.open("" ,'_blank','height=' + imgHeight + ',width=' + imgWidth + ', status=0, menubar=0, toolbar=0, location=0, directories=0, scrollbars=no, resize=no, left=50, top=50');  
	popup.document.write('<html><head><title>' + imgTitle +'</title>'); 
	popup.document.write('<meta http-equiv="imagetoolbar" content="no" />');
	popup.document.write('</head>'); 
	popup.document.write('<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#ffffff">'); 
	popup.document.write('<img src="' + imgName + '" alt="'+ imgTitle + '" hspace="0" vspace="0" border="0" onclick="javascript:window.close();" />');
	popup.document.write('</body></html>');
	popup.document.close();
}

function contact_check()
{
	if (document.contactform.naam.value=="")        
	{
		alert("U bent vergeten uw naam in te vullen!");
		document.contactform.naam.focus();
		return false;
	}
	if (document.contactform.email.value=="")        
	{
		alert("U bent vergeten uw e-mail adres in te vullen!");
		document.contactform.email.focus();
		return false;
	}
	if (document.contactform.onderwerp.value=="")        
	{
		alert("U bent vergeten een onderwerp in te vullen!");
		document.contactform.onderwerp.focus();
		return false;
	}
	if (document.contactform.bericht.value=="")        
	{
		alert("U bent vergeten een bericht in te vullen!");
		document.contactform.bericht.focus();
		return false;
	}
	return true;
}
