//$(function(){
//	var tabs = $('a.tabs');
//	$('a.tabs').click(function(e){
//		e.preventDefault();
//		var id = $(this).attr("id");
//		tabs.each(function(){
//			var tid = $(this).attr("id");
//			$('#'+tid+'Content').hide();
//			$(this).removeClass('active');
//		});
//		$('#'+id+'Content').show();
//		$(this).addClass('active');
//	});	
//});

function belekas(chkb){
	var pid = chkb.id.replace("ch", "");
	if(chkb.checked){
		$('#chp'+pid).addClass('active');
	}else{
		$('#chp'+pid).removeClass('active');
	}
}
