window.thumbnails = {};
															thumbnails[5557420] = clik.newPhoto({"id":5557420,"src":"Rip__apart_thumb.JPG","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"~Rip Apart~","height":176});
															thumbnails[5728085] = clik.newPhoto({"id":5728085,"src":"Moon_Mandala_thumb.JPG","galleries_id":311138,"server_id":5,"link":"photo_5728085.html","width":130,"caption":"~Moon Mandala~","height":117});
															thumbnails[5728315] = clik.newPhoto({"id":5728315,"src":"Emerging_thumb.jpg","galleries_id":318119,"server_id":5,"link":"photo_5728315.html","width":130,"caption":"~Emerging~","height":185});
															thumbnails[6008082] = clik.newPhoto({"id":6008082,"src":"2010-05-13-1538-47_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_6008082.html","width":130,"caption":"~Celebrate the DAY~","height":137});
															thumbnails[6070705] = clik.newPhoto({"id":6070705,"src":"2010-06-01-1650-42_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_6070705.html","width":130,"caption":"","height":85});
															thumbnails[8142360] = clik.newPhoto({"id":8142360,"src":"Moment_in_Time_2_thumb.jpg","galleries_id":380261,"server_id":5,"link":"photo_8142360.html","width":130,"caption":"~A Moment in Time 2~","height":227});
															thumbnails[8142361] = clik.newPhoto({"id":8142361,"src":"A_Moment_in_Time_1_thumb.jpg","galleries_id":380261,"server_id":5,"link":"photo_8142361.html","width":130,"caption":"~A Moment in Time 1~","height":78});
															thumbnails[8381449] = clik.newPhoto({"id":8381449,"src":"Day_light_of_the_Soul1_thumb.JPG","galleries_id":311138,"server_id":38,"link":"photo_8381449.html","width":130,"caption":"~Day Light of the Soul~","height":127});
															thumbnails[8381466] = clik.newPhoto({"id":8381466,"src":"mini_mandi_4_blk_stretch_thumb.jpg","galleries_id":311138,"server_id":38,"link":"photo_8381466.html","width":130,"caption":"~Black Mini Manadala Stretched~","height":105});
															thumbnails[8381472] = clik.newPhoto({"id":8381472,"src":"mini_mandy_3_zoom_thumb.JPG","galleries_id":311138,"server_id":38,"link":"photo_8381472.html","width":130,"caption":"~Zoom Mandala~","height":139});
															thumbnails[8381478] = clik.newPhoto({"id":8381478,"src":"going_with_the_times_black_edited_thumb.JPG","galleries_id":311137,"server_id":38,"link":"photo_8381478.html","width":130,"caption":"~Going with the Times~","height":113});
															thumbnails[5515594] = clik.newPhoto({"id":5515594,"src":"Fusion_thumb.jpg","galleries_id":311138,"server_id":5,"link":"photo_5515594.html","width":130,"caption":"~Fusion~","height":121});
															thumbnails[5529122] = clik.newPhoto({"id":5529122,"src":"Mandala__Yin_thumb.jpg","galleries_id":311138,"server_id":5,"link":"photo_5529122.html","width":130,"caption":"~Mandala  Yin~","height":127});
															thumbnails[5515600] = clik.newPhoto({"id":5515600,"src":"One_World_mandala_thumb.JPG","galleries_id":311138,"server_id":5,"link":"photo_5515600.html","width":130,"caption":"~One World mandala~","height":125});
															thumbnails[7023506] = clik.newPhoto({"id":7023506,"src":"Apocalypse_thumb.jpg","galleries_id":380261,"server_id":5,"link":"photo_7023506.html","width":130,"caption":"~Apocalypse~","height":181});
															thumbnails[5529009] = clik.newPhoto({"id":5529009,"src":"Mandala__Yang_thumb.JPG","galleries_id":311138,"server_id":5,"link":"photo_5529009.html","width":130,"caption":"~Mandala Yin~","height":128});
															thumbnails[5543364] = clik.newPhoto({"id":5543364,"src":"Recollection_thumb.jpg","galleries_id":311138,"server_id":5,"link":"photo_5543364.html","width":130,"caption":"~Recollection~","height":121});
															thumbnails[7023564] = clik.newPhoto({"id":7023564,"src":"Synchronicity_thumb.jpg","galleries_id":380261,"server_id":5,"link":"photo_7023564.html","width":130,"caption":"~Synchronicity~","height":183});
															thumbnails[5515730] = clik.newPhoto({"id":5515730,"src":"Wonderment_thumb.JPG","galleries_id":311138,"server_id":5,"link":"photo_5515730.html","width":130,"caption":"~Wonderment~","height":125});
															thumbnails[7023585] = clik.newPhoto({"id":7023585,"src":"Grown_up_Graffiti_thumb.jpg","galleries_id":380261,"server_id":5,"link":"photo_7023585.html","width":130,"caption":"~Grown up Graffiti~","height":179});
															thumbnails[5529211] = clik.newPhoto({"id":5529211,"src":"2009-09-26-1408-53_edited_thumb.JPG","galleries_id":311138,"server_id":5,"link":"photo_5529211.html","width":130,"caption":"~Mosaic Void~","height":130});
															thumbnails[5528958] = clik.newPhoto({"id":5528958,"src":"Scribble_Cosmos_1_thumb.JPG","galleries_id":311138,"server_id":5,"link":"photo_5528958.html","width":130,"caption":"~Scribble Cosmos~","height":127});
															thumbnails[7023639] = clik.newPhoto({"id":7023639,"src":"Around__the__Silence_there_is_Noise_thumb.jpg","galleries_id":380261,"server_id":5,"link":"photo_7023639.html","width":130,"caption":"~Around Silence there is Noise~","height":181});
															thumbnails[5515726] = clik.newPhoto({"id":5515726,"src":"Doodle_mandala_2_thumb.jpg","galleries_id":311138,"server_id":5,"link":"photo_5515726.html","width":130,"caption":"~Doodle mandala~","height":137});
															thumbnails[5515597] = clik.newPhoto({"id":5515597,"src":"Sun_Burst_Mandala_thumb.JPG","galleries_id":311138,"server_id":5,"link":"photo_5515597.html","width":130,"caption":"~Sun Burst Mandala~","height":151});
															thumbnails[5549661] = clik.newPhoto({"id":5549661,"src":"2010-02-23-1606-24_thumb.jpg","galleries_id":311138,"server_id":5,"link":"photo_5549661.html","width":130,"caption":"~Christmas Mandala~","height":129});
															thumbnails[5549664] = clik.newPhoto({"id":5549664,"src":"2010-02-23-1609-38_thumb.jpg","galleries_id":311138,"server_id":5,"link":"photo_5549664.html","width":130,"caption":"~Snow Mandala~","height":134});
															thumbnails[5506239] = clik.newPhoto({"id":5506239,"src":"2009-06-06-1443-38_thumb.JPG","galleries_id":314996,"server_id":5,"link":"photo_5506239.html","width":130,"caption":"~Clare~","height":94});
															thumbnails[5509126] = clik.newPhoto({"id":5509126,"src":"2day_Naked__journey_thumb.jpg","galleries_id":311137,"server_id":5,"link":"photo_5509126.html","width":130,"caption":"~Naked Journey~","height":182});
															thumbnails[5515538] = clik.newPhoto({"id":5515538,"src":"blue_water_thumb.jpg","galleries_id":311137,"server_id":5,"link":"photo_5515538.html","width":130,"caption":"~Blue Water~","height":179});
															thumbnails[5542990] = clik.newPhoto({"id":5542990,"src":"Roots_of_Emotion_thumb.JPG","galleries_id":311137,"server_id":5,"link":"photo_5542990.html","width":130,"caption":"~Roots of Emotion~","height":182});
															thumbnails[5555780] = clik.newPhoto({"id":5555780,"src":"Wavy_Vases_with_HEART_and_STAR_thumb.jpg","galleries_id":311137,"server_id":5,"link":"photo_5555780.html","width":130,"caption":"~Wavy Vases with HEART and STAR~","height":96});
															thumbnails[5528985] = clik.newPhoto({"id":5528985,"src":"Webs_of_Intrigue_spin_beyond_control_thumb.jpg","galleries_id":311137,"server_id":5,"link":"photo_5528985.html","width":130,"caption":"~Webs of Intrigue spin beyond control~","height":95});
															thumbnails[5706166] = clik.newPhoto({"id":5706166,"src":"Some_Strange_Music_thumb.JPG","galleries_id":311137,"server_id":5,"link":"photo_5706166.html","width":130,"caption":"~Some Strange Music~","height":180});
															thumbnails[5529075] = clik.newPhoto({"id":5529075,"src":"Life_Force_thumb.jpg","galleries_id":311137,"server_id":5,"link":"photo_5529075.html","width":130,"caption":"~Life Force~","height":95});
															thumbnails[5542975] = clik.newPhoto({"id":5542975,"src":"Grey_Scale_thumb.jpg","galleries_id":311137,"server_id":5,"link":"photo_5542975.html","width":130,"caption":"~Threads~","height":116});
															thumbnails[5557571] = clik.newPhoto({"id":5557571,"src":"Doodle_mandala_1_thumb.jpg","galleries_id":311137,"server_id":5,"link":"photo_5557571.html","width":130,"caption":"~Lace Yantra~","height":138});
															thumbnails[5528975] = clik.newPhoto({"id":5528975,"src":"Sleepscapewith_waking_moments_thumb.jpg","galleries_id":311137,"server_id":5,"link":"photo_5528975.html","width":130,"caption":"~Sleepscape~with waking moments~","height":169});
															thumbnails[5529078] = clik.newPhoto({"id":5529078,"src":"Heartscape_thumb.jpg","galleries_id":311137,"server_id":5,"link":"photo_5529078.html","width":130,"caption":"~Heartscape~","height":176});
															thumbnails[5557700] = clik.newPhoto({"id":5557700,"src":"Deluge__with__purple_thumb.jpg","galleries_id":311137,"server_id":5,"link":"photo_5557700.html","width":130,"caption":"~Purple Deluge~","height":184});
															thumbnails[5529058] = clik.newPhoto({"id":5529058,"src":"burst_thumb.jpg","galleries_id":311137,"server_id":5,"link":"photo_5529058.html","width":130,"caption":"~Burst~","height":179});
															thumbnails[5529081] = clik.newPhoto({"id":5529081,"src":"I_See_thumb.JPG","galleries_id":311137,"server_id":5,"link":"photo_5529081.html","width":130,"caption":"~I See~","height":180});
															thumbnails[5529073] = clik.newPhoto({"id":5529073,"src":"Energy_Spirit1_thumb.JPG","galleries_id":311137,"server_id":5,"link":"photo_5529073.html","width":130,"caption":"~Energy Spirit~","height":180});
															thumbnails[5515505] = clik.newPhoto({"id":5515505,"src":"Life_blood_Arteries___Other_Issues_thumb.JPG","galleries_id":311137,"server_id":5,"link":"photo_5515505.html","width":130,"caption":"~Life blood, Arteries +  Other Issues~","height":184});
															thumbnails[5543152] = clik.newPhoto({"id":5543152,"src":"fern_thumb.JPG","galleries_id":311137,"server_id":5,"link":"photo_5543152.html","width":130,"caption":"~Fern~","height":247});
															thumbnails[5509653] = clik.newPhoto({"id":5509653,"src":"Watching__Waiting_thumb.jpg","galleries_id":313202,"server_id":5,"link":"photo_5509653.html","width":130,"caption":"~Watching + Waiting~","height":93});
															thumbnails[5515507] = clik.newPhoto({"id":5515507,"src":"Watching_waiting_and_telephone_calls_thumb.JPG","galleries_id":313202,"server_id":5,"link":"photo_5515507.html","width":130,"caption":"~Watching waiting and telephone calls~","height":95});
															thumbnails[5529126] = clik.newPhoto({"id":5529126,"src":"Left_Foot_thumb.jpg","galleries_id":313202,"server_id":5,"link":"photo_5529126.html","width":130,"caption":"~Left Foot~","height":96});
															thumbnails[5529206] = clik.newPhoto({"id":5529206,"src":"M_4_Mary_thumb.jpg","galleries_id":313202,"server_id":5,"link":"photo_5529206.html","width":130,"caption":"~Mary~","height":94});
															thumbnails[5542326] = clik.newPhoto({"id":5542326,"src":"New_Moon_invert1_thumb.JPG","galleries_id":313202,"server_id":5,"link":"photo_5542326.html","width":130,"caption":"~Dark Night. Coloured Night~","height":97});
															thumbnails[5542380] = clik.newPhoto({"id":5542380,"src":"Life_shines_through__the_end1_thumb.JPG","galleries_id":313202,"server_id":5,"link":"photo_5542380.html","width":130,"caption":"~Life shines through @ the end~","height":91});
															thumbnails[5515506] = clik.newPhoto({"id":5515506,"src":"Trying_2_b_calm_thumb.JPG","galleries_id":313202,"server_id":5,"link":"photo_5515506.html","width":130,"caption":"~Trying 2 b Calm~","height":98});
															thumbnails[5509720] = clik.newPhoto({"id":5509720,"src":"Remembering_and_Reflecting_thumb.JPG","galleries_id":313202,"server_id":5,"link":"photo_5509720.html","width":130,"caption":"~Remembering+ Reflecting~","height":93});
															thumbnails[5542324] = clik.newPhoto({"id":5542324,"src":"Scars_will_heal_thumb.JPG","galleries_id":313202,"server_id":5,"link":"photo_5542324.html","width":130,"caption":"~Scars will Heal~","height":179});
															thumbnails[5509723] = clik.newPhoto({"id":5509723,"src":"Telephone_Calls_and_New_Year_Miracles_thumb.JPG","galleries_id":313202,"server_id":5,"link":"photo_5509723.html","width":130,"caption":"~New Year Miracles~","height":182});
															thumbnails[5543145] = clik.newPhoto({"id":5543145,"src":"Jack1_thumb.jpg","galleries_id":313202,"server_id":5,"link":"photo_5543145.html","width":130,"caption":"~Jack.Talk.30.~","height":180});
															thumbnails[5529000] = clik.newPhoto({"id":5529000,"src":"Buzz_Word_thumb.JPG","galleries_id":313202,"server_id":5,"link":"photo_5529000.html","width":130,"caption":"~Buzz Word~","height":184});
															thumbnails[5570259] = clik.newPhoto({"id":5570259,"src":"From__organic_2_flouorescent_thumb.jpg","galleries_id":318119,"server_id":5,"link":"photo_5570259.html","width":130,"caption":"~From ()rganic 2 flouorescent~","height":94});
															thumbnails[8398947] = clik.newPhoto({"id":8398947,"src":"Mysterious_Language_thumb.jpg","galleries_id":318119,"server_id":37,"link":"photo_8398947.html","width":130,"caption":"~Mysterious Language~","height":98});
															thumbnails[5610688] = clik.newPhoto({"id":5610688,"src":"Sea_Flowers_thumb.jpg","galleries_id":318119,"server_id":5,"link":"photo_5610688.html","width":130,"caption":"~Sea Flowers~","height":180});
															thumbnails[5543462] = clik.newPhoto({"id":5543462,"src":"Pink_Amoeba_thumb.jpg","galleries_id":318119,"server_id":5,"link":"photo_5543462.html","width":130,"caption":"~Pink Amoeba~","height":200});
															thumbnails[5610703] = clik.newPhoto({"id":5610703,"src":"From_the_Depths_thumb.jpg","galleries_id":318119,"server_id":5,"link":"photo_5610703.html","width":130,"caption":"~From the Depths~","height":182});
															thumbnails[8398956] = clik.newPhoto({"id":8398956,"src":"Invisible_Language_thumb.JPG","galleries_id":318119,"server_id":37,"link":"photo_8398956.html","width":130,"caption":"~Invisible Language~","height":173});
															thumbnails[5610826] = clik.newPhoto({"id":5610826,"src":"Light_on_the_Water_thumb.JPG","galleries_id":318119,"server_id":5,"link":"photo_5610826.html","width":130,"caption":"~Light from the Deep Water~","height":133});
															thumbnails[5543464] = clik.newPhoto({"id":5543464,"src":"Raining_Heartss_thumb.jpg","galleries_id":314075,"server_id":5,"link":"photo_5543464.html","width":130,"caption":"~Raining Hearts~","height":101});
															thumbnails[5543458] = clik.newPhoto({"id":5543458,"src":"Hallucination_thumb.JPG","galleries_id":314075,"server_id":5,"link":"photo_5543458.html","width":130,"caption":"~Hallucination~","height":105});
															thumbnails[5557361] = clik.newPhoto({"id":5557361,"src":"Cathy_60_thumb.jpg","galleries_id":314075,"server_id":5,"link":"photo_5557361.html","width":130,"caption":"~60~","height":131});
															thumbnails[5543466] = clik.newPhoto({"id":5543466,"src":"Raining_Purple_Haze_thumb.jpg","galleries_id":314075,"server_id":5,"link":"photo_5543466.html","width":130,"caption":"~Raining Purple Haze~","height":108});
															thumbnails[5543548] = clik.newPhoto({"id":5543548,"src":"Happy_stretch_floral_thumb.JPG","galleries_id":314075,"server_id":5,"link":"photo_5543548.html","width":130,"caption":"~Night Shades~","height":119});
															thumbnails[5543471] = clik.newPhoto({"id":5543471,"src":"u_ROCK__2day_thumb.JPG","galleries_id":314075,"server_id":5,"link":"photo_5543471.html","width":130,"caption":"~u ROCK  2day~","height":134});
															thumbnails[5543461] = clik.newPhoto({"id":5543461,"src":"Happy_3_thumb.jpg","galleries_id":314075,"server_id":5,"link":"photo_5543461.html","width":130,"caption":"~Etheral Flower~","height":170});
															thumbnails[5543456] = clik.newPhoto({"id":5543456,"src":"Flower_Power_thumb.jpg","galleries_id":314075,"server_id":5,"link":"photo_5543456.html","width":130,"caption":"~Flower Power~","height":171});
															thumbnails[5543380] = clik.newPhoto({"id":5543380,"src":"Doodle_Hearts_thumb.jpg","galleries_id":314075,"server_id":5,"link":"photo_5543380.html","width":130,"caption":"~Doodle Hearts~","height":173});
															thumbnails[5543472] = clik.newPhoto({"id":5543472,"src":"Graffiti_Message1_thumb.jpg","galleries_id":314075,"server_id":5,"link":"photo_5543472.html","width":130,"caption":"~Graffiti Message~","height":180});
															thumbnails[5543469] = clik.newPhoto({"id":5543469,"src":"Flower_Dance1_thumb.jpg","galleries_id":314075,"server_id":5,"link":"photo_5543469.html","width":130,"caption":"~Flower Dance~","height":181});
															thumbnails[5554813] = clik.newPhoto({"id":5554813,"src":"Brain_work_thumb.JPG","galleries_id":313202,"server_id":5,"link":"photo_5554813.html","width":130,"caption":"~Brain Work~","height":177});
															thumbnails[5544734] = clik.newPhoto({"id":5544734,"src":"Me_sesction_thumb.jpg","galleries_id":314154,"server_id":5,"link":"photo_5544734.html","width":130,"caption":"~A Glimpse~","height":94});
															thumbnails[5515638] = clik.newPhoto({"id":5515638,"src":"Emotional_damage_thumb.jpg","galleries_id":314154,"server_id":5,"link":"photo_5515638.html","width":130,"caption":"~Emotional Damage~","height":92});
															thumbnails[5515622] = clik.newPhoto({"id":5515622,"src":"winter_deluge_section_thumb.JPG","galleries_id":314154,"server_id":5,"link":"photo_5515622.html","width":130,"caption":"~Winter Deluge Section~","height":132});
															thumbnails[5544717] = clik.newPhoto({"id":5544717,"src":"dARk_dAy1_thumb.JPG","galleries_id":314154,"server_id":5,"link":"photo_5544717.html","width":130,"caption":"~dARk dAy~","height":132});
															thumbnails[5544711] = clik.newPhoto({"id":5544711,"src":"Ripped_Deluge1_thumb.jpg","galleries_id":314154,"server_id":5,"link":"photo_5544711.html","width":130,"caption":"~Ripped Deluge~","height":181});
															thumbnails[5544731] = clik.newPhoto({"id":5544731,"src":"Story12_thumb.jpg","galleries_id":314154,"server_id":5,"link":"photo_5544731.html","width":130,"caption":"~Hint of a Past~","height":182});
															thumbnails[5544814] = clik.newPhoto({"id":5544814,"src":"Conception_birth_abandonment_thumb.jpg","galleries_id":314154,"server_id":5,"link":"photo_5544814.html","width":130,"caption":"~Conception Birth Abandonment~","height":180});
															thumbnails[5544737] = clik.newPhoto({"id":5544737,"src":"Invisible_thumb.jpg","galleries_id":314154,"server_id":5,"link":"photo_5544737.html","width":130,"caption":"~Invisible Rip~","height":229});
															thumbnails[5543038] = clik.newPhoto({"id":5543038,"src":"nAKeD_TrAiL_thumb.JPG","galleries_id":314154,"server_id":5,"link":"photo_5543038.html","width":130,"caption":"~nAKeD TrAiL~","height":181});
															thumbnails[5945758] = clik.newPhoto({"id":5945758,"src":"2010-05-12-0845-42_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5945758.html","width":130,"caption":"~2day is a GOOD day~","height":196});
															thumbnails[5753418] = clik.newPhoto({"id":5753418,"src":"Twenty__ONE_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5753418.html","width":130,"caption":"~Twenty  ONE~","height":136});
															thumbnails[5623942] = clik.newPhoto({"id":5623942,"src":"Firework_Flowers_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5623942.html","width":130,"caption":"~Firework Flowers~","height":126});
															thumbnails[5627414] = clik.newPhoto({"id":5627414,"src":"Good_Morning_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5627414.html","width":130,"caption":"~Good Morning~","height":145});
															thumbnails[5627422] = clik.newPhoto({"id":5627422,"src":"Firework_Flowers_at_night_thumb.JPG","galleries_id":314996,"server_id":5,"link":"photo_5627422.html","width":130,"caption":"~Blue Sea Flower~","height":126});
															thumbnails[5627423] = clik.newPhoto({"id":5627423,"src":"Good_night_thumb.JPG","galleries_id":314996,"server_id":5,"link":"photo_5627423.html","width":130,"caption":"~Firework Flowers At Night~","height":145});
															thumbnails[5667295] = clik.newPhoto({"id":5667295,"src":"christmas_tree_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5667295.html","width":130,"caption":"~Christmas Tree~","height":192});
															thumbnails[5555825] = clik.newPhoto({"id":5555825,"src":"lotus_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5555825.html","width":130,"caption":"~Lotus~","height":122});
															thumbnails[5555793] = clik.newPhoto({"id":5555793,"src":"Warrior_Tattoo_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5555793.html","width":130,"caption":"~Warrior Tattoo~","height":112});
															thumbnails[5555846] = clik.newPhoto({"id":5555846,"src":"Embellished_Lotus_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5555846.html","width":130,"caption":"~Embellished Lotus~","height":125});
															thumbnails[5543453] = clik.newPhoto({"id":5543453,"src":"Dreams_Come_True_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5543453.html","width":130,"caption":"~Dreams Come True~","height":102});
															thumbnails[5557428] = clik.newPhoto({"id":5557428,"src":"scan_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5557428.html","width":130,"caption":"~Warrior~","height":115});
															thumbnails[5557497] = clik.newPhoto({"id":5557497,"src":"peace_babe_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5557497.html","width":130,"caption":"~Peace Babe~","height":325});
															thumbnails[5557481] = clik.newPhoto({"id":5557481,"src":"gym_angel_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5557481.html","width":130,"caption":"~Gym Angel~","height":322});
															thumbnails[5555840] = clik.newPhoto({"id":5555840,"src":"home_work_thumb.jpg","galleries_id":314996,"server_id":5,"link":"photo_5555840.html","width":130,"caption":"~Home Work~","height":325});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[311138] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"~Mandala~","link":"gallery_311138.html","maxRecords":0.0,"photoIDs":[5728085.0,8381449.0,8381466.0,8381472.0,5515594.0,5529122.0,5515600.0,5529009.0,5543364.0,5515730.0,5529211.0,5528958.0,5515726.0,5515597.0,5549661.0,5549664.0],"skipIndex":0,"section_code":"gallery","featured_images":"5728085,5549664,5549661,5543364,5529211,5529122,5529009,5515730,5515600,5515594","id":311138,"singleSection":false});				  						galleries[380261] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"~Synchronicity~","link":"gallery_380261.html","maxRecords":0.0,"photoIDs":[8142360.0,8142361.0,7023506.0,7023564.0,7023585.0,7023639.0],"skipIndex":0,"section_code":"gallery","featured_images":"7023585,7023564,7023506","id":380261,"singleSection":false});				  						galleries[311137] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"~Linear~","link":"gallery_311137.html","maxRecords":0.0,"photoIDs":[8381478.0,5509126.0,5515538.0,5542990.0,5555780.0,5528985.0,5706166.0,5529075.0,5542975.0,5557571.0,5528975.0,5529078.0,5557700.0,5529058.0,5529081.0,5529073.0,5515505.0,5543152.0],"skipIndex":0,"section_code":"gallery","featured_images":"5706166,5557700,5557571,5543152,5542990,5515538,5515505","id":311137,"singleSection":false});				  						galleries[313202] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"~Theme~","link":"gallery_313202.html","maxRecords":0.0,"photoIDs":[5509653.0,5515507.0,5529126.0,5529206.0,5542326.0,5542380.0,5515506.0,5509720.0,5542324.0,5509723.0,5543145.0,5529000.0,5554813.0],"skipIndex":0,"section_code":"gallery","featured_images":5554813.0,"id":313202,"singleSection":false});				  						galleries[318119] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"~Dreamscape~","link":"gallery_318119.html","maxRecords":0.0,"photoIDs":[5728315.0,5570259.0,8398947.0,5610688.0,5543462.0,5610703.0,8398956.0,5610826.0],"skipIndex":0,"section_code":"gallery","featured_images":"8398956,8398947,5728315,5610703,5610688,5570259,5543462","id":318119,"singleSection":false});				  						galleries[314075] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"~Decorative~ ","link":"gallery_314075.html","maxRecords":0.0,"photoIDs":[5543464.0,5543458.0,5557361.0,5543466.0,5543548.0,5543471.0,5543461.0,5543456.0,5543380.0,5543472.0,5543469.0],"skipIndex":0,"section_code":"gallery","featured_images":"5557361,5543471,5543464,5543461,5543458,5543380","id":314075,"singleSection":false});				  						galleries[314154] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"~Journey~","link":"gallery_314154.html","maxRecords":0.0,"photoIDs":[5544734.0,5515638.0,5515622.0,5544717.0,5544711.0,5544731.0,5544814.0,5544737.0,5543038.0],"skipIndex":0,"section_code":"gallery","featured_images":"5544734,5544731,5544711,5515622","id":314154,"singleSection":false});				  						galleries[314996] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"~Greetings~","link":"gallery_314996.html","maxRecords":0.0,"photoIDs":[6008082.0,6070705.0,5506239.0,5945758.0,5753418.0,5623942.0,5627414.0,5627422.0,5627423.0,5667295.0,5555825.0,5555793.0,5555846.0,5543453.0,5557428.0,5557497.0,5557481.0,5555840.0],"skipIndex":0,"section_code":"gallery","featured_images":"5945758,5753418,5627422,5627414,5623942,5557428,5555846,5555840,5555825,5555793,5543453,5506239","id":314996,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '5728315,5728085,5515594,5529122,5515600,7023506,7023564,5543364,5529009,5515730,7023585,5529211,5515726,5515597,5549661,5549664,5509126,5515538,5542990,5706166,5529075,5542975,5557571,5529078,5528975,5557700,5529058,5529081,5515505,5543152,5509653,5515507,5529126,5542326,5529206,5542380,5515506,5509720,5542324,5509723,5543145,5529000,5570259,8398947,5610688,8398956,5610703,5543462,5610826,5543464,5543458,5543471,5543461,5543380,5554813,5544734,5515638,5544711,5544731,5945758,5753418,5623942,5627414,5555825,5555793,5555846,5543453,5557428,5555840';
imageSets[2] = '5728315,5728085,5515594,5529122,5515600,7023506,7023564,5543364,5529009,5515730,7023585,5529211,5549661,5549664,5506239,5515538,5542990,5706166,5557571,5557700,5515505,5543152,5570259,8398947,5610688,5557420,8398956,5610703,5543462,5543464,5543458,5557361,5543471,5543461,5543380,5554813,5544734,5515622,5544711,5544731,5945758,5753418,5623942,5627414,5627422,5555825,5555793,5555846,5543453,5557428,5555840';
imageSets[3] = '8381449,5728315,5728085,5515594,5529122,5515600,7023506,7023564,5543364,5529009,5515730,7023585,5529211,5528958,5515726,5515597,5549661,5549664,5506239,5509126,5515538,5542990,5528985,5706166,5529075,5542975,5557571,5529078,5528975,5557700,5529058,5529081,5529073,5515505,5543152,5509653,5515507,5529126,5542326,5529206,5542380,5515506,5509720,5542324,5509723,5543145,5529000,5570259,8398947,5610688,5557420,8398956,5610703,5543462,5610826,5543464,5543458,5557361,5543466,5543548,5543471,5543461,5543456,5543380,5543472,5543469,5554813,5544734,5515638,5515622,5544711,5544731,5544737,5543038,5945758,5753418,5623942,5627414,5555825,5555793,5555846,5543453,5557428,5555840';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/Clashe/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/Clashe/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/Clashe/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/Clashe/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/Clashe/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/Clashe/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/Clashe/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 && backgrounds[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 = 'cLaRE sHeRVin aRt + dEsiGn: ' + 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>Medium </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Artist </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.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="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		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 += '<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;
	}
}

			

