function makeImageMenu(root, options){
	jQuery(root + " > li > a").stop().animate({width: options.minimalWidth.toString()+"px"},300).addClass("imageMenuXc");
    jQuery(root + " > li > a").mouseover(function(){
      jQuery(root + " > li > a").stop();
	  jQuery(this).removeClass("imageMenuXc");
	  jQuery(this).animate({width: options.openWidth.toString()+"px"},300);
	  jQuery(root + " > li > a.imageMenuXc").animate({width: options.shrinkWidth.toString()+"px"},300,"linear");
	}).mouseout(function(){
	  jQuery(this).addClass("imageMenuXc");
	});
	jQuery(root).mouseout(function(){
	  jQuery(root + " > li > a").stop().animate({width: options.minimalWidth.toString()+"px"},300).addClass("imageMenuXc");
	});
}
  
