<!-- //<![cdata[
function checkText(formName){
	var attr1 = document.getElementById("attr1");
	if (attr1 != null){
		//trim the user query
		attr1 = attr1.value.replace(/^\s*|\s*$/g,"");
		var c = document.getElementById("c");
		if (c != null && c.value == '') { c.disabled = true; }
	}
}

// ]]> -->
