You could try this:
function OpenDialog() {
OpenDialog("95c0e04c-b3cd-4684-9877-38f01c03f198", "account", Xrm.Page.data.entity.getId());
}
function OpenDialog(dialogID, typeName, recordId) {
window.showModalDialog(Xrm.Page.context.getClientUrl() + "/cs/dialog/rundialog.aspx" + "?DialogId=" + dialogID + "&EntityName=" + typeName + "&ObjectId=" + recordId, null, "dialogHeight:600px;dialogWidth:800px;center:yes; resizable:1;maximize:1;minimize:1;status:no;scroll:no");
}
Jason Lattimer
My Blog - Follow me on Twitter - LinkedIn