//v1.0
function MM_modToWW(urlt, hndc)
{
  if(MM_isEmpty(hndc.value)) { alert("Het aantal is niet ingevuld!"); hndc.focus(); } 
  else if(MM_isNumeric(hndc.value)) window.location.href = urlt.replace("%count%", hndc.value);
  else { alert("Het aantal is niet numeriek!"); hndc.focus(); } return false;
}

function MM_modCountHidden(hidden_pid, hidden_offerte_pid, aantal_pid)
{

  hidden_pid.value = aantal_pid.value;
  hidden_offerte_pid.value = aantal_pid.value;

}

function WindowClose()
{
//alert('test');
this.focus();
self.opener = this;
self.close();
}

