/*  Qualidigm Misc. Logic
	Ongoing Version
	4/24/06
****************************/

// Sidebars logic
function hideSidebars() {
	var topBox = $('topBox');
	var middleBox = $('middleBox');
	var bottomBox = $('bottomBox');
	if (topBox.childNodes.length < 2) Element.remove("topBox");
	if (middleBox.childNodes.length < 2) Element.remove("middleBox");	
	if (bottomBox.childNodes.length < 2) Element.remove("bottomBox");
}

//Search Box Logic
function clearTextBox(elem, val) 
{
	if (elem.value == val)
		elem.value = "";
}

function fillTextBox(elem, val) 
{
	if (elem.value == "")
		elem.value = val;
}
function changeMyPath() {
	$('topSearchForm').action = "/Find/search.aspx?q=" + $F('searchInputBox');							
}