isExternLink = function(url)
{
	if (url.indexOf("http://") < 0)
		return false;
	else
		return true;
}

openLink = function(url)
{
	if (isExternLink(url))
		window.open(url,"Cartographie");
	else
		window.location.href = url;
}