function getXterlinks()
// By Thong Nguyen nkthong@yahoo.com
// This code just VIRTUALLY add a target="_Blank" to any external link in the wiki document!
// NOTE: YOU DON"T Need to modify any of your text document!
{
	var Xterlinks = document.getElementsByTagName('A');
	for (var i=0;i<Xterlinks.length;i++)
	{ 
		var eachLink = Xterlinks[i];
		var regexp_isYourdomain="helpdesk.tesetec.com.br:82"; //for example "meta.wikimedia"
		var regexp_ishttp=/(http(.)*:\/\/)/;
		//Check if the link is valid and is external link
		if( (eachLink.href != null) && (eachLink.href.match(regexp_isYourdomain) == null) && eachLink.href.match(regexp_ishttp)!=null )
	  	{
  			eachLink.target ="_blank";//make the target for this external link
	  	}
	}
}
