// Editing Instructions
// 1. Change '#your_div_id' to whatever the ID attribute of your DIV is
// 2. Change '175' to whatever the height of your header is, if you have no header, set to 0

/********************************
*   (C) 2009 - Thiago Barbedo   *
*   - tbarbedo@gmail.com        *
*********************************/
/*window.onscroll = function()
{
    if( window.XMLHttpRequest ) {
        if (document.documentElement.scrollTop > 175 || self.pageYOffset > 175) {
            $('#footer').css('position','fixed');
            $('#footer').css('top','0');
        } else if (document.documentElement.scrollTop < 175 || self.pageYOffset < 175) {
            $('#footer').css('position','absolute');
            $('#footer').css('top','175px');
        }
    }
}*/

$(document).ready(function(){						   
		  
		  $('.send').click(
						function () 
						{
							if($("#contact_form").valid()==true)
							{
							$("#contact_form").submit();	
							}
							else
							{
							//alert('stop');	
								
							}
							
						
						});
		  
		  $(".content_referencje_one a").fancybox({
    'transitionIn'  :  'elastic',
    'transitionOut'  :  'elastic',
    'speedIn'    :  200,
    'speedOut'    :  200,
    'overlayShow'  :  true,
	'overlayOpacity'  :  0,
	'autoScale'	: false
	
  });
		  

		  
		 // alert($('#slider1 li').length);
});	



function test(x){
$("#dupa").animate({
bottom:x
}, 100, "linear");
}






