/* 
 * @NAME@
 * 
 * Copyright (c) 2009 Jan Smitka <jan@smitka.org>
 * 
 * This source file is part of @NAME@.
 * You are permitted to use, copy, modify, and distribute this application
 * only with permission of the original author.
 * 
 * This application is powered by Nette Framework (http://nettephp.com),
 * developed by Nette Foundation (http://nettefoundation.com/)
 * 
 * @author Jan Smitka <jan@smitka.org>
 * @package @PACKAGE@
 * @copyright Copyright (c) 2009 Jan Smitka <jan@smitka.org>
 */


$(function () {
	// Drop-down menu
	var dropDown = $('.drop-down');

	$('ul', dropDown).hide();

	$('li', dropDown).hover(function() {
		$('> a', this).addClass('over');
		$('> ul', this).show();
	}, function() {
		$('> a', this).removeClass('over');
		$('> ul', this).hide();
	});
});

/*$('ul.menu').livequery(function() {
	var menu = this;

	$('li:not(.expanded) > ul', menu).hide();

	$('li:not(.expanded)', menu).hover(function() {
		$('> ul', this).slideDown(50);
	}, function() {
		$('> ul', this).slideUp(500);
	});
});*/
