function showAddress(address) {
      if (geocoder) {
        geocoder.getLatLng(
          address,
          function(point) {
            if (!point) {
              alert(address + " niet gevonden");
            } else {
              map.setCenter(point, 13);
              var marker = new GMarker(point);
              map.addOverlay(marker);
              marker.openInfoWindowHtml(address);
            }
          }
        );
      }
    }
    
    
function initialize()
{
//dummy
}



function Refresh()
{
if (window.opener && !window.opener.closed) {
window.opener.document.location.reload();
}
window.close();
}

function DeleteThis(Prompt,DeleteCommand)
{
Prompt=Prompt.replace(/_/g," ");
if (window.confirm(Prompt)) {location.replace(DeleteCommand)}
}

function toggleMenu(huidigMenu) {
   if (document.getElementById){
	  thisMenu = eval('document.getElementById("'+ huidigMenu + '").style');
	  if (thisMenu.display == "block") {
	     thisMenu.display = "none"
	  } else {
	     thisMenu.display = "block"
	  }
      return false
   
   } else if (document.all) {
      thisMenu = eval("document.all." + huidigMenu + ".style")
	  if (thisMenu.display == "block") {
	     thisMenu.display = "none"
	  } else {
	     thisMenu.display = "block"
	  }
	  return false   
   
   } else {
      return true
   }
   
}

function cmsImageMouseOver(imageName, imageSrc)
   {
   document[imageName].src = imageSrc;
   }

function divMouseOver(huidigeDiv) {
   if (document.getElementById){
	  thisDiv = eval('document.getElementById("'+ huidigeDiv + '").style');
	  thisDiv.background = "#FFF8E6";
	  thisDivEdit = eval('document.getElementById("'+ huidigeDiv + '-edit").style');
	  thisDivEdit.display = "block";
	  thisDivEdit.position = "absolute";
	  thisDivEdit.left = "0px";
	  thisDivEdit.top= "0px";
	  return false
    } else if (document.all) {
      thisDiv = eval("document.all." + huidigeDiv + ".style");
	  thisDiv.background = "#FFF8E6";
	  thisDivEdit = eval("document.all." + huidigeDiv + "-edit.style");
	  thisDivEdit.display = "block";
	  thisDivEdit.position = "absolute";
	  thisDivEdit.left = "0px;"
	  thisDivEdit.top= "0px";
	  return false   
   } else {
      return true
   }
}

function divMouseOut(huidigeDiv) {
if (document.getElementById){
	  thisDiv = eval('document.getElementById("'+ huidigeDiv + '").style');
	  thisDiv.background = "#ffffff";
	  thisDivEdit = eval('document.getElementById("'+ huidigeDiv + '-edit").style');
	  thisDivEdit.display = "none";
      return false
    } else if (document.all) {
      thisDiv = eval("document.all." + huidigeDiv + ".style");
	  thisDiv.background = "#ffffff";
	  thisDivEdit = eval("document.all." + huidigeDiv + "-edit.style");
	  thisDivEdit.display = "none";
	  return false   
   } else {
      return true
   }
}
