var myrules = {
	'#orglist h3' : function(element) {
		element.onmouseover = function(){ this.className = 'hover'; }
		element.onmouseout = function(){ this.className = ''; }
		element.onclick = function(){ show_only(this.parentNode.id); }
	},
	'#orglist .org' : function(element) {
		element.onmouseover = function(){ this.className = 'org hover'; }
		element.onmouseout = function(){ this.className = 'org'; }
		element.onclick = function(){ document.location.href = this.attributes.getNamedItem('href').value; }
	}
};

Behaviour.register(myrules);
