$(boxHtml).appendTo("body").css({top:$(this._boxId).height()+"px"}).animate({top:0}, 500);改成
$(boxHtml).appendTo("body").css({top:$(this._boxId).height()+"px"}).animate({top:($(document).height()-$(".alert").height())/2+"px"}, 500);
$(boxHtml).appendTo("body").css({top:$(this._boxId).height()+"px"}).animate({top:0}, 500);改成
$(boxHtml).appendTo("body").css({top:$(this._boxId).height()+"px"}).animate({top:($(document).height()-$(".alert").height())/2+"px"}, 500);