Event.observe(window, 'load', init_products)

function init_products() {
	$$('#content a.anchor').each(function(a){
		a.observe('click', scrollize.bindAsEventListener(a));
	});
}

function scrollize(e) {
	new Effect.ScrollTo(this.hash.substr(1));
	Event.stop(e);
}