//toaster 全局参数
function initToastr() {
//如果父窗口已经生成toastr通知,则直接调用父窗口通知
//if (parent.toastr) {
toastr = parent.toastr || toastr ;
//}
toastr.options = {
"debug": true,
"positionClass": "toast-top-center",
"onclick": null,
"showDuration": "3000",
"hideDuration": "1000",
"timeOut": "3000",
"extendedTimeOut": "3000",
"showEasing": "linear",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut"
};
}