
		jQuery(document).ready(function(){
			var isTouch = !!('ontouchstart' in window),
				clickEvent = isTouch ? 'tap' : 'click';

			(function(){
				var jQueryexample = jQuery('#homeslider'),
					jQueryframe = jQuery('.frame', jQueryexample);

				jQueryframe.mightySlider({
					speed: 800,
					autoScale: 1,
					easing: 'easeOutExpo',
					
					// Navigation options
					navigation: {
						slideSize: '100%'
					},
					
					// Dragging
					dragging: {
						dragSource: jQueryexample
					},
					
					// Pages
					pages: {
						activateOn: clickEvent
					},
					cycling: {
						cycleBy: 'slides',
						pauseTime: 10000,
						loop: 1
					},
					// Commands
					commands: {
						buttons: 1,
						pages: 1
					}
				});
			})();
		});

		window.___gcfg = {lang: "en"};
		(function() {
			var po = document.createElement("script"); po.type = "text/javascript"; po.async = true;
			po.src = "https://apis.google.com/js/plusone.js";
			var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(po, s);
		})();

		jQuery(document).ready(function($) {
			 $('.portfolio-item-link').hover(function() {$(this).find('span.portfolio-item-hover').animate({opacity:1}, 200);
        		}, function() {
           			$(this).find('span.portfolio-item-hover').stop(0,0).animate({opacity: 0}, 200); 
  			});
		});

       		$(document).ready(function() {$('.tool').tooltip();});
