function saveEventConfig()
{
    var position = $('position').getValue();
    new Ajax.Updater({ success: 'content', onLoading: Loading('content', 'Content') },
			'resources/modules/event/main.php',
			{
				method: 'post',
				parameters: {Page: 'Admin', Action: 'Save', Position: position}
			}
    );
}
function showEvent(id)
{
    page = id + '.html';
    
    new Ajax.Updater(
        {
            success: 'content',
            onLoading: Loading('content', 'Content')
        },
	'resources/modules/event/'+page
    );
}
