<!--

// Rollover Preload
if (document.images) {
	nav1on = new Image();
	nav1on.src = "Img/navBiography_o.gif";
	nav2on = new Image();
	nav2on.src = "Img/navPortfolio_o.gif";
	nav3on = new Image();
	nav3on.src = "Img/navCapabilities_o.gif";
	nav4on = new Image();
	nav4on.src = "Img/navClients_o.gif";
	nav5on = new Image();
	nav5on.src = "Img/navHome_o.gif";
	nav6on = new Image();
	nav6on.src = "Img/navContact_o.gif";
	nav7on = new Image();
	nav7on.src = "Img/buResume_o.gif";
	nav1off = new Image();
	nav1off.src = "Img/navBiography.gif";
	nav2off = new Image();
	nav2off.src = "Img/navPortfolio.gif";
	nav3off = new Image();
	nav3off.src = "Img/navCapabilities.gif";
	nav4off = new Image();
	nav4off.src = "Img/navClients.gif";
	nav5off = new Image();
	nav5off.src = "Img/navHome.gif";
	nav6off = new Image();
	nav6off.src = "Img/navContact.gif";
	nav7off = new Image();
	nav7off.src = "Img/buResume.gif";
}

// Rollover
function imgOn(imgName) {
	if (document.images) {
	document[imgName].src = eval(imgName + "on.src");
}
}

function imgOff(imgName) {
	if (document.images) {
	document[imgName].src = eval(imgName + "off.src");
}
}

// New Winder
function newWindow() {
	window.open("","soda","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=590,height=400");
}

// Boil It Down -- I'm not as cool as AListApart.com or Paul Sowden
function setActiveStyleSheet(title) {
  var i, a, main;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
      a.disabled = true;
      if(a.getAttribute("title") == title) a.disabled = false;
    }
  }
}

function getActiveStyleSheet() {
  var i, a;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) return a.getAttribute("title");
  }
  return null;
}

function getPreferredStyleSheet() {
  var i, a;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1
       && a.getAttribute("rel").indexOf("alt") == -1
       && a.getAttribute("title")
       ) return a.getAttribute("title");
  }
  return null;
}

// Boil It Down -- Hide and Seek
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

-->