// JavaScript Document
window.addEvent('domready', function() {
	// You can skip the following two lines of code. We need them to make sure demos
	// are runnable on MooTools demos web page.
	if (!window.demo_path) window.demo_path = '';
	var demo_path = window.demo_path;
	// --
	$('ssoform').addEvent('submit', function(e) {
		//Prevents the default submit event from loading a new page.
		e.stop();

		//Set the options of the form's Request handler. 
		//("this" refers to the $('myForm') element).
		this.set('send', {onComplete: function(response) { 
			alert(response);
			window.location.replace("http://wwwdev.musc.edu/infoservices/");
		}});
		//Send the form.
		this.send();
	});
});
