/*
 * 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 ($) {
	// Load dialog on page load
	//$('#basic-modal-content').modal();

	// Load dialog on click
	$('#whymodal').click(function (e) {
		var src = "why.html";
		$.modal('<iframe src="' + src + '" height="550" width="690" style="border:0">', {
			overlayClose:true
		});
	});
	
	
	$('#aboutmodal').click(function (e) {
		var src = "about.html";
		$.modal('<iframe src="' + src + '" height="550" width="690" style="border:0">', {
			overlayClose:true
		});
	});
	
	$('#detailsmodal').click(function (e) {
		var src = "details.html";
		$.modal('<iframe src="' + src + '" height="550" width="690" style="border:0">', {
			overlayClose:true
		});
	});
	
	$('#instructorsmodal').click(function (e) {
		var src = "instructors.html";
		$.modal('<iframe src="' + src + '" height="550" width="690" style="border:0">', {
			overlayClose:true
		});
	});
	
	$('#registermodal').click(function (e) {
		var src = "http://pssda.wufoo.com/forms/2011-speech-camp-registration/";
		$.modal('<iframe src="' + src + '" height="550" width="690" style="border:0">', {
			overlayClose:true
		});
	});
	$('#contactmodal').click(function (e) {
		var src = "form.html";
		$.modal('<iframe src="' + src + '" height="550" width="690" style="border:0">', {
			overlayClose:true
		});
	});
		
});
