function parse_links(element)
{
	new_url = '/clickThru.php?url='
	LINKS = document.getElementById(element).getElementsByTagName('a')
	for(i = 0; i < LINKS.length; i++)
	{
		if(LINKS[i].hostname != document.location.hostname)
		{
			LINKS[i].href = new_url + LINKS[i].href
		}
	}
}

onload = function(){ parse_links('header');parse_links('rightcolumn') }