function addEvent(elm, evType, fn, useCapture)
{
	if (elm.addEventListener) {
		elm.addEventListener(evType, fn, useCapture);
		return true;
	}else if (elm.attachEvent) {
		var r = elm.attachEvent('on' + evType, fn);
		return r;
	}else{
		elm['on' + evType] = fn;
	}
}


$(document).ready(function(){

	$("#aerial li").hover(function() {
	  $(this).animate({width: "300"}, "slow").css({zIndex:"500", backgroundColor:"#fff", borderColor:"#000"}).children("div").slideDown("slow").children("img").fadeIn("slow");
	}, function() {
	  $(this).animate({width: "90"}, "fast").css({zIndex:"100", backgroundColor:"transparent", borderColor:"#aaa"}).children("div").slideUp("fast").children("img").fadeOut("fast");
	});

});
