
// Add the scroll listener to the window object
$(window).addEvent('scroll', function() {
		// Get the menu object
		var objMenu = $('menu');
		var objNetworks = $('networks');
		
		var intScroll = this.getScroll().y;
		// If the window is just a bit scrolled, put up the menu object
		if (intScroll <= 93)
		{
			objMenu.setStyle('top', 220 - intScroll);
		}
		else
		{
			objMenu.setStyle('top', 127);
		}
		if (intScroll <= 211)
		{
			objNetworks.setStyle('top', 218 - intScroll);
		}
		else
		{
			objNetworks.setStyle('top', 7);
		}
});

