var showDiv;
var oldDiv = 1;

function showChild( el ){
	if(oldDiv == 1){
	//the first time you call this function
		showDiv = document.getElementById(el);
		showDiv.style.display = "block";
		oldDiv = showDiv;
	}
	else{
		showDiv = document.getElementById(el);
		if( showDiv == oldDiv ){
			if(oldDiv.style.display == "none"){	showDiv.style.display = "block";}
			else { showDiv.style.display = "none";}
			oldDiv = showDiv;
			// if its the same div as before, hide the same div, unless its the first time you use the function
		}else{
			oldDiv.style.display = "none";
			showDiv.style.display = "block";
			oldDiv = showDiv;
			// if its a different div, hide the first one, and show the second one
		}
	}
}

var showDiv = null;
function showAbstract( el ){
	if(showDiv == null){
		showDiv = document.getElementById(el);
		showDiv.style.display = "block";		
	} else {
		showDiv.style.display = "none";
		showDiv = null;
	}
}



function checkSearch( el ){



	if( el.value == "Search" ){
		el.value= ""
	}
	
	el.focus()
	el.select()
	
	
}

function positionFooter(){
	

	

	showAbstract('FriendForm');

}