$(document).ready(function(){



//+++++++++++++++++++++++++++++++++++++++ START JPJS - PAGE LOADER  +++++++++++++++++++++++++++++++++ //



/* Set Up nav

$("ul.menu li").each(function(){



var GetID = $('a', this).attr("href");

$('a', this).addClass(GetID);


$("a",this).click(function(){


return false;

});// End clck

}); // End each


// last border  */

$('#wnb_nav_hold div  ul li:first').css({"border":"none"});



// +++++++++++ Finish  JPJS Page Loader  ++++++++++++++





// Colum Scroll





$('#fbButter').bind('click', function(){

$('#Socialsidebar').animate({"width": "296px", "right": "2px"}, 400);

$('#otherVenues').hide();

$(this).fadeOut();


});

$('#Socialsidebar').mouseleave(function() {

var widthy = $('#Socialsidebar').width();

if(widthy ==0) {


} else {

$(this).animate({"width": "0px", "right": "0px"}, 400);

$('#fbButter').fadeIn();

$('#otherVenues').fadeIn();

}

});



$('#venButter').bind('click', function(){

$('#otherVenues').animate({"width":"296px", "right": "2px" }, 400);

$(this).fadeOut();


});

$('#otherVenues').mouseleave(function() {

var widthy = $('#otherVenues').width();

if(widthy ==0) {


} else {

$(this).animate({"width":"0px", "right": "-2px"}, 400);

$('#venButter').fadeIn();

}

});





});// End ready



$(window).bind('resize', function(){

var windywidth = $(window).width();

if(windywidth < 1100) {

$('#otherVenues').fadeOut();
$('#Socialsidebar').fadeOut();

} else {

$('#otherVenues').show();
$('#Socialsidebar').show();

}


});
