
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

// Vars du mailto
var arobase = ' ';
var dot = '*';

function nospam(adresse){
	adresse = adresse.replace(arobase, '@');
	adresse = adresse.replace(dot, '.');

	document.open();
	document.write(adresse.link('mailto:'+adresse));
	document.close();
}


TabMenuV = Array();

function mover(obj){
	obj.src = obj.src.replace('_0', '_over');
}

function mout(obj){
	obj.src = obj.src.replace('_over', '_0');
}

function tdover(obj){
	obj.style.backgroundColor = '#F0F0F0';
	mover(MM_findObj(obj.id.replace('td_', 'img_')));
}

function tdout(obj){
	obj.style.backgroundColor = '#FFFFFF';
	mout(MM_findObj(obj.id.replace('td_', 'img_')));
}

function mhover(obj){
	tdover(MM_findObj(obj.id.replace('mh_', 'td_')));
}

function mhout(obj){
	tdout(MM_findObj(obj.id.replace('mh_', 'td_')));
}