$('#xxxxx').html('<a rel="gallery" title="xxxxx" href="/xxxx/papk1/1.jpg"><img src="/xxxx/papka2/1.jpg" /></a>')