  function spaceCategoryRow( s_sheet, s_rule ){    
    o_array = new Array();
    o_container = document.getElementById("categories");
    o_container_width = new Number(o_container.offsetWidth);
    children = o_container.childNodes;		
		if( children.length != 0 ){
			for(i=0; i<children.length; i++){
				if( children[i].className == "category" || children[i].className == "categorystart")
				  o_array[o_array.length] = children[i];
			}
		}
		o_elem_count = new Number(o_array.length);
		o_rule = getCSSRule(s_sheet, s_rule);
		if( o_rule ){
		  n_img_width = new Number(o_rule.style.width.replace("px",""));		  
		  n_cat_width = (o_container_width - ( o_elem_count * n_img_width )) / ( o_elem_count +1 );		  
		  for( n=0; n<o_array.length; n++){
		    o_array[n].style.width=(n_cat_width+n_img_width)+"px";
		  }
		}    
  }
