function hiliteDownload(id)
	{
		document.getElementById(['linkdownload'+id]).className = 'leftsubmenu_hi';
		document.getElementById(['imgdownload'+id]).src = 'images/arrow_forward_hi.gif';
	}
	
function unliteDownload(id)
	{
		document.getElementById(['linkdownload'+id]).className = 'leftsubmenu';
		document.getElementById(['imgdownload'+id]).src = 'images/arrow_forward.gif';
	}


function submit_login(oForm)
{
	if(oForm.email.value!='' && oForm.wachtwoord.value!='')
		return oForm.submit();
}

function alertSize()
{
	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 resize_iframe()
{
	var obj = document.getElementById('ogone_frame');
	obj.height = alertSize().height;
}

function get_options(id)
{
	var streek = document.getElementById('streek_opties');

	advAJAX.get(
	{
		url: "__ajax_streek.asp?landid="+id,

		onSuccess : function(obj)
		{
			streek.innerHTML = obj.responseText;
		},
		onError : function(obj)
		{
			//document.getElementById('id').innerHTML = "Er is iets mis gegaan:"+obj.status;
		},
		onFinalization : function()
		{
			//
		},
		onLoading : function()
		{
			//streek.innerHTML = "Loading..."
		}
	});
}

