Please keep in mind you need to get the id's of the the links that you need to hide after they gets rendered to the page. you can open up a new form with this facility by clicking ctrl+N button and a new page will be opened of the form with the view source functionality.
i was abled to find this solution from microsoft.crm developer community. i cant remember the link. but would like to say "thanks guys for publishing the solution".
var LeftBar = new Array() ;
LeftBar  = "navHistory";
LeftBar  = "navContacts";
LeftBar  = "navMoreAddresses";