//弹窗上下居中
function dialogauto(div_name) {
var heightscreen=window.innerHeight;
var div_height=$("."+div_name+"").height();
$("."+div_name+"").css({'position':'fixed','top':(heightscreen-div_height)/2});
}
function dialogauto(div_name) {
var heightscreen=window.innerHeight;
var div_height=$("."+div_name+"").height();
$("."+div_name+"").css({'position':'fixed','top':(heightscreen-div_height)/2});
}