function openGastwaarderingInfo()
{
	pop = window.open( 'windows/parkbeoordeling.php', '', 'height=340,width=520,location=no,menubar=no,status=no,toolbar=no,scrollbars=no,left=50,top=100');
	pop.focus();
}

function getObj(name)
{
  if (document.getElementById)
  {
    this.obj = document.getElementById(name);
    this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
    this.obj = document.all[name];
    this.style = document.all[name].style;
  }
  else if (document.layers)
  {
    this.obj = document.layers[name];
    this.style = document.layers[name];
  }
}

function showBungTypeDesc(intButId, show)
{
    var minDesc = new getObj("desc_min_" + intButId);

    var expandDesc = new getObj("desc_max_" + intButId);
    expandDesc.style.display = (show == true) ? "" : "none";

    //var expandDesc = new getObj(intButId + "_desc_details");
    //expandDesc.style.display = (show == true) ? "block" : "none";

    minDesc.style.display = (show == true) ? "none" : "";
}

function openParkInformation(intParkId,strCountry,strCity,strParkName){
    location.href="/parksearch.php?bngCountry="+strCountry+"&bngCity="+strCity+"&bngPark="+strParkName+"&parkId="+intParkId;
}

function gotoAdvSearch(){
    document.bng_form.submit();
}

