With the help of Srini from Tyto Software (http://sahi.co.in/), I have got the solution. Equivalent java code for the above sahi script is as below:
browser.execute("_sahi._openWindow('http://www.google.com','defaultSahiPopup',[360,640]);");
browser.execute("_sahi._selectWindow('defaultSahiPopup');");