function RepositionNav() {
    var windowHeight = $(window).height(); //get the height of the window
    var navHeight = $('#nav').height() / 2;
    var windowCenter = (windowHeight / 2);
    var newtop = windowCenter - navHeight;
    $('#nav').css({"top": newtop}); //set the new top position of the navigation list
}
//function that places the navigation in the center of the window
function that places the navigation in the center of the window
function that places the navigation in the center of the window
function RepositionNav() {
    var windowHeight = $(window).height(); 
    var navHeight = $('#nav').height() / 2;
    var windowCenter = (windowHeight / 2);
    var newtop = windowCenter - navHeight;
    $('#nav').css({"top": newtop}); 
}
function RepositionNav ( ) { var windowHeight = $ ( window ) . height ( ) ; var navHeight = $ ( '#nav' ) . height ( ) / 2 ; var windowCenter = ( windowHeight / 2 ) ; var newtop = windowCenter - navHeight ; $ ( '#nav' ) . css ( { "top" : newtop } ) ; }
function that places the navigation in the center of the window
function that places the navigation in the center of the window
//get the height of the window //set the new top position of the navigation list