
var historyListener = function(newLocation, historyData) {
	var str = "";
	if (historyData != null)
		str = decode64(URLDecode(historyData));
	else
		str = 'ajaxRequest("showindex.php");';
	try {
		eval(str);
		window.LoadedHistory = true;
	}
	catch (e) {
		//maybe we still need to load some functions before this will be working, store it
		window.StoreHistory = str;
	}
}


