function test (pocet,id) {
	return("/kosik_f.php?pocet="+pocet+"&id="+id);	
}

function NWin(url, jmeno, w, h) 
{
	Fokus = window.open(url, jmeno,'scrollbars=0,toolbar=0,location=0,resizable=1,top=10,left=0,menubar=0,width=' + w + ',height=' + h);
	Fokus.focus()
}	

function toggleDisplay(dd) {
if( document.getElementById(dd).style.display == "none" ) {
    document.getElementById(dd).style.display = "block";
  } else {
    document.getElementById(dd).style.display = "none"; }
}

function AddFavorite(linkObj,addUrl,addTitle)
{
  if (document.all && !window.opera)
  {
    window.external.AddFavorite(addUrl,addTitle);
    return false;
  }
  else if (window.opera && window.print)
  {
    linkObj.title = addTitle;
    return true;
  }
  else if ((typeof window.sidebar == 'object') && (typeof window.sidebar.addPanel == 'function'))
  {
    if (window.confirm('Přidat oblíbenou stránku jako nový panel?'))
    {
      window.sidebar.addPanel(addTitle,addUrl,'');
      return false;
    }
  }
  window.alert('Po potvrzení stiskněte CTRL-D,\nstránka bude přidána k vašim oblíbeným odkazům.');
  return false;
}