function toggleDIV(id) {
	x = document.getElementById(id);
	if(x.style.display == 'none') {
		x.style.display='block';
	} else x.style.display='none';
}
function limiter(obj, count){
var tex = obj.value;
var len = tex.length;
if(len > count){
        tex = tex.substring(0,count);
        obj.value =tex;
        return false;
}
obj.parentNode.getElementsByTagName('span')[0].innerHTML = count-len;
}

window.addEvent('domready', function() {
	var list = $$('#menu a');
	list.each(function(element) {
	 
		var fx = new Fx.Styles(element, {duration:200, wait:false});
	 
		element.addEvent('mouseenter', function(){
			fx.start({
				'opacity': 0.6,
				'margin-bottom': 4
			});
		});
	 
		element.addEvent('mouseleave', function(){
			fx.start({
				'opacity': 1,
				'margin-bottom': 4
			});
		});
	 
	});
});