function animateBox(element,params){
	if(params["reset"]){
		jQuery(".buBox:not("+element+")").find("img:first").css("top","0").css("right","0").css("height",height/2).css("width",width/2);
		jQuery(element).find("img:first").css("opacity",1);
	}else{
		jQuery(element).find(".content").hide();
	}
	jQuery(".buBox:not("+element+")").css("z-index", params["z-index"]-1).find("img:first").stop().animate({"opacity": params["opacity"]}, "fast");
	jQuery(element).css("z-index", params["z-index"]).find("img:first").stop().animate({"height": params["height"],"width" : params["width"], "right" : params["right"],"top" : params["top"]}, "fast","swing",function(){
		if(params["reset"]){
			jQuery(element).find(".content").show();
		}
	});
}