<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

// loads external links in new windows
function replaceExternals()
{
                // Check the browser can understand this script:
                if (!document.getElementsByTagName)
                        return;

                var pageLinks = document.getElementsByTagName('a');

                for (var i = 0; i < pageLinks.length; i++)
                {
                        // Check if the link leads outside the parent domain:
                        if (pageLinks[i].href.indexOf('http://' + window.location.hostname) == -1)
                        {
                                // Don't write over any existing class names:
                                pageLinks[i].className += ' external';
                                pageLinks[i].title = 'This is an external link that will open a new window (' + pageLinks[i].href + ')';
                                pageLinks[i].target = "_blank";
								
                        }
                }
        }
		
function popup() 
        {
                window.open(this.href, 'flPopup', '');
                return false;
}

window.onload = function() {
	replaceExternals();
}
