
function notify(msg){ 
				var cl = 'notice'; 
				if(typeof(arguments[1]) != 'undefined'){ 
					cl = arguments[1]; 
				}
				msgs = $('#messageWrapper'); 
				ul = $('#messageWrapper ul.'+cl);
				if(ul.length < 1){ 
					ul = $('<ul class="messages '+cl+'"></ul>'); 
					msgs.append(ul); 
				}
				ul.append('<li class="aj">'+msg+'</li>');
				setTimeout(function(){ 
						$('#messageWrapper ul.'+cl+' li.aj:first').remove();
						if(ul.children('li.aj').length < 1){ 
							ul.remove(); 
						}
				}, 
				5000
				); 
}
var Util = {
	lambda : function(fn){ 
		if(jQuery.isFunction(fn)){ 
			return fn;
		}else{
			return function(){ }
		}
	}
}

