jQuery(document).ready(function ($) {
	$(function () {
		$('a[rel=external]').attr('target', 'blank')
	});
	$('#adminbar').hover(function () {
		$(this).animate({
			top: '0'
		},
		{
			queue: false,
			duration: 500
		})
	},
	function () {
		$(this).animate({
			top: '-28px'
		},
		{
			queue: false,
			duration: 500
		})
	});
	$('#header #nav #prod').hover(function () {
		$(this).find('.sub').stop(true, true).slideDown({
			duration: 400
		}).show()
	},
	function () {
		$(this).find('.sub').slideUp({
			duration: 400,
			easing: 'easeOutExpo'
		})
	});
	$('#header #nav #proj').hover(function () {
		$(this).find('.sub').stop(true, true).slideDown({
			duration: 400
		}).show()
	},
	function () {
		$(this).find('.sub').slideUp({
			duration: 400,
			easing: 'easeOutExpo'
		})
	});
	$('#header #nav #com').hover(function () {
		$(this).find('.sub').stop(true, true).slideDown({
			duration: 400
		}).show()
	},
	function () {
		$(this).find('.sub').slideUp({
			duration: 400,
			easing: 'easeOutExpo'
		})
	});
	$('#header #nav #down').hover(function () {
		$(this).find('.sub').stop(true, true).slideDown({
			duration: 400
		}).show()
	},
	function () {
		$(this).find('.sub').slideUp({
			duration: 400,
			easing: 'easeOutExpo'
		})
	});
	$('#header #nav #git').hover(function () {
		$(this).find('.sub').stop(true, true).slideDown({
			duration: 400
		}).show()
	},
	function () {
		$(this).find('.sub').slideUp({
			duration: 400,
			easing: 'easeOutExpo'
		})
	});
	$('#header #nav #prod .sub').navSlide();
	$('#header #nav #proj .sub').navSlide();
	$('#header #nav #com .sub').navSlide();
	$('#header #nav #down .sub').navSlide();
	$('#header #nav #git .sub').navSlide();
});

