/**
 * @package WordPress
 * @subpackage Custom_main_javascript
 */

$(document).ready(function(){
    
$("#nav-whats-up").hover(function() {
          $("#nav-whats-up").animate({ 
        top: "0px"}, 200 );
         }, function () {
          $("#nav-whats-up").animate({ 
        top: "10px"}, 200 );
          });

$("#nav-videos").hover(function() {
          $("#nav-videos").animate({ 
        top: "0px"}, 200 );
         }, function () {
          $("#nav-videos").animate({ 
        top: "10px"}, 200 );
          });

$("#nav-projects").hover(function() {
          $("#nav-projects").animate({ 
        top: "0px"}, 200 );
         }, function () {
          $("#nav-projects").animate({ 
        top: "10px"}, 200 );
          });
          
$("#nav-photos").hover(function() {
          $("#nav-photos").animate({ 
        top: "0px"}, 200 );
         }, function () {
          $("#nav-photos").animate({ 
        top: "10px"}, 200 );
          });          

$("#nav-not-yet").hover(function() {
          $("#nav-not-yet").animate({ 
        top: "0px"}, 200 );
         }, function () {
          $("#nav-not-yet").animate({ 
        top: "10px"}, 200 );
          });

$("#nav-drawings").hover(function() {
          $("#nav-drawings").animate({ 
        top: "0px"}, 200 );
         }, function () {
          $("#nav-drawings").animate({ 
        top: "10px"}, 200 );
          });

/*
Line Two
*/

$("#nav-timeline").hover(function() {
          $("#nav-timeline").animate({ 
        top: "210px"}, 200 );
         }, function () {
          $("#nav-timeline").animate({ 
        top: "220px"}, 200 );
          });
          
$("#nav-about").hover(function() {
          $("#nav-about").animate({ 
        top: "210px"}, 200 );
         }, function () {
          $("#nav-about").animate({ 
        top: "220px"}, 200 );
          }); 

$("#nav-publications").hover(function() {
          $("#nav-publications").animate({ 
        top: "210px"}, 200 );
         }, function () {
          $("#nav-publications").animate({ 
        top: "220px"}, 200 );
          });

$("#nav-store").hover(function() {
          $("#nav-store").animate({ 
        top: "210px"}, 200 );
         }, function () {
          $("#nav-store").animate({ 
        top: "220px"}, 200 );
          });

$("#nav-friends").hover(function() {
          $("#nav-friends").animate({ 
        top: "210px"}, 200 );
         }, function () {
          $("#nav-friends").animate({ 
        top: "220px"}, 200 );
          });
          
$("#nav-for-later").hover(function() {
          $("#nav-for-later").animate({ 
        top: "210px"}, 200 );
         }, function () {
          $("#nav-for-later").animate({ 
        top: "220px"}, 200 );
          }); 



/* Sidebar */

/* Line One */

$("#sidebar-whats-up").hover(function() {
          $("#sidebar-whats-up").animate({ 
        top: "0px"}, 200 );
         }, function () {
          $("#sidebar-whats-up").animate({ 
        top: "10px"}, 200 );
          });

$("#sidebar-videos").hover(function() {
          $("#sidebar-videos").animate({ 
        top: "0px"}, 200 );
         }, function () {
          $("#sidebar-videos").animate({ 
        top: "10px"}, 200 );
          });

$("#sidebar-projects").hover(function() {
          $("#sidebar-projects").animate({ 
        top: "0px"}, 200 );
         }, function () {
          $("#sidebar-projects").animate({ 
        top: "10px"}, 200 );
          });
   
/* Line Two */
          
$("#sidebar-photos").hover(function() {
          $("#sidebar-photos").animate({ 
        top: "155px"}, 200 );
         }, function () {
          $("#sidebar-photos").animate({ 
        top: "165px"}, 200 );
          });          

$("#sidebar-not-yet").hover(function() {
          $("#sidebar-not-yet").animate({ 
        top: "155px"}, 200 );
         }, function () {
          $("#sidebar-not-yet").animate({ 
        top: "165px"}, 200 );
          });

$("#sidebar-drawings").hover(function() {
          $("#sidebar-drawings").animate({ 
        top: "155px"}, 200 );
         }, function () {
          $("#sidebar-drawings").animate({ 
        top: "165px"}, 200 );
          });

/* Line three */

$("#sidebar-timeline").hover(function() {
          $("#sidebar-timeline").animate({ 
        top: "320px"}, 200 );
         }, function () {
          $("#sidebar-timeline").animate({ 
        top: "330px"}, 200 );
          });
          
$("#sidebar-about").hover(function() {
          $("#sidebar-about").animate({ 
        top: "320px"}, 200 );
         }, function () {
          $("#sidebar-about").animate({ 
        top: "330px"}, 200 );
          }); 


$("#sidebar-publications").hover(function() {
          $("#sidebar-publications").animate({ 
        top: "320px"}, 200 );
         }, function () {
          $("#sidebar-publications").animate({ 
        top: "330px"}, 200 );
          });

/* Line Four */

$("#sidebar-store").hover(function() {
          $("#sidebar-store").animate({ 
        top: "485px"}, 200 );
         }, function () {
          $("#sidebar-store").animate({ 
        top: "495px"}, 200 );
          });

$("#sidebar-friends").hover(function() {
          $("#sidebar-friends").animate({ 
        top: "485px"}, 200 );
         }, function () {
          $("#sidebar-friends").animate({ 
        top: "495px"}, 200 );
          });
          
$("#sidebar-for-later").hover(function() {
          $("#sidebar-for-later").animate({ 
        top: "485px"}, 200 );
         }, function () {
          $("#sidebar-for-later").animate({ 
        top: "495px"}, 200 );
          }); 


});
