var siteroot = "http://www.tnt.com";
var localroot = "http://" + window.location.hostname;

function getHRefFullURL(href) {
	if ((typeof(siteroot) != "undefined") && (href.charAt(0) == "/")) {
		if ((href.length > 7) && (href.substring(0,7) == "/public"))
			return  localroot + href;
		else
			return  siteroot + href;
	}
	else
		return  href;
};
