function updatePic(pic, id) {
	var monImage = new Image();
	monImage.src = 'http://www.convercite.org/wp-content/themes/convercite/images/'+pic;
	document.getElementById(id).src = monImage.src;
}

function updateMenuUnderlying(action, id) {
	var elementTd = document.getElementById('menu_td_'+id);
	var elementSpan = document.getElementById('menu_'+id);
	if (action == 'over') {
		elementTd.className = 'underlink';
		elementSpan.innerHTML = '<br /><img src="http://www.convercite.org/wp-content/themes/convercite/images/spacer.gif" width=1 height=4 /><img src="http://www.convercite.org/wp-content/themes/convercite/images/menu_under_2.jpg" width=5 height=9 />';
	}
	// out
	else {
		elementTd.className = '';
		elementSpan.innerHTML = '<br /><img src="http://www.convercite.org/wp-content/themes/convercite/images/spacer.gif" width=1 height=4 /><img src="http://www.convercite.org/wp-content/themes/convercite/images/spacer.gif" width=5 height=9 />';
	}
}


function writeEmail(email,domain){
	if(domain == null){
		domain = "conver" + "cite" + "." + "org";	
	}
	at="@"
	
	document.write("<"+"a class=menu_lien "+" "+"hr"+"ef='mai"+"lto:"+email + "@" + domain + "'>"+email + at + domain +"</" + "a>")	
}
