var myrules = {
	'#content span.overtext' : function(el){
		el.onmouseover = function(){
			var overcontent = $(el.id+'-overtext');
			if(overcontent) {
				overlib(overcontent.innerHTML);
			}
		}
		el.onmouseout = function(){
			nd();
		}
	},

	'#content .blink' : function(el){
		suppressBlink = true;
		el.fnblink = function () {
			if(suppressBlink) return;
			this.style.visibility = (this.style.visibility =='hidden')?'visible':'hidden';
		}
		setInterval('$(\'' + el.id + '\').fnblink()', 250);
		el.onclick = function() { suppressBlink = suppressBlink ? false : true; }
	},

	'#content .ontopofprevious' : function(el){
		var ps = el.previousSibling;
		if(ps) {
			el.style.top = ps.style.top;
			el.style.left = ps.style.left;
		}
	},

	'#content .hiderightaway' : function(el) {
		Element.hide(el);
	}
};

Behaviour.register(myrules);
