 function showWidget(type, id, widgetURL)
{
	regio = '';
	land = '';
	if (type == 'land')
	{
		land = id;	
	}
	else if (type == 'regio')
	{
		regio = id;
	}
	html ='<script type="text/javascript">\nwidgetClass = "fietskalenderwidget";\nwidgetMaxAantalItems = "";\nwidgetRegioID = "' + regio + '";\nwidgetLandID = "' + land + '";\n</script>\n<script type="text/javascript" src="' + widgetURL + '"></script>';

	document.getElementById("widgetcode").value = html;
}