/* Top Nav */
function animeTopNav() {
	var d=300;
	$('#navigation a').each(function(){
		$(this).stop().animate({
			'marginTop':'-80px'
		},d+=150);
	});

	$('#navigation > li').hover(
			function () {
				$('a',$(this)).stop().animate({
					'marginTop':'-2px'
				},200);
			},
			function () {
				$('a',$(this)).stop().animate({
					'marginTop':'-80px'
				},200);
			}
	);
}
/* Right Ads List */
function animeListAnnonces() {

	$('#adsmap').stop().animate({'marginRight':'-315px'},3000);

	$('#adsmap').hover(
			function () {
				$(this).stop().animate({'marginRight':'-2px'},400,'linear',function() {
				$('tr.odd').aToolTip({fixed: true,xOffset: -500,yOffset: 0,tipContent: infoboxtxt});
				$('tr.even').aToolTip({fixed: true,xOffset: -500,yOffset: 0,tipContent: infoboxtxt});
				});
			},
			function () {
				$(this).stop().animate({'marginRight':'-315px'},400,'linear',function() {$('tr.even').unbind('mouseenter mouseleave');$('tr.odd').unbind('mouseenter mouseleave');});
			}
	);
}
$(window).load(animeTopNav);
