// Create a new form
function CreateForm(strName, strMethod, strAction)
{
	var frmExpense = document.createElement("form");
	frmExpense.method = strMethod;
	frmExpense.action = strAction;
	document.body.appendChild(frmExpense);
	return (frmExpense);
}

// Create a hidden form element
function CreateHiddenElement(frmAddTo, strName, strValue)
{
	var eleAdd = document.createElement("input");
	eleAdd.type = "hidden";
	eleAdd.name = strName;
	eleAdd.value = strValue;
	frmAddTo.appendChild(eleAdd);
	return (eleAdd);
}

