//code for the menu buttons
var trajanHeader = {  src: 'trajan.swf' };
sIFR.activate(trajanHeader);
sIFR.replace(trajanHeader, {
  selector: 'h1', 
  wmode: 'transparent', 
  src: 'trajan.swf', 
  css: ['.sIFR-root {color:#ffffff;}']
});

var underLetter = {  src: 'shelley.swf' };
sIFR.activate(underLetter);
sIFR.replace(underLetter, {
  selector: 'h6', 
  wmode: 'transparent', 
  src: 'shelley.swf', 
  css: ['.sIFR-root {color:#905533;}']
});

//code for the menu buttons
var trajan = {  src: 'trajan.swf' };
sIFR.activate(trajan);
sIFR.replace(trajan, {
  selector: '.menuTitle h5', 
  wmode: 'transparent', 
  src: 'trajan.swf', 
  css: [
      '.sIFR-root {cursor:pointer; color:#ffffff; text-align:right;}'
      ,'a { text-decoration:none; color:#ffffff;}'
      ,'a:link { color:#ffffff; }'
      ,'a:hover { color:#674c1d; }'
    ]
});


function OpenChildWin(nurl,nname, nwidth,nheight) {
  popupWin = window.open(nurl, nname, 'scrollbars=1,width=' + nwidth +',height=' + nheight)
}

function runSiteScripts() {

var so = new SWFObject("flashheader.swf", "animation1", "750", "160", "6", "ffffff");
so.addParam("wmode", "transparent");
so.write("flashheader");

// gets rid of focus box on click
if(document.getElementsByTagName) {
var a = document.getElementsByTagName("a");
//collect all anchors A
for(var i = 0; i < a.length; i++){
// mouse onfocus, blur anchors
a[i].onfocus = function(){this.blur();};
}
}


}