	$(document).ready(function() {
	$('#access > li:first-child').addClass('first-item');
	$('#access > li:last-child').addClass('last-item');
	$('#home-new > .home-block:nth-child(5n)').addClass('last');
	$('#home-products > .news-block:nth-child(5n)').addClass('last');	
	$('#archive-itms > .news-block:nth-child(4n)').addClass('last');
	$('.bikes > .bike-block:nth-child(4n)').addClass('last');	
	$('#more-posts > .news-block:nth-child(5n)').addClass('last');	
	$('#mn-tech > .tech-block:nth-child(2n)').addClass('last');
	});
	
$(document).ready(function() {
	$(".home-block").equalHeights(120);	
	$(".news-block").equalHeights(150);	
});	

    jQuery(document).ready(function($) {
      $(".new-slider").slideshow({
        width      : 1000,
        height     : 560,
        timer     : false,
        bars     : 10,
        pauseOnClick     : false,        
        transition : ['barLeft', 'barRight']
      });
      $(".new-slider-sm").slideshow({
        width      : 450,
        height     : 300,
        timer     : false,
        bars     : 10,
        pauseOnClick     : false,        
        transition : ['barLeft', 'barRight']
      });
      $(".new-slider-bike").slideshow({
        width      : 1000,
        height     : 560,
        timer     : false,
		delay         : 2000,
        pauseOnClick     : false,        
        transition : 'fade'
      });      
    });
    
$(function() {
	var zIndexNumber = 1000;
	$('div#lang_sel').each(function() {
		$(this).css('zIndex', zIndexNumber);
		zIndexNumber -= 10;
	});
});
