Im using the below script to close a Shadowbox window. Its working just fine. The issue is that it returns to the parent page. I need it to close and go to a new page like www.google.com. Is that possible using this script? What needs to be changed? Any suggestions?

PHP Code:
<a href=\"Javascript:void(0);\" onclick=\"parent.location.reload();window.parent.Shadowbox.close();\">Use this photo as my profile photo</a>