setInterval("update()", 60000);
function update(){
	//var ins = new Array();
	//ins = getUrlVars();
	//alert(ins["list"]);
	$.get("/atlas/ajax/member/reload_feed.php", {show: getin("show"), popup: getin("popup")}, function(data){
		$("ul#memberfeed").parent("div.atlaslist").replaceWith(data);
	});
}


function getin(val){
	var vars = [], hash;
	var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
	for (var i = 0; i < hashes.length; i++){
		hash = hashes[i].split('=');
		console.log(hash[0] + ": " + hash[1]);
		if (hash[0] == val){
			return hash[1];
		}
		//vars.push(hash[0]);
		//vars[hash[0]] = hash[1];
		//
	}
	return "";
}