if (document.all) {
//IE
feature = "dialogWidth:1002px;dialogHeight:590px;status:no;help:no";
window.showModalDialog("${basePath}/page/toservice.html", null, feature);
}else {
//非IE
feature = "width=1002,height=590,menubar=no,toolbar=no,location=no,scrollbars=no,status=no,modal=yes";
window.open("${basePath}/page/toservice.html", null, feature);
}
//IE
feature = "dialogWidth:1002px;dialogHeight:590px;status:no;help:no";
window.showModalDialog("${basePath}/page/toservice.html", null, feature);
}else {
//非IE
feature = "width=1002,height=590,menubar=no,toolbar=no,location=no,scrollbars=no,status=no,modal=yes";
window.open("${basePath}/page/toservice.html", null, feature);
}