// JavaScript Document

function openMediabestand (mediabestand_id,breedte,hoogte) {
	new $.nyroModalManual({
		bgColor: '#000000',
		width: breedte, // default Width If null, will be calculate automatically
		height: (hoogte*1) + 20, // default Height If null, will be calculate automatically
		autoSizable: false,
		forceType: 'iframe',
		url: '/mediabestand.asp?mediabestand=' + mediabestand_id
	});
}

function openFerneyleden (provincie) {
	new $.nyroModalManual({
		bgColor: '#000000',
		width: null, // default Width If null, will be calculate automatically
		height: null, // default Height If null, will be calculate automatically
		minWidth: 600, // Minimum width
		minHeight: 600, // Minimum height
		autoSizable: true,
		forceType: 'iframe',
		url: '/ferneyleden.asp?provincie=' + provincie
	});
}

function openFlippingbook (url) {
	new $.nyroModalManual({
		bgColor: '#000000',
		width: $(window).width()-32,
		height: $(window).height()-32,
		autoSizable: false,
		resizable: false,
		url: url
	});
}

function showLid (url) {
	new $.nyroModalManual({
		bgColor: '#000000',
		width: null, // default Width If null, will be calculate automatically
		height: null, // default Height If null, will be calculate automatically
		minWidth: 220, // Minimum width
		minHeight: 150, // Minimum height
		resizeable: true, // Indicate if the content is resizable. Will be set to false for swf
		autoSizable: true, // Indicate if the content is auto sizable. If not, the min size will be used
		url: url
	});
}

