function removeAllOthers(box) {
	$(".box").not(box).each(function(index) {
		$(this).stop(true).hide("slow");
	});
}

function addressChangeHandler(event) {
	//alert("#" + event.pathNames);
}

$(document).ready(function() {
	// Item boxes animations
	$(".item").hover(function(event) {
		$(this).stop().animate({"borderColor": "#aeff00"}, 0);
	}, function(event) {
		$(this).stop().animate({"borderColor": "#000000"}, 700);
	});
	
	// Soon boxes animations
	$(".soon").hover(function(event) {
		$(this).stop().animate({"borderColor": "#222222"}, 0);
	}, function(event) {
		$(this).stop().animate({"borderColor": "#000000"}, 700);
	});
	
	$.address.change(addressChangeHandler);
	
	//$.e17_imageTipAll({borderWidth: 3, borderColor: "#2b2b2b"});	
});

$(window).load(function() {
	// Intro animation
	var delay = 140;
	$(".item").each(function(index) {
		$(this).delay(delay * index).animate({"borderColor": "#aeff00"}, 300)
			.animate({"borderColor": "#000000"}, 700);
	});
	
});