function toggleMenu(menu_item,total_numbers) {
	
	if($(menu_item)){
		Effect.toggle(menu_item, 'blind', {duration: 0.3});
	}
	/* Blind up all other items, only one sub ment allowed to be opened at any one time */

	for (i=0; (i<=total_numbers-1);i++){
		var other_item = 'sub_ul_' + i;
		if(other_item.indexOf(menu_item)==-1){

			if($(other_item)){
				new Effect.BlindUp(	other_item,
				{
					duration:0.3,
					from:0,
					to:1
				}
				);
			}
		}
	}
}


function openMenu(menu_item){
	Effect.show(menu_item, 'blind', {duration: 0.3});
}