The GoRecent function is held in Sage CRM in an external file which is included in every page.

Sage CRM Code Example

<script>
function doCode()
{
SageCRM.webMenu.GoRecent('C');
}
</script>