window.thumbnails = {};
															thumbnails[1192881] = clik.newPhoto({"id":1192881,"src":"Beverley_Knowles_Gallery2_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":97});
															thumbnails[1555501] = clik.newPhoto({"id":1555501,"src":"Burlingtonembodiedthegirls_thumb.co.uk.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"THE EMBODIED SOUL PASSES THROUGH GIRLHOOD TO DEATH © The Girls - Burlington","height":41});
															thumbnails[2361695] = clik.newPhoto({"id":2361695,"src":"Andrea_Blood_Zoe_Sinclair_thegirls_thumb.co.uk_2006.jpg","galleries_id":"","server_id":1,"link":"#","width":121,"caption":"Andrea Blood (left) & Zoe Sinclair","height":150});
															thumbnails[5618147] = clik.newPhoto({"id":5618147,"src":"get-involved_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Contributors wanted! And new photos from the Ultralounge!<br>\r\n","height":130});
															thumbnails[7653853] = clik.newPhoto({"id":7653853,"src":"TheGirls9905_small1_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":86});
															thumbnails[984060] = clik.newPhoto({"id":984060,"src":"Dungeness 2 Copyright TheGirls_thumb.co.uk.jpg","galleries_id":"","server_id":1,"link":"#","width":96,"caption":"Dungeness","height":150});
															thumbnails[8136141] = clik.newPhoto({"id":8136141,"src":"banner3_thumb.JPG","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Prop making interns wanted. Bournemouth-based","height":35});
															thumbnails[1591407] = clik.newPhoto({"id":1591407,"src":"Sub_Rosa2_The_Girls_600_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"Sub Rosa © The Girls","height":94});
															thumbnails[6836261] = clik.newPhoto({"id":6836261,"src":"tg-pc_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":87});
															thumbnails[371674] = clik.newPhoto({"id":371674,"src":"Embodied_thumb.jpg","galleries_id":29864,"server_id":1,"link":"photo_371674.html","width":130,"caption":"The Embodied Soul Passes Through Girlhood to Death","height":41});
															thumbnails[983996] = clik.newPhoto({"id":983996,"src":"2 _Star_thegirls_thumb.co.uk.jpg","galleries_id":73904,"server_id":1,"link":"photo_983996.html","width":102,"caption":"2 Star! Annual (Front Cover)","height":150});
															thumbnails[359963] = clik.newPhoto({"id":359963,"src":"Garden Party Part 3 copyright thegirls_thumb.co.uk.jpg","galleries_id":29583,"server_id":1,"link":"photo_359963.html","width":130,"caption":"Garden Party","height":82});
															thumbnails[384565] = clik.newPhoto({"id":384565,"src":"The Embodied Soul_thumb..Detail (left), copyright thegirlsart.com.jpg","galleries_id":29864,"server_id":1,"link":"photo_384565.html","width":130,"caption":"Left panel","height":141});
															thumbnails[2092070] = clik.newPhoto({"id":2092070,"src":"15_The_Girls3_Afternoon_Tease_Burlesque_thumb.jpg","galleries_id":139549,"server_id":1,"link":"photo_2092070.html","width":111,"caption":"© 2008 The Girls","height":150});
															thumbnails[359968] = clik.newPhoto({"id":359968,"src":"More_tea_vicar_600pix_thumb.jpg","galleries_id":29583,"server_id":1,"link":"photo_359968.html","width":130,"caption":"Garden Party","height":84});
															thumbnails[1072441] = clik.newPhoto({"id":1072441,"src":"Gods Waiting Room (detail) thegirls_thumb.co.uk 600.jpg","galleries_id":71077,"server_id":1,"link":"photo_1072441.html","width":114,"caption":"God's Waiting Room","height":150});
															thumbnails[384567] = clik.newPhoto({"id":384567,"src":"The Embodied Soul_thumb..Detail (middle), copyright thegirlsart.com.jpg","galleries_id":29864,"server_id":1,"link":"photo_384567.html","width":130,"caption":"Centre panel","height":96});
															thumbnails[384566] = clik.newPhoto({"id":384566,"src":"The Embodied Soul_thumb..Detail (right), copyright thegirlsart.com.jpg","galleries_id":29864,"server_id":1,"link":"photo_384566.html","width":130,"caption":"Right panel","height":140});
															thumbnails[2092060] = clik.newPhoto({"id":2092060,"src":"07_The_Girls_Afternoon_Tease_Burlesque_thumb.jpg","galleries_id":139549,"server_id":1,"link":"photo_2092060.html","width":130,"caption":"© 2008 The Girls","height":99});
															thumbnails[1294758] = clik.newPhoto({"id":1294758,"src":"The_Girls_garden_party9265_thumb.jpg","galleries_id":91762,"server_id":1,"link":"photo_1294758.html","width":130,"caption":"© 2007 The Girls","height":87});
															thumbnails[359962] = clik.newPhoto({"id":359962,"src":"Garden Party copyright thegirls_thumb.co.uk.jpg","galleries_id":29583,"server_id":1,"link":"photo_359962.html","width":130,"caption":"Garden Party","height":84});
															thumbnails[901828] = clik.newPhoto({"id":901828,"src":"mermaid_friday_thegirls_thumb.co.uk.jpg","galleries_id":53019,"server_id":1,"link":"photo_901828.html","width":130,"caption":"'Friday' (Mermaid\/La Sirène) by The Girls (Self Portrait)","height":94});
															thumbnails[936855] = clik.newPhoto({"id":936855,"src":"God's Waiting Room Part 1 copyright thegirls_thumb.co.uk.jpg","galleries_id":71077,"server_id":1,"link":"photo_936855.html","width":98,"caption":"Part 1","height":150});
															thumbnails[984075] = clik.newPhoto({"id":984075,"src":"dungeness3_thegirls_thumb.co.uk.jpg","galleries_id":73903,"server_id":1,"link":"photo_984075.html","width":95,"caption":"Dungeness","height":150});
															thumbnails[1072242] = clik.newPhoto({"id":1072242,"src":"Making Embodied Soul thegirls_thumb.co.uk (detail 1).jpg","galleries_id":29864,"server_id":1,"link":"photo_1072242.html","width":130,"caption":"Making the work","height":86});
															thumbnails[1551502] = clik.newPhoto({"id":1551502,"src":"E102_thumb.3_thegirls.co.uk.jpg","galleries_id":106346,"server_id":1,"link":"photo_1551502.html","width":89,"caption":"E102","height":150});
															thumbnails[1591434] = clik.newPhoto({"id":1591434,"src":"Sub_Rosa_The_Girls_600_thumb.jpg","galleries_id":30444,"server_id":1,"link":"photo_1591434.html","width":109,"caption":"Sub Rosa (self-portrait)","height":150});
															thumbnails[2128938] = clik.newPhoto({"id":2128938,"src":"The_Girls_Egg600_2_thumb.jpg","galleries_id":71085,"server_id":1,"link":"photo_2128938.html","width":96,"caption":"Smells Like Creme Spirit","height":150});
															thumbnails[2749783] = clik.newPhoto({"id":2749783,"src":"smurfette2_thegirls_thumb.co.uk.jpg","galleries_id":172642,"server_id":1,"link":"photo_2749783.html","width":100,"caption":"Smurfette (Self Portrait)","height":150});
															thumbnails[2993261] = clik.newPhoto({"id":2993261,"src":"topsy_turvy113thegirls2_thumb.jpg","galleries_id":184446,"server_id":1,"link":"photo_2993261.html","width":130,"caption":"Sub Rosa Flip Doll (detail)","height":86});
															thumbnails[7848984] = clik.newPhoto({"id":7848984,"src":"banner1_thumb.JPG","galleries_id":423515,"server_id":1,"link":"photo_7848984.html","width":130,"caption":"Take part! Registration & costume ideas","height":35});
															thumbnails[1072245] = clik.newPhoto({"id":1072245,"src":"Making Embodied Soul thegirls_thumb.co.uk (detail 2).jpg","galleries_id":29864,"server_id":1,"link":"photo_1072245.html","width":130,"caption":"Making the work","height":85});
															thumbnails[983993] = clik.newPhoto({"id":983993,"src":"2 Star Annual Back Cover Copyright TheGirls_thumb.co.uk.jpg","galleries_id":73904,"server_id":1,"link":"photo_983993.html","width":103,"caption":"2 Star! Annual (Back Cover)","height":150});
															thumbnails[1072247] = clik.newPhoto({"id":1072247,"src":"Making Embodied Soul thegirls_thumb.co.uk (detail 3).jpg","galleries_id":29864,"server_id":1,"link":"photo_1072247.html","width":130,"caption":"Making the work","height":90});
															thumbnails[2091855] = clik.newPhoto({"id":2091855,"src":"18_The_Girls2_Afternoon_Tease_Burlesque_thumb.jpg","galleries_id":139549,"server_id":1,"link":"photo_2091855.html","width":130,"caption":"© 2008 The Girls","height":98});
															thumbnails[936857] = clik.newPhoto({"id":936857,"src":"God's Waiting Room Part 2 copyright thegirls_thumb.co.uk.jpg","galleries_id":71077,"server_id":1,"link":"photo_936857.html","width":99,"caption":"Part 2","height":150});
															thumbnails[983942] = clik.newPhoto({"id":983942,"src":"Mai-Ling's a Doll (newspaper) copyright TheGirls_thumb.co.uk.jpg","galleries_id":71085,"server_id":1,"link":"photo_983942.html","width":130,"caption":"Mai-ling's a Doll","height":132});
															thumbnails[984015] = clik.newPhoto({"id":984015,"src":"2 Star Annual Back Cover (detail) Copyright TheGirls_thumb.co.uk.jpg","galleries_id":73904,"server_id":1,"link":"photo_984015.html","width":114,"caption":"2 Star! Annual (Back Cover Detail)<br>\r\n<br>\r\n","height":150});
															thumbnails[984058] = clik.newPhoto({"id":984058,"src":"dungeness2_thegirls_thumb.co.uk.jpg","galleries_id":73903,"server_id":1,"link":"photo_984058.html","width":130,"caption":"Dungeness","height":93});
															thumbnails[985573] = clik.newPhoto({"id":985573,"src":"hung_up_on_you1_thegirls_thumb.co.uk.jpg","galleries_id":73901,"server_id":1,"link":"photo_985573.html","width":99,"caption":"Hung Up On You","height":150});
															thumbnails[1473242] = clik.newPhoto({"id":1473242,"src":"embodied_photographers_gallery_thegirls_thumb.co.uk.jpg","galleries_id":29864,"server_id":1,"link":"photo_1473242.html","width":130,"caption":"The Photographers' Gallery, London","height":87});
															thumbnails[1551503] = clik.newPhoto({"id":1551503,"src":"E102_thegirls_thumb.co.uk4.jpg","galleries_id":106346,"server_id":1,"link":"photo_1551503.html","width":103,"caption":"E102","height":150});
															thumbnails[2749698] = clik.newPhoto({"id":2749698,"src":"corn_fed_thegirls_thumb.co.uk.jpg","galleries_id":30444,"server_id":1,"link":"photo_2749698.html","width":101,"caption":"Corn Fed (self-portrait)","height":150});
															thumbnails[2749785] = clik.newPhoto({"id":2749785,"src":"smurfette4_thegirls_thumb.co.uk.jpg","galleries_id":172642,"server_id":1,"link":"photo_2749785.html","width":100,"caption":"Smurfette (Self Portrait)","height":150});
															thumbnails[2994000] = clik.newPhoto({"id":2994000,"src":"topsy_turvy94thegirls23_thumb.jpg","galleries_id":184446,"server_id":1,"link":"photo_2994000.html","width":130,"caption":"Sub Rosa Flip Doll","height":86});
															thumbnails[8308463] = clik.newPhoto({"id":8308463,"src":"banner_thumb.JPG","galleries_id":423515,"server_id":1,"link":"photo_8308463.html","width":130,"caption":"Grand Grotesque Parade Choir","height":35});
															thumbnails[985584] = clik.newPhoto({"id":985584,"src":"What It Feels Like For The Girls 3 copyright thegirls_thumb.co.uk.jpg","galleries_id":73901,"server_id":1,"link":"photo_985584.html","width":98,"caption":"Hung Up On You","height":150});
															thumbnails[1072346] = clik.newPhoto({"id":1072346,"src":"Embodied Soul at Photographers Gallery thegirls_thumb.co.uk.jpg","galleries_id":29864,"server_id":1,"link":"photo_1072346.html","width":130,"caption":"The Photographers' Gallery, London","height":127});
															thumbnails[8435987] = clik.newPhoto({"id":8435987,"src":"banner5_thumb.JPG","galleries_id":423515,"server_id":1,"link":"photo_8435987.html","width":130,"caption":"Carnivalesque & the British Seaside - essay by Bevis Fenner","height":35});
															thumbnails[2092023] = clik.newPhoto({"id":2092023,"src":"26_The_Girls_Afternoon_Tease_Burlesque31_thumb.jpg","galleries_id":139549,"server_id":1,"link":"photo_2092023.html","width":130,"caption":"© 2008 The Girls","height":98});
															thumbnails[1294753] = clik.newPhoto({"id":1294753,"src":"The_Girls_garden_party9204_thumb.jpg","galleries_id":91762,"server_id":1,"link":"photo_1294753.html","width":130,"caption":"© 2007 The Girls","height":87});
															thumbnails[902438] = clik.newPhoto({"id":902438,"src":"la sirene part 2 copyright thegirls_thumb.co.uk.jpg","galleries_id":53019,"server_id":1,"link":"photo_902438.html","width":130,"caption":"'Friday' (Mermaid\/La Sirène) by The Girls (Self Portrait)","height":179});
															thumbnails[936862] = clik.newPhoto({"id":936862,"src":"God's Waiting Room Part 3 copyright thegirls_thumb.co.uk.jpg","galleries_id":71077,"server_id":1,"link":"photo_936862.html","width":96,"caption":"Part 3","height":150});
															thumbnails[983950] = clik.newPhoto({"id":983950,"src":"Mai-ling_butterfly_thegirls_thumb.co.uk.jpg","galleries_id":71085,"server_id":1,"link":"photo_983950.html","width":130,"caption":"Mai-ling's a Doll","height":127});
															thumbnails[984056] = clik.newPhoto({"id":984056,"src":"dungeness1_thegirls_thumb.co.uk.jpg","galleries_id":73903,"server_id":1,"link":"photo_984056.html","width":130,"caption":"Dungeness","height":130});
															thumbnails[985580] = clik.newPhoto({"id":985580,"src":"hung_up_on_you2_thegirls_thumb.co.uk.jpg","galleries_id":73901,"server_id":1,"link":"photo_985580.html","width":105,"caption":"Hung Up On You","height":150});
															thumbnails[1473181] = clik.newPhoto({"id":1473181,"src":"Photostory_detail3_thegirls_thumb.co.uk.jpg","galleries_id":73904,"server_id":1,"link":"photo_1473181.html","width":130,"caption":"Photo Story 'Happily Ever After?' (detail)","height":105});
															thumbnails[1551508] = clik.newPhoto({"id":1551508,"src":"E102_thumb.2_thegirls.co.uk.jpg","galleries_id":106346,"server_id":1,"link":"photo_1551508.html","width":88,"caption":"E102","height":150});
															thumbnails[2749697] = clik.newPhoto({"id":2749697,"src":"Fairy_Bread_thegirls_thumb.co.uk.jpg","galleries_id":30444,"server_id":1,"link":"photo_2749697.html","width":130,"caption":"Fairy Bread (self-portrait)","height":88});
															thumbnails[2749782] = clik.newPhoto({"id":2749782,"src":"smurfette1_thegirls_thumb.co.uk.jpg","galleries_id":172642,"server_id":1,"link":"photo_2749782.html","width":100,"caption":"Smurfette (Self Portrait)","height":150});
															thumbnails[2994040] = clik.newPhoto({"id":2994040,"src":"topsy_turvy89thegirls2_thumb.jpg","galleries_id":184446,"server_id":1,"link":"photo_2994040.html","width":130,"caption":"Sub Rosa Flip Doll (detail)","height":86});
															thumbnails[8134188] = clik.newPhoto({"id":8134188,"src":"banner2_thumb.JPG","galleries_id":423515,"server_id":1,"link":"photo_8134188.html","width":130,"caption":"Internships with The Girls. Bournemouth-based","height":35});
															thumbnails[1294981] = clik.newPhoto({"id":1294981,"src":"The_Girls_garden_party9197_thumb.jpg","galleries_id":91762,"server_id":1,"link":"photo_1294981.html","width":130,"caption":"© 2007 The Girls","height":87});
															thumbnails[359970] = clik.newPhoto({"id":359970,"src":"Garden Party Part 4 copyright thegirls_thumb.co.uk.jpg","galleries_id":29583,"server_id":1,"link":"photo_359970.html","width":130,"caption":"Garden Party","height":147});
															thumbnails[902830] = clik.newPhoto({"id":902830,"src":"la sirene part 3 copyright thegirls_thumb.co.uk.jpg","galleries_id":53019,"server_id":1,"link":"photo_902830.html","width":130,"caption":"'Friday' (Mermaid\/La Sirène) by The Girls (Self Portrait)","height":192});
															thumbnails[936865] = clik.newPhoto({"id":936865,"src":"God's Waiting Room Part 4 copyright thegirls_thumb.co.uk.jpg","galleries_id":71077,"server_id":1,"link":"photo_936865.html","width":98,"caption":"Part 4","height":150});
															thumbnails[984109] = clik.newPhoto({"id":984109,"src":"Mai-Ling_3dolls_TheGirls_thumb.co.uk.jpg","galleries_id":71085,"server_id":1,"link":"photo_984109.html","width":130,"caption":"Mai-ling's a Doll","height":144});
															thumbnails[985591] = clik.newPhoto({"id":985591,"src":"hung_up_on_you4_thegirls_thumb.co.uk.jpg","galleries_id":73901,"server_id":1,"link":"photo_985591.html","width":98,"caption":"Hung Up On You","height":150});
															thumbnails[1072159] = clik.newPhoto({"id":1072159,"src":"Photostory1_thegirls_thumb.co.uk.jpg","galleries_id":73904,"server_id":1,"link":"photo_1072159.html","width":127,"caption":"Photo Story 'Happily Ever After?' (detail) ","height":150});
															thumbnails[2749694] = clik.newPhoto({"id":2749694,"src":"Care _Bears_thegirls_thumb.co.uk.jpg","galleries_id":30444,"server_id":1,"link":"photo_2749694.html","width":130,"caption":"Care Bears (self-portrait)","height":101});
															thumbnails[2749784] = clik.newPhoto({"id":2749784,"src":"smurfette3_thegirls_thumb.co.uk.jpg","galleries_id":172642,"server_id":1,"link":"photo_2749784.html","width":100,"caption":"Smurfette (Self Portrait)","height":150});
															thumbnails[2994107] = clik.newPhoto({"id":2994107,"src":"topsy_turvy111thegirls2_thumb.jpg","galleries_id":184446,"server_id":1,"link":"photo_2994107.html","width":130,"caption":"Sub Rosa Flip Doll (detail)","height":86});
															thumbnails[2749673] = clik.newPhoto({"id":2749673,"src":"Photostory2_thegirls_thumb.co.uk.jpg","galleries_id":73904,"server_id":1,"link":"photo_2749673.html","width":126,"caption":"Photo Story 'Happily Ever After?' (detail)","height":150});
															thumbnails[1072168] = clik.newPhoto({"id":1072168,"src":"Photostory3_thegirls_thumb.co.uk.jpg","galleries_id":73904,"server_id":1,"link":"photo_1072168.html","width":128,"caption":"Photo Story 'Happily Ever After?' (detail) ","height":150});
															thumbnails[1294761] = clik.newPhoto({"id":1294761,"src":"GardenPartyTentthegirls_thumb.co.uk2.jpg","galleries_id":91762,"server_id":1,"link":"photo_1294761.html","width":130,"caption":"© 2007 The Girls","height":87});
															thumbnails[936867] = clik.newPhoto({"id":936867,"src":"God's Waiting Room Part 5 copyright thegirls_thumb.co.uk.jpg","galleries_id":71077,"server_id":1,"link":"photo_936867.html","width":98,"caption":"Part 5","height":150});
															thumbnails[936916] = clik.newPhoto({"id":936916,"src":"Diane copyright thegirls_thumb.co.uk.jpg","galleries_id":71085,"server_id":1,"link":"photo_936916.html","width":117,"caption":"Diane","height":150});
															thumbnails[983970] = clik.newPhoto({"id":983970,"src":"hung_up_on_you6_TheGirls_thumb.co.uk.jpg","galleries_id":73901,"server_id":1,"link":"photo_983970.html","width":97,"caption":"Hung Up On You","height":150});
															thumbnails[984456] = clik.newPhoto({"id":984456,"src":"Special copyright TheGirls_thumb.co.uk1.jpg","galleries_id":30444,"server_id":1,"link":"photo_984456.html","width":127,"caption":"Special (self-portrait)","height":150});
															thumbnails[1072163] = clik.newPhoto({"id":1072163,"src":"Photostory_detail2_thegirls_thumb.co.uk.jpg","galleries_id":73904,"server_id":1,"link":"photo_1072163.html","width":130,"caption":"Photo Story 'Happily Ever After?' (detail) ","height":87});
															thumbnails[2994206] = clik.newPhoto({"id":2994206,"src":"topsy_turvy102thegirls_thumb.jpg","galleries_id":184446,"server_id":1,"link":"photo_2994206.html","width":130,"caption":"Sub Rosa Flip Doll (detail)","height":87});
															thumbnails[2994427] = clik.newPhoto({"id":2994427,"src":"topsy_turvy65thegirls_thumb.jpg","galleries_id":184446,"server_id":1,"link":"photo_2994427.html","width":130,"caption":"Sub Rosa Flip Doll (detail)","height":86});
															thumbnails[914203] = clik.newPhoto({"id":914203,"src":"Madonna Fan copyright thegirls_thumb.co.uk.jpg","galleries_id":73901,"server_id":1,"link":"photo_914203.html","width":99,"caption":"Hung Up On You","height":150});
															thumbnails[936869] = clik.newPhoto({"id":936869,"src":"God's Waiting Room Part 6 copyright thegirls_thumb.co.uk.jpg","galleries_id":71077,"server_id":1,"link":"photo_936869.html","width":98,"caption":"Part 6","height":150});
															thumbnails[984134] = clik.newPhoto({"id":984134,"src":"Special (detail) copyright TheGirls_thumb.co.uk.jpg","galleries_id":30444,"server_id":1,"link":"photo_984134.html","width":130,"caption":"Special (detail)","height":150});
															thumbnails[993147] = clik.newPhoto({"id":993147,"src":"Maria copyright thegirls_thumb.co.uk.jpg","galleries_id":71085,"server_id":1,"link":"photo_993147.html","width":97,"caption":"Maria","height":150});
															thumbnails[2994163] = clik.newPhoto({"id":2994163,"src":"topsy_turvy64thegirls_thumb.jpg","galleries_id":184446,"server_id":1,"link":"photo_2994163.html","width":130,"caption":"Sub Rosa Flip Doll","height":86});
															thumbnails[914199] = clik.newPhoto({"id":914199,"src":"Jon_Benet_thegirls_thumb.co.uk.jpg","galleries_id":30444,"server_id":1,"link":"photo_914199.html","width":116,"caption":"Jon Benet (self-portrait)","height":150});
															thumbnails[993143] = clik.newPhoto({"id":993143,"src":"venice_thegirls_thumb.co.uk.jpg","galleries_id":71085,"server_id":1,"link":"photo_993143.html","width":117,"caption":"Venice","height":150});
															thumbnails[1072222] = clik.newPhoto({"id":1072222,"src":"Photostory_detail_thegirls_thumb.co.uk.jpg","galleries_id":73904,"server_id":1,"link":"photo_1072222.html","width":130,"caption":"Photo Story 'Happily Ever After?' (detail)","height":82});
															thumbnails[936956] = clik.newPhoto({"id":936956,"src":"Barbara _Cartland_thegirls_thumb.co.uk.jpg","galleries_id":30444,"server_id":1,"link":"photo_936956.html","width":116,"caption":"Barbara (self-portrait)","height":150});
															thumbnails[1072149] = clik.newPhoto({"id":1072149,"src":"Valley of The Dolls (detail) thegirls_thumb.co.uk 600.jpg","galleries_id":71085,"server_id":1,"link":"photo_1072149.html","width":114,"caption":"Valley of the Dolls (detail)","height":150});
															thumbnails[2994410] = clik.newPhoto({"id":2994410,"src":"topsy_turvy69thegirls_thumb.jpg","galleries_id":184446,"server_id":1,"link":"photo_2994410.html","width":130,"caption":"Sub Rosa Flip Doll (detail)","height":88});
															thumbnails[372082] = clik.newPhoto({"id":372082,"src":"william_harry_thegirls_thumb.co.uk.jpg","galleries_id":30444,"server_id":1,"link":"photo_372082.html","width":116,"caption":"William & Harry (self-portrait)","height":150});
															thumbnails[936912] = clik.newPhoto({"id":936912,"src":"Cleanliness is Next to Godliness copyright thegirls_thumb.co.uk.jpg","galleries_id":71085,"server_id":1,"link":"photo_936912.html","width":102,"caption":"Cleanliness is Next to Godliness","height":150});
															thumbnails[936926] = clik.newPhoto({"id":936926,"src":"Cleanliness is Next to Godliness 2 copyright thegirls_thumb.co.uk1.jpg","galleries_id":71085,"server_id":1,"link":"photo_936926.html","width":104,"caption":"Cleanliness is Next to Godliness","height":150});
															thumbnails[2749692] = clik.newPhoto({"id":2749692,"src":"myra_hindley_thegirls_thumb.co.uk.jpg","galleries_id":30444,"server_id":1,"link":"photo_2749692.html","width":117,"caption":"Myra (self-portrait)","height":150});
															thumbnails[8165759] = clik.newPhoto({"id":8165759,"src":"banner4_thumb.JPG","galleries_id":423515,"server_id":1,"link":"photo_8165759.html","width":130,"caption":"Credits & Thanks","height":35});
															thumbnails[936911] = clik.newPhoto({"id":936911,"src":"Bosom_Buddies_thegirls_thumb.co.uk.jpg","galleries_id":30444,"server_id":1,"link":"photo_936911.html","width":130,"caption":"Bosom Buddies (self-portrait)","height":87});
															thumbnails[5618132] = clik.newPhoto({"id":5618132,"src":"press-release-s_thumb.jpg","galleries_id":318406,"server_id":1,"link":"photo_5618132.html","width":130,"caption":"","height":130});
															thumbnails[5618139] = clik.newPhoto({"id":5618139,"src":"press-release-tpg_thumb.jpg","galleries_id":318406,"server_id":1,"link":"photo_5618139.html","width":130,"caption":"","height":130});
															thumbnails[5618141] = clik.newPhoto({"id":5618141,"src":"press-images_thumb.jpg","galleries_id":318406,"server_id":1,"link":"photo_5618141.html","width":130,"caption":"","height":130});
															thumbnails[5618146] = clik.newPhoto({"id":5618146,"src":"video_thumb.jpg","galleries_id":318406,"server_id":1,"link":"photo_5618146.html","width":130,"caption":"","height":130});
															thumbnails[2759818] = clik.newPhoto({"id":2759818,"src":"n268101663_563180_6645_thumb.jpg","galleries_id":173151,"server_id":1,"link":"photo_2759818.html","width":113,"caption":"","height":150});
															thumbnails[2759822] = clik.newPhoto({"id":2759822,"src":"n268101663_563184_1377_thumb.jpg","galleries_id":173151,"server_id":1,"link":"photo_2759822.html","width":130,"caption":"","height":98});
															thumbnails[2759831] = clik.newPhoto({"id":2759831,"src":"n903935242_4078988_7135_thumb.jpg","galleries_id":173151,"server_id":1,"link":"photo_2759831.html","width":130,"caption":"","height":98});
															thumbnails[2759855] = clik.newPhoto({"id":2759855,"src":"n903935242_4079013_1262_thumb.jpg","galleries_id":173151,"server_id":1,"link":"photo_2759855.html","width":113,"caption":"","height":150});
															thumbnails[2759858] = clik.newPhoto({"id":2759858,"src":"n903935242_4079016_4422_thumb.jpg","galleries_id":173151,"server_id":1,"link":"photo_2759858.html","width":113,"caption":"","height":150});
															thumbnails[2759862] = clik.newPhoto({"id":2759862,"src":"n903935242_4079031_1544_thumb.jpg","galleries_id":173151,"server_id":1,"link":"photo_2759862.html","width":113,"caption":"","height":150});
															thumbnails[2759865] = clik.newPhoto({"id":2759865,"src":"n903935242_4079035_5116_thumb.jpg","galleries_id":173151,"server_id":1,"link":"photo_2759865.html","width":130,"caption":"","height":98});
															thumbnails[2759885] = clik.newPhoto({"id":2759885,"src":"n903935242_4079012_7507_thumb.jpg","galleries_id":173151,"server_id":1,"link":"photo_2759885.html","width":130,"caption":"","height":98});
															thumbnails[2759890] = clik.newPhoto({"id":2759890,"src":"n730071614_1277626_9164_thumb.jpg","galleries_id":173151,"server_id":1,"link":"photo_2759890.html","width":130,"caption":"","height":98});
															thumbnails[2759919] = clik.newPhoto({"id":2759919,"src":"n524672342_1256219_5271_thumb.jpg","galleries_id":173151,"server_id":1,"link":"photo_2759919.html","width":130,"caption":"","height":98});
															thumbnails[2759927] = clik.newPhoto({"id":2759927,"src":"n524672342_1256218_4954_thumb.jpg","galleries_id":173151,"server_id":1,"link":"photo_2759927.html","width":130,"caption":"","height":98});
															thumbnails[2759869] = clik.newPhoto({"id":2759869,"src":"n903935242_4079065_1094_thumb.jpg","galleries_id":173151,"server_id":1,"link":"photo_2759869.html","width":130,"caption":"","height":98});
															thumbnails[1072385] = clik.newPhoto({"id":1072385,"src":"2 Star detail small girls thegirls_thumb.co.uk 400.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072385.html","width":130,"caption":"The Girls in the late 1970's","height":90});
															thumbnails[1668031] = clik.newPhoto({"id":1668031,"src":"_MG_4003_9-1_thumb.jpg","galleries_id":112543,"server_id":1,"link":"photo_1668031.html","width":130,"caption":"The Girls and Pedro Silmon of Tatler Magazine","height":101});
															thumbnails[1072372] = clik.newPhoto({"id":1072372,"src":"2 Star detail 1980's thegirls_thumb.co.uk 400.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072372.html","width":130,"caption":"The Girls in the 1980's","height":91});
															thumbnails[3068588] = clik.newPhoto({"id":3068588,"src":"Making_Carebear3_thumb.jpg","galleries_id":188639,"server_id":1,"link":"photo_3068588.html","width":130,"caption":"The Girls making 'Care Bears'","height":84});
															thumbnails[1473295] = clik.newPhoto({"id":1473295,"src":"Night_book_thegirls_thumb.co.uk.jpg","galleries_id":74562,"server_id":1,"link":"photo_1473295.html","width":126,"caption":"The Girls making 'Night' book (detail), 1996","height":150});
															thumbnails[1668046] = clik.newPhoto({"id":1668046,"src":"_MG_3991_8_thumb.jpg","galleries_id":112543,"server_id":1,"link":"photo_1668046.html","width":130,"caption":"'The Embodied Soul Passes Through Girlhood to Death'","height":87});
															thumbnails[1069801] = clik.newPhoto({"id":1069801,"src":"Andrea Night Book thegirls_thumb.co.uk.jpg","galleries_id":74562,"server_id":1,"link":"photo_1069801.html","width":98,"caption":"Night Book (detail) © The Girls 1996","height":150});
															thumbnails[3068589] = clik.newPhoto({"id":3068589,"src":"Making_Carebear4_thumb.jpg","galleries_id":188639,"server_id":1,"link":"photo_3068589.html","width":130,"caption":"The Girls making 'Care Bears'","height":84});
															thumbnails[1473303] = clik.newPhoto({"id":1473303,"src":"with_selfportait_myrahindley_thegirls_thumb.co.uk.jpg","galleries_id":74562,"server_id":1,"link":"photo_1473303.html","width":91,"caption":"Andrea Blood with self portrait as Myra Hindley, 1996","height":150});
															thumbnails[1473344] = clik.newPhoto({"id":1473344,"src":"dermott_golding_pv_thegirls_thumb.co.uk.jpg","galleries_id":74562,"server_id":1,"link":"photo_1473344.html","width":112,"caption":"Dermott Golding Award Private View, Saint Martins, The Girls 1996","height":150});
															thumbnails[1072262] = clik.newPhoto({"id":1072262,"src":"The Girls sewing sausages for David LaChapelle thegirls_thumb.co.uk 600.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072262.html","width":130,"caption":"The Girls sewing sausages at a David LaChapelle shoot, 1996","height":84});
															thumbnails[1072312] = clik.newPhoto({"id":1072312,"src":"David LaChapelle and Zoe Sinclair thegirls_thumb.co.uk2 400.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072312.html","width":130,"caption":"David LaChapelle and Zoe Sinclair, 1996","height":139});
															thumbnails[1001167] = clik.newPhoto({"id":1001167,"src":"The Girls on ICA stairs thegirls_thumb.co.uk.jpg","galleries_id":74562,"server_id":1,"link":"photo_1001167.html","width":130,"caption":"The Girls at the ICA, 1997","height":85});
															thumbnails[3068590] = clik.newPhoto({"id":3068590,"src":"Making_Carebear5_thumb.jpg","galleries_id":188639,"server_id":1,"link":"photo_3068590.html","width":130,"caption":"The Girls making 'Care Bears'","height":84});
															thumbnails[1001158] = clik.newPhoto({"id":1001158,"src":"The Girls Wearing Shades thegirls_thumb.co.uk.jpg","galleries_id":74562,"server_id":1,"link":"photo_1001158.html","width":130,"caption":"The Girls ready to hit Soho, 1997","height":87});
															thumbnails[1072296] = clik.newPhoto({"id":1072296,"src":"The Girls with Gilbert and George thegirls_thumb.co.uk 6001.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072296.html","width":130,"caption":"The Girls with Gilbert and George, 1997","height":87});
															thumbnails[1072318] = clik.newPhoto({"id":1072318,"src":"Graffiti Wall thegirls_thumb.co.uk.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072318.html","width":99,"caption":"The Girls, 1997","height":150});
															thumbnails[993619] = clik.newPhoto({"id":993619,"src":"CSM sketch book cover_thumb.jpg","galleries_id":74562,"server_id":1,"link":"photo_993619.html","width":130,"caption":"The Girls Sketch Book Cover, 1997","height":124});
															thumbnails[1072455] = clik.newPhoto({"id":1072455,"src":"The Girls in 1997 outside CSM thegirls_thumb.co.uk 400.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072455.html","width":130,"caption":"The Girls, 1997","height":84});
															thumbnails[1072404] = clik.newPhoto({"id":1072404,"src":"Paul Smith with Girls business card 600_thumb.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072404.html","width":104,"caption":"Paul Smith poses with The Girls card, 1997","height":150});
															thumbnails[1472962] = clik.newPhoto({"id":1472962,"src":"Hot_Cakes_thegirls_thumb.co.uk.jpg","galleries_id":74562,"server_id":1,"link":"photo_1472962.html","width":99,"caption":"Hot Cakes","height":150});
															thumbnails[1473260] = clik.newPhoto({"id":1473260,"src":"Angel_and_death_thegirls_thumb.co.uk.jpg","galleries_id":74562,"server_id":1,"link":"photo_1473260.html","width":130,"caption":"Tea break on God's Waiting Room Shoot, The Girls 1997","height":85});
															thumbnails[1069836] = clik.newPhoto({"id":1069836,"src":"Sketchbook thegirls_thumb.co.uk.jpg","galleries_id":74562,"server_id":1,"link":"photo_1069836.html","width":130,"caption":"Sketch Book Cover, 1998","height":94});
															thumbnails[1072277] = clik.newPhoto({"id":1072277,"src":"The Girls fingernails thegirls_thumb.co.uk 600.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072277.html","width":130,"caption":"The Girls fingernails, 1998","height":102});
															thumbnails[1072390] = clik.newPhoto({"id":1072390,"src":"The Girls drinking Campari thegirls_thumb.co.uk 400.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072390.html","width":130,"caption":"The Girls drinking Campari, 1998","height":88});
															thumbnails[1072366] = clik.newPhoto({"id":1072366,"src":"2 Star backsides thegirls_thumb.co.uk 400.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072366.html","width":130,"caption":"2 Star! Annual (detail)","height":91});
															thumbnails[1072485] = clik.newPhoto({"id":1072485,"src":"CSM brochure with The Girls thegirls_thumb.co.uk 600.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072485.html","width":130,"caption":"The Girls, 1998","height":89});
															thumbnails[1072399] = clik.newPhoto({"id":1072399,"src":"The Girls exhibition 1 thegirls_thumb.co.uk 400.jpg","galleries_id":74562,"server_id":1,"link":"photo_1072399.html","width":107,"caption":"It's a Girls world","height":150});
															thumbnails[1668078] = clik.newPhoto({"id":1668078,"src":"_MG_4030_19_thumb.jpg","galleries_id":112543,"server_id":1,"link":"photo_1668078.html","width":129,"caption":"Stephen Mahoney, Curator of The Burlington Club","height":150});
															thumbnails[1668035] = clik.newPhoto({"id":1668035,"src":"_MG_3976_4_thumb.jpg","galleries_id":112543,"server_id":1,"link":"photo_1668035.html","width":130,"caption":"","height":87});
															thumbnails[1668150] = clik.newPhoto({"id":1668150,"src":"_MG_4043_25-1_thumb.jpg","galleries_id":112543,"server_id":1,"link":"photo_1668150.html","width":130,"caption":"","height":87});
															thumbnails[1682139] = clik.newPhoto({"id":1682139,"src":"Elvis_Bella by Dan2_thumb.jpg","galleries_id":112543,"server_id":1,"link":"photo_1682139.html","width":130,"caption":"","height":98});
															thumbnails[7103112] = clik.newPhoto({"id":7103112,"src":"PaperEaters600_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_7103112.html","width":89,"caption":"LISTED MAGAZINE","height":150});
															thumbnails[5917504] = clik.newPhoto({"id":5917504,"src":"art_of_england_DPS_800pix_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_5917504.html","width":130,"caption":"ART OF ENGLAND MAGAZINE > It's like two Bill and Ted-esq space-time rejects are lost between the pages of a Ghostbusters comic and a teenage weird science video game","height":92});
															thumbnails[5625934] = clik.newPhoto({"id":5625934,"src":"Paper_Eaters_The_Girls_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_5625934.html","width":130,"caption":"SPOONFED > The Girls are creating a photo-story magazine that incorporates Selfridges staff, customers and those bits of the department store that you never get to see unless you're super-important (or the janitor)","height":130});
															thumbnails[4983816] = clik.newPhoto({"id":4983816,"src":"wam_thegirls_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4983816.html","width":106,"caption":"QYPE DOES LONDON > 'Mind the Gap' Women’s Art Movement group show","height":150});
															thumbnails[4963700] = clik.newPhoto({"id":4963700,"src":"WAM-The-Girls-Andrea-Blood-Zoe-Sinclair_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4963700.html","width":130,"caption":"AMELIA'S MAGAZINE > 'The Women’s Art Movement show 'Mind the Gap', including artists The Girls, Pamela Morgan and Claire Freer, aims to tackle the issue of women’s depression and bring it 'above ground''","height":87});
															thumbnails[4948037] = clik.newPhoto({"id":4948037,"src":"The_Girls_LoveistheLawMagazine_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4948037.html","width":130,"caption":"LOVE IS THE LAW INTERVIEW > 'Imagine a quintessentially English answer to Cindy Sherman, but double, and with something of the wit and chemistry of French and Saunders distilled by a camera'","height":87});
															thumbnails[4983624] = clik.newPhoto({"id":4983624,"src":"thegirls_vintageatgoodwood_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4983624.html","width":117,"caption":"VINTAGE AT GOODWOOD > Wayne Hemingway invited The Girls to stage ‘Garden Party’ at Goodwood Revival as part of a taster for his new festival","height":150});
															thumbnails[4982851] = clik.newPhoto({"id":4982851,"src":"thegirls_urbanjunkies_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4982851.html","width":130,"caption":"URBAN JUNKIES | MY LONDON > “For fourteen years now we have enjoyed wolfing down three courses for under a tenner at The Stockpot on Old Compton Street”","height":101});
															thumbnails[4984172] = clik.newPhoto({"id":4984172,"src":"Listed_Cradle_thegirls_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4984172.html","width":130,"caption":"LISTED MAGAZINE","height":148});
															thumbnails[4982948] = clik.newPhoto({"id":4982948,"src":"trespass_magazine_thegirls_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4982948.html","width":105,"caption":"TRESPASS MAGAZINE COVER & FEATURE","height":150});
															thumbnails[4983035] = clik.newPhoto({"id":4983035,"src":"chromajournal_thegirls_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4983035.html","width":106,"caption":"CHROMA JOURNAL","height":150});
															thumbnails[4982991] = clik.newPhoto({"id":4982991,"src":"ameliasmagazine_thegirls_feature_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4982991.html","width":123,"caption":"AMELIA'S MAGAZINE FEATURE","height":150});
															thumbnails[4982795] = clik.newPhoto({"id":4982795,"src":"Friday_the_girls_artists_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4982795.html","width":130,"caption":"LEXPOSURE INTERVIEW > ‘Dark humour, over-layering ideas and influences, a sense of nostalgia, femaleness, quirky Englishness’","height":87});
															thumbnails[3042133] = clik.newPhoto({"id":3042133,"src":"evening_standard_logo_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_3042133.html","width":130,"caption":"LONDON EVENING STANDARD > 'Sexy, irreverent post-feminism. Think Angela Carter crossed with Cindy Sherman'","height":37});
															thumbnails[3031914] = clik.newPhoto({"id":3031914,"src":"Smurfette_echo_thegirls600_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_3031914.html","width":130,"caption":"'No, this sunbather hasn't turned blue with the cold. She's celebrating the 50th birthday of the Smurfs'","height":100});
															thumbnails[3061230] = clik.newPhoto({"id":3061230,"src":"BJP-logo_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_3061230.html","width":130,"caption":"BRITISH JOURNAL OF PHOTOGRAPHY > 'The Girls are back, this time marking the 50th anniversary of the Smurfs, in Readers' Wives style'","height":19});
															thumbnails[3061233] = clik.newPhoto({"id":3061233,"src":"http_www_thumb.tipped.co copy.jpg","galleries_id":101587,"server_id":1,"link":"photo_3061233.html","width":130,"caption":"TIPPED LONDON > 'Themes oscillate between different dimensions of womanhood. They include gender, relationships, isolation and fun'","height":59});
															thumbnails[2974240] = clik.newPhoto({"id":2974240,"src":"londonist_logo_2_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_2974240.html","width":130,"caption":"LONDONIST > 'Some of the photos are good enough to eat, but they sufficiently highlight some of the less palatable issues about the place of women in visual culture'","height":126});
															thumbnails[2974271] = clik.newPhoto({"id":2974271,"src":"Nude_thegirls600_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_2974271.html","width":130,"caption":"NUDE MAGAZINE > 'Saucy, vaguely pop-surrealist portrait photography and performance art'","height":127});
															thumbnails[4982970] = clik.newPhoto({"id":4982970,"src":"ameliasmagazine_thegirls_bk_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4982970.html","width":130,"caption":"AMELIA'S MAGAZINE > 'The Girls reference pop culture, the idea of Englishness, gender roles, nostalgia and desire in a fun yet also subtly dark way'","height":98});
															thumbnails[4983696] = clik.newPhoto({"id":4983696,"src":"taiwaneseblog_thegirls_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4983696.html","width":130,"caption":"Taiwanese blog > ‘In Bed With The Girls’ show","height":87});
															thumbnails[4983547] = clik.newPhoto({"id":4983547,"src":"indie-quarter160_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4983547.html","width":130,"caption":"INDIE QUARTER > ‘Sexy, colourful and deliciously deviant’","height":54});
															thumbnails[2760098] = clik.newPhoto({"id":2760098,"src":"le_cool_thegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_2760098.html","width":130,"caption":"LONDON LE COOL > 'Life-size straw dolls in bed explore female relationships. Get into The Girls mental bed and indulge in a strange, funny, guilty visual feast'","height":46});
															thumbnails[2733081] = clik.newPhoto({"id":2733081,"src":"ameliasmagazinelogo_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_2733081.html","width":130,"caption":"AMELIA'S MAGAZINE > 'A rumbling of darkness ensures childhood naivety is undercut by a dramatic and slightly haunted adult perspective'","height":63});
															thumbnails[2753208] = clik.newPhoto({"id":2753208,"src":"spoonfed_thegirls_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_2753208.html","width":130,"caption":"SPOONFED > 'There's one really funny picture of a vicar, eating a luxurious English high-tea off the body of a naked lady. Hee hee!'","height":58});
															thumbnails[2732815] = clik.newPhoto({"id":2732815,"src":"Matchbox_thegirls_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_2732815.html","width":130,"caption":"MATCHBOX MAGAZINE > 'The perfect venue for notorious art surrealists The Girls'","height":123});
															thumbnails[2753180] = clik.newPhoto({"id":2753180,"src":"BK_diary_thegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_2753180.html","width":130,"caption":"DIARY OF A THIRTY SOMETHING ART DEALER","height":150});
															thumbnails[4983677] = clik.newPhoto({"id":4983677,"src":"kobieta_z_czekolady_3_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4983677.html","width":113,"caption":"Polish blog > Exploring the relationship between food & sex","height":150});
															thumbnails[1856774] = clik.newPhoto({"id":1856774,"src":"TheGirls_DivaMagazine600_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_1856774.html","width":111,"caption":"DIVA MAGAZINE > 'Everyone's talking about The Girls'","height":150});
															thumbnails[1774938] = clik.newPhoto({"id":1774938,"src":"TheGirls_Raisedbywolves_BJP_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_1774938.html","width":130,"caption":"BRITISH JOURNAL OF PHOTOGRAPHY","height":93});
															thumbnails[4983837] = clik.newPhoto({"id":4983837,"src":"friday_thegirls_small_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4983837.html","width":130,"caption":"GARDEN OF WORDS BLOG, USA","height":84});
															thumbnails[1786880] = clik.newPhoto({"id":1786880,"src":"artistaday_TheGirls_thumb.co.uk_600_2.jpg","galleries_id":101587,"server_id":1,"link":"photo_1786880.html","width":130,"caption":"ARTIST A DAY","height":93});
															thumbnails[4983896] = clik.newPhoto({"id":4983896,"src":"E102_3_thegirls_co_uk_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_4983896.html","width":89,"caption":"THAT’S ENTERTAINMENT","height":150});
															thumbnails[1648939] = clik.newPhoto({"id":1648939,"src":"wemadethis_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_1648939.html","width":130,"caption":"WE MADE THIS > 'Tinged with the sensibility of the League of Gentlemen'","height":114});
															thumbnails[1473442] = clik.newPhoto({"id":1473442,"src":"Muse_Magazine6001_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_1473442.html","width":108,"caption":"MUSE MAGAZINE","height":150});
															thumbnails[1473453] = clik.newPhoto({"id":1473453,"src":"Food_for_thought6001_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_1473453.html","width":130,"caption":"'Food for thought'","height":131});
															thumbnails[1498596] = clik.newPhoto({"id":1498596,"src":"FestivalProgrammeThegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1498596.html","width":107,"caption":"LADIES DAY!","height":150});
															thumbnails[1473456] = clik.newPhoto({"id":1473456,"src":"English_art6001_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_1473456.html","width":68,"caption":"'The English art of tea with the vicar'","height":150});
															thumbnails[1473460] = clik.newPhoto({"id":1473460,"src":"More_Tea_Vicar_The_Girls_Press6001_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_1473460.html","width":130,"caption":"'Amazing art work from artist duo The Girls'","height":51});
															thumbnails[1473462] = clik.newPhoto({"id":1473462,"src":"Bridport_radio_Garden_Party1_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_1473462.html","width":130,"caption":"'Art duo The Girls to perform surreal tea party'","height":113});
															thumbnails[1473467] = clik.newPhoto({"id":1473467,"src":"Listed_ July07_thegirls_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_1473467.html","width":102,"caption":"LISTED MAGAZINE","height":150});
															thumbnails[1473491] = clik.newPhoto({"id":1473491,"src":"Girls on listed mag homepage_thumb.jpg","galleries_id":101587,"server_id":1,"link":"photo_1473491.html","width":70,"caption":"LISTED MAGAZINE","height":150});
															thumbnails[1473469] = clik.newPhoto({"id":1473469,"src":"fstopthegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1473469.html","width":130,"caption":"F.STOP INTERVIEW","height":127});
															thumbnails[1498594] = clik.newPhoto({"id":1498594,"src":"BJPembodiedthegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1498594.html","width":130,"caption":"BRITISH JOURNAL OF PHOTOGRAPHY","height":99});
															thumbnails[1498592] = clik.newPhoto({"id":1498592,"src":"Kobalthegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1498592.html","width":103,"caption":"THE JOHN KOBAL \/ NATIONAL PORTRAIT GALLERY AWARD BOOK","height":150});
															thumbnails[1498338] = clik.newPhoto({"id":1498338,"src":"observerthegirls_thumb.co.uk3.jpg","galleries_id":101587,"server_id":1,"link":"photo_1498338.html","width":130,"caption":"THE OBSERVER > 'From girlhood to death - picking up an Observer award along the way'","height":88});
															thumbnails[1498340] = clik.newPhoto({"id":1498340,"src":"guardianthegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1498340.html","width":130,"caption":"THE GUARDIAN","height":81});
															thumbnails[1473430] = clik.newPhoto({"id":1473430,"src":"thegirlsjustwannahavefunthegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1473430.html","width":101,"caption":"'The Girls just wanna have fun'","height":150});
															thumbnails[1473419] = clik.newPhoto({"id":1473419,"src":"Embodied_Soul_BJP_thegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1473419.html","width":130,"caption":"BRITISH JOURNAL OF PHOTOGRAPHY > 'Who or what are the gargoyle type figures snarling in the background supposed to represent?'","height":106});
															thumbnails[1498392] = clik.newPhoto({"id":1498392,"src":"creativereviewthegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1498392.html","width":76,"caption":"CREATIVE REVIEW","height":150});
															thumbnails[1498362] = clik.newPhoto({"id":1498362,"src":"photographersgallerythegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1498362.html","width":105,"caption":"THE PHOTOGRAPHERS' GALLERY MAGAZINE","height":150});
															thumbnails[1498353] = clik.newPhoto({"id":1498353,"src":"DandADthegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1498353.html","width":130,"caption":"D&AD AWARDS","height":91});
															thumbnails[1498349] = clik.newPhoto({"id":1498349,"src":"BJPmai-lingthegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1498349.html","width":130,"caption":"BRITISH JOURNAL OF PHOTOGRAPHY","height":75});
															thumbnails[1498343] = clik.newPhoto({"id":1498343,"src":"panoramathegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1498343.html","width":130,"caption":"PANORAMA MAGAZINE","height":136});
															thumbnails[1498347] = clik.newPhoto({"id":1498347,"src":"hotshoethegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1498347.html","width":104,"caption":"HOTSHOE MAGAZINE","height":150});
															thumbnails[1473416] = clik.newPhoto({"id":1473416,"src":"Dungeness_BJP_thegirls_thumb.co.uk.jpg","galleries_id":101587,"server_id":1,"link":"photo_1473416.html","width":130,"caption":"BRITISH JOURNAL OF PHOTOGRAPHY","height":89});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[188639] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"MAKING SELF-PORTRAIT 'CARE BEARS'","link":"section105809_188639.html","maxRecords":0.0,"photoIDs":[3068588.0,3068589.0,3068590.0],"skipIndex":0,"section_code":"section105809","featured_images":3068588.0,"id":188639,"singleSection":false});				  						galleries[101587] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Media Coverage","link":"section135706.html","maxRecords":0.0,"photoIDs":[7103112.0,5917504.0,5625934.0,4983816.0,4963700.0,4948037.0,4983624.0,4982851.0,4984172.0,4982948.0,4983035.0,4982991.0,4982795.0,3042133.0,3031914.0,3061230.0,3061233.0,2974240.0,2974271.0,4982970.0,4983696.0,4983547.0,2760098.0,2733081.0,2753208.0,2732815.0,2753180.0,4983677.0,1856774.0,1774938.0,4983837.0,1786880.0,4983896.0,1648939.0,1473442.0,1473453.0,1498596.0,1473456.0,1473460.0,1473462.0,1473467.0,1473491.0,1473469.0,1498594.0,1498592.0,1498338.0,1498340.0,1473430.0,1473419.0,1498392.0,1498362.0,1498353.0,1498349.0,1498343.0,1498347.0,1473416.0],"skipIndex":0,"section_code":"section135706","featured_images":"7103112,5917504,5625934,4984172,4983896,4983837,4983816,4983696,4983677,4983624","id":101587,"singleSection":true});				  						galleries[318406] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"The Paper Eaters | Artists-in-residence Selfridges","link":"section381810.html","maxRecords":0.0,"photoIDs":[5618132.0,5618139.0,5618141.0,5618146.0],"skipIndex":0,"section_code":"section381810","featured_images":"5618146,5618141,5618139,5618132","id":318406,"singleSection":true});				  						galleries[423515] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"GRAND GROTESQUE PARADE (24 September 2011)","link":"section105788_423515.html","maxRecords":0.0,"photoIDs":[7848984.0,8308463.0,8435987.0,8134188.0,8165759.0],"skipIndex":0,"section_code":"section105788","featured_images":7848984.0,"id":423515,"singleSection":false});				  						galleries[30444] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"SELF-PORTRAITS, SINGLE","link":"section105788_30444.html","maxRecords":0.0,"photoIDs":[1591434.0,2749698.0,2749697.0,2749694.0,984456.0,984134.0,914199.0,936956.0,372082.0,2749692.0,936911.0],"skipIndex":0,"section_code":"section105788","featured_images":"2749694,1591434,984134,936956,914199","id":30444,"singleSection":false});				  						galleries[29864] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"THE EMBODIED SOUL PASSES THROUGH GIRLHOOD TO DEATH","link":"section105788_29864.html","maxRecords":0.0,"photoIDs":[371674.0,384565.0,384567.0,384566.0,1072242.0,1072245.0,1072247.0,1473242.0,1072346.0],"skipIndex":0,"section_code":"section105788","featured_images":371674.0,"id":29864,"singleSection":false});				  						galleries[173151] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"THE GIRLS BEVERLEY KNOWLES PRIVATE VIEW","link":"section105809_173151.html","maxRecords":0.0,"photoIDs":[2759818.0,2759822.0,2759831.0,2759855.0,2759858.0,2759862.0,2759865.0,2759885.0,2759890.0,2759919.0,2759927.0,2759869.0],"skipIndex":0,"section_code":"section105809","featured_images":2759869.0,"id":173151,"singleSection":false});				  						galleries[112543] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"THE GIRLS BURLINGTON CLUB PRIVATE VIEW","link":"section105809_112543.html","maxRecords":0.0,"photoIDs":[1668031.0,1668046.0,1668078.0,1668035.0,1668150.0,1682139.0],"skipIndex":0,"section_code":"section105809","featured_images":1668031.0,"id":112543,"singleSection":false});				  						galleries[184446] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"SUB ROSA FLIP DOLL","link":"section105788_184446.html","maxRecords":0.0,"photoIDs":[2993261.0,2994000.0,2994040.0,2994107.0,2994206.0,2994427.0,2994163.0,2994410.0],"skipIndex":0,"section_code":"section105788","featured_images":2994427.0,"id":184446,"singleSection":false});				  						galleries[172642] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"SMURFETTE","link":"section105788_172642.html","maxRecords":0.0,"photoIDs":[2749783.0,2749785.0,2749782.0,2749784.0],"skipIndex":0,"section_code":"section105788","featured_images":"2749785,2749784,2749783","id":172642,"singleSection":false});				  						galleries[74562] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"BLAST FROM THE PAST","link":"section105809_74562.html","maxRecords":0.0,"photoIDs":[1072385.0,1072372.0,1473295.0,1069801.0,1473303.0,1473344.0,1072262.0,1072312.0,1001167.0,1001158.0,1072296.0,1072318.0,993619.0,1072455.0,1072404.0,1472962.0,1473260.0,1069836.0,1072277.0,1072390.0,1072366.0,1072485.0,1072399.0],"skipIndex":0,"section_code":"section105809","featured_images":993619.0,"id":74562,"singleSection":false});				  						galleries[71077] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"GOD'S WAITING ROOM","link":"section105788_71077.html","maxRecords":0.0,"photoIDs":[1072441.0,936855.0,936857.0,936862.0,936865.0,936867.0,936869.0],"skipIndex":0,"section_code":"section105788","featured_images":"936865,936857,936855","id":71077,"singleSection":false});				  						galleries[73901] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"HUNG UP ON YOU","link":"section105788_73901.html","maxRecords":0.0,"photoIDs":[985573.0,985584.0,985580.0,985591.0,983970.0,914203.0],"skipIndex":0,"section_code":"section105788","featured_images":914203.0,"id":73901,"singleSection":false});				  						galleries[73903] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"DUNGENESS","link":"section105788_73903.html","maxRecords":0.0,"photoIDs":[984075.0,984058.0,984056.0],"skipIndex":0,"section_code":"section105788","featured_images":"984058,984056","id":73903,"singleSection":false});				  						galleries[29583] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"GARDEN PARTY","link":"section105788_29583.html","maxRecords":0.0,"photoIDs":[359963.0,359968.0,359962.0,359970.0],"skipIndex":0,"section_code":"section105788","featured_images":359968.0,"id":29583,"singleSection":false});				  						galleries[53019] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"FRIDAY (MERMAID)","link":"section105788_53019.html","maxRecords":0.0,"photoIDs":[901828.0,902438.0,902830.0],"skipIndex":0,"section_code":"section105788","featured_images":901828.0,"id":53019,"singleSection":false});				  						galleries[106346] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"E102","link":"section105788_106346.html","maxRecords":0.0,"photoIDs":[1551502.0,1551503.0,1551508.0],"skipIndex":0,"section_code":"section105788","featured_images":1551503.0,"id":106346,"singleSection":false});				  						galleries[73904] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"2 STAR! ANNUAL","link":"section105788_73904.html","maxRecords":0.0,"photoIDs":[983996.0,983993.0,984015.0,1473181.0,1072159.0,2749673.0,1072168.0,1072163.0,1072222.0],"skipIndex":0,"section_code":"section105788","featured_images":"1072168,983996","id":73904,"singleSection":false});				  						galleries[71085] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Other works by The Girls","link":"section105788_71085.html","maxRecords":0.0,"photoIDs":[2128938.0,983942.0,983950.0,984109.0,936916.0,993147.0,993143.0,1072149.0,936912.0,936926.0],"skipIndex":0,"section_code":"section105788","featured_images":"993143,984109,983950,983942,936912","id":71085,"singleSection":false});				  						galleries[139549] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"GARDEN PARTY PERFORMANCE","link":"section105788_139549.html","maxRecords":0.0,"photoIDs":[2092070.0,2092060.0,2091855.0,2092023.0],"skipIndex":0,"section_code":"section105788","featured_images":2092070.0,"id":139549,"singleSection":false});				  						galleries[91762] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"GARDEN PARTY PERFORMANCE","link":"section105788_91762.html","maxRecords":0.0,"photoIDs":[1294758.0,1294753.0,1294981.0,1294761.0],"skipIndex":0,"section_code":"section105788","featured_images":1294753.0,"id":91762,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '7653853,359968,384567,901828,2749694,1591407';
imageSets[2] = '2361695,2759869,983996,371674,2092070,359968,7848984,3068588,2749783,1668031,1591434,936855,901828,2749785,1551503,984058,983942,936857,1294753,984056,983950,2749784,2749694,984109,936865,1072168,993619,2994427,984134,914203,993143,914199,936956,936912';
imageSets[3] = '8435987,8308463,8165759,8136141,8134188,7848984,7653853,7103112,6836261,5917504,5625934,5618147,5618146,5618141,5618139,5618132,4984172,4983896,4983837,4983816,4983696,4983677,4983624,4983547,4983035,4982991,4982970,4982948,4982851,4982795,4963700,4948037,3068590,3068589,3068588,3061233,3061230,3042133,3031914,2994427,2994410,2994206,2994163,2994107,2994040,2994000,2993261,2974271,2974240,2760098';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/thegirlsart/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/thegirlsart/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = (backgrounds || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'section105788.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'section105788' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'The Girls | Artists Andrea Blood & Zoe Sinclair: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

