function ShopImage(data, style){
	Ext.DomHelper.overwrite('images', {
		tag: 'img', src: data, style:'margin:10px;width:350px;visibility:hidden; '+style+';'
	}, true).show(true).frame();
};
function openChild(el){
	if (!el.id){
		return false;
	}
    var parent = Ext.get(el.id).parent('li');
    if (!parent.id){
    	parent.id = Ext.id();
    }
    var child = Ext.get(parent.id).select('ul', true);
    if (child.getCount()>0){
    	for (i=0; i<child.getCount(); i++){
    		if (!child.item(i).dom.id){
        		child.item(i).dom.id = Ext.id();
        	}
    	
    		if (Ext.get(child.item(i).dom.id)){
    		var item = Ext.get(child.item(i).dom.id);
    		if (item.hasClass('close')){
    			item.replaceClass('close', 'open');
    		}
    		else {
    			item.replaceClass('open', 'close');
    		}
    		}
    	}
    }
	
	
}

