jQuery( function($){
	
	$( ".menu li" ).click( function(){
		
		location.href
		url = $(this).find("a").attr( 'href' );
		$(location).attr('href',url);

	});
	

	$( "#mc_signup_form" ).submit( function(){

		if( $( "#mc_mv_EMAIL" ).val() == "Enter your email here" ){
			$( "#mc_mv_EMAIL" ).val( '' );
		}
	} );
	
	$("#wpcf7-f2-p161-o1").submit(function() {
		$(".defaultTextActive").each(function() {		
		$(this).val("");
		});
	});
	
	$("#wpcf7-f2-p161-o1 textarea").addClass( "defaultTextActive" );

	$("#wpcf7-f2-p161-o1 input, #wpcf7-f2-p161-o1 textarea").blur( function(){
		if( $(this).val() == "" ){
			$( this ).addClass( "defaultTextActive" );
			$( this ).val( $( this ).attr('title') );			
		}
	});

	$("#wpcf7-f2-p161-o1 textarea").focus( function(){
	
		if( $(this).hasClass("defaultTextActive") ){
			$( this ).removeClass( "defaultTextActive" );
			$( this ).val( "" );			
		}
	});
	
	$("#wpcf7-f2-p161-o1 input").focus( function(){
	
		if( $(this).hasClass("defaultTextActive") ){
			$( this ).removeClass( "defaultTextActive" );
			$( this ).val( "" );			
		}
	});
	
	$("#wpcf7-f2-p161-o1 input").each( function(){
		$( this ).attr("title", $( this ).val() );
	});
	
	$("#wpcf7-f2-p161-o1 textarea").each( function(){
		$( this ).attr("title", $( this ).val() );
	});
	
	$("#wpcf7-f2-p161-o1 input").blur();
	$("#wpcf7-f2-p161-o1 input[type=text]").addClass("defaultTextActive");
	
})
