/*
 * SimpleModal Basic Modal Dialog
 * http://www.ericmmartin.com/projects/simplemodal/
 * http://code.google.com/p/simplemodal/
 *
 * Copyright (c) 2010 Eric Martin - http://ericmmartin.com
 *
 * Licensed under the MIT license:
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * Revision: $Id: basic.js 254 2010-07-23 05:14:44Z emartin24 $
 */

jQuery(function ($) {	
	$('#basic-modal-content').modal({
		onShow: function (dialog){
			dialog.overlay.delay(4000).fadeOut('fast', function () {
						$.modal.close();
			})
		},
		onClose: function (dialog) {
					dialog.overlay.fadeOut('fast', function () {
						$.modal.close();
			})},
			opacity:90,
			escClose:true,
			overlayClose:true
		});
});
