function scroll2top()
{
	var  scroll = {
		top: function(event) 
		{ new Effect.ScrollTo('sub',{
			duration: 0.15
			}
		);}
	}
	if ( $('toplink') )
	{
		$$("a[name='top']").each(function(el){
			el.remove();
		});
		$('toplink').observe('click', scroll.top);
	}
}
function init()
{
	scroll2top();
}

document.observe("dom:loaded", function()
{
	init();
	
	

});
/*
Event.observe (window, "load", init);
*/




