/* Superfish Navigation+*/
$j(document).ready(function() { 
        $j('ul.sf-menu').supersubs({ 

                  minWidth:    12,   // minimum width of sub-menus in em units 

                  maxWidth:    27,   // maximum width of sub-menus in em units 

                  extraWidth:  1     // extra width can ensure lines don't sometimes turn over 

                                     // due to slight rounding differences and font-family 

              }).superfish({ 
            delay:       1000,                            // one second delay on mouseout 
            animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
            speed:       'slow',                          // faster animation speed 
            autoArrows:  true,                           // disable generation of arrow mark-up 
            dropShadows: false                            // disable drop shadows 
        }); 
    }); 



/* Colorbox */
$j(document).ready(function(){
	$j("a[rel='cbox']").colorbox();
});



/* Datepicker */
$j(function() {
	$j( "#termin" ).datepicker({ dateFormat: 'dd.mm.yy' });
});



/* Tooltip Banner Automarkenlogos */
$j(function() {
	$j("#automarken a[title]").tooltip({ position: "bottom center"});
});	

	

  // Google Maps




    function map1() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map1"));
            map.setCenter(new GLatLng(47.50828,16.50311), 15);
    
      var point = new GLatLng(47.50828,16.50311);
      map.addOverlay(new GMarker(point));
        map.setUIToDefault();
      }
	}
	  
	  
	  
    function map2() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map2"));
            map.setCenter(new GLatLng(47.30114,16.19959), 15);
    
      var point = new GLatLng(47.30114,16.19959);
      map.addOverlay(new GMarker(point));
        map.setUIToDefault();
      }
	}	  
	  
	  
function maps()
{
 map1();
 map2();
}	  
	  
	  

    
