/* Author: 

*/

jQuery(document).ready(function() {

	// Drop Down Menu
	jQuery("#menu li").hover(function()
	{
		jQuery(this).find('ul:first').stop(true, true).slideDown(200);
		jQuery(this).addClass('menu-open');
	},function()
	{
		jQuery(this).find('ul:first').stop(true, true).slideUp(100);
		jQuery(this).removeClass('menu-open');
	});

	// Clearing Default Field Values - Gravity Forms
	jQuery.fn.cleardefault = function() {
	return this.focus(function() {
		if( this.value == this.defaultValue ) {
			this.value = "";
		}
	}).blur(function() {
		if( !this.value.length ) {
			this.value = this.defaultValue;
		}
	});
	};
	jQuery(".clearit input, .clearit textarea").cleardefault();
	
	// Request More Info button slide out sub pages
	jQuery(".request-btn").click(function(){
	    jQuery(".request-form").slideToggle("slow");
	  });
	  	
});
