$(document).ready(function() {
	$(".film_wrap").jCarouselLite({
		vertical: true,
		hoverPause:true,
		visible: 3,
		auto:3000,
		speed:2000
	});
	
	//style if technical table exists, if so add class to style the first line.
	if($(".table-technical-data").length > 0) {
		$('.table-technical-data tr:first td').addClass('table-dark-grey');
		$('.table-technical-data').attr({'cellpadding':'0','cellspacing':'0','border':'0','bordercolor':'','width':'98%'});
	}

	if($(".table-technical-data-vertical").length > 0) {
		$('.table-technical-data-vertical tr > td:first-child').addClass('table-dark-grey-vertical');
		$('.table-technical-data-vertical').attr({'cellpadding':'0','cellspacing':'0','border':'0','bordercolor':'','width':'98%'});
	}
	
	if($(".table-technical-data-horizon_vertical").length > 0) {
		$('.table-technical-data-horizon_vertical tr:first td').addClass('table-dark-grey');
		$('.table-technical-data-horizon_vertical tr > td:first-child').addClass('table-dark-grey-vertical');
		$('.table-technical-data-horizon_vertical').attr({'cellpadding':'0','cellspacing':'0','border':'0','bordercolor':'','width':'98%'});
	}
	
});