Event.observe(window, 'load', function(){
	$$(".__remote_higlight").each(function(o){$B.remote_higlight(o);});
	$$(".__tool_tip").each(function(o){$B.tool_tip(o);});
	$$(".__direct_link").each(function(o){
		$("directLinks").appendChild(o);
		
		ext = o.href.match(/\.([a-zA-Z0-9]+)$/);
		
		img = document.createElement("img");
		img.src = img_base_dir + "icons/fileicons/" + ext[1] + ".png";
		
		o.insertBefore(img, o.firstChild);
	});
	
	member_dot_cleanup($$(".member_dot"),12,12);
} );

function member_dot_cleanup(dots,width,height){
	var min_dist = Math.floor(Math.sqrt(width*width/2/2+height*height/2/2));
	
	for (i in dots){
		
	}
}


