//contact address change

$(document).ready(function() {

	//Default Action
	$(".tab_content").hide(); //Hide all content
	$("ul.contact-tabs li:last").addClass("active").show(); //Activate first tab
	$(".tab_content:first").show(); //Show first tab content
	

	/*$('ul#stamp li img').click(function(){
				
			});*/
	//On Click Event
	$("ul.contact-tabs li").click(function() {
		$("ul.contact-tabs li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		//alert($(this).find("a").attr("title"));
		$('#country').val($(this).find("a").attr('title'));
		$(activeTab).fadeIn(); //Fade in the active content
		return false;
	});
	//added by preeti
	$("ul.contact-tabs li:first").trigger('click');

});

//hover
$(document).ready(function() {
$('.h-services .ecommerce').hover(
function(){
	$(this).stop().fadeTo('slow',0.6);
},
function(){
	$(this).stop().fadeTo('slow',1);
});
$('.h-services .elearning').hover(
function(){
	$(this).stop().fadeTo('slow',0.6);
},
function(){
	$(this).stop().fadeTo('slow',1);
});
$('.h-services .mobile-ipad').hover(
function(){
	$(this).stop().fadeTo('slow',0.6);
},
function(){
	$(this).stop().fadeTo('slow',1);
});
$('.h-services .tech-check').hover(
function(){
	$(this).stop().fadeTo('slow',0.6);
},
function(){
	$(this).stop().fadeTo('slow',1);
});
$('.h-services .startups').hover(
function(){
	$(this).stop().fadeTo('slow',0.6);
},
function(){
	$(this).stop().fadeTo('slow',1);
});

});

//scroll



