// JavaScript Document				  $(document).ready(function(){	//borrowed from jQuery easing plugin	//http://gsgd.co.uk/sandbox/jquery.easing.php		$.easing.inoutquad = function(x, t, b, c, d) {		if (t==0) return b;		if (t==d) return b+c;		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;	};		// Important, many browsers don't reset scroll on refreshes	// Reset all scrollable panes to (0,0)	// Reset the screen to (0,0)	$.scrollTo(0);		// How to scroll the whole window	$('#neighborhood-details-nav ul li a').click(function(myCallB){//$.scrollTo works EXACTLY the same way, but scrolls the whole screen		$.scrollTo( this.hash, 1500, { easing:'inoutquad', offset:{top:-50, left:0} });		return false;		myCallB.stopPropagation();	});							$.localScroll.defaults.axis = 'xy';		$.localScroll.hash({		target: '#wrapper',		queue:true,		duration:1500	});	// Side Nav Highlights	$('.pane-side li a').click(function(myCall) {		$('.selected-side').removeClass('selected-side');		$(this).parent().removeClass('selected-side');		$(this).addClass('selected-side');		$(this).parent().addClass('selected-side');		myCall.stopPropagation();	});	$("a[rel='group1']").colorbox({opacity:0.8, transition: "fade", current: "" });	$("a[rel='group2']").colorbox({opacity:0.8, transition: "fade", current: "" });	$("a[rel='group3']").colorbox({opacity:0.8, transition: "fade", current: "" });	$("a[rel='group4']").colorbox({opacity:0.8, transition: "fade", current: "" });	$("a[rel='group5']").colorbox({opacity:0.8, transition: "fade", current: "" });	$("a[rel='map1']").colorbox({opacity:0.8, transition: "fade" });	$("a[rel='map2']").colorbox({opacity:0.8, transition: "fade" });	$("a[rel='map3']").colorbox({opacity:0.8, transition: "fade" });	$("a[rel='map4']").colorbox({opacity:0.8, transition: "fade" });	$("a[rel='map5']").colorbox({opacity:0.8, transition: "fade" });	$("a[rel='map6']").colorbox({opacity:0.8, transition: "fade" });	$('ul#nav').superfish({ 		delay:       500,                            // one second delay on mouseout 		animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 		speed:       'fast',                          // faster animation speed 		autoArrows:  false,                           // disable generation of arrow mark-up 		dropShadows: false,                            // disable drop shadows 		pathLevels: 3	});		$('.cmxform').validate();});
