jQuery(document).ready(function($){
	//console.log( $("body").html() );
	$(".jd_menu li").each(function(key, value){
		var isNodeHaveChild = $("li", this).text();
		if( isNodeHaveChild ) {
			// Add class to the node!
			$(this).addClass('haveChild');
		}
	});
	/*
	$(".jd_menu > li > ul").each(function(key, value){
		var width_ul = $(this).width()-25;
		$(' > li', this).width( width_ul+"px" );
		//console.log( $(this).width() );
	});
	*/
});
