function change(obj, color,s)
 {
   obj.style.background = color ;
if (s=='out')
obj.style.background='url(../../images/mbg.gif)';
 }
function chgim(e,i)
{
 document.getElementById(i).src=e;
}

	
function poplink(contenu){htx=contenu.length*0.7;htx=parseInt(htx);
		var content ='<TABLE BORDER=0 width=150 CELLPADDING=3 CELLSPACING=1 ><TR><TD id=tout width=150>'+contenu+'</TD></TR></TABLE>';
			if (document.getElementById)
				{
					box = document.getElementById('popbox').style;
					if(navigator.appName.substring(0,3) == 'Net')
					document.captureEvents(Event.MOUSEMOVE);
					document.onmousemove = pointer;
					
				  	document.getElementById('popbox').innerHTML = content;
				  	box.visibility = 'visible';
		  		}
		}
function pointer(e)
	{
	var x = (navigator.appName.substring(0,3) == 'Net') ? e.pageX : event.x+document.body.scrollLeft;
	var y = (navigator.appName.substring(0,3) == 'Net') ? e.pageY : event.y+document.body.scrollTop-30;
	if (x >(l-170)) box.left = x-165;
	else box.left = x+15;
	
	if (y+(htx-30)>h) box.top = h-(htx);
	else box.top = y-30;
	if (box.top<0) box.top = 0;
	
	}
function closepopup()
	{
	if (document.getElementById)
  		{
		document.getElementById('popbox').innerHTML ="";
		box.visibility = 'hidden';
		}
	}
