window.onload= function()
{
	prepareImageSwap();
	document.getElementById('headerNav').firstChild.className = 'first';
	document.getElementById('headerNav').childNodes[1].className = 'standard';
	document.getElementById('headerNav').childNodes[2].className = 'standard';
	document.getElementById('headerNav').lastChild.className = 'last';
	
	var mylist= document.getElementById("headerNav");
	var oA = mylist.getElementsByTagName("a");
	for(i=0;i<oA.length;i++){
		oA[i].onmouseover=function(){
			this.parentNode.style.borderBottom="1px solid #ff9900";
		}
		oA[i].onmouseout=function(){
			this.parentNode.style.borderBottom="1px solid #fff";
			//using #fff instead of 'transparent' for IE6
		}
	}
	// prep mouseover for adamfialkov.com logo
	prepareImageSwap(document.body);
}

/*function changeFolioScreen() {
	var parent_element = document.getElementsByClassName("folioThumbs");
	var child_elements = parent_element.getElementsByTagName("a");
	this.style.backgroundColor="#ff9900";
}

var liNodes = document.getElementsByClassName('portfolioThumbs')
	var nodeObj = liNodes.item(0)
	nodeObj.style.backgroundColor = '#000';*/
	
	
/* Swap Resume Icons 
function swapLink(imgid,img) {
  document.getElementById(imgid).src=img;
}*/