The problem is the following line
var retval=<%=aaa(para) %>;
Because you are trying to use a variable defined in javascript inside what is essentially a C# (I assume) code block. The variable para does not exist within this section.
One way to get around this (May work for you)
function abc(){
var jsVar = "manoj";
var hiddenControl = <%= inpHdn.ClientID %>;
document.getElementById(hiddenControl).value=jsVar;
}
Then use a form to store the value:
<form id="frm">
<input type="hidden" id="inpHdn" runat="server" />
</form>
Then in your code-behind you could use this:
private void aaa()
{
return (inpHdn.Value == "manoj" ? "manoj" : "kumar");
}