jQuery(document).ready(function($){
	tables = $('.content table');
	tables.each(function(){
		head = $('<thead/>');
		$(this).prepend(head);
		head.append($(this).find('tr:first-child'));
		head.find('td').each(function(){
			n = $('<th/>');
			n.html(this.innerHTML);
			$(this).after(n);
			$(this).remove();
		});
		$(this).find('tbody tr:odd').addClass('even');
	});
});


jQuery(window).load(function() {
	clients = $('.our-clients');
	if (clients.length>0) {
		clients.jScrollPane({mouseWheelSpeed: 50});
	} else {
		$('.content').jScrollPane({mouseWheelSpeed: 50});
	}
});
