// stickyNav.js
// author: Drew Dahlman (www.drewdahlman.com)
jQuery = jQuery.noConflict();

jQuery(window).scroll(function(e){ 
	el = jQuery('#background'); // element you want to scroll
	scrolling = 55; // Position you want element to assume during scroll
	bounds = 435; // boundary of when to change element to fixed and scroll
	
	if (jQuery(this).scrollTop() > bounds && el.css('position') != 'fixed'){ 
		//jQuery(el).css({'position': 'fixed', 'top': scrolling	}); 
	} 
	if (jQuery(this).scrollTop() < bounds && el.css('position') != 'absolute'){ 
		//jQuery(el).css({'position': 'absolute', 'top': '512px'}); 
	} 
});



