// install overlay with default settings
$(function() {
	$("#zelftest").overlay({
		// start exposing when overlay starts to load
		onBeforeLoad: function() {
			// this line does the magic. it makes the background image sit on top of the mask
			this.getBackgroundImage().expose({color: '#333'});
		},
		// when overlay is closed take the expose instance and close it as well
		onClose: function() {
			$.expose.close();
		}
	}); 
});

// define function that opens the overlay
function openOverlay() {
	// get access to the overlay API
	var api = $("#zelftest").overlay();
	// call it's open() method		
	api.load();			
}

// install overlay with default settings
$(function(henk) {
	$("#weetje").overlay({
		// start exposing when overlay starts to load
		onBeforeLoad: function() {
			// this line does the magic. it makes the background image sit on top of the mask
			this.getBackgroundImage().expose({color: '#333'});
		},
		// when overlay is closed take the expose instance and close it as well
		onClose: function() {
			$.expose.close();
		}
	}); 
});

// define function that opens the overlay
function openWeetje() {
	// get access to the overlay API
	var api = $("#weetje").overlay();
	// call it's open() method		
	api.load();			
}