"Replace"="var s=''; \r\ns='<product><categories><title>Шины и диски</title></categories><title>'; \r\nif(match(2)==\"Легкосплавные\"){s=s+'Литые'}else{s=s+match(2)}; \r\ns+=' '+match(3)+' '+match(4)+' '+match(5)+'</title><manufacturer>'+match(4)+'</manufacturer><price>'+match(6)+'</price><inventory>4</inventory><image><link>'; \r\nif(match(9)!=\"\"){s=s+'
http://xxxx.xx/pics/items/'+match(9)}; \r\ns+='</link></image><link_to_buy>
http://xxxx.xx/'; \r\nif(match(7)==\"\"){s=s+'find/?group_id='; \r\nif(match(3)=='шины'){s=s+'16385'}else{s=s+'16386'}; \r\ns+='&findtext='+match(4)+' '+match(5)}else{if(match(3)==\"шины\"){s=s+'Tyres_Vendor/'}else{s=s+'Wheels_Vendor/'}; \r\ns+=match(8)+'/'+match(7)}; \r\ns+='</link_to_buy><description>'+match(2)+' '+match(3)+'. Бесплатная доставка, скидка на шиномонтаж, шиномонтаж 24/7 в центре города.</description><full_description>Товар в наличии на складе. Ежедневное обновление информации, большой выбор, привлекательные цены. Автошины, автодиски, колёсный крепёж.</full_description><image_thumb><link>'; \r\nif(match(9)!=\"\"){s=s+'
http://xxxx.xx/pics/items/'+match(9)}; \r\ns+='</link></image_thumb><active>1</active><name>'+match(1)+'</name></product>'; \r\nresult(s); "