 $(document).ready(function(){
							
				

	//$('#link').mouseenter(function() {
//			$("#subnav").animate({left: '196px'}, 500, 'easeOutQuad');
//			$("#link").addClass("active");
//			
//	});
//	
//	$('#subnav').mouseleave(function() {
//			$("#subnav").animate({left: '-288px'}, 500, 'easeOutQuad');
//			$("#link").removeClass("active");
//		
//	});
//	
//	$('.hide').mouseenter(function() {
//			$("#subnav").animate({left: '-288px'}, 500, 'easeOutQuad');
//			$("#link").removeClass("active");
//			
//	});
	
	//$('#link2').mouseenter(function() {
//			$("#subnav2").animate({left: '196px'}, 500, 'easeOutQuad');
//			$("#link2").addClass("active");
//			
//	});
//	
//	$('#subnav2').mouseleave(function() {
//			$("#subnav2").animate({left: '-288px'}, 500, 'easeOutQuad');
//			$("#link2").removeClass("active");
//		
//	});
//	
//	$('.hide2').mouseenter(function() {
//			$("#subnav2").animate({left: '-288px'}, 500, 'easeOutQuad');
//			$("#link2").removeClass("active");		
//			
//	});
//	
//	$('#link3').mouseenter(function() {
//			$("#subnav3").animate({left: '196px'}, 500, 'easeOutQuad');
//			$("#link3").addClass("active");
//			
//	});
//	
//	$('#subnav3').mouseleave(function() {
//			$("#subnav3").animate({left: '-288px'}, 500, 'easeOutQuad');
//			$("#link3").removeClass("active");
//		
//	});
//	
//	$('.hide3').mouseenter(function() {
//			$("#subnav3").animate({left: '-288px'}, 500, 'easeOutQuad');
//			$("#link3").removeClass("active");
//			
//	});

	//$('.pin').hover(
//		function() {			
//			$(this).children('div').stop(true, true).fadeIn('1000');			
//		}, 
//
//		function() {		
//			$(this).children('div').stop(true, true).fadeOut('1000');			
//	});
//	
//	$("#gujarat-link").click(function(){
//		$("#map-container").animate({width: '754px', height: '461px'}, 250, 'easeOutQuad');						  
//  		
//	});
	

	$(".pin").append("<em></em>");
	
	$(".pin").hover(function() {
		$(this).find("em").animate({opacity: "show", left: "25"}, "slow");
		var hoverText = $(this).attr("title");
	    $(this).find("em").text(hoverText);
	}, function() {
		$(this).find("em").animate({opacity: "hide", left: "50"}, "fast");
	});
	

	$('.gj').click(function() {
			$("#map-container").show("slow");			
			$("#map-container").animate({left: '0', top: '0', height: '+=461' , width: '+=754'}, 250, 'easeOutQuad');				
			$(".gj-text").delay(1000).show("slow");
		
	});
	
	$('.mh').click(function() {
			$("#map-container").show("slow");			
			$("#map-container").animate({left: '0', top: '0', height: '+=461' , width: '+=754'}, 250, 'easeOutQuad');				
			$(".mh-text").delay(1000).show("slow");
		
	});
	
	$('.ka').click(function() {
			$("#map-container").show("slow");			
			$("#map-container").animate({left: '0', top: '0', height: '+=461' , width: '+=754'}, 250, 'easeOutQuad');				
			$(".ka-text").delay(1000).show("slow");
		
	});
	
	$('.rj').click(function() {
			$("#map-container").show("slow");			
			$("#map-container").animate({left: '0', top: '0', height: '+=461' , width: '+=754'}, 250, 'easeOutQuad');				
			$(".rj-text").delay(1000).show("slow");
		
	});
	
	$('.ch').click(function() {
			$("#map-container").show("slow");			
			$("#map-container").animate({left: '0', top: '0', height: '+=461' , width: '+=754'}, 250, 'easeOutQuad');				
			$(".ch-text").delay(1000).show("slow");
		
	});
	
	$('.ha').click(function() {
			$("#map-container").show("slow");			
			$("#map-container").animate({left: '0', top: '0', height: '+=461' , width: '+=754'}, 250, 'easeOutQuad');				
			$(".ha-text").delay(1000).show("slow");
		
	});
	
	$('.mp').click(function() {
			$("#map-container").show("slow");			
			$("#map-container").animate({left: '0', top: '0', height: '+=461' , width: '+=754'}, 250, 'easeOutQuad');				
			$(".mp-text").delay(1000).show("slow");
		
	});
	
	$('.tn').click(function() {
			$("#map-container").show("slow");			
			$("#map-container").animate({left: '0', top: '0', height: '+=461' , width: '+=754'}, 250, 'easeOutQuad');				
			$(".tn-text").delay(1000).show("slow");
		
	});
	$('.pn').click(function() {
			$("#map-container").show("slow");			
			$("#map-container").animate({left: '0', top: '0', height: '+=461' , width: '+=754'}, 250, 'easeOutQuad');				
			$(".pn-text").delay(1000).show("slow");
		
	});
	$('.up').click(function() {
			$("#map-container").show("slow");			
			$("#map-container").animate({left: '0', top: '0', height: '+=461' , width: '+=754'}, 250, 'easeOutQuad');				
			$(".up-text").delay(1000).show("slow");
		
	});
	$('.ap').click(function() {
			$("#map-container").show("slow");			
			$("#map-container").animate({left: '0', top: '0', height: '+=461' , width: '+=754'}, 250, 'easeOutQuad');				
			$(".ap-text").delay(1000).show("slow");
		
	});
	
	$('.map-close').click(function() {
			$(".map-container-text").hide("fast");
			$("#map-container").animate({left: '377', top: '230', height: '-=461' , width: '-=754'}, 250, 'easeOutQuad');	
			$("#map-container").hide("slow");
	});
	
	$(".facebook").hover(function() {
		$("#facebooktext").animate({opacity: "show", right: "15"}, "slow");		
	}, function() {
		$("#facebooktext").animate({opacity: "hide", right: "35"}, "fast");
	});
	
	
	$(".blog").hover(function() {
		$("#blogtext").animate({opacity: "show", right: "15"}, "slow");		
	}, function() {
		$("#blogtext").animate({opacity: "hide", right: "35"}, "fast");
	});
	


	
});


