$.ggnetwork = {
	init: function() {
		this.binds();
		this.navigation();
	},
	binds: function(){
		var Duration = 200;
		
		$('.related_links li a').each(function(){
			$(this).wrap('<div />');
			$(this).parent().hover(function() {
				$(this).parent().addClass('arrowright');
				$(this).stop().animate({ paddingRight: '15px' }, Duration);
			}, function() {
				$(this).parent().removeClass('arrowright');
				$(this).stop().animate({ paddingRight: '0px' }, Duration);
			});	
		});
	},
	navigation:function(){
		$('#top_nav ul').superfish({
			delay: 0,
			animation: {opacity:'show', height:'show'},
			speed: 'fast',
			autoArrows: false,
			dropShadows: false
		}); 
		
		$("#top_nav ul li ul a").hover(function() {
				$(this).stop().animate({ paddingLeft: '10px' }, 200);
			}, function() {
				$(this).stop().animate({ paddingLeft: '0px' }, 200);
			});	

	}
}

$(document).ready(function(){
	$.ggnetwork.init();
});
