function mapaStart()   
		{   
			var wspolrzedne = new google.maps.LatLng(52.179544,21.235714);
			var opcjeMapy = {
			  zoom: 16,
			  center: wspolrzedne,
			  mapTypeId: google.maps.MapTypeId.ROADMAP
			};
			var mapa = new google.maps.Map(document.getElementById("mapka"), opcjeMapy); 
	   

		  var punkt  = new google.maps.LatLng(52.179544,21.235714);  
		      var opcjeMarkera =  
		        {  
		               position: punkt,  
		                map: mapa,  
		               title: "Indu Progress S.C.",
		               icon: "http://induprogress.pl/indu.png"
		            }  
		          var marker = new google.maps.Marker(opcjeMarkera); 
		}


function slideSwitch() {
   var $active = $('#bullet IMG.active');

   if ( $active.length == 0 ) $active = $('#bullet IMG:last');

   var $next =  $active.next().length ? $active.next()
       : $('#bullet IMG:first');

   $active.addClass('last-active');

   $next.css({opacity: 0.0})
       .addClass('active')
       .animate({opacity: 1.0}, 1000, function() {
           $active.removeClass('active last-active');
       });
}


var dlbar = function(id)
		{
			jQuery(document).ready(function($){ 
				$('#'+id).toggleClass('visible');
				$('#'+id+'_ticker').toggleClass('down');
			});
		}

$(document).ready(function(){
    $("#slider").easySlider({
        auto: true,
        continuous: true,
        pause: 7000,
        nextId: 'next',
        prevId: 'prev',
        prevText: '',
        nextText: ''
       
    });

    $("#cat").change(function(event){ 
	
		$('div._bar').hide();
		$('#'+this.value+'_').show();

        });

    setInterval( "slideSwitch()", 7000 );

    $("#download tr:nth-child(2n+4)").addClass('odd');

});
