//if(app=="Microsoft Internet Explorer" && vnum >=4)
//{
 document.write('<DIV CLASS="Mailer" ID="Mailer" STYLE="position:absolute;top:1;display:none;" ALIGN="right">');
 document.write('<A HREF="#top"><IMG SRC="images/crusaderICON.gif" BORDER="0"><\/A><BR>');
 document.write('<\/DIV>');
var IW= 0;
var IH= 0;
var PX= 0;
var PY= 0;
var brand= null;
var IMGW= 94;
var IMGH= 65;
var LSAFETY= 15;
var TSAFETY= 10;
var gandalf= 0;

var ourLays= new Array();
var alldivs= new Array();
alldivs= document.all.tags("DIV");

function BrandInit(){
if (brand!= null) return;
else{ 
  ID_CHECK:  for (i=0; i<alldivs.length; i++){
    if ((gandalf==0)&&(alldivs(i).id == "Mailer")){
      gandalf=1;
      brand= alldivs(i);
      continue ID_CHECK;
    }
    if(gandalf==1){
      if(alldivs(i).id== "nh1"){
        pop_menu= alldivs(i);
        continue ID_CHECK;
      }
    ourLays[ourLays.length]= alldivs(i);
    }
  }
}
brand.onmouseover= neat_mouseover;
brand.onmouseout= neat_mouseout;
//}

function neat_mouseover(){
window.status= "Clicking on the Crusader will take you to the top of this page";
return true;
}

function neat_mouseout(){
window.status= " ";
return true;
}

function BrandPosition(){
if(brand!= null){
  IH= document.body.clientHeight;
  IW= document.body.clientWidth;
  PX= document.body.scrollLeft;
  PY= document.body.scrollTop;
  brand.style.top= (IH+PY-(IMGH+TSAFETY));
  brand.style.left=(IW+PX-(IMGW+LSAFETY));
  for (i=0; i<alldivs.length; i++){
    if (alldivs(i).style.zIndex > brand.style.zindex)
      brand.style.zindex= (alldivs(i).style.zIndex + 1);
  }
}
}

function BrandShow(toggle){
if(brand!= null)
  brand.style.display= toggle;
}

function Branding(){
if (navigator.appVersion.indexOf("Mac") == -1){
  oldIW= IW;
  oldIH= IH;
  oldPX= PX;
  oldPY= PY;
  if ((document.body.clientHeight != oldIH)||(document.body.clientWidth != oldIW)||(document.body.scrollLeft != oldPX)||(document.body.scrollTop != oldPY)){
    BrandInit();
    if(window != window.top){
      var window_checker= 1;
      var ourDoc= "";
      var ourDocWidth= 0;
      var ourDocHeight= 0;
      var ourDocTest= 0;
      var ourDocTemp= 0;
      var ourDocFull= "";
      var allFrames= window.top.document.all.tags('frame');
      if(allFrames.length==0) allFrames= window.top.document.all.tags('FRAME')
      for(i=0;i<allFrames.length; i++){

        var tempLoc= allFrames(i).src;
        if(tempLoc.indexOf("http") == -1){          
          ourDocTemp= allFrames(i).width * allFrames(i).height;
          if(ourDocTemp>ourDocTest){
            ourDoc= allFrames(i);
            ourDocTest= ourDocTemp;
          }
        frame_search= window.top.location.href;
        frameIndex= frame_search.substring(0,frame_search.lastIndexOf("/"));
        ourDocFull= frameIndex+"/"+ourDoc.src;	
        }
      }
    } 
      if(brand != null){
      BrandShow("none");
      BrandPosition();
      BrandShow("");
    }
  }
}
}

  setInterval("Branding()",100);
}
/* if(app=="Netscape" && vnum >=4)
{
 document.write('<LAYER NAME="Fixed" ID="Fixed" ALIGN="right">');
 document.write('<A HREF="#top"><IMG SRC="../images/crusaderICON.gif" BORDER="0"><\/A><BR>');
 document.write('<\/LAYER>');
var IW= 0;
var IH= 0;
var PX= 0;
var PY= 0;
var ZIN= 0;
var us= null;
var IMGW= 94;
var IMGH= 65;
var LSAFETY= 20;
var TSAFETY= 17;
function branding()
  {
  oldIW= IW;
  oldIH= IH;
  oldPX= PX;
  oldPY= PY;
  if ((window.innerHeight != oldIH)||(window.innerWidth != oldIW)||(window.pageXOffset != oldPX)||(window.pageYOffset != oldPY))
    {
    if (us == null)
      {
      for (i=0; i<document.layers.length; i++)
        {
        us= document.layers[i];
        if (us.id == "Fixed")
          break;
        }
      }

if(window != window.top){
  var ourDoc= "";
  var ourDocTest= 0;
   for(i=0;i<window.top.frames.length; i++){
       if((window.top.frames[i].innerWidth * window.top.frames[i].innerHeight)>ourDocTest){
       ourDoc= window.top.frames[i];
       ourDocTest= window.top.frames[i].innerWidth * window.top.frames[i].innerHeight;
       }
  }
}

if((ourDoc == self)||(!ourDoc)){
      if (us != null)
        {
        us.visibility= "hide";
        IH= window.innerHeight;
        IW= window.innerWidth;
        PX= window.pageXOffset;
        PY= window.pageYOffset;
        (IH > IMGH) ? us.top= (IH+PY-(IMGH+TSAFETY)) : us.top= 0;
        (IW > IMGW) ? us.left= (IW+PX-(IMGW+LSAFETY)) : us.left= 0;

        for (i=0; i<document.layers.length; i++)
          {
          templay= document.layers[i];
          if (templay.zIndex > ZIN)
            ZIN= (templay.zIndex + 1);
          }
        us.zIndex= ZIN;
		us.onmouseover= neat_mouseover;
		us.onmouseout= neat_mouseout;
        us.visibility= "show";
        }
      }
    }
  }
function neat_mouseover(){
  if(us != null){
    window.status="Clicking on the Crusader will take you to the top of this page";
    return true;
  }
}

function neat_mouseout(){
  if(us != null){
    window.status="";
    return true;
  }
}

   setInterval("branding()",100);
}
*/