$(document).ready(function() {

	// $(".link-reg").overlay({
	// 	speed: 'slow',
	// 	zIndex: 2,
	// 	closeOnClick: false,
	// 	color: 'black',
	// 
	// 	// start exposing when overlay starts to load
	// 	onBeforeLoad: function() {
	// 		
	// 		$("#box-reg-form").load( $(".link-reg").attr("source") );
	// 		
	// 		// this line does the magic
	// 		this.getBackgroundImage().expose({
	// 			color: '#30804e',
	// 			opacity: 0.4,
	// 			loadSpeed: 'slow',
	// 			zIndex: 1,
	// 			onClose: function () { $(".link-reg").overlay().close(); return true; }
	// 		});
	// 	}, 
	// 	
	// 	// when overlay is closed take the expose instance and close it as well
	// 	onClose: function() {
	// 		$.expose.close();
	// 	}
	// });
	
})
