The GoRecent function is held in Sage CRM in an external file which is included in every page.
<script>function doCode(){SageCRM.webMenu.GoRecent('C');}</script>