function initmacyreturntotop(){
	if(_macyreturntotop_effectParam=='1'){
		$('macyreturntoptop').addEvent('click',function(event){
			event = new Event(event).stop();
			var scroll = new Fx.Scroll(window, {
				wait: false,
				transition:_macyreturntotop_effecttransition,
				duration:_macyreturntotop_durationTransition

			});
			scroll.toTop();
		});
	}
	else{
		$('macyreturntoptop').addEvent('click',function(event){
			event = new Event(event).stop();

			var scroll = new Fx.Scroll(window, {
				wait: false,
				transition:_macyreturntotop_effecttransition,
				duration:0

			});
			scroll.toTop();
		});
	}
	if(_macyreturntotop_type_align==0){
		$('macyreturntoptop').setStyle('left',15);
		$('macyreturntoptop').setStyle('top',15);
	}
	else if(_macyreturntotop_type_align==1){
		$('macyreturntoptop').setStyle('right',15);
		$('macyreturntoptop').setStyle('top',15);
	}
	else if(_macyreturntotop_type_align==2){
		$('macyreturntoptop').setStyle('left',15);
		$('macyreturntoptop').setStyle('bottom',15);
	}
	else if(_macyreturntotop_type_align==3){
		$('macyreturntoptop').setStyle('right',15);
		$('macyreturntoptop').setStyle('bottom',15);
	}

}


