function subscribe() {
	
	var email = $( '#newsletter_e' ).attr( 'value' );
	var url = root_url + 'index.php?act=newsletter/register';
	
	$.get( url + '/process', { email: email }, function( data ) {
		
		if ( data == 0 ) { // 0 - do nothing
			
			
		} else if ( data == 1 ) { // 1 - ok
			
			$.get( url + '&nl=1', function( d ) {
				
				$( '.title_newsletter' ).html( d );
			} );
		} else if ( data > 2 ) { // error
			
			$.get( url + '&state=' + data, function( d ) {
				
				$( '.title_newsletter' ).html( d );
			} );
		}
		
	} );
	
	return false;
}