// When the DOM is ready, initialize the scripts.
jQuery(function($) {
	var container = $("#get-started-form");
	// Bind the link to toggle the slide.
	$("#get-started-tab").click(function(event) {
		// Prevent the default event.
		event.preventDefault();
		// Toggle the slide based on its current visibility.
		if (container.is(":visible")) {
			// Hide - slide up.
			container.slideUp(500);
		} else {
			// Show - slide down.
			container.slideDown(500);
		}
	}
	);
});

jQuery(function($) {
	$('input[type=checkbox]').checkbox({
		empty: '/images/empty.png'
	});
});

$(document).ready(function() {
	$('#get-started').ajaxForm(function() {
		alert('Message received!');
		$('#get-started-form').slideUp(500);
	});
});


