/*
    XHTML 1.0 Strict recommendations of the W3C no longer include the 
    target attribute of the <a> tag. Therefore this javascript is used
    to workaround that.
    
    Go to the following link for more information on this topic:
        http://articles.sitepoint.com/article/standards-compliant-world/1
*/
function externalLinks()
{
    if (!document.getElementsByTagName) return;
    var anchors = document.getElementsByTagName("a");
    for (var i=0; i<anchors.length; i++)
    {
    var anchor = anchors[i];
    if (anchor.getAttribute("href") &&
        anchor.getAttribute("rel") == "external")
        {
            anchor.target = "_blank";
        }
    }
}
window.onload = externalLinks;
