
document.write("<div id='popuplink' style='display:none;position:absolute;text-align:center;left:0px;top:0px;width:145px;height:65px;border:1px solid #104A9C;color:#000000;font-family:verdana;font-size:11px;padding:3px;z-index:10;background-color:#ffffff;'> This link will open a hunters affiliate website in a new browser window</div>");
var IE = (document.all?true:false);
	function linkXY( e ) 
		{
			if (IE) 
			{
				tempX = event.clientX + document.body.scrollLeft;
				tempY = event.clientY + document.body.scrollTop;
			} 
			else 
			{
				tempX = e.pageX;
				tempY = e.pageY;
			}  
			if (tempX < 0){tempX = 0}
			if (tempY < 0){tempY = 0} 
			tempY=tempY+10;
			tempX=tempX+10;
		document.getElementById('popuplink').style.left=tempX+"px";
		document.getElementById('popuplink').style.top=tempY+"px";
		document.getElementById('popuplink').style.display="block";
	    return true;
	  }
//alert(window.location.href);

var anchorTags = document.getElementsByTagName("a");
for (var i = 0; i < anchorTags.length ; i++)
{
	temp=anchorTags[i].href;
	if((temp.indexOf("http://www.huntersnet.co.uk")<0 ) && (temp.indexOf("http://www.worldarchipelago.com")<0) && (! temp.match("javascript")) && (! temp.match("mailto"))) //If the href does not have the domain
	{
		if (anchorTags[i].firstChild){
			if(!anchorTags[i].firstChild.src){ //added to avoid images
			anchorTags[i].onmouseover =linkXY;
			anchorTags[i].onmouseout =function (){document.getElementById('popuplink').style.display="none";};
		//alert("Href : " + anchorTags[i].href + "\n");
		}
		}
	}
}
