openUrl not working

openUrl not working

I wrote a custom function that allows a user to create a quote from a potential by checking a box on the potential record.  The benefit of doing this over using the Add a Quote quick link was I could pre fill many of the Quote fields with information that was already captured in the potential. 

Everything works perfectly, except for one statement at the end… I would like to redirect the user to the quotes list so that they see their newly created quote - I use the openUrl function, but it doesn't appear to be working, the quote is created but the screen stays on the potential record form.

openUrl("https://crm.zoho.com/crm/ShowTab.do?module=Quotes","Same window") ;

any ideas as to what is wrong with the statement?