var fname = window.location.pathname;