function switchImg(id,parentId){

	if(id!='cat-0'){
		imgsrc= $(id).getAttribute('imgsrc');
		if(imgsrc=='') switchImg(parentId,'cat-0')
		$$(".menu-img").each(function(div){
			div.setStyle({backgroundImage:"url("+imgsrc+")"});
		})
	}
}
