function crossfade(crossfadeshow,crossfadeclass){
	if($(crossfadeshow).getStyle('display')=='none'){
		crossfadeclass='.'+crossfadeclass;
		$$(crossfadeclass).each(
			function(s){
				if($(s).getStyle('display')!='none'){
					crossfadehide=$(s).identify();
				}
			}
		);
		Effect.toggle(crossfadeshow,'appear',{duration:0.5});
		Effect.toggle(crossfadehide,'appear',{duration:0.5});
	}
}
