JavaScript URL tracker function array

<script>

/* URL Tracker */
last_page = new Array();
go_here = ”;

function tracker()
{

go_here = location.hash;
go_here = go_here.substr(1);
last_page.unshift(go_here);

}

function visit_last_remove_from_tracker()
{

go_here = last_page.shift();
//alert(go_here);
if(go_here == ”){go_here = ‘state_link_28’;}
if(go_here == ‘undefined’){go_here = ‘state_link_28’;}
return go_here;

}

</script>

Comments are closed.