var currentUrl = location.pathname;

function getCurrentUrl(){
	alert(currentUrl);
}
