﻿// JavaScript Document
function CenaVypocet()
{
cena = parseInt(document.all.strCena.value);
dph = parseInt(document.all.strDph.value);
document.all.strCenaDPH.value = (cena + (cena * dph/100));
}

function updatepocet(polozka)
{
	id = polozka.name;
	count = polozka.value;
	document.location.href = 'trash.php?action=update&id='+id+'&count='+count.replace(",", ".");
}

function updatemonth(polozka)
{
	id = polozka.name;
	month = polozka.value;
	document.location.href = '?month='+month;
}

function updateproduct(polozka)
{
	id = polozka.name;
	product = polozka.value;
	document.location.href = '?product='+product;
}

function vyber(polozka)
{
polozka.focus();
polozka.select();
}

function neodesle()
{
	return false
}

function odesle()
{	
	document.location.href = 'customer.php';
}
