// #@(#)basic.js	1.1 12:40:06,11/11/09 (yy/mm/dd) 
/*
 * 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 236 2010-03-09 06:04:40Z emartin24 $
 *
 */

jQuery(function ($) {
					var COOKIE_NAME = 'survey_cookie';
  				    var options = { path: '/', expires: 1 };

					if($.cookie(COOKIE_NAME) == null)
					$('#basic-modal').modal();

                    var date = new Date();
                    date.setTime(date.getTime() + (3 * 24 * 60 * 60 * 1000));
                    $.cookie(COOKIE_NAME, 'survey', { path: '/', expires: date });	
});

