﻿$(document).ready(function () {
	// hides the slickbox as soon as the DOM is ready
	$('#form1').hide();
	$('#form2').hide();
	$('#form3').hide();
	$('#form4').hide();
	$('#form5').hide();
	$('#form6').hide();
	
	// shows the form on clicking the noted link  
	$('#form2-show').click(function () {
		$('#form2').show('slow');
		$('#slick-hide').show('slow');
		$('#slick-show').hide('slow');
		return false;
	});
	// hides the form on clicking the noted link  
	$('#form2-hide').click(function () {
		$('#form2').hide('fast');
		$('#slick-hide').hide('slow');
		$('#slick-show').show('slow');
		return false;
	});

	
	// toggles the slickbox on clicking the noted link  
	$('#addform2').click(function () {
		$('#form2').toggle(400);
		return false;
	});
	$('#addform3').click(function () {
		$('#form3').toggle(400);
		return false;
	});
	$('#addform4').click(function () {
		$('#form4').toggle(400);
		return false;
	});
	$('#addform5').click(function () {
		$('#form5').toggle(400);
		return false;
	});
	$('#addform6').click(function () {
		$('#form6').toggle(400);
		return false;
	});
});


