function showToolTipGTZ(c,e,x,y)
{
   	a = document.getElementById("GTZtoolTip");
	a.style.left = e.clientX + document.body.scrollLeft + 10 + x;
	a.style.top = e.clientY + document.body.scrollTop - 10 + y;
	a.style.visibility="visible";
	a.innerHTML = "<table border='0' style='border: 1px solid #333333;' bgcolor='white' cellspacing='0' cellpadding='0' border='0'><tr><td><img src='" + c + ".jpg' style='border: solid 2px #333333; margin: 10px;' id='pic' name='pic'></td></tr><tr><td height='30' align='left'><img src='http://static.monclasseur.com/img/mc_logo_white.gif'></td></tr></table>";
	//mc_visible('fade');
}
//cache fiche ou tooltip
function hideToolTipGTZ(){
	a = document.getElementById("GTZtoolTip");
	a.style.visibility="hidden";
	//mc_hidden('fade');
}
function fGetGTZOld(o)
{
	new Ajax.Updater('spanGTZOld', 'ajax/gtz.php', { method: 'get', parameters: {getGTZOld: o} });
}
function fGetGTZNew(n)
{
	new Ajax.Updater('spanGTZNew', 'ajax/gtz.php', { method: 'get', parameters: {getGTZNew: n} });
}
function fSetGTZVote(v)
{
	$('spanGTZNew').innerHTML = "";
	fGetGTZOld(Math.floor(Math.random()*10000000));
	new Ajax.Request('ajax/gtz.php', { method: 'get', parameters: {setGTZVote: v} });
	fGetGTZNew(Math.floor(Math.random()*10000000));
}
