function c(id, t, stopUrl, geType, but)
{
	var cTemp = '', el = document.getElementById(id);
	s = t - serverTime;
	if (t != '') {
		if (s < 0) {
			if (geType == 3) {
				$(el).css('text-transform','uppercase');
				el.innerHTML = "--" + _lang.end + "--";
				return false;
			} 
			el.innerHTML = "<input type='button' value='" + _lang.end + "' class='inline buttonSmall' onclick='window.location.reload()'>";
			return false;
		}
		if (!in_array(geType, [1, 2, 11])) { 
			el.innerHTML = formatTime(s);
		} else {
			if (but || geType == 11) {
				cTemp = "<input type='button' value='" + _lang.interupt + "' class='inline buttonSmall' onclick='document.location.href = \"" + stopUrl + "\"'>";
			}
			el.innerHTML = geType == 11 ? ("<b>" + formatTime(s) + "</b>&nbsp;" + cTemp) : (cTemp + "&nbsp;<b>" + formatTime(s) + "</b>");
		}
		t = t - 1 * game_time_mul;
		window.setTimeout("c('" + id + "', '" + t + "', '" + stopUrl + "', " + geType + ", " + but + ");", 999);
		return false;
	}
	
	if (in_array(geType, [1, 2])) {
		if (but) {
			cTemp = "<input type='button' value='" + _lang.interupt + "' class='inline buttonSmall' onclick='document.location.href = \"" + stopUrl + "\"'>";
		}
		el.innerHTML = cTemp + "&nbsp;<b>" + _lang.awaiting + "</b>";
	}
}

