// JavaScript Document
$(document).ready(function() {
	// hides the slickbox as soon as the DOM is ready
	// (a little sooner than page load)
	$('#licensing').hide();
	$('#requirements').hide();
	$('#buildout').hide();
	$('#application').hide();
	$('#nextsteps').hide();
	$('#tab-prospectmain').addClass("active");
	// toggles the slickbox on clicking the noted link
	$('a#tab-prospectmain').click(function() {
		$(this).addClass("active");
		$('#prospectmain').show();
		$('#licensing').hide();
		$('#requirements').hide();
		$('#buildout').hide();
		$('#application').hide();
		$('#nextsteps').hide();
		$('#tab-licensing').removeClass("active");
		$('#tab-requirements').removeClass("active");
		$('#tab-buildout').removeClass("active");
		$('#tab-application').removeClass("active");
		$('#tab-nextsteps').removeClass("active");
		return false;
	});
	$('a#tab-licensing').click(function() {
		$(this).addClass("active");
		$('#prospectmain').hide();
		$('#licensing').show();
		$('#requirements').hide();
		$('#buildout').hide();
		$('#application').hide();
		$('#nextsteps').hide();
		$('#tab-prospectmain').removeClass("active");
		$('#tab-requirements').removeClass("active");
		$('#tab-buildout').removeClass("active");
		$('#tab-application').removeClass("active");
		$('#tab-nextsteps').removeClass("active");
		return false;
	});
	$('a#tab-requirements').click(function() {
		$(this).addClass("active");
		$('#prospectmain').hide();
		$('#licensing').hide();
		$('#requirements').show();
		$('#buildout').hide();
		$('#application').hide();
		$('#nextsteps').hide();
		$('#tab-prospectmain').removeClass("active");
		$('#tab-licensing').removeClass("active");
		$('#tab-buildout').removeClass("active");
		$('#tab-application').removeClass("active");
		$('#tab-nextsteps').removeClass("active");
		return false;
	});
	$('a#tab-buildout').click(function() {
		$(this).addClass("active");
		$('#prospectmain').hide();
		$('#licensing').hide();
		$('#requirements').hide();
		$('#buildout').show();
		$('#application').hide();
		$('#nextsteps').hide();
		$('#tab-prospectmain').removeClass("active");
		$('#tab-licensing').removeClass("active");
		$('#tab-requirements').removeClass("active");
		$('#tab-application').removeClass("active");
		$('#tab-nextsteps').removeClass("active");
		return false;
	});
	$('a#tab-application').click(function() {
		$(this).addClass("active");
		$('#prospectmain').hide();
		$('#licensing').hide();
		$('#requirements').hide();
		$('#buildout').hide();
		$('#application').show();
		$('#nextsteps').hide();
		$('#tab-prospectmain').removeClass("active");
		$('#tab-licensing').removeClass("active");
		$('#tab-requirements').removeClass("active");
		$('#tab-buildout').removeClass("active");
		$('#tab-nextsteps').removeClass("active");
		return false;
	});
	$('a#tab-nextsteps').click(function() {
		$(this).addClass("active");
		$('#prospectmain').hide();
		$('#licensing').hide();
		$('#requirements').hide();
		$('#buildout').hide();
		$('#application').hide();
		$('#nextsteps').show();
		$('#tab-prospectmain').removeClass("active");
		$('#tab-licensing').removeClass("active");
		$('#tab-requirements').removeClass("active");
		$('#tab-buildout').removeClass("active");
		$('#tab-application').removeClass("active");
		return false;
	});
});
