$(document).ready(function() {
// select the overlay element - and "make it an overlay"
$("#facebox").overlay({
	// custom top position
	top: 50,
	// some expose tweaks suitable for facebox-looking dialogs
	expose: {
		// you might also consider a "transparent" color for the mask
		color: '#000',
		// load mask
		loadSpeed: 1000,
		// decide transparency
		opacity: 0.75
	},
	// disable this for modal dialog-type of overlays
	closeOnClick: false,
	// we want to use the programming API
	api: true
// load it after delay
})

var ol = $("#facebox").overlay({api: true});
  // wait 7 seconds, then load the overlay
  setTimeout(function() {
    ol.load();
  }, 1);
});
