function getsize()
{
	var myWidth = 0, myHeight = 0;
	if( typeof( window.innerWidth ) == 'number' )
	{
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	}
	else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
	{
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	}
	else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) )
	{
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
	return {width: myWidth, height: myHeight};
}

function resizeiframe()
{
	var obj = document.getElementById('reserveren');
	if (obj)
		obj.height = getsize().height;
}

function validate()
{
	var oForm = document.getElementById("shop");
	var s = '';

	if (oForm)
	{
		with (oForm)
		{
			if (naam.value == '') s += '- Naam\n';
			if (adres.value == '') s += '- Adres\n';
			if (postcode.value == '') s += '- Postcode\n';
			if (plaats.value == '') s += '- Plaats\n';
			if (email.value == '') s += '- Email\n';
		}

		if (s == '')
			return oForm.submit()
		else
			return alert('De volgende velden zijn verplicht in te vullen:\n\n'+s);
	}
}

var delay = 3*1000;
var iMax = 14;
var iTel = 0;
var tid = null;
var sfilter = 'progid:DXImageTransform.Microsoft.Fade(duration=1)';




