Cufon.replace('h1',{fontFamily : "qlassiktb"});
Cufon.replace('h2',{fontFamily : "qlassiktb"});

$(function(){
$(".cont").hide();
$(".cont:first").show();
$(".lhslink").click(function(){							 
	$(".lhslink").removeClass("sel");					 
	$(".cont").slideUp(); 
		var i = $(".lhslink").index(this);
		$(".cont").eq(i).stop(false,false).slideDown();
		$(".lhslink").eq(i).addClass("sel");
	});


/*-----------------Pagination start here ----*/	
	var cur_index=0;
	var $containers = $('.inner_conent');
	var total_boxes = $containers.length;
	var openedBox = $containers[0];	
	$containers.not(':first').hide();	
	$('.outof').html('Showing 1 of ' + total_boxes + ' Clients Found');	
	
	var next = function(){ 
		if(cur_index < total_boxes-1) cur_index++;
		else cur_index==0;
	}	
	var prev = function(){ 
		if(cur_index > 0) cur_index--;	
		else cur_index == 0;		
	}		
	var animation = function(){
		var curBox = $containers[cur_index];	
		if(openedBox != curBox){		
			$(openedBox).hide(); $(curBox).show();
			openedBox=curBox;
					$('.outof').html('Showing '+(cur_index+1) + ' of ' + total_boxes + ' Clients Found' );					
		}
	}	
	$('.prevcr').click(function(){prev(); animation(); });
	$('.nextcr').click(function(){next(); animation(); });	
	/*-------------End Pagination -------------------*/


});
