//  *****  BREAK FRAMES  *******
// this page should never load inside of another frame
  if (top.location != self.location)
    {
    top.location = self.location;
    }

//  Function to open links in a new window   *************************
//  Put rel="external" in the href code      *************************
//  instead of window.open code!!            *************************
//  From http://www.sitepoint.com/article/standards-compliant-world  *****

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;


var domain;
var id;
var sub;

function antiSpam(domain, id, sub) {
location.href = "mailto:" + id + "@" + domain + "?Subject=" + sub;
}
