function showHideAccountTabs()
{
adminType = Xrm.Page.getAttribute(“cr947_type”);
if (typeof (adminType) != “undefined” && admintType.getValue() != null)
{
if(adminType.getText()==”Customer”)
{
Xrm.Page.ui.tabs.get(“ProspectData”).setVisible(false);
Xrm.Page.ui.tabs.get(“CustomerData”).setVisible(true);
}
else if (adminType.getText()==”Prospect”)
{
Xrm.Page.ui.tabs.get(“ProspectData”).setVisible(true);
Xrm.Page.ui.tabs.get(“CustomerData”).setVisible(false);
}
}
}