$(document).ready(function(){

//profile
    //roll
    var profile_div = document.getElementById("nav_btn_profile");
    var profile_li = document.getElementById("profile_list");
    $(profile_div).mouseover(function(){
        $(profile_li).stop().animate({height:'74px'},{queue:false, duration:600, easing: 'easeOutBounce'})
    });
    //click
    $(profile_li).click(function(){
      window.location=$(this).find("a").attr("href"); return false;
    });
    //removed
    $(profile_div).mouseout(function(){
        $(profile_li).stop().animate({height:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
    });
//work
    //roll
    var work_div = document.getElementById("nav_btn_work");
    var work_li = document.getElementById("work_list");
    $(work_div).mouseover(function(){
        $(work_li).stop().animate({height:'74px'},{queue:false, duration:600, easing: 'easeOutBounce'})
    });
    //click
    $(work_li).click(function(){
      window.location=$(this).find("a").attr("href"); return false;
    });
    //removed
    $(work_div).mouseout(function(){
        $(work_li).stop().animate({height:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
    });
//mptk
    //roll
    var mptk_div = document.getElementById("nav_btn_mptk");
    var mptk_li = document.getElementById("mptk_list");
    $(mptk_div).mouseover(function(){
        $(mptk_li).stop().animate({height:'74px'},{queue:false, duration:600, easing: 'easeOutBounce'})
    });
    //click
    $(mptk_li).click(function(){
      window.location=$(this).find("a").attr("href"); return false;
    });
    //removed
    $(mptk_div).mouseout(function(){
        $(mptk_li).stop().animate({height:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
    });
//login
    //roll
    var login_div = document.getElementById("nav_btn_login");
    var login_li = document.getElementById("login_list");
    $(login_div).mouseover(function(){
        $(login_li).stop().animate({height:'74px'},{queue:false, duration:600, easing: 'easeOutBounce'})
    });
    //click
    $(login_li).click(function(){
      window.location=$(this).find("a").attr("href"); return false;
    });
    //removed
    $(login_div).mouseout(function(){
        $(login_li).stop().animate({height:'0px'},{queue:false, duration:600, easing: 'easeOutBounce'})
    });
});

