/**
 * Pull down nav
 * Version: 6 Nov 2009
 */
(function($){
	jQuery.fn.pullDownNav = function(config){

		config = jQuery.extend({
			childs: "ul"
		},config);

		var target = this;
		var targetBox = config.childs;

		var constructor = function(){
			jQuery(target).map(function(i){
				jQuery(targetBox, this).css({display:"none"});
				$(this).mouseover(function(){
					jQuery(targetBox, this).css({display:"block"});
				});
				$(this).mouseout(function(){
					jQuery(targetBox, this).css({display:"none"});
				});
			});
		}
		constructor();
	}
})(jQuery);
$(function(){ $('.pulldown').pullDownNav(); });