
jQuery.noConflict();
jQuery(document).ready(function(){
   jQuery("div.faq").find("h1").click(function(){
   var test = jQuery(this);
   test.parent().find("p").toggle();
      test.parent().find("ul").toggle();
   test.find("img").toggle();

   
});
jQuery('select.formselect').styledSelect();
jQuery("a[rel^='prettyPhoto']").prettyPhoto();


});

function initialize() {

  // Create an array of styles.
  var pinkParksStyles = [
    {
      featureType: "all",
      stylers: [
        { hue: "#dbbca8",
          saturation: +10
         }
      ]
    }
  ];

  // Create a new StyledMapType object, passing it the array of styles,
  // as well as the name to be displayed on the map type control.
  var pinkMapType = new google.maps.StyledMapType(pinkParksStyles,
    {name: "Übersicht"});

  // Create a map object, and include the MapTypeId to add
  // to the map type control.
  var mapOptions = {
    zoom: 16,
    center: new google.maps.LatLng(50.227905, 8.614867),
    mapTypeControlOptions: {
      mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'pink_parks']
    }
  };
  var map = new google.maps.Map(document.getElementById('map_canvas'),
    mapOptions);

  //Associate the styled map with the MapTypeId and set it to display.
  map.mapTypes.set('pink_parks', pinkMapType);
  map.setMapTypeId('pink_parks');
  
  var marker = new google.maps.Marker({
        position: new google.maps.LatLng(50.227905, 8.614867), 
        map: map,
        title:"Immobilien-Styling"
  });
  
   var marker2 = new google.maps.Marker({
        position: new google.maps.LatLng(50.227500, 8.617500), 
        map: map,
        title:"Kurhausgarage",
        icon: new google.maps.MarkerImage('http://immobilien-styling.de/files/parking_icon.png')
  });
  
}




      google.maps.event.addDomListener(window, 'load', initialize);
      
      
      
      
