window.thumbnails = {};
															thumbnails[4678568] = clik.newPhoto({"id":4678568,"src":"Hill_Scape_48x52_thumb.jpg","galleries_id":269366,"server_id":18,"link":"photo_4678568.html","width":130,"caption":"Hill Scape","height":99});
															thumbnails[4678664] = clik.newPhoto({"id":4678664,"src":"Ripple_Shore_5x_35x35cm1_thumb.jpg","galleries_id":269366,"server_id":18,"link":"photo_4678664.html","width":130,"caption":"Ripple Shore  - feather painting","height":23});
															thumbnails[4703251] = clik.newPhoto({"id":4703251,"src":"black_pearl_lamps_h12_125_each_thumb.jpg","galleries_id":256317,"server_id":18,"link":"photo_4703251.html","width":130,"caption":"Black Pearl Lamps","height":95});
															thumbnails[4720671] = clik.newPhoto({"id":4720671,"src":"babywatercolour_thumb.jpg","galleries_id":269368,"server_id":18,"link":"photo_4720671.html","width":130,"caption":"Baby Watercolour<br>\r\n","height":129});
															thumbnails[4720706] = clik.newPhoto({"id":4720706,"src":"19x25cmstareholesketch_thumb.jpg","galleries_id":269368,"server_id":18,"link":"photo_4720706.html","width":130,"caption":"Starehole Bay - watercolour","height":87});
															thumbnails[6422665] = clik.newPhoto({"id":6422665,"src":"Blue_Spiral_lamps_H33xW12cm_95_pair_165_thumb.jpg","galleries_id":256317,"server_id":18,"link":"photo_6422665.html","width":130,"caption":"Blue Spiral Pair, ceramic lamps ","height":93});
															thumbnails[8820065] = clik.newPhoto({"id":8820065,"src":"Pensive_225_cbdgold_44x44__thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_8820065.html","width":130,"caption":"Pensive","height":133});
															thumbnails[4360894] = clik.newPhoto({"id":4360894,"src":"a_thousand_words_1016mmx7621_thumb.jpg","galleries_id":255761,"server_id":18,"link":"photo_4360894.html","width":130,"caption":"A Thousand Words ","height":96});
															thumbnails[4391315] = clik.newPhoto({"id":4391315,"src":"jenny_and_spirals_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_4391315.html","width":130,"caption":"Jenny and spirals","height":91});
															thumbnails[4397621] = clik.newPhoto({"id":4397621,"src":"Pontoon_collagraph1_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4397621.html","width":130,"caption":"Pontoon","height":284});
															thumbnails[4678565] = clik.newPhoto({"id":4678565,"src":"blowey_shallows_34x45_thumb.jpg","galleries_id":269366,"server_id":18,"link":"photo_4678565.html","width":130,"caption":"Blowey Shallows","height":95});
															thumbnails[4716075] = clik.newPhoto({"id":4716075,"src":"shallow_water_thumb.gif","galleries_id":269366,"server_id":18,"link":"photo_4716075.html","width":130,"caption":"Shallow water","height":160});
															thumbnails[6422528] = clik.newPhoto({"id":6422528,"src":"mirror_Shore_76x61cm_650_oil_on_canvas_thumb.jpg","galleries_id":255761,"server_id":18,"link":"photo_6422528.html","width":130,"caption":"Mirror Shore","height":104});
															thumbnails[8820294] = clik.newPhoto({"id":8820294,"src":"Snooze_350_h14xw28x54_thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_8820294.html","width":130,"caption":"Snooze","height":222});
															thumbnails[8820439] = clik.newPhoto({"id":8820439,"src":"Devon_Dusk_100_100x100_thumb.jpg","galleries_id":255761,"server_id":18,"link":"photo_8820439.html","width":130,"caption":"Devon Dusk","height":128});
															thumbnails[4682330] = clik.newPhoto({"id":4682330,"src":"albatross_breakfast_oil_on_cavas_1000_1016x762mm_R_Burns_copy_thumb.jpg","galleries_id":255761,"server_id":18,"link":"photo_4682330.html","width":130,"caption":"Albatross Breakfast ","height":98});
															thumbnails[4699674] = clik.newPhoto({"id":4699674,"src":"Kingsbridge_West_Back_Ways_55x50_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4699674.html","width":130,"caption":"Kingsbridge Backways ","height":126});
															thumbnails[4715898] = clik.newPhoto({"id":4715898,"src":"deep_water_34x45_thumb.jpg","galleries_id":269366,"server_id":18,"link":"photo_4715898.html","width":130,"caption":"Deep Water","height":101});
															thumbnails[4720705] = clik.newPhoto({"id":4720705,"src":"Rodney_Oil_On_Paper_thumb.jpg","galleries_id":269368,"server_id":18,"link":"photo_4720705.html","width":130,"caption":"Clovertor - oil on paper","height":179});
															thumbnails[6733531] = clik.newPhoto({"id":6733531,"src":"cut_and_blow_dry_oil_on_cavas_50x50cm_500_thumb.jpg","galleries_id":255761,"server_id":18,"link":"photo_6733531.html","width":130,"caption":"Cut and Blow Dry","height":134});
															thumbnails[8818467] = clik.newPhoto({"id":8818467,"src":"cloud_lounge_245_55x55_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_8818467.html","width":130,"caption":"Cloud Lounge","height":133});
															thumbnails[8820277] = clik.newPhoto({"id":8820277,"src":"Repleat_250_h8xw19xl38_thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_8820277.html","width":130,"caption":"Repleat","height":66});
															thumbnails[4699700] = clik.newPhoto({"id":4699700,"src":"waiting_for_an_asbo_69x54_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4699700.html","width":130,"caption":"Dusk Bus Stop","height":194});
															thumbnails[4699865] = clik.newPhoto({"id":4699865,"src":"cliftonsuspension_bridge_5x6__dry_etching_105_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4699865.html","width":130,"caption":"Clifton Suspension Bridge Bristol","height":111});
															thumbnails[4699869] = clik.newPhoto({"id":4699869,"src":"hms_gt_Brit_etching_3d_90_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4699869.html","width":130,"caption":"HMS Gt Britain & Christopher Bristol","height":135});
															thumbnails[4699896] = clik.newPhoto({"id":4699896,"src":"over_the_hills_and_far_away_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4699896.html","width":130,"caption":"Over the hills and far away.","height":195});
															thumbnails[4716154] = clik.newPhoto({"id":4716154,"src":"wake_thumb.jpg","galleries_id":269366,"server_id":18,"link":"photo_4716154.html","width":130,"caption":"Wake","height":157});
															thumbnails[6734844] = clik.newPhoto({"id":6734844,"src":"spring_fish_quay_-_Emma_Jane_thumb.jpg","galleries_id":255761,"server_id":18,"link":"photo_6734844.html","width":130,"caption":"Spring Fish Quay","height":130});
															thumbnails[8818682] = clik.newPhoto({"id":8818682,"src":"Dixie_and_Spirals_245_61x58_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_8818682.html","width":130,"caption":"Dixie and Spirals","height":135});
															thumbnails[8820060] = clik.newPhoto({"id":8820060,"src":"Feet_up_245_65x50_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_8820060.html","width":130,"caption":"Feet Up","height":171});
															thumbnails[8820399] = clik.newPhoto({"id":8820399,"src":"Wruth_150_h18xw8x20_thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_8820399.html","width":130,"caption":"Wruth","height":195});
															thumbnails[4401764] = clik.newPhoto({"id":4401764,"src":"bather_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4401764.html","width":130,"caption":"Bather","height":168});
															thumbnails[4401768] = clik.newPhoto({"id":4401768,"src":"curious_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4401768.html","width":130,"caption":"Curious","height":207});
															thumbnails[4401849] = clik.newPhoto({"id":4401849,"src":"sleeper_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4401849.html","width":130,"caption":"Sleeper","height":81});
															thumbnails[4401851] = clik.newPhoto({"id":4401851,"src":"stalker_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4401851.html","width":130,"caption":"Stalker","height":135});
															thumbnails[4401996] = clik.newPhoto({"id":4401996,"src":"fat_charlie_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4401996.html","width":130,"caption":"Fat Charlie","height":274});
															thumbnails[4684137] = clik.newPhoto({"id":4684137,"src":"snapes_sheep_thumb.jpg","galleries_id":255761,"server_id":18,"link":"photo_4684137.html","width":130,"caption":"Snapes Sheep.","height":86});
															thumbnails[4703220] = clik.newPhoto({"id":4703220,"src":"dont_let_go_2_thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_4703220.html","width":130,"caption":"Don't Let Go","height":161});
															thumbnails[4720743] = clik.newPhoto({"id":4720743,"src":"poster_thumb.jpg","galleries_id":269368,"server_id":18,"link":"photo_4720743.html","width":130,"caption":"Poster ","height":86});
															thumbnails[8818589] = clik.newPhoto({"id":8818589,"src":"Aplomb_scrathed_200_51x41_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_8818589.html","width":130,"caption":"Aplomb","height":163});
															thumbnails[4391377] = clik.newPhoto({"id":4391377,"src":"fat_jug_thumb.jpg","galleries_id":256317,"server_id":18,"link":"photo_4391377.html","width":130,"caption":"Fat Jug","height":165});
															thumbnails[4401753] = clik.newPhoto({"id":4401753,"src":"_MG_1218_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4401753.html","width":130,"caption":"Trevor ","height":170});
															thumbnails[4401819] = clik.newPhoto({"id":4401819,"src":"mountain_pony_brecon_copy_thumb.gif","galleries_id":256315,"server_id":18,"link":"photo_4401819.html","width":130,"caption":"Mountain Pony<br>\r\n","height":123});
															thumbnails[4683999] = clik.newPhoto({"id":4683999,"src":"oxo_to_blackfriars_thumb.jpg","galleries_id":255761,"server_id":18,"link":"photo_4683999.html","width":130,"caption":"Oxo to the Gherkin","height":94});
															thumbnails[4694731] = clik.newPhoto({"id":4694731,"src":"makerel_thumb.jpg","galleries_id":255762,"server_id":18,"link":"photo_4694731.html","width":130,"caption":"Makerel Platter","height":90});
															thumbnails[4703217] = clik.newPhoto({"id":4703217,"src":"Muse_Kiss_Her_plum_wood_carving_30x20x20_950_1_thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_4703217.html","width":130,"caption":"Muse, kiss her","height":195});
															thumbnails[4703223] = clik.newPhoto({"id":4703223,"src":"Muse_Kiss_Her_plum_wood_carving_30x20x20_950_2_copy_thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_4703223.html","width":130,"caption":"Muse, Kiss Her","height":195});
															thumbnails[4720776] = clik.newPhoto({"id":4720776,"src":"burning_thumb.jpg","galleries_id":269368,"server_id":18,"link":"photo_4720776.html","width":130,"caption":"Ignighting the world.","height":195});
															thumbnails[8819320] = clik.newPhoto({"id":8819320,"src":"Dixie_Perched_225_52x38_cbdcut_gold__thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_8819320.html","width":130,"caption":"Dixie Perched","height":186});
															thumbnails[8820067] = clik.newPhoto({"id":8820067,"src":"Repose_225_cbdgold_39x42__thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_8820067.html","width":130,"caption":"Repose","height":121});
															thumbnails[8820123] = clik.newPhoto({"id":8820123,"src":"Tranquil_225_cbd_cutgold_41x47_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_8820123.html","width":130,"caption":"Tranquil","height":114});
															thumbnails[4683556] = clik.newPhoto({"id":4683556,"src":"high_Breeze_dusk_7070_thumb.jpg","galleries_id":255761,"server_id":18,"link":"photo_4683556.html","width":130,"caption":"High Breeze Dusk","height":130});
															thumbnails[4703229] = clik.newPhoto({"id":4703229,"src":"tend_her_cedar_1000_h27xd15xw27cm_1R_Burns_thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_4703229.html","width":130,"caption":"Tend Her","height":148});
															thumbnails[4716155] = clik.newPhoto({"id":4716155,"src":"Hasty_Escape_81_x70_thumb.jpg","galleries_id":269366,"server_id":18,"link":"photo_4716155.html","width":130,"caption":"Hasty Escape","height":129});
															thumbnails[4391372] = clik.newPhoto({"id":4391372,"src":"comfortable_slumber1_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_4391372.html","width":130,"caption":"Comfortable Slumber ","height":73});
															thumbnails[4699862] = clik.newPhoto({"id":4699862,"src":"molly_2x4_150_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4699862.html","width":130,"caption":"Molly","height":89});
															thumbnails[4703232] = clik.newPhoto({"id":4703232,"src":"tend_her_2_thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_4703232.html","width":130,"caption":"Tend Her","height":113});
															thumbnails[4716241] = clik.newPhoto({"id":4716241,"src":"Moorings_81x7012_thumb.jpg","galleries_id":269366,"server_id":18,"link":"photo_4716241.html","width":130,"caption":"Moorings","height":127});
															thumbnails[4716413] = clik.newPhoto({"id":4716413,"src":"Poise_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_4716413.html","width":130,"caption":"Poise","height":198});
															thumbnails[4391318] = clik.newPhoto({"id":4391318,"src":"lyric_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_4391318.html","width":130,"caption":"Lyric ","height":129});
															thumbnails[4431489] = clik.newPhoto({"id":4431489,"src":"Gallery14_Rosie20Feet202_CDave_Green1_thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_4431489.html","width":130,"caption":"Foot Rest","height":98});
															thumbnails[4431493] = clik.newPhoto({"id":4431493,"src":"Gallery14_Rosie20Feet_CDave_Green1_thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_4431493.html","width":130,"caption":"Foot Rest view 2","height":173});
															thumbnails[4678550] = clik.newPhoto({"id":4678550,"src":"stretched_seated_1000x770_150_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_4678550.html","width":130,"caption":"Seated Nude","height":179});
															thumbnails[4716415] = clik.newPhoto({"id":4716415,"src":"seated_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_4716415.html","width":130,"caption":"Twisting Seated ","height":195});
															thumbnails[4386979] = clik.newPhoto({"id":4386979,"src":"Outer_Hope_oil_on_canvas_10x14_thumb.jpg","galleries_id":383098,"server_id":18,"link":"photo_4386979.html","width":130,"caption":"Outer Hope","height":93});
															thumbnails[4699850] = clik.newPhoto({"id":4699850,"src":"fat_pups_6x35_175_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4699850.html","width":130,"caption":"Fat Pups ","height":83});
															thumbnails[4699855] = clik.newPhoto({"id":4699855,"src":"Cona_Sleeping_3x4_175_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4699855.html","width":130,"caption":"Cona Sleeping","height":110});
															thumbnails[4386974] = clik.newPhoto({"id":4386974,"src":"Inner_Hope_oil_on_canvas_10x14_thumb.jpg","galleries_id":383098,"server_id":18,"link":"photo_4386974.html","width":130,"caption":"Inner Hope ","height":92});
															thumbnails[4387538] = clik.newPhoto({"id":4387538,"src":"hope_cove1_thumb.jpg","galleries_id":255762,"server_id":18,"link":"photo_4387538.html","width":130,"caption":"Hope Cove","height":127});
															thumbnails[4391314] = clik.newPhoto({"id":4391314,"src":"standing_adam_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_4391314.html","width":130,"caption":"Standing Adam","height":181});
															thumbnails[4698835] = clik.newPhoto({"id":4698835,"src":"oyster_catchers_35x60_thumb.jpg","galleries_id":255762,"server_id":18,"link":"photo_4698835.html","width":130,"caption":"Oyster Catchers","height":61});
															thumbnails[4699859] = clik.newPhoto({"id":4699859,"src":"blackberry_3x4_175_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4699859.html","width":130,"caption":"Blackberry","height":110});
															thumbnails[4391306] = clik.newPhoto({"id":4391306,"src":"From_the_Dance_watercolour_ink_study_1000x770mm_550_thumb.jpg","galleries_id":257479,"server_id":18,"link":"photo_4391306.html","width":130,"caption":"From the Dance","height":98});
															thumbnails[4684063] = clik.newPhoto({"id":4684063,"src":"Boulder_bank_Westwards_Ho_100x40_thumb.jpg","galleries_id":255761,"server_id":18,"link":"photo_4684063.html","width":130,"caption":"Bolder Bank Westward Ho!","height":53});
															thumbnails[8820307] = clik.newPhoto({"id":8820307,"src":"3_Rusty_Robins_-_Rosie_Burns_thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_8820307.html","width":130,"caption":"Rustly Robbins","height":79});
															thumbnails[8820349] = clik.newPhoto({"id":8820349,"src":"Jenny_Wrens_-_Rosie_B__thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_8820349.html","width":130,"caption":"Jenny Wrens","height":74});
															thumbnails[4387570] = clik.newPhoto({"id":4387570,"src":"scotish_boarders_thumb.jpg","galleries_id":255762,"server_id":18,"link":"photo_4387570.html","width":130,"caption":"Scottish Borders","height":113});
															thumbnails[4401780] = clik.newPhoto({"id":4401780,"src":"look_me_in_the_eyes_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4401780.html","width":130,"caption":"Look me in the eyes","height":96});
															thumbnails[4684110] = clik.newPhoto({"id":4684110,"src":"Toridege_Reflects_100x40cm_thumb.jpg","galleries_id":255761,"server_id":18,"link":"photo_4684110.html","width":130,"caption":"Torridge Reflects","height":51});
															thumbnails[4695030] = clik.newPhoto({"id":4695030,"src":"Jungle_treasure_50x50_thumb.jpg","galleries_id":255762,"server_id":18,"link":"photo_4695030.html","width":130,"caption":"Jungle Treasure","height":127});
															thumbnails[8820316] = clik.newPhoto({"id":8820316,"src":"sleeping_doves_-_Rosie_B_thumb.jpg","galleries_id":256316,"server_id":18,"link":"photo_8820316.html","width":130,"caption":"Paloma - doves","height":82});
															thumbnails[4387566] = clik.newPhoto({"id":4387566,"src":"looe_east_beach_thumb.jpg","galleries_id":255762,"server_id":18,"link":"photo_4387566.html","width":130,"caption":"Looe East Beach","height":134});
															thumbnails[4387567] = clik.newPhoto({"id":4387567,"src":"mossy_twig_thumb.jpg","galleries_id":255762,"server_id":18,"link":"photo_4387567.html","width":130,"caption":"Mossy Twig","height":92});
															thumbnails[4699872] = clik.newPhoto({"id":4699872,"src":"Mario_and_Elsa_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4699872.html","width":130,"caption":"Mario and Elsa","height":85});
															thumbnails[4684206] = clik.newPhoto({"id":4684206,"src":"breaking_wave__355x255_thumb.jpg","galleries_id":383098,"server_id":18,"link":"photo_4684206.html","width":130,"caption":"Breaking Wave","height":91});
															thumbnails[4684257] = clik.newPhoto({"id":4684257,"src":"Lynmouth_355x255_thumb.jpg","galleries_id":383098,"server_id":18,"link":"photo_4684257.html","width":130,"caption":"Lynmouth Tower","height":95});
															thumbnails[4684297] = clik.newPhoto({"id":4684297,"src":"Instow_Dusk_355x255_thumb.jpg","galleries_id":383098,"server_id":18,"link":"photo_4684297.html","width":130,"caption":"Instow Dusk","height":93});
															thumbnails[4686066] = clik.newPhoto({"id":4686066,"src":"Angel_Fingers_Salcombe_Estuary_thumb.jpg","galleries_id":383098,"server_id":18,"link":"photo_4686066.html","width":130,"caption":"Angel Fingers Salcombe Estuary","height":90});
															thumbnails[4687210] = clik.newPhoto({"id":4687210,"src":"Dartmoor-Autumn1_thumb.gif","galleries_id":383098,"server_id":18,"link":"photo_4687210.html","width":130,"caption":"Autumn Devon","height":91});
															thumbnails[4699809] = clik.newPhoto({"id":4699809,"src":"kissing_babes_after_Rodin_285_x285_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4699809.html","width":130,"caption":"Kissing Babes","height":123});
															thumbnails[4694448] = clik.newPhoto({"id":4694448,"src":"hope_cove_life_boat_house_6x4_thumb.jpg","galleries_id":383098,"server_id":18,"link":"photo_4694448.html","width":130,"caption":"Hope Cove Life Boat House","height":200});
															thumbnails[4699917] = clik.newPhoto({"id":4699917,"src":"fashion_student_thumb.jpg","galleries_id":256315,"server_id":18,"link":"photo_4699917.html","width":130,"caption":"Fashion Student","height":195});
															thumbnails[4694485] = clik.newPhoto({"id":4694485,"src":"instow_saling_6x4_thumb.jpg","galleries_id":255761,"server_id":18,"link":"photo_4694485.html","width":130,"caption":"Instow Sailing","height":85});
															thumbnails[4694520] = clik.newPhoto({"id":4694520,"src":"pretty_for_a_sail_salcombe_6x4_thumb.jpg","galleries_id":383098,"server_id":18,"link":"photo_4694520.html","width":130,"caption":"Pretty for a Sail","height":200});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[383098] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Oil Paintings small","link":"gallery_383098.html","maxRecords":0.0,"photoIDs":[4386979.0,4386974.0,4684206.0,4684257.0,4684297.0,4686066.0,4687210.0,4694448.0,4694520.0],"skipIndex":0,"section_code":"gallery","featured_images":"4694520,4694448,4687210,4686066,4684297,4684257,4684206,4386979,4386974","id":383098,"singleSection":false});				  						galleries[255761] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Oil painting LARGE","link":"gallery_255761.html","maxRecords":0.0,"photoIDs":[4360894.0,6422528.0,8820439.0,4682330.0,6733531.0,6734844.0,4684137.0,4683999.0,4683556.0,4684063.0,4684110.0,4694485.0],"skipIndex":0,"section_code":"gallery","featured_images":"8820439,6734844,6733531,6422528,4694485,4684137,4684110,4684063,4683999,4683556","id":255761,"singleSection":false});				  						galleries[255762] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Watercolours","link":"gallery_255762.html","maxRecords":0.0,"photoIDs":[4694731.0,4387538.0,4698835.0,4387570.0,4695030.0,4387566.0,4387567.0],"skipIndex":0,"section_code":"gallery","featured_images":"4698835,4695030,4694731,4387570,4387567,4387566,4387538","id":255762,"singleSection":false});				  						galleries[256315] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Printmaking ","link":"gallery_256315.html","maxRecords":0.0,"photoIDs":[4397621.0,4699674.0,4699700.0,4699865.0,4699869.0,4699896.0,4401764.0,4401768.0,4401849.0,4401851.0,4401996.0,4401753.0,4401819.0,4699862.0,4699850.0,4699855.0,4699859.0,4401780.0,4699872.0,4699809.0,4699917.0],"skipIndex":0,"section_code":"gallery","featured_images":"4699917,4699896,4699872,4699869,4699865,4699862,4699859,4699855,4699850,4699809","id":256315,"singleSection":false});				  						galleries[257479] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Nudes","link":"gallery_257479.html","maxRecords":0.0,"photoIDs":[8820065.0,4391315.0,8818467.0,8818682.0,8820060.0,8818589.0,8819320.0,8820067.0,8820123.0,4391372.0,4716413.0,4391318.0,4678550.0,4716415.0,4391314.0,4391306.0],"skipIndex":0,"section_code":"gallery","featured_images":"8820123,8820067,8820065,8820060,8819320,8818682,8818589,8818467,4716415,4716413","id":257479,"singleSection":false});				  						galleries[256317] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Ceramics","link":"gallery_256317.html","maxRecords":0.0,"photoIDs":[4703251.0,6422665.0,4391377.0],"skipIndex":0,"section_code":"gallery","featured_images":"6422665,4703251,4391377","id":256317,"singleSection":false});				  						galleries[269366] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Multimedia","link":"gallery_269366.html","maxRecords":0.0,"photoIDs":[4678568.0,4678664.0,4678565.0,4716075.0,4715898.0,4716154.0,4716155.0,4716241.0],"skipIndex":0,"section_code":"gallery","featured_images":"4716241,4716155,4716154,4716075,4715898,4678664,4678568,4678565","id":269366,"singleSection":false});				  						galleries[256316] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Sculpture","link":"gallery_256316.html","maxRecords":0.0,"photoIDs":[8820294.0,8820277.0,8820399.0,4703220.0,4703217.0,4703223.0,4703229.0,4703232.0,4431489.0,4431493.0,8820307.0,8820349.0,8820316.0],"skipIndex":0,"section_code":"gallery","featured_images":"8820399,8820349,8820316,8820307,8820294,8820277,4703232,4703229,4703223,4703220","id":256316,"singleSection":false});				  						galleries[269368] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Commissions","link":"gallery_269368.html","maxRecords":0.0,"photoIDs":[4720671.0,4720706.0,4720705.0,4720743.0,4720776.0],"skipIndex":0,"section_code":"gallery","featured_images":"4720776,4720743,4720706,4720705,4720671","id":269368,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8820439,8820399,8820349,8820316,8820307,8820294,8820277,8820123,8820067,8820065,8820060,8819320,8818682,8818589,8818467,6734844,6733531,6422665,6422528,4720776,4720743,4720706,4720705,4720671,4716415,4716413,4716241,4716155,4716154,4716075,4715898,4703251,4703232,4703229,4703223,4703220,4703217,4699917,4699896,4699872,4699869,4699865,4699862,4699859,4699855,4699850,4699809,4699700,4699674,4698835';
imageSets[3] = '8820439,8820399,8820349,8820316,8820307,8820294,8820277,8820123,8820067,8820065,8820060,8819320,8818682,8818589,8818467,6734844,6733531,6422665,6422528,4720776,4720743,4720706,4720705,4720671,4716415,4716413,4716241,4716155,4716154,4716075,4715898,4703251,4703232,4703229,4703223,4703220,4703217,4699917,4699896,4699872,4699869,4699865,4699862,4699859,4699855,4699850,4699809,4699700,4699674,4698835';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/rosieburnsatist/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/rosieburnsatist/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 = 'Rosie Burns Artist: ' + 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="ROSIEBURNSATIST">';
			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;
	}
}

			

