
	Event.observe(document, "dom:loaded", function() {
		$$(".text_field").each(function(x) {
			x.onfocus = function() { this.className = 'text_field_selected'; };
			x.onblur = function() { this.className = 'text_field'; };
		});
		
		$$('#nav li').each(function(li) {
			li.onmouseover = function() { $(this).addClassName('hover'); }
			li.onmouseout = function() { $(this).removeClassName('hover'); }
		});
	});