function run() {



	/* plugins */
	jQuery.dropdown = {
		state: {
			hidden: false
		},
		prefs: {
			animate: true,
			animlength: 100
		}
	}
	jQuery.fn.dropdown = function() {
		return $(this).each( function() {
			var obj = $(this);
			var title = $(this).children('h3');
			var list = $(this).children('ul');
			
			list.hide();
			$.dropdown.state.hidden = true;
						
			title.click( function(e) {
				e.preventDefault();
				if($.dropdown.state.hidden) {
					if($.dropdown.prefs.animate) {
						list.animate({height:'show'}, $.dropdown.prefs.animlength);
					} else {
						list.show();
					}
					$.dropdown.state.hidden = false;
				} else {
					if($.dropdown.prefs.animate) {
						list.animate({height:'hide'}, $.dropdown.prefs.animlength);
					} else {
						list.hide();
					}
					$.dropdown.state.hidden = true;
				}
			});
		});
	};
	
	
	/* init */
	
	$('div.dropdown').dropdown();



}function run() {



	/* plugins */
	jQuery.dropdown = {
		state: {
			hidden: false
		},
		prefs: {
			animate: true,
			animlength: 100
		}
	}
	jQuery.fn.dropdown = function() {
		return $(this).each( function() {
			var obj = $(this);
			var title = $(this).children('h3');
			var list = $(this).children('ul');
			
			list.hide();
			$.dropdown.state.hidden = true;
						
			title.click( function(e) {
				e.preventDefault();
				if($.dropdown.state.hidden) {
					if($.dropdown.prefs.animate) {
						list.animate({height:'show'}, $.dropdown.prefs.animlength);
					} else {
						list.show();
					}
					$.dropdown.state.hidden = false;
				} else {
					if($.dropdown.prefs.animate) {
						list.animate({height:'hide'}, $.dropdown.prefs.animlength);
					} else {
						list.hide();
					}
					$.dropdown.state.hidden = true;
				}
			});
		});
	};
	
	
	/* init */
	
	$('div.dropdown').dropdown();



}
