Redirect in javascript method

I currently have a javascript method that renders a form in a modal window, after closing this window it refreshes the parent page. I now need it to redirect to another page instead of refreshing the parent, if that makes sense?

<script type="text/javascript">

   &#036;(document).ready(function doStuff(){


    &#036;(&quot;._form&quot;).colorbox({width:&quot;400px&quot;, height:&quot;600px&quot;, iframe:true, 


    onClosed:function(){ location.reload(true); } }); 


 parent.&#036;.fn.colorbox.close();

});

</script>

Any idea how I’d get it to redirect to the desired page? I assume it would be somewhere in the onClosed function