jQuery(document).ready(function() {
	
  	jQuery(function() {
  		// default
  		jQuery(".regions").css("opacity","0.0");
  		// mouse over
  		jQuery(".regions").hover(function () {						  
  			jQuery(this).stop().animate({
  				opacity: 1.0,
  			}, "fast");
  		},
  		// mouse out
  		function () {			
  			jQuery(this).stop().animate({
  				opacity: 0.0,
  				}, "fast");
 		});
  	});

	// jQuery(".map").children().each( function() {
	// 
	// 	// if ( $(this)[0].tagName == 'A') {
	// 	// 	region = $(this)[0].children(0).id; //
	// 	// 	$(this)[0].href = "/static/stores/" + region;
	// 	// }
	// 
	// 	// if ( $(this)[0].tagName == 'A') {
	// 	// 	alert($(this));
	// 	// 	region = $(this).children(0).id; //
	// 	// 	$(this).href = "/static/stores/" + region;
	// 	// }
	// 	// var child = $("this");
	// 	// alert(child.length);
	//         // if (child.is(":checkbox")) {
	//         //     this[child.attr("name")] = child.attr("checked");
	//         // }
	// });

 });