function ChangeTab(el, coalition) {
	if(el.id != 'calendar') var id = el.href; else var id='000';
	var page = id.substr(id.length-3);
	var myAjax = new Ajax( '/ajax-get-data.php', { postBody:'action=coalitionTab&pID='+page+'&coalition='+coalition, update:'content', onComplete:runInit }).request();
	ResetTabs(el);
}

function ResetTabs(c) {
	var list = $$('div.coalition ul a.current');
	list.each(function(el) {
		var s = el.className;
		el.className = s.replace('current', '');
	});
	c.className += ' current';
}
