$( document ).ready( function(){
	$( 'form .row input' ).bind( 'focus', function(){
		$( this ).addClass( 'focus' );
	});
	$( 'form .row input' ).bind( 'blur', function(){
		$( this ).removeClass( 'focus' );
	});
	$( 'form .row textarea' ).bind( 'focus', function(){
		$( this ).addClass( 'focus' );
	});
	$( 'form .row textarea' ).bind( 'blur', function(){
		$( this ).removeClass( 'focus' );
	});
	
	$('form .req' ).bind( 'focus', function(){
		$( this ).after( '<span class="required">To pole jest wymagane.</span>' );
	});
	
	$('form .req').bind( 'blur', function(){
		$( this ).next( '.required' ).remove();
	});
	
});