// fichier : overout.js
// OnMouseOver="overj('mnic')" OnMouseOut="outj('mnic')"
// overj	: rempl. img par ic/imgon.jpg
// overg	: rempl. img par ic/imgon.gif
// overij	: rempl. img par ../ic/imgon.jpg
// overig	: rempl. img par ../ic/imgon.gif
// idem pour out avec off

function overj(img)
{
	if (thisBrowser.js) imgon("", img, "jpg");
}
function outj(img)
{
	if (thisBrowser.js) imgoff("", img, "jpg");
}
function overg(img)
{
	if (thisBrowser.js) imgon("", img, "gif");
}
function outg(img)
{
	if (thisBrowser.js) imgoff("", img, "gif");
}
function overij(img)
{
	if (thisBrowser.js) imgon("../", img, "jpg");
}
function outij(img)
{
	if (thisBrowser.js) imgoff("../", img, "jpg");
}
function overig(img)
{
	if (thisBrowser.js) imgon("../", img, "gif");
}
function outig(img)
{
	if (thisBrowser.js) imgoff("../", img, "gif");
}
function imgoff(path, imgname, ext)
{
	if (thisBrowser.js) changeimg(path, imgname, "off", ext);
}
function imgon(path, imgname, ext)
{
	if (thisBrowser.js) changeimg(path, imgname, "on", ext);
}
function changeimg(path, imgname, onoff, ext)
{
	if (thisBrowser.js)
	{
		if (thisBrowser.ns4)
		{
			document.images[imgname].src=path+"ic/"+imgname+onoff+"."+ext;
		}
		else if (thisBrowser.ie4)
		{
			document.all(imgname).src=path+"ic/"+imgname+onoff+"."+ext;
		}
	}
}
function changelien(numlink, linkname, url)
{
	if (thisBrowser.js)
	{
		if (thisBrowser.ns4)
		{
			document.links[numlink].href=url;
		}
		else if (thisBrowser.ie4)
		{
			document.all(linkname).href=url;
		}
	}
}

