function getPath() {
	var url = location.href;
	var path = new Array;
	path = url.split('index.php');
	return path[0];
}
