function checksubmit(){
	document.addform.submit.disabled = false;
	if(document.addform.context.value == "") document.addform.submit.disabled = true;
}

function type2_on_off(){
	document.query.typename.disabled = !document.query.type2.checked;
}
