if ('function' == typeof WHITE_AddLoadEvent)
{
  //# initialize Google map
  if ('function' == typeof GoogleLoadMap)
  {
    WHITE_AddLoadEvent(GoogleLoadMap);
  }
}

function GoogleLoadMap() {
  var oGoogleMapDiv = WHITE_GetElementFlex('map');
  if ('object' == typeof oGoogleMapDiv)
  {
    if (GBrowserIsCompatible()) {
      var map = new GMap2(document.getElementById("map"));
      var point = new GLatLng(51.3425515, 5.4776319);

      map.setCenter(point, 13);
      map.addControl(new GSmallMapControl());
      map.addControl(new GMapTypeControl());
      map.setMapType(G_NORMAL_MAP);

      var marker = new GMarker(point);
      var html = "Poolquip Nederland B.V.<br \/>De Vest 50b<br \/>5555 XP Valkenswaard";
      GEvent.addListener(marker, 'click', function() { marker.openInfoWindowHtml(html); });

      map.addOverlay(marker);

      marker.openInfoWindowHtml(html);
    }
  }
}

function ShowFlash(item, getvars)
{
  if (item == 'header') {
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="762" height="274">\n');
    document.write('  <param name="movie" value="http://www.poolquip.nl/flash/poolquip_header.swf' + getvars + '">\n');
    document.write('  <param name=quality value=high>\n');
    document.write('  <param name=menu value=false>\n');
    document.write('  <param name="wmode" value="transparent">\n');
    document.write('  <embed src="http://www.poolquip.nl/flash/poolquip_header.swf' + getvars + '" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="762" height="274" wmode="transparent"></embed>\n');
    document.write('</object>\n');
  }
}
