var Menu = {
	accountSettings: {
		menu: 'accountMenu',
		event: 'leftmouse',
		menuPosition: 'button',
		offsetLeft: 2,
		offsetTop: -6
	},
	accountFunctions: function(action) {
		var url = '';
		switch ( action ) {
			case 'submit':
				url = 'http://sheezyart.com/art/submit/';
				break;
			case 'manage':
				url = 'http://sheezyart.com/art/manage/';
				break;
			case 'journal':
				url = 'http://sheezyart.com/journal/manage/';
				break;
			case 'messages':
				url = 'http://sheezyart.com/inbox/';
				break;
			case 'watch':
				url = 'http://sheezyart.com/my/watch/';
				break;
			case 'settings':
				url = 'http://sheezyart.com/settings/';
				break;
			case 'subscribe':
				url = 'http://sheezyart.com/store/';
				break;
			case 'cast-page':
				url = 'http://sheezyart.com/admin/';
				break;
			case 'cast-club':
				url = 'http://clubs.sheezyart.com/cast/';
				break;
			case 'cast-wiki':
				url = 'http://castwiki.sheezyart.com/';
				break;
			case 'cast-reports':
				url = 'http://sheezyart.com/admin/reports/';
				break;
			case 'dev-hub':
				url = 'http://dev.sheezyart.com/index.php';
				break;
			case 'dev-studio':
				url = 'http://codestudio.sheezyart.com/';
				break;
			case 'dev-bugs':
				url = 'http://sheezyart.com/admin/support/';
				break;
			case 'logout':
				url = 'http://sheezyart.com/logout/';
				break;
		}
		
		window.location = url;
	},
	updatesSettings: {
		menu: 'updatesMenu',
		event: 'hover',
		menuPosition: 'button',
		offsetTop: -2,
		outSpeed: 1,
		inSpeed: 1
	},
	updatesFunctions: function(action) {
		
	},
	
	friendsSettings: {
		menu: 'friendsMenu',
		event: 'leftmouse',
		menuPosition: 'button',
		offsetTop: -2,
		onShow: function(ul, menu, o) {
			$(ul).load('/user/friend/online/');
		}
	},
	friendsFunctions: function(action) {
		alert('clicked! ' + action);
	}
};