window.thumbnails = {};
															thumbnails[9063234] = clik.newPhoto({"id":9063234,"src":"c.t.Be_My_Valentine_1700_thumb.JPG","galleries_id":215715,"server_id":18,"link":"photo_9063234.html","width":130,"caption":"Lovers - Be My Valentine","height":179});
															thumbnails[9040190] = clik.newPhoto({"id":9040190,"src":"c.t.Lovers-In_your_arms_1500_thumb.JPG","galleries_id":215715,"server_id":18,"link":"photo_9040190.html","width":130,"caption":"Lovers - In Your Arms","height":190});
															thumbnails[9036957] = clik.newPhoto({"id":9036957,"src":"c.t.Lovers-Passion-1500_thumb.JPG","galleries_id":215715,"server_id":18,"link":"photo_9036957.html","width":130,"caption":"Loveers - Passion","height":183});
															thumbnails[9036969] = clik.newPhoto({"id":9036969,"src":"c.t.Lovers-_Fatal_Attraction_-1500_thumb.JPG","galleries_id":349075,"server_id":18,"link":"photo_9036969.html","width":130,"caption":"Lovers - Fatal Attraction","height":185});
															thumbnails[9009895] = clik.newPhoto({"id":9009895,"src":"c.t.Lovers-Valentine_in_Venice_1500_thumb.JPG","galleries_id":215715,"server_id":18,"link":"photo_9009895.html","width":130,"caption":"Lovers-Valentine In Venice","height":164});
															thumbnails[8597058] = clik.newPhoto({"id":8597058,"src":"c.t._Lovers-So_In_Love_With_You-1500_thumb.JPG","galleries_id":349075,"server_id":18,"link":"photo_8597058.html","width":130,"caption":"Lovers - So In Love With You","height":169});
															thumbnails[9006321] = clik.newPhoto({"id":9006321,"src":"c.t.Cool_Breeze_1500_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_9006321.html","width":130,"caption":"Cool Breeze - Nudes Gallery","height":181});
															thumbnails[8913530] = clik.newPhoto({"id":8913530,"src":"c.t._Lovers-The_Kiss1-Rodin-1500_thumb.JPG","galleries_id":215715,"server_id":18,"link":"photo_8913530.html","width":130,"caption":"Lovers-The Kiss1-Rodin","height":174});
															thumbnails[8913529] = clik.newPhoto({"id":8913529,"src":"c.t._Lovers-The_Kiss4-Rodin_-1500_thumb.JPG","galleries_id":215715,"server_id":18,"link":"photo_8913529.html","width":130,"caption":"Lovers-The Kiss4-Rodin","height":179});
															thumbnails[8851133] = clik.newPhoto({"id":8851133,"src":"c.t.Lovers-The_Kiss3-Rodin-1500_thumb.JPG","galleries_id":349075,"server_id":18,"link":"photo_8851133.html","width":130,"caption":"Lovers - The Kiss3 (Rodin)","height":172});
															thumbnails[8819870] = clik.newPhoto({"id":8819870,"src":"_c.t._The_Kiss2_Rodin1500_thumb.JPG","galleries_id":349075,"server_id":18,"link":"photo_8819870.html","width":130,"caption":"Lovers - The Kiss2(Rodin)","height":172});
															thumbnails[8780893] = clik.newPhoto({"id":8780893,"src":"c.t.Respiro-1500_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8780893.html","width":130,"caption":"Respiro - Nudes Gallery","height":85});
															thumbnails[8779219] = clik.newPhoto({"id":8779219,"src":"c1.t._Red_Spirit_1500_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8779219.html","width":130,"caption":"Red Spirit - Nudes Gallery","height":192});
															thumbnails[8779181] = clik.newPhoto({"id":8779181,"src":"c.t._Red_Back_1500_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8779181.html","width":130,"caption":"Red Back - Nudes Gallery","height":193});
															thumbnails[8699220] = clik.newPhoto({"id":8699220,"src":"c.t.Shadows_on_the_Sand2_1500_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8699220.html","width":130,"caption":"Shadows on the Sand2 - Nudes Gallery","height":187});
															thumbnails[8686601] = clik.newPhoto({"id":8686601,"src":"Copy_of_c.t.Shadows_on_the_Sand_1500_thumb.JPG","galleries_id":349075,"server_id":18,"link":"photo_8686601.html","width":130,"caption":"Shadows on the Sand1 - Nudes Gallery","height":194});
															thumbnails[8676282] = clik.newPhoto({"id":8676282,"src":"_c.t.Nude_on_Orange_Sofa_1300_thumb.JPG","galleries_id":349075,"server_id":18,"link":"photo_8676282.html","width":130,"caption":"Nude on Orange Sofa - Nudes Gallery","height":101});
															thumbnails[8659513] = clik.newPhoto({"id":8659513,"src":"Copy_of_c.t.Nocturn_1300_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8659513.html","width":130,"caption":"Nocturne - Nudes Gallery","height":98});
															thumbnails[8659581] = clik.newPhoto({"id":8659581,"src":"Copy_of_c.t.Yellow_Caryatid_1330_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8659581.html","width":130,"caption":"Yellow Caryatid - Nudes Gallery","height":173});
															thumbnails[8638648] = clik.newPhoto({"id":8638648,"src":"Copy_of_c.t._Red_Caryatid_1300_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8638648.html","width":130,"caption":"Red Caryatid - Nudes Gallery","height":172});
															thumbnails[8659616] = clik.newPhoto({"id":8659616,"src":"Copy_of_c.t.-Caryatid1380_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8659616.html","width":130,"caption":"Lady in Blue - Nudes Gallery","height":179});
															thumbnails[8631786] = clik.newPhoto({"id":8631786,"src":"Copy_of_c.t._Blue_Caryatid_1320_thumb.JPG","galleries_id":349075,"server_id":18,"link":"photo_8631786.html","width":130,"caption":"Blue Caryatid - Nudes Gallery","height":172});
															thumbnails[8631789] = clik.newPhoto({"id":8631789,"src":"c.t.-Blue_Back_1500_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8631789.html","width":130,"caption":"Blue Back - Nudes Gallery","height":195});
															thumbnails[8597048] = clik.newPhoto({"id":8597048,"src":"Copy_of_c.t.High_Heels_and_Misery_005_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8597048.html","width":130,"caption":"High Heels and Tears - Nudes Gallery","height":213});
															thumbnails[8116690] = clik.newPhoto({"id":8116690,"src":"c.t.-Looking_Straight_1400_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8116690.html","width":130,"caption":"Looking Straight - Nudes Gallery","height":93});
															thumbnails[8151513] = clik.newPhoto({"id":8151513,"src":"c.t.looking_down_003_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8151513.html","width":130,"caption":"Looking Down - Nudes Gallery","height":93});
															thumbnails[8110201] = clik.newPhoto({"id":8110201,"src":"c.t.Crimson_Red_1750x1500_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_8110201.html","width":130,"caption":"Crimson Red - Nudes Gllery","height":155});
															thumbnails[8020451] = clik.newPhoto({"id":8020451,"src":"Copy_of_c.t.odalisque_3000_thumb.JPG","galleries_id":349075,"server_id":18,"link":"photo_8020451.html","width":130,"caption":"Odalisque in the Sunset - Nudes Gallery","height":53});
															thumbnails[7994996] = clik.newPhoto({"id":7994996,"src":"c.t.-Elegant_Pink2000_thumb.JPG","galleries_id":349075,"server_id":18,"link":"photo_7994996.html","width":130,"caption":"Elegant Pink - Nudes Gallery","height":183});
															thumbnails[7995015] = clik.newPhoto({"id":7995015,"src":"c.t._White_Figure_2000_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_7995015.html","width":130,"caption":"White Figure - Nudes Gallery","height":184});
															thumbnails[7942757] = clik.newPhoto({"id":7942757,"src":"c.t._Adam_and_Eve_-1300_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_7942757.html","width":130,"caption":"Lovers- Adam and Eve","height":173});
															thumbnails[7934546] = clik.newPhoto({"id":7934546,"src":"c.t.-Gipsy_Fire_015_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_7934546.html","width":130,"caption":"Gypsy Fire - Nudes Gallery","height":193});
															thumbnails[7934558] = clik.newPhoto({"id":7934558,"src":"c.t.-crying_heart_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_7934558.html","width":130,"caption":"Crying Heart - Nudes Gallery","height":181});
															thumbnails[7853078] = clik.newPhoto({"id":7853078,"src":"c.t.Looking_at_stars_-_1024_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_7853078.html","width":130,"caption":"Looking at Stars - Nudes Gallery","height":188});
															thumbnails[7836146] = clik.newPhoto({"id":7836146,"src":"Copy_of_c.t.Every_Woman-2500_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_7836146.html","width":130,"caption":"Every Woman - Nudes Gallery","height":346});
															thumbnails[7760762] = clik.newPhoto({"id":7760762,"src":"c.t._Curves18-1024_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_7760762.html","width":130,"caption":"Curves18 - Nudes Gallery","height":97});
															thumbnails[7722549] = clik.newPhoto({"id":7722549,"src":"c12.t-Lull-1024-_005_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_7722549.html","width":130,"caption":"Lull - Nudes Gallery","height":190});
															thumbnails[7722559] = clik.newPhoto({"id":7722559,"src":"c123.t_-Inner_Peace-1024-008_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_7722559.html","width":130,"caption":"Inner Peace - Nudes Gallery","height":188});
															thumbnails[7707551] = clik.newPhoto({"id":7707551,"src":"c.t.Her_Dream_015-1024_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_7707551.html","width":130,"caption":"Her Dream - Nudes Gallery","height":183});
															thumbnails[7550722] = clik.newPhoto({"id":7550722,"src":"c_t_The_Sunset_Light123.-1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_7550722.html","width":130,"caption":"The Sunset Light - Nudes Gallery","height":187});
															thumbnails[7453874] = clik.newPhoto({"id":7453874,"src":"c_t_Curves17-1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_7453874.html","width":130,"caption":"Curves17 - Nudes Gallery","height":110});
															thumbnails[7268626] = clik.newPhoto({"id":7268626,"src":"c.t._Sleeping_Nymph3-1680_thumb.JPG","galleries_id":26918,"server_id":18,"link":"photo_7268626.html","width":130,"caption":"Sleeping Nymph3 - Nudes Gallery","height":93});
															thumbnails[7181597] = clik.newPhoto({"id":7181597,"src":"c_t_Curves16-1100_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_7181597.html","width":130,"caption":"Curves16","height":96});
															thumbnails[7150243] = clik.newPhoto({"id":7150243,"src":"c_t_Curves15-1000_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_7150243.html","width":130,"caption":"Curves15","height":108});
															thumbnails[7158495] = clik.newPhoto({"id":7158495,"src":"c_t__Confused-1000_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_7158495.html","width":130,"caption":"Pensive - Nudes Gallery","height":151});
															thumbnails[7126262] = clik.newPhoto({"id":7126262,"src":"c_t_daydreamer-1000_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_7126262.html","width":130,"caption":"Daydreamer - Nudes Gallery","height":156});
															thumbnails[7121885] = clik.newPhoto({"id":7121885,"src":"c_t_Looking_Away-1100-B_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_7121885.html","width":130,"caption":"Looking Away - Nudes Gallery","height":153});
															thumbnails[7033666] = clik.newPhoto({"id":7033666,"src":"c_t_Thin_Line-1100_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_7033666.html","width":130,"caption":"Thin Line - Nudes Gallery","height":158});
															thumbnails[7026001] = clik.newPhoto({"id":7026001,"src":"c_t_Repose_-1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_7026001.html","width":130,"caption":"Repose - Nudes Gallery","height":156});
															thumbnails[7008003] = clik.newPhoto({"id":7008003,"src":"c_t_Monumental_Body_1100_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_7008003.html","width":130,"caption":"Monumental Body - Nudes Gallery","height":158});
															thumbnails[6976044] = clik.newPhoto({"id":6976044,"src":"c_t_Blue_Lagoon21.-1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_6976044.html","width":130,"caption":"Blue Lagoon - Nudes Gallery","height":153});
															thumbnails[6975977] = clik.newPhoto({"id":6975977,"src":"c_t_Blue_Side_1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_6975977.html","width":130,"caption":"Blue Side - Nudes Gallery","height":174});
															thumbnails[6947064] = clik.newPhoto({"id":6947064,"src":"c_t_stillness1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_6947064.html","width":130,"caption":"Quiet Night - Nudes Gallery","height":108});
															thumbnails[6720211] = clik.newPhoto({"id":6720211,"src":"c_t_elegance-1100_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_6720211.html","width":130,"caption":"Elegance","height":171});
															thumbnails[6707518] = clik.newPhoto({"id":6707518,"src":"c_t_Graceful-1200_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_6707518.html","width":130,"caption":"Graceful","height":156});
															thumbnails[6627807] = clik.newPhoto({"id":6627807,"src":"c_t_Blac_Dress12.-1100_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_6627807.html","width":130,"caption":" Black Dress","height":162});
															thumbnails[6608709] = clik.newPhoto({"id":6608709,"src":"c_t_a_warm_feeling-1200_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_6608709.html","width":130,"caption":"A Warm Feeling","height":104});
															thumbnails[6491574] = clik.newPhoto({"id":6491574,"src":"c_t_Tears-1200_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_6491574.html","width":130,"caption":"Tears","height":157});
															thumbnails[6491576] = clik.newPhoto({"id":6491576,"src":"c_t_Sadness_-1100_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_6491576.html","width":130,"caption":"Sadness","height":166});
															thumbnails[6407494] = clik.newPhoto({"id":6407494,"src":"c_t_Side_View-1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_6407494.html","width":130,"caption":"Side View - Nudes Gallery","height":176});
															thumbnails[6407523] = clik.newPhoto({"id":6407523,"src":"c_t_Arched_Back-1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_6407523.html","width":130,"caption":"Arched Back - Nudes Gallery","height":187});
															thumbnails[6407516] = clik.newPhoto({"id":6407516,"src":"c_t_Siesta-1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_6407516.html","width":130,"caption":"Siesta - Nudes Gallery","height":95});
															thumbnails[6407511] = clik.newPhoto({"id":6407511,"src":"c_t_Looking_through_the_window-1100_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_6407511.html","width":130,"caption":"Looking Through The Window - Nudes Gallery","height":178});
															thumbnails[5715158] = clik.newPhoto({"id":5715158,"src":"c_t_Curves14_-1000_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_5715158.html","width":130,"caption":"Curves14","height":93});
															thumbnails[6264556] = clik.newPhoto({"id":6264556,"src":"c_t_at_the_dressing_table21_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_6264556.html","width":130,"caption":"At the Dressing Table2 - Nudes Gallery","height":176});
															thumbnails[5378251] = clik.newPhoto({"id":5378251,"src":"c_t_Lovers_-_Fruit_of_Love1100_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_5378251.html","width":130,"caption":"Lovers - Fruit of Love","height":175});
															thumbnails[6939978] = clik.newPhoto({"id":6939978,"src":"c_t_Sensuality1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_6939978.html","width":130,"caption":"Sensuality - Nudes Gallery","height":155});
															thumbnails[7131515] = clik.newPhoto({"id":7131515,"src":"Last_Supper-canvas_063_thumb.jpg","galleries_id":58003,"server_id":18,"link":"photo_7131515.html","width":130,"caption":"Last Supper","height":98});
															thumbnails[6053273] = clik.newPhoto({"id":6053273,"src":"c_t_Spanish_Eyes_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_6053273.html","width":130,"caption":"Spanish Eyes - Nudes Gallery","height":130});
															thumbnails[3581487] = clik.newPhoto({"id":3581487,"src":"c.t.Lovers_-_Kiss_1500_thumb.JPG","galleries_id":215715,"server_id":18,"link":"photo_3581487.html","width":130,"caption":"Lovers-Kiss","height":99});
															thumbnails[2187656] = clik.newPhoto({"id":2187656,"src":"c_t_Propped-1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_2187656.html","width":130,"caption":"Propped Front - Nudes Gallery","height":192});
															thumbnails[5565156] = clik.newPhoto({"id":5565156,"src":"c_t__Three_Graces2-1100_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_5565156.html","width":130,"caption":"Three Graces2","height":95});
															thumbnails[5427013] = clik.newPhoto({"id":5427013,"src":"c_t_white_towel-1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_5427013.html","width":130,"caption":"White Towel- Nudes Gallery","height":172});
															thumbnails[4025624] = clik.newPhoto({"id":4025624,"src":"c.t.Asleep-pastels-1024_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_4025624.html","width":130,"caption":"Asleep - Nudes Gallery","height":92});
															thumbnails[3968818] = clik.newPhoto({"id":3968818,"src":"c_t_spanish_mood5-1000_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_3968818.html","width":130,"caption":"Spanish Mood5 - Nudes Gallery","height":164});
															thumbnails[3974526] = clik.newPhoto({"id":3974526,"src":"c_t__Joy-1000_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_3974526.html","width":130,"caption":"Joy","height":169});
															thumbnails[3974519] = clik.newPhoto({"id":3974519,"src":"c_t__Kneeling2jpg-1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_3974519.html","width":130,"caption":"Arched Body","height":189});
															thumbnails[3904487] = clik.newPhoto({"id":3904487,"src":"c_t_peacefuljpg-1100pix_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_3904487.html","width":130,"caption":"Peaceful","height":93});
															thumbnails[3974513] = clik.newPhoto({"id":3974513,"src":"c_t__Desire-1000_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_3974513.html","width":130,"caption":"Desire - Nudes Gallery","height":170});
															thumbnails[5749228] = clik.newPhoto({"id":5749228,"src":"c_t__Movement_1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_5749228.html","width":130,"caption":"Movement","height":186});
															thumbnails[2200311] = clik.newPhoto({"id":2200311,"src":"c_t_kneeling2_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_2200311.html","width":130,"caption":"Kneeling2","height":187});
															thumbnails[2145680] = clik.newPhoto({"id":2145680,"src":"c_t_back4_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_2145680.html","width":130,"caption":"Back4","height":190});
															thumbnails[4424737] = clik.newPhoto({"id":4424737,"src":"c_t_Black_Gloves1000_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_4424737.html","width":130,"caption":"Black Gloves","height":187});
															thumbnails[4357633] = clik.newPhoto({"id":4357633,"src":"c_t__wondering-10001_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_4357633.html","width":130,"caption":"Wondering","height":182});
															thumbnails[2241302] = clik.newPhoto({"id":2241302,"src":"c_t_expressive_torso_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_2241302.html","width":130,"caption":"Expressive Torso","height":186});
															thumbnails[5241225] = clik.newPhoto({"id":5241225,"src":"c_t_African_Queen1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_5241225.html","width":130,"caption":"African Queen","height":187});
															thumbnails[4119447] = clik.newPhoto({"id":4119447,"src":"c_t_Chiaroscuro-Torso-1000_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_4119447.html","width":130,"caption":"Chiaroscuro-Torso","height":90});
															thumbnails[315425] = clik.newPhoto({"id":315425,"src":"c.t.Relaxation-1024-009_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_315425.html","width":130,"caption":"Relaxation","height":82});
															thumbnails[1001512] = clik.newPhoto({"id":1001512,"src":"c_t_Steps_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_1001512.html","width":130,"caption":"Steps","height":245});
															thumbnails[1001521] = clik.newPhoto({"id":1001521,"src":"c-t-blue shade_thumb.jpg","galleries_id":349075,"server_id":18,"link":"photo_1001521.html","width":130,"caption":"Blue Shade","height":210});
															thumbnails[315496] = clik.newPhoto({"id":315496,"src":"c-t_hot night_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_315496.html","width":130,"caption":"Hot Night","height":203});
															thumbnails[713460] = clik.newPhoto({"id":713460,"src":"c_t_Contemplation_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_713460.html","width":130,"caption":"Contemplation","height":84});
															thumbnails[636414] = clik.newPhoto({"id":636414,"src":"c_t_red hair1_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_636414.html","width":130,"caption":"Red Hair","height":189});
															thumbnails[315428] = clik.newPhoto({"id":315428,"src":"c-t_Blue Hair_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_315428.html","width":130,"caption":"Blue Hair","height":205});
															thumbnails[409577] = clik.newPhoto({"id":409577,"src":"c_t_the orange wall_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_409577.html","width":130,"caption":"The Orange Wall","height":201});
															thumbnails[315367] = clik.newPhoto({"id":315367,"src":"c_thumb.t_blue_light.jpg","galleries_id":349075,"server_id":18,"link":"photo_315367.html","width":130,"caption":"Blue Light","height":191});
															thumbnails[2409830] = clik.newPhoto({"id":2409830,"src":"c_t_hot front_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_2409830.html","width":130,"caption":"Hot Front- Nudes Gallery","height":187});
															thumbnails[315366] = clik.newPhoto({"id":315366,"src":"c_thumb.t_arms up.jpg","galleries_id":26918,"server_id":18,"link":"photo_315366.html","width":130,"caption":"Red Torso","height":190});
															thumbnails[3138774] = clik.newPhoto({"id":3138774,"src":"c_t_Passionat__Mysterious__001_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_3138774.html","width":130,"caption":"Passionat and Mysterious3","height":310});
															thumbnails[2187671] = clik.newPhoto({"id":2187671,"src":"c_thumb.t-whisper.jpg","galleries_id":26918,"server_id":18,"link":"photo_2187671.html","width":130,"caption":"Whisper","height":182});
															thumbnails[2897266] = clik.newPhoto({"id":2897266,"src":"c.t.Ecstasy-1024_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_2897266.html","width":130,"caption":"Ecstasy","height":194});
															thumbnails[5926080] = clik.newPhoto({"id":5926080,"src":"c_t_Waiting_for_Him-1100_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_5926080.html","width":130,"caption":"Waiting for Him - Nudes Gallery","height":184});
															thumbnails[5998633] = clik.newPhoto({"id":5998633,"src":"c_t__Cabaret-Feline-1000_thumb.jpg","galleries_id":26918,"server_id":18,"link":"photo_5998633.html","width":130,"caption":"Cabaret-Feline - Nudes Gallery","height":91});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[26918] = clik.newGallery({"parentGallery":"","usePopups":false,"title":" Nudes ","link":"gallery_26918.html","maxRecords":50.0,"photoIDs":[9006321.0,8780893.0,8779219.0,8779181.0,8699220.0,8659513.0,8659581.0,8638648.0,8659616.0,8631789.0,8597048.0,8116690.0,8151513.0,8110201.0,7995015.0,7934546.0,7934558.0,7853078.0,7836146.0,7722549.0,7722559.0,7550722.0,7453874.0,7268626.0,7158495.0,7126262.0,7121885.0,7026001.0,6976044.0,6975977.0,6947064.0,6407494.0,6407523.0,6407516.0,6264556.0,6939978.0,6053273.0,2187656.0,5427013.0,4025624.0,3968818.0,3974526.0,3974519.0,3904487.0,3974513.0,5749228.0,2200311.0,2145680.0,4424737.0,2241302.0,5241225.0,315425.0,1001512.0,315496.0,713460.0,636414.0,315428.0,409577.0,2409830.0,315366.0,3138774.0,2187671.0,2897266.0,5926080.0,5998633.0],"skipIndex":0,"section_code":"gallery","featured_images":"9006321,8780893,8779219,8779181,8699220,8659616,8659581,8659513,8638648,8631789,8597048,8116690,8110201,7995015,7934558,7934546,7853078,7836146,7722559,7722549,7550722,7453874,7268626,7158495,7126262,7121885,7026001,6976044,6975977,6947064,6939978,6407523,6407516,6407494,6264556,6053273,5998633,5926080,5749228,5427013,5241225,4424737,4025624,3974526,3974519,3974513,3968818,3904487,3138774,2897266,2409830,2241302,2200311,2187671,2187656,2145680,1001512,713460,636414,409577,315496,315428,315425,315366","id":26918,"singleSection":false});				  						galleries[349075] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Recently SOLD","link":"gallery_349075.html","maxRecords":50.0,"photoIDs":[9036969.0,8597058.0,8851133.0,8819870.0,8686601.0,8676282.0,8631786.0,8020451.0,7994996.0,7942757.0,7760762.0,7707551.0,7181597.0,7150243.0,7033666.0,7008003.0,6720211.0,6707518.0,6627807.0,6608709.0,6491574.0,6491576.0,6407511.0,5715158.0,5378251.0,5565156.0,4357633.0,4119447.0,1001521.0,315367.0],"skipIndex":0,"section_code":"gallery","featured_images":"9036969,8851133,8819870,8686601,8676282,8631786,8597058,8020451,7994996,7942757,7760762,7707551,7181597,7150243,7033666,7008003,6720211,6707518,6627807,6608709,6491576,6491574,6407511,5715158,5565156,5378251,4357633,4119447,1001521,315367","id":349075,"singleSection":false});				  						galleries[215715] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Lovers","link":"gallery_215715.html","maxRecords":50.0,"photoIDs":[9063234.0,9040190.0,9036957.0,9009895.0,8913530.0,8913529.0,3581487.0],"skipIndex":0,"section_code":"gallery","featured_images":"9063234,9040190,9036957,9009895,8913530,8913529,3581487","id":215715,"singleSection":false});				  						galleries[58003] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Commissions Taken","link":"gallery_58003.html","maxRecords":50.0,"photoIDs":[7131515.0],"skipIndex":0,"section_code":"gallery","featured_images":7131515.0,"id":58003,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '9063234,9040190,9036969,9036957,9009895,9006321,8913530,8913529,8851133,8819870,8780893,8779219,8779181,8699220,8686601,8676282,8659616,8659581,8659513,8638648,8631789,8631786,8597058,8597048,8116690,8110201,8020451,7995015,7994996,7942757,7934558,7934546,7853078,7836146,7760762,7722559,7722549,7707551,7550722,7453874,7268626,7181597,7158495,7150243,7131515,7126262,7121885,7033666,7026001,7008003,6976044,6975977,6947064,6939978,6720211,6707518,6627807,6608709,6491576,6491574,6407523,6407516,6407511,6407494,6264556,5715158,5378251,6053273,3581487,2187656,5565156,5427013,4025624,3968818,3974526,3974519,3974513,3904487,5749228,2200311,2145680,4424737,4357633,2241302,5241225,4119447,315425,1001512,1001521,315496,713460,636414,315428,409577,315367,2409830,315366,3138774,2187671,2897266,5926080,5998633';
imageSets[2] = '9063234,9040190,9036969,9036957,9009895,9006321,8913530,8913529,8851133,8819870,8780893,8779219,8779181,8699220,8686601,8676282,8659616,8659581,8659513,8638648,8631789,8631786,8597058,8597048,8116690,8110201,8020451,7995015,7994996,7942757,7934558,7934546,7853078,7836146,7760762,7722559,7722549,7707551,7550722,7453874,7268626,7181597,7158495,7150243,7131515,7126262,7121885,7033666,7026001,7008003,6976044,6975977,6947064,6939978,6720211,6707518,6627807,6608709,6491576,6491574,6407523,6407516,6407511,6407494,6264556,5715158,5378251,6053273,3581487,2187656,5565156,5427013,4025624,3968818,3974526,3974519,3974513,3904487,5749228,2200311,2145680,4424737,4357633,2241302,5241225,4119447,315425,1001512,1001521,315496,713460,636414,315428,409577,315367,2409830,315366,3138774,2187671,2897266,5926080,5998633';
imageSets[3] = '9063234,9040190,9036969,9036957,9009895,9006321,8913530,8913529,8851133,8819870,8780893,8779219,8779181,8699220,8686601,8676282,8659616,8659581,8659513,8638648,8631789,8631786,8597058,8597048,8116690,8110201,8020451,7995015,7994996,7942757,7934558,7934546,7853078,7836146,7760762,7722559,7722549,7707551,7550722,7453874,7268626,7181597,7158495,7150243,7131515,7126262,7121885,7033666,7026001,7008003,6976044,6975977,6947064,6939978,6720211,6707518,6627807,6608709,6491576,6491574,6407523,6407516,6407511,6407494,6264556,5378251,6053273,5565156,5427013,5749228,4424737,4357633,5241225,4119447,5926080,5998633';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/carmentyrrell/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/carmentyrrell/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 += 'gallery.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 && 'gallery' != '') {
					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 = 'Carmen Tyrrell - Figurative Artist - Female Nudes: ' + 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>';
	}
				
	temp += this.fnGetPaymentInfo();
				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>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (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.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp += '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
		else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
											temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="CARMENTYRRELL">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			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;
	}
}

			

