var currentFontSize = 0;
function setFontSize(delta) {
	var fs = currentFontSize + delta;
	if (fs <= -1) fs = 0;
	if (fs >= 4) fs = 3;
	
	currentFontSize = fs;
	$("subtemplate").style.fontSize=(100+fs*15)+"%";	// % out of 12px (BODY font size)
	$("subtemplate").style.lineHeight=(150+fs*10)+"%"; // % out of 12px, original lh = 18px = 150%
}
function clearText(thefield){if (thefield.defaultValue== thefield.value)	thefield.value = ""}
function insertText(thefield){if ( thefield.value == "" )	thefield.value = thefield.defaultValue}