// cteni kotev jako GET parametru
function getAnchor(){
	hash = document.location.hash.replace(new RegExp('^(.*)#'), '');
	var get = {}
	if (hash) {
		hash = hash.split('&');
		for (i in hash) {
			hash[i] = hash[i].split('=');
			get[hash[i][0]] = (hash[i][1] ? hash[i][1] : null);
	}	}
	return get;
}