// basic show and hide 

//customers 

		var J = jQuery.noConflict();							  								   
 	    J(document).ready(function() {
    			J('div#cpgBlock,div#hbcBlock,div#foodBlock,div#lifeBlock,div#brokerBlock').hide();
				
				J('a#allTab').css( "background", "url(/img/customers/6tab_sprite.jpg) 0px -31px no-repeat" );
				J('a#cpgTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -100px 0px  no-repeat" );
                J('a#foodTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -200px 0px no-repeat" );
                J('a#hbcTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -300px 0px no-repeat" );
				J('a#lifeTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -400px 0px no-repeat" );
				J('a#brokerTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -500px 0px no-repeat" );
				
				J('a#allTab').click( function() {
					J('div#cpgBlock,div#hbcBlock,div#foodBlock,div#lifeBlock,div#brokerBlock').hide();
					J('div#allBlock').show();
					
					J('a#allTab').css( "background", "url(/img/customers/6tab_sprite.jpg) 0px -31px no-repeat" );
					J('a#cpgTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -100px 0px  no-repeat" );
					J('a#foodTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -200px 0px no-repeat" );
					J('a#hbcTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -300px 0px no-repeat" );
					J('a#lifeTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -400px 0px no-repeat" );
					J('a#brokerTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -500px 0px no-repeat" );
	   			});
                       
				J('a#cpgTab').click( function() {
					J('div#allBlock,div#hbcBlock,div#foodBlock,div#lifeBlock,div#brokerBlock').hide();
					J('div#cpgBlock').show();
					
					J('a#allTab').css( "background", "url(/img/customers/6tab_sprite.jpg) 0px 0px no-repeat" );
					J('a#cpgTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -100px -31px  no-repeat" );
					J('a#foodTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -200px 0px no-repeat" );
					J('a#hbcTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -300px 0px no-repeat" );
					J('a#lifeTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -400px 0px no-repeat" );
					J('a#brokerTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -500px 0px no-repeat" );
   			});
	
				J('a#foodTab').click( function() {
					J('div#allBlock,div#cpgBlock,div#hbcBlock,div#lifeBlock,div#brokerBlock').hide();
					J('div#foodBlock').show();
					
					J('a#allTab').css( "background", "url(/img/customers/6tab_sprite.jpg) 0px 0px no-repeat" );
					J('a#cpgTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -100px 0px  no-repeat" );
					J('a#foodTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -200px -31px no-repeat" );
					J('a#hbcTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -300px 0px no-repeat" );
					J('a#lifeTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -400px 0px no-repeat" );
					J('a#brokerTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -500px 0px no-repeat" );
	   			});
	
				J('a#hbcTab').click( function() {
					J('div#allBlock,div#cpgBlock,div#foodBlock,div#lifeBlock,div#brokerBlock').hide();
					J('div#hbcBlock').show();
					
					J('a#allTab').css( "background", "url(/img/customers/6tab_sprite.jpg) 0px 0px no-repeat" );
					J('a#cpgTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -100px 0px  no-repeat" );
					J('a#foodTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -200px 0px no-repeat" );
					J('a#hbcTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -300px -31px no-repeat" );
					J('a#lifeTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -400px 0px no-repeat" );
					J('a#brokerTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -500px 0px no-repeat" );
   			});
	
	            J('a#lifeTab').click( function() {
					J('div#allBlock,div#cpgBlock,div#foodBlock,div#hbcBlock,div#brokerBlock').hide();
					J('div#lifeBlock').show();
					
					J('a#allTab').css( "background", "url(/img/customers/6tab_sprite.jpg) 0px 0px no-repeat" );
					J('a#cpgTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -100px 0px  no-repeat" );
					J('a#foodTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -200px 0px no-repeat" );
					J('a#hbcTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -300px 0px no-repeat" );
					J('a#lifeTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -400px -31px no-repeat" );
					J('a#brokerTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -500px 0px no-repeat" );
	   			});
				J('a#brokerTab').click( function() {
					J('div#allBlock,div#cpgBlock,div#foodBlock,div#hbcBlock,div#lifeBlock').hide();
					J('div#brokerBlock').show();
					
					J('a#allTab').css( "background", "url(/img/customers/6tab_sprite.jpg) 0px 0px no-repeat" );
					J('a#cpgTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -100px 0px  no-repeat" );
					J('a#foodTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -200px 0px no-repeat" );
					J('a#hbcTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -300px 0px no-repeat" );
					J('a#lifeTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -400px 0px no-repeat" );
					J('a#brokerTab').css( "background", "url(/img/customers/6tab_sprite.jpg) -500px -31px no-repeat" );
   			});

				
				
                                  
 		});