$(document).ready(function() {
    $('.testimonial_fade').cycle({ 
    fx:    'fade', 
    speed:  2000,
	timeout: 8000,
	random: 1
	
 });
    $('.executive_clients_fade').cycle({ 
    fx:    'fade', 
    speed:  2000,
	timeout: 8000,
	random: 1
	
 });
 
    $('.home-video-testimonials').cycle({ 
    fx:    'fade', 
    speed:  2000,
	timeout: 8000,
	random: 1
	 });
	 
    $('.organizations_fade').cycle({ 
    fx:    'fade', 
    speed:  2000,
	timeout: 8000,
	random: 1
	
 });
	
	// Event Form Boxes
	$(".register_btn_one").click(function () {
      //$(".contact_form_one").show("slide", { direction: "up" }, 1000);
	  $(".contact_form_one").slideDown(400);
  	  
	});
	
	$(".register_btn_two").click(function () {
      
	  $(".contact_form_two").slideDown(400);
	});
	
	//
	
	// CEOnly Form Boxes
	
	$(".ceonly_more_info_one").click(function () {
      
	  $(".ceonly_contact_form_one").slideDown(400);
	});
	
	$(".ceonly_more_info_two").click(function () {
      
	  $(".ceonly_contact_form_two").slideDown(400);
	});
	
	$(".ceonly_more_info_three").click(function () {
      
	  $(".ceonly_contact_form_three").slideDown(400);
	});
	
	$(".ceonly_more_info_four").click(function () {
      
	  $(".ceonly_contact_form_four").slideDown(400);
	});
	
	$(".ceonly_more_info_five").click(function () {
      
	  $(".ceonly_contact_form_five").slideDown(400);
	});
	
	//
	
	
	$(function() { // This function swaps out styles and text for the mailing list sign up on the interior.
            $('.right_col_monday_input').each(function() {
                var text = $(this).val();

                $(this).focus(function() {
                    if ($(this).val() == text) {
                        $(this).addClass("right_col_monday_input_active").val("");
                    }
                });

                $(this).blur(function() {
                    if ($(this).val() == "") {
                        $(this).removeClass("right_col_monday_input_active").val(text);
                    }
                });
            });
        });
	
	$(function() { // This function swaps out styles and text for the mailing list sign up on the HOMEPAGE.
            $('.home_mojo_input').each(function() {
                var text = $(this).val();

                $(this).focus(function() {
                    if ($(this).val() == text) {
                        $(this).addClass("home_mojo_input_active").val("");
                    }
                });

                $(this).blur(function() {
                    if ($(this).val() == "") {
                        $(this).removeClass("home_mojo_input_active").val(text);
                    }
                });
            });
        });

});
