function m_theta()
	{
	document.forms.myform.wtex.value += '\\theta';
	}
function m_fraction()
	{
	thisform = document.forms.myform;
	numer = thisform.numerator.value;
	denom = thisform.denominator.value;
	stringy = '\\frac{'+numer+'}{'+denom+'}';
	thisform.wtex.value += stringy;
	}
function m_sum()
	{
	document.forms.myform.wtex.value += '\\displaystyle\\sum^{N}_{i=1}';
	}
