


$(function(){							 
		   	   
		   $("#departamente_btn").hover(

									function() {					
									$(this).css('background' , 'url(images/home_presentation_over.jpg)');
									$(this).css('color' , '#fff');
									},
									
									function() {
									$(this).css('background' , 'none');
									$(this).css('color' , '#0e466c');
									
		if($("#h_departamente").is(':visible')) 
		
		{	
			$("#departamente_btn").css('background' , 'url(images/home_presentation_over.jpg)');
			$("#departamente_btn").css('color' , '#fff');
			$(this).addClass('qwer');
		}
		
									});


		   $("#servicii_btn").hover(
									
									function() {
									$(this).css('background' , 'url(images/home_presentation_over.jpg)');
									$(this).css('color' , '#fff');
									},
									
									function() {
									$(this).css('background' , 'none');
									$(this).css('color' , '#0e466c');
									
									
											
		if($("#h_servicii").is(':visible')) 
		
		{	
			$("#servicii_btn").css('background' , 'url(images/home_presentation_over.jpg)');
			$("#servicii_btn").css('color' , '#fff');
			$(this).addClass('qwer');
		}
		
										
									});
		   
		   $("#galerie_btn").hover(

									function() {					
									$(this).css('background' , 'url(images/home_presentation_over.jpg)');
									$(this).css('color' , '#fff');
 
								 
									},
									
									function() {
 
									 
									$(this).css('background' , 'none');
									$(this).css('color' , '#0e466c');
									
		if($("#h_galerie").is(':visible')) 
			
		{	
			
			$("#galerie_btn").css('background' , 'url(images/home_presentation_over.jpg)');
			$("#galerie_btn").css('color' , '#fff');
			$(this).addClass('qwer');
		}
		
									});
		   
		   
		   
		   
		   
		   });



$(function(){
 
		   $("#h_servicii").show();
		   $("#h_departamente").hide();
		   $("#h_galerie").hide();
		   $("#h_harta").hide();
		   
		
		$("#departamente_btn").click(function() {

				$(this).css('background' , 'url(images/home_presentation_over.jpg)');
				$("#servicii_btn").css('background' , 'none');			 
				$("#servicii_btn").css('color' , '#0e466c');
				$("#galerie_btn").css('background' , 'none');			 
				$("#galerie_btn").css('color' , '#0e466c');											
											$("#h_servicii").hide();
											$("#h_departamente").show();
											$("#h_galerie").hide();  
											    });

		$("#servicii_btn").click(function() {
										  
				$(this).css('background' , 'url(images/home_presentation_over.jpg)');
				$("#departamente_btn").css('background' , 'none');			 
				$("#departamente_btn").css('color' , '#0e466c');						  
				$("#galerie_btn").css('background' , 'none');			 
				$("#galerie_btn").css('color' , '#0e466c'); 													
											$("#h_departamente").hide();
											$("#h_servicii").show();
											$("#h_galerie").hide();		
											
									  });
		$("#galerie_btn").click(function() {
 
				$(this).css('background' , 'url(images/home_presentation_over.jpg)');
				$("#departamente_btn").css('background' , 'none');			 
				$("#departamente_btn").css('color' , '#0e466c');						  
				$("#servicii_btn").css('background' , 'none');			 
				$("#servicii_btn").css('color' , '#0e466c');
				
											$("#h_servicii").hide();
											$("#h_departamente").hide();
											$("#h_galerie").css('height' , '600px').css('overflow' , 'visible').hide().show();
				
																			 	 
									  });		
									
		

			if($("#h_servicii").is(':visible')) {
 
			$("#servicii_btn").css('background' , 'url(images/home_presentation_over.jpg)');
			$("#servicii_btn").css('color' , '#fff');
			$(this).addClass('qwer');
		}
		
			if($("#h_departamente").is(':visible')) {
			
			$("#departamente_btn").css('background' , 'url(images/home_presentation_over.jpg)');
			$("#departamente_btn").css('color' , '#fff');
			$(this).addClass('qwer');
		}

 
		
			if($("#h_harta").is(':visible')) {
			
			$("#departamente_btn").css('background' , 'url(images/home_presentation_over.jpg)');
			$("#departamente_btn").css('color' , '#fff');
			$(this).addClass('qwer');
		}
		
		
		
		
		
		   });



$(function(){
	
	 $(".h_servicii_content").hover(
										function() {
											$(this).css('background' , 'url(images/h_hover.jpg)');
											$(this).find(".h_servicii_content_title").css('color' , '#d5ecff');
											$(this).find(".h_servicii_content_content").css('color' , '#fff'); 
											},	
										function() {
												 
											$(this).css('background' , 'none');
											$(this).find(".h_servicii_content_title").css('color' , '#366288');
											$(this).find(".h_servicii_content_content").css('color' , '#434343'); 
											}
									);
	});

		
