function cart_opacity_less(){
	if(effects_enabled()){
		if (exists('cart_sidebar')){
			new Effect.Opacity('cart_sidebar', { from: 1.0, to: 0.5, duration: 0.5 });
		}
	}
}
function cart_opacity_more(){
	if(effects_enabled()){
		if (exists('cart_sidebar')){
			new Effect.Opacity('cart_sidebar', { from: 0.5, to: 1.0, duration: 0.5 });
		}
	}
}

function wishlist_opacity_less(){
	if(effects_enabled()){
		if (exists('wishlist_sidebar')){
			new Effect.Opacity('wishlist_sidebar', { from: 1.0, to: 0.5, duration: 0.5 });
		}
	}
}
function wishlist_opacity_more(){
	if(effects_enabled()){
		if (exists('wishlist_sidebar')){
			new Effect.Opacity('wishlist_sidebar', { from: 0.5, to: 1.0, duration: 0.5 });
		}
	}
}

function compare_opacity_less(){
	if(effects_enabled()){
		if (exists('compare_sidebar')){
			new Effect.Opacity('compare_sidebar', { from: 1.0, to: 0.5, duration: 0.5 });
		}
	}
}
function compare_opacity_more(){
	if(effects_enabled()){
		if (exists('compare_sidebar')){
			new Effect.Opacity('compare_sidebar', { from: 0.5, to: 1.0, duration: 0.5 });
		}
	}
}

function appear(id){
	$j("#"+id).className=id+"_show";
	if(effects_enabled()){
		Effect.Appear(id);
	}else{
		$j("#"+id).show();
	}
}

function fade(id){
	$j("#"+id).className=id+"_hide";
	if(effects_enabled()){
		Effect.Fade(id);
	}else{
		$j("#"+id).hide();
	}
}

