// run jQuery in noConflict mode to avoid problems with prototype (caused by the powermail extension)
jQuery.noConflict();


/**
 * Main 
 * 
 * @author Fabrizio Branca, punkt.de
 * @since 2008-10-10
 * @version $Id: sitemap.js,v 1.1 2008/10/16 10:11:10 ry36 Exp $
 */
jQuery(document).ready(function(){

	/**
	 * Toggles the submenu ul
	 * 
	 * @author Fabrizio Branca, punkt.de
	 * @since 2008-10-14
	 */
	jQuery('.sitemap-expandicon').click(function() {
		if (jQuery(this).next().next().is(':visible')) {
			jQuery(this).next().next().hide();
		} else {
			jQuery(this).next().next().show();
		}
		return false;
	});	
	
});
