var _tr, _tr_full;

_start=parseInt($('#start').text().replace(/[^0-9]/, ''));
if (_start>0)
	$('table.vac .num').each(function(){
		$(this).text((parseInt($(this).text())+_start)+'.')
	});

$('table.vac tr td').click(function(){

	if ($(this).parents('tr.paginate').size()) return;

	if (_tr)
		_tr.show();
	if (_tr_full)
		_tr_full.hide();

	_tr=tr=$(this).parents('tr');
	_tr_full=tr_full=tr.next('tr');

	tr.hide();
	tr_full.show();

	return false;
});

if (location.hash)
	$('table.vac tr#vac'+location.hash.replace('#','')+' td:first').click();
