$(document).ready(function() {
    var move = 7;
    var originalValue =  15; //$(this).css('padding-right');
    
    $('.arrow-links a, a.link').hover(function(e) {
    	var that = this;
        if ((!this.hasOwnProperty('finished') || this.finished) && e.type == 'mouseenter') {
        	this.finished = false;
            $(this).animate({
                'padding-right': '+=' + move,
                'margin-right': '-=' + move,
            }, 150, 'easeOutCubic', function() {
                 that.finished = true;
                });
            }
        else if(e.type == 'mouseleave') {
            this.finished = false;
            $(this).animate({
                'padding-right': originalValue,
                'margin-right': originalValue,
            }, 150, 'easeOutCubic', function() {
                 that.finished = true;
                });
            }
    });
      
    });


