$(document).ready(function(){
	$('a.myworks, a.myblog, a.myphoto').mouseover(function(){
      $(this).stop().animate({"padding-top": "0px"}, {duration: 'slow',easing: 'easeOutBack'});
    }).mouseout(function(){ 
      $(this).stop().animate({"padding-top": "10px"}, {duration: 'slow',easing: 'easeOutBack'});
    });;
	
	$('a.header').stop().animate({"opacity": "0.8"}, {duration: 'slow',easing: 'easeOutBack'});
	 $('a.header').mouseover(function(){
      $(this).stop().animate({"opacity": "1.0"}, {duration: 'slow',easing: 'easeOutBack'});
    }).mouseout(function(){ 
      $(this).stop().animate({"opacity": "0.8"}, {duration: 'slow',easing: 'easeOutBack'});
    });;
	 
	 $('a.myphoto').stop().animate({"opacity": "0.3"}, {duration: 'slow',easing: 'easeOutBack'});
});

/* FONT */
  WebFontConfig = {
    google: { families: [ 'Play:400,700:latin' ] }
  };
  (function() {
    var wf = document.createElement('script');
    wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
      '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
    wf.type = 'text/javascript';
    wf.async = 'true';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(wf, s);
  })(); 

// GOOGLE TRACKING
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-9360858-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
  
  
  
