<!--

function GetTime() {
var dt = new Date();
var def = dt.getTimezoneOffset()/60;
var gmt = (dt.getHours() + def);
document.all.Clock2.innerHTML = "$h_day_name<br>$h_day_full<B><div align=center>godz. " + (IfZero(dt.getHours()) + ":" +
IfZero(dt.getMinutes()) + ":" + IfZero(dt.getSeconds())) + "</div><B>";
var ending = ":" + IfZero(dt.getMinutes()) + ":" +  IfZero(dt.getSeconds());

setTimeout("GetTime()", 1000);
}
function IfZero(num) {
return ((num <= 9) ? ("0" + num) : num);
}
function check24(hour) {
return (hour >= 24) ? hour - 24 : hour;
}

function increase(id) {
	document.products['product'+id].value++;
	document.products['product'+id].focus();
}

function decrease(id) {
	if (document.products['product'+id].value <= 0) {
		document.products['product'+id].value == 0;
		document.products['product'+id].focus();
	} else {
		document.products['product'+id].value--;
		document.products['product'+id].focus();
	}
} 
function increase2(id) {
	document.products['amount'+id].value++;
	document.products['amount'+id].focus();
}

function decrease2(id) {
	if (document.products['amount'+id].value <= 0) {
		document.products['amount'+id].value == 0;
		document.products['amount'+id].focus();
	} else {
		document.products['amount'+id].value--;
		document.products['amount'+id].focus();
	}
}
//-->
