$(document).ready(function(){
						   
						   
    $('#slidebig').bxSlider({
    auto: false,
    autoControls: false
  	});
	
	$('#logos').bxSlider({
    auto: false,
	controls: false,
	pager:true,
	pagerSelector: '#paging'

   	});
	
	$('#banners').bxSlider({
    auto: true,
	controls: false,
	pager:true,
	pagerSelector: '#pager'
   	});
	
	
	
	$("#topmenu").load("topmenu.html");
	$("#footer").load("footer.html");
	

// Client details shows below //
	
// Client details shows below //
	for(l=1;l<25;l++){
		$("#logo"+l+" a").click(funClientsShow);
		
		
	}
	//alert($("#logo21").attr('ID'));
	/*$("#logo21").mouseover(function(){
		alert($(this).attr('ID'));
	});*/
	
	
	function funClientsShow(){		
		getClientID = $(this).parent().attr('id');
		clientID = getClientID.substr(4,2);
		$("#clients").slideUp(1000, function() {			
			$.ajax({url:"clientdetail"+clientID+".html", success:function(result){	
				$("#clients").html(result);
				$("#clients").slideDown(1000);
				//$("#clients").css("display","block");				
			}});
			$.ajax({url:"clientdetail"+clientID+".html", success:function(result){				
				$("#clients").html(result);
				$('.slideup').click(function(){
					$("#clients").slideUp(1000);
				});	
			}});
		});
	}	
	
// Client details ends above //	
	
  
	
	
});
 
