function resizeNavholder(){
	
	// get mainHolder div
	var mainHolderDiv = document.getElementById('mainHolder')
	
	// get navHolder div
	var navHolderDiv = document.getElementById('navHolder')
	
	// set the navHolder to be the same height as mainHolder
	navHolderDiv.style.height = mainHolderDiv.offsetHeight+"px";
	
	// call function to position profile at the bottom of it
	positionProfile();
	
}

// function to reposition via javascript rather than in the css required as otherwise ie 5.5 Mac positions it at the original height of the div rather than the reset height instigated in the function above
function positionProfile(){

	// have to report height for 5.5mac to take notice of it
	var navHolderDiv = document.getElementById('navHolder');
	var reportHeight = navHolderDiv.offsetHeight+"px";
	
	// write positioning style into profile div
	var profileDiv = document.getElementById('profile')
	profileDiv.style.bottom = 0;
	profileDiv.style.left = 0;
	// write visibility style, set to hidden in the css so that browsers with js disabled won't see it positioned incorrectly & possibly interfering with nav visibility
	profileDiv.style.visibility = "visible";
	
}

//window.onload = resizeNavholder;
// now called from the rollovers file so as not to steal the window.onload event.