Event.addBehavior({
	'p.formsubmit input:mouseover' : function(ev) {
		this.className = 'over';
	},
	'p.formconfirm input:mouseover' : function(ev) {
		this.className = 'over';
	},
	'p.formsubmit input:mouseout' : function(ev) {
		this.className = '';
	},
	'p.formconfirm input:mouseout' : function(ev) {
		this.className = '';
	},
	'p.problem input:focus' : function(ev) {
		var blockid = this.parentNode.parentNode.id;
		Element.removeClassName(blockid, "problem");
	},
	'p.problem select:focus' : function(ev) {
		var blockid = this.parentNode.parentNode.id;
		Element.removeClassName(blockid, "problem");
	},
	'p.problem textarea:focus' : function(ev) {
		var blockid = this.parentNode.parentNode.id;
		Element.removeClassName(blockid, "problem");
	}
});