im getting script error in this.
function UserMenuItemClicked(sender, args)
{
var itemValue = args.get_item().get_value();
if (itemValue == "PWD") {
collapsePane();
top.frames["rightPane"].location.href = "iPaasResetPassword.aspx?Status=2"
}
else if (itemValue == "CE") {
top.parent.window.location.href = "iPaaSIntermediateLogin.aspx?status=1"
collapsePane();
}
else if (itemValue == "LOGOUT") {
if (window.confirm("Do you want to end the session and logout?")) {
location.href = "Logout.aspx?strLogout=Y";
}
}