// Fichier checkUrl.js

// Changement à la volée de l'hurle
function checkUrl(nlink, linkname, url)
{
	if (thisBrowser.ns4)
	{
		if (document.links[nlink].href != url)
		{
			window.location.href=url;
			return false;
		}
	}
	else if (thisBrowser.ie4)
	{
		if (document.all(linkname).href != url)
		{
			window.location.href=url;
			return false;
		}
	}
	return true;
}

function checkUrl2(nlink, linkname, url)
{
	if (thisBrowser.ns4)
	{
		if (document.links[nlink].href != url)
		{
			parent.location.href=url;
			return false;
		}
	}
	else if (thisBrowser.ie4)
	{
		if (document.all(linkname).href != url)
		{
			parent.location.href=url;
			return false;
		}
	}
	return true;
}

