// The following code will set the target attribute of all external links (as defined 
// by the if statement) to _blank, causing them to open in a new window.
function setTargets() {
    var dlhost = "";
    for (i=0;i<document.links.length;i++) {
        dlhost = document.links[i].hostname;
        dlhost = dlhost.replace(/www./,"");
        document.links[i].hostname = dlhost;
        if (document.links[i].hostname != "dubaivacationtrips.com") {
            document.links[i].target="_blank";
        }
    }
}