Hello,
Please have a look into following function on SDK:
Xrm.Utility.openEntityForm(name,id,parameters)
http://msdn.microsoft.com/en-us/library/jj602956.aspx
Hope this helps. If you get answer of your question, please mark the response as an answer and vote as helpful !!!
Vikram Singh. !!! My Blog