(document.querySelectorAll('#grideee > a')).forEach(function(el){
	  		var s=Snap(el.querySelector('svg')),path=s.select('path'),
	 	    pathConfig={
				from:path.attr('d'),
				to:el.getAttribute('data-path-hover')
			};
            el.addEventListener('mouseenter',function(){
				path.animate({'path':pathConfig.to},speed,easing);
			});
            el.addEventListener('mouseleave',function() {
				path.animate({'path':pathConfig.from},speed,easing );
			});
		});
	}
	init();
})();
</script>
