function gfGetElement(theID){
	if (document.getElementById) return document.getElementById(theID);
	else if (document.all) return document.all[theID];
	else return document.layers[whichLayer];
}

function gfToggleDisplay(theID) {
	var theElement = gfGetElement(theID);
	theElement.style.display = (theElement.style.display == 'none')? '':'none';
}

function gfSetDisplay(theID, theDisplay) {
	var theElement = gfGetElement(theID);
	theElement.style.display = (theDisplay == 1)? '':'none';
}

function gfReplaceText(theID, theText) {
	gfGetElement(theID).innerHTML = theText;
}

function gfPopulateSelect(theSelect, theQueryFile, theValueField, theDisplayField){
	return true;
}

function gfClearSelect(theSelect, theMessage){
	return true;
}

