function removePipe(element) {

	var tListCont = $(element); // id of list
	
	if(tListCont){
    var currList=$A(tListCont.getElementsByTagName('li')).findAll(
			function(li) {
				return (li);
		});
		
 		currList.each(function(li) {
		  
		  if(Element.readAttribute(li, 'listOrder')=='first')
		  	li.firstChild.style.borderLeft='0px solid black';
		});
	}
}


function markCurrent(element){
    var halfImgSize = 5;
	var tListCont = $(element); // id of list
    var currList=$A(tListCont.getElementsByTagName('li')).findAll(
			function(li) {
				return (li.firstChild);
		});
		
 		currList.each(function(li) {
		  if(Element.readAttribute(li, 'currenttopdir')=='true' && (li.parentNode.id == 'mLMenu')){
		  	// add img element and place it.
		  	var img = document.createElement("img");
		  	img.src = '/_framework/wrap/gfx/dArrow.gif';
		  	img.className="topDirMarkerImg";
      		li.appendChild(img);
      		center = Math.round(li.getWidth()/2) - halfImgSize + 5;
      		img.style.left=center+'px';
      		li.firstChild.className='marktopdir';
		  }
		  // .fade {filter:alpha(opacity=55);	opacity: 0.55;	-moz-opacity:0.55;}
		  // .fade:hover {	filter:alpha(opacity=0);	opacity: 0;	-moz-opacity:0;}
		  // != .. this currently changes everything but the current marker
		  else if (Element.readAttribute(li, 'currenttopdir')=='true' && (li.parentNode.id != 'mLMenu')) {
		  	//li.firstChild.className='marksubpage';
		  	li.firstChild.style.MozOpacity='1';
		  	li.firstChild.style.opacity='1';
      		li.firstChild.style.filter='alpha(opacity=100)';
      		//var img = document.createElement("img");
		  	//img.src = '/_framework/wrap/gfx/tCorner.gif';
		  	//img.className="subPageMarkerImg";
      		//li.appendChild(img);
		  }else if(Element.readAttribute(li, 'currentpage')=='true'){
      		//li.firstChild.className='marksubpage';
      		li.firstChild.style.MozOpacity='1';
      		li.firstChild.style.opacity='1';
      		li.firstChild.style.filter='alpha(opacity=100)';
      		//var img = document.createElement("img");
		  	//img.src = '/_framework/wrap/gfx/tCorner.gif';
		  	//img.className="subPageMarkerImg";
      		//li.appendChild(img);
		  }
		  
		});
}

function floatPeople(div){
	var filler = $('emptyBlockFiller');
	var eb1 = $('emptyBlock1');
	var eb2 = $('emptyBlock2');
	var eb3 = $('emptyBlock3');
	var eb4 = $('emptyBlock4');
	filler.style.height= (0) + 'px';
	eb1.style.height= (0) + 'px';
	eb2.style.height= (0) + 'px';
	eb3.style.height= (0) + 'px';
	eb4.style.height= (0) + 'px';
	var main = $(div);
	var mHeight = Element.getHeight(main);
	var spacer=-6;
	var blocks = 15+25+25+55+spacer;
	filler.style.height= (mHeight-blocks) + 'px';
	eb1.style.height= (25) + 'px';
	eb2.style.height= (25) + 'px';
	eb3.style.height= (25) + 'px';
	eb4.style.height= (55) + 'px';
}

