


var myrules = {
	/*'#menu img' : function(el) {
		if (el.className != 'actif') {
			preload(el);
			el.onmouseover = function() {
				rollover(this);
			}
			el.onmouseout = function() {
				rollout(this);
			}
		}
	},*/
	'#rubriques li' : function(el) {
		if (el.className != 'actif') {
			var img = el.getElementsByTagName('img')[0];
			preload(img);
			el.onmouseover = function() {
				rollover(img);
				showSousRub(this);
			}
			el.onmouseout = function() {
				rollout(img);
				hideSousRub(this);
			}
		} else {
			el.onmouseover = function() {
				showSousRub(this);
			}
			el.onmouseout = function() {
				hideSousRub(this);
			}
		}
	},
	'#sous_rub ul' : function(el) {
			el.onmouseover = function() {
				this.style.display = 'block';
			}
			el.onmouseout = function() {
				this.style.display = 'none';
			}
	},
	'#tabs li' : function(el) {
		el.onmouseover = function() {
			tab(this);
		}
	}
};



Behaviour.register(myrules);


