
	/*jQuery(document).ready(function () {
		jQuery('li.level1').hover(
			function() {
				//$(this).find("ul:first").slideDown('slow');
				jQuery(this).find("ul:first").slideToggle(1);
			},
			function() {
				//$(this).find("ul:first").slideUp('slow');
				jQuery(this).find("ul:first").slideToggle(1);
			}
		);
	});*/
	
	
	/* **********************
	 * **** FE-USER_MENU ****
	   ********************** */
/*	  
	 jQuery(document).ready(function() {
	
		jQuery('a.feuser-a').click(function() {
		 	jQuery('.feuser-box').toggle(300);
		 });

	  });
*/

this.tooltip = function(){	
	/* CONFIG */		
		xOffset = -10;
		yOffset = 20;		
		// these 2 variable determine popup's distance from the cursor
		// you might want to adjust to get the right result		
	/* END CONFIG */		
	jQuery("b.tooltip, a.tooltip, div.tooltip, li.tooltip, img.tooltip, input.tooltip, textarea.tooltip, select.tooltip, option.tooltip, span.tooltip").hover(function(e){											  		
		
		this.t = this.title;
		this.title = "";					  
		jQuery("body").append('<div id="tooltip"><table align="left"><tr><td class="tooltiptopleft"><img src="clear.gif" width="8" height="8" /></td>     <td class="tooltiptop"><img src="clear.gif" height="8" /></td>  <td class="tooltiptopright"><img src="clear.gif" width="8" height="8" /></td></tr><tr><td class="tooltipmidleft"><img src="clear.gif" width="8" /></td><td class="tooltipmid">'+this.t+'</td><td class="tooltipmidright"><img src="clear.gif" width="8"/></td></tr><tr><td class="tooltipbotleft"><img src="clear.gif" width="8" height="8" /></td><td class="tooltipbot"><img src="clear.gif" height="8" /></td><td class="tooltipbotright"><img src="clear.gif" idth="8" height="8" /></td></tr></table></div>');
		jQuery("#tooltip")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");
		
    },
	function(){
		this.title = this.t;		
		jQuery("#tooltip").remove();
    });	
	jQuery("b.tooltip, a.tooltip, div.tooltip, li.tooltip, img.tooltip, input.tooltip, textarea.tooltip, select.tooltip, option.tooltip, span.tooltip").mousemove(function(e){
		jQuery("#tooltip")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};


