window.thumbnails = new Object();
												thumbnails[3333668] = new thumbnail(3333668,'','','Andelicia_thumb.JPG',130, 98,1,'#');
												thumbnails[4490291] = new thumbnail(4490291,'','','2165598387_b598caf5de_thumb.jpg',130, 88,1,'#');
												thumbnails[3333684] = new thumbnail(3333684,'','Casasarebolena','Casasarebolena_thumb.jpg',130, 80,1,'#');
												thumbnails[4490292] = new thumbnail(4490292,'','','2165598663_78e761cae6_thumb.jpg',130, 87,1,'#');
												thumbnails[3333685] = new thumbnail(3333685,'','Cathederal','Cathederal_thumb.jpg',130, 98,1,'#');
												thumbnails[4490293] = new thumbnail(4490293,'','','2165598817_a904e12929_thumb.jpg',130, 88,1,'#');
												thumbnails[4490294] = new thumbnail(4490294,'','','2165600343_ee8c953b18_thumb.jpg',130, 92,1,'#');
												thumbnails[3333686] = new thumbnail(3333686,'','Farms','Farms_thumb.jpg',130, 98,1,'#');
												thumbnails[4490295] = new thumbnail(4490295,'','','2166393746_24a17f3ecd_thumb.jpg',130, 88,1,'#');
												thumbnails[3333687] = new thumbnail(3333687,'','Gaucin','Gaucin_thumb.jpg',130, 55,1,'#');
												thumbnails[4490296] = new thumbnail(4490296,'','','2166393812_af2934deb2_thumb.jpg',130, 89,1,'#');
												thumbnails[3333688] = new thumbnail(3333688,'','Horses','Horses_thumb.jpg',130, 102,1,'#');
												thumbnails[4490297] = new thumbnail(4490297,'','','2166393978_360657a680_thumb.jpg',130, 87,1,'#');
												thumbnails[3333689] = new thumbnail(3333689,'','Old Window','Old Window_thumb.jpg',130, 173,1,'#');
												thumbnails[4490298] = new thumbnail(4490298,'','','2166394772_1c4ab2f5c3_thumb.jpg',130, 92,1,'#');
												thumbnails[3333690] = new thumbnail(3333690,'','Olives','Olives_thumb.jpg',130, 98,1,'#');
												thumbnails[4490299] = new thumbnail(4490299,'','','2166394956_c52c36dcb1_thumb.jpg',130, 99,1,'#');
												thumbnails[3333691] = new thumbnail(3333691,'','Ronda','Ronda_thumb.jpg',130, 173,1,'#');
												thumbnails[3333692] = new thumbnail(3333692,'','Roof Tops','Roof Tops_thumb.jpg',130, 98,1,'#');
												thumbnails[4490301] = new thumbnail(4490301,'','','2166395032_80b566629b1_thumb.jpg',130, 194,1,'#');
												thumbnails[3333693] = new thumbnail(3333693,'','Sheep','Sheep_thumb.jpg',130, 78,1,'#');
												thumbnails[4490302] = new thumbnail(4490302,'','','2166395382_b87c011b62_thumb.jpg',130, 87,1,'#');
												thumbnails[4490303] = new thumbnail(4490303,'','','2166395656_7cf140ba3d_thumb.jpg',130, 90,1,'#');
												thumbnails[3333694] = new thumbnail(3333694,'','Tiles','Tiles_thumb.jpg',130, 98,1,'#');
												thumbnails[4490304] = new thumbnail(4490304,'','','2166395710_762a5857c1_thumb.jpg',130, 88,1,'#');
												thumbnails[3333695] = new thumbnail(3333695,'','View from Gaucin','View from Gaucin_thumb.jpg',130, 98,1,'#');
												thumbnails[4490305] = new thumbnail(4490305,'','','2609762731_b53e4c1e3a_thumb.jpg',130, 89,1,'#');
												thumbnails[3333696] = new thumbnail(3333696,'','Village','Village_thumb.jpg',130, 78,1,'#');
												thumbnails[4490306] = new thumbnail(4490306,'','','2609762901_7acf74c9a6_thumb.jpg',130, 90,1,'#');
												thumbnails[3333698] = new thumbnail(3333698,'','Window','Window_thumb.jpg',130, 173,1,'#');
												thumbnails[4490307] = new thumbnail(4490307,'','','2610595316_0371ee0e1b_thumb.jpg',130, 85,1,'#');
												thumbnails[4490309] = new thumbnail(4490309,'','','2610595420_acb31c16b8_thumb.jpg',130, 89,1,'#');
												thumbnails[451812] = new thumbnail(451812,'346260','Orange truck','orange truck_thumb.jpg',130, 64,1,'photo_451812.html');
												thumbnails[451834] = new thumbnail(451834,'346260','Greece two','GREECE 2_thumb.jpg',130, 80,1,'photo_451834.html');
												thumbnails[451843] = new thumbnail(451843,'346260','Ponto villa','CINQUE_thumb.jpg',130, 96,1,'photo_451843.html');
												thumbnails[551132] = new thumbnail(551132,'346265','morning rolls','IMG_0691_1_thumb.jpg',130, 66,1,'photo_551132.html');
												thumbnails[551134] = new thumbnail(551134,'346265','the meeting rooms','IMG_0692_thumb.jpg',130, 155,1,'photo_551134.html');
												thumbnails[551137] = new thumbnail(551137,'346265','shops i don\'t shop at','IMG_0694_thumb.jpg',130, 173,1,'photo_551137.html');
												thumbnails[551139] = new thumbnail(551139,'346265','Freddie meets glasgow','IMG_0698_1_thumb.jpg',130, 90,1,'photo_551139.html');
												thumbnails[551144] = new thumbnail(551144,'346265','school run','IMG_0700_1_thumb.jpg',130, 62,1,'photo_551144.html');
												thumbnails[564751] = new thumbnail(564751,'346261','leaning red','red kelvin_thumb.jpg',130, 105,1,'photo_564751.html');
												thumbnails[564752] = new thumbnail(564752,'346261','leaning yellow','yellow kelvin_thumb.jpg',130, 128,1,'photo_564752.html');
												thumbnails[564753] = new thumbnail(564753,'346265','Put it in the middle','IMG_0697_1_thumb.jpg',130, 43,1,'photo_564753.html');
												thumbnails[564756] = new thumbnail(564756,'346265','Glowing up','IMG_0601_thumb.JPG',130, 98,1,'photo_564756.html');
												thumbnails[566055] = new thumbnail(566055,'346261','','IMG_0476_thumb.JPG',130, 87,1,'photo_566055.html');
												thumbnails[566056] = new thumbnail(566056,'346261','','IMG_0475_thumb.JPG',130, 86,1,'photo_566056.html');
												thumbnails[566058] = new thumbnail(566058,'346261','','IMG_0472_thumb.JPG',130, 86,1,'photo_566058.html');
												thumbnails[566059] = new thumbnail(566059,'346261','','st giles_thumb.jpg',130, 78,1,'photo_566059.html');
												thumbnails[566061] = new thumbnail(566061,'346261','','IMG_0474_thumb.JPG',130, 87,1,'photo_566061.html');
												thumbnails[582403] = new thumbnail(582403,'346261','','IMG_0904_1_thumb.jpg',130, 193,1,'photo_582403.html');
												thumbnails[582404] = new thumbnail(582404,'346265','the bike and the house','IMG_0906_1_thumb.jpg',130, 105,1,'photo_582404.html');
												thumbnails[582409] = new thumbnail(582409,'346265','The C.C.A','IMG_0907_1_thumb.jpg',130, 84,1,'photo_582409.html');
												thumbnails[582410] = new thumbnail(582410,'346260','First catch','IMG_0909_1_thumb.jpg',130, 52,1,'photo_582410.html');
												thumbnails[582411] = new thumbnail(582411,'346265','Tuning up','IMG_0911_1_thumb.jpg',130, 77,1,'photo_582411.html');
												thumbnails[582412] = new thumbnail(582412,'346265','Peace like a river','IMG_0914_1_thumb.jpg',130, 82,1,'photo_582412.html');
												thumbnails[582414] = new thumbnail(582414,'346265','tasting blue','IMG_0915_1_thumb.jpg',130, 97,1,'photo_582414.html');
												thumbnails[582415] = new thumbnail(582415,'346260','shorts in winter','IMG_0918_1_thumb.jpg',130, 52,1,'photo_582415.html');
												thumbnails[582416] = new thumbnail(582416,'346261','','IMG_0919_1_thumb.jpg',130, 78,1,'photo_582416.html');
												thumbnails[712649] = new thumbnail(712649,'346264','the colourful city man<br>\r\n26 x 33','the colorful city man_thumb.jpg',130, 181,1,'photo_712649.html');
												thumbnails[712650] = new thumbnail(712650,'346264','eyes reach towards the sky<br>\r\n30 x 30','metting the dark1_thumb.jpg',130, 131,1,'photo_712650.html');
												thumbnails[735975] = new thumbnail(735975,'346264','apple sause = applause<br>\r\n<br>\r\n','apple sauce_thumb.jpg',130, 111,1,'photo_735975.html');
												thumbnails[735976] = new thumbnail(735976,'346264','The damp city<br>\r\n9 x 14','S1030070_thumb.JPG',130, 94,1,'photo_735976.html');
												thumbnails[760291] = new thumbnail(760291,'346264','Warm reception<br>\r\n5 x 7','warm reception_thumb.jpg',130, 180,1,'photo_760291.html');
												thumbnails[760292] = new thumbnail(760292,'346264','The naked city<br>\r\n5 x 7','the naked city_thumb.jpg',130, 185,1,'photo_760292.html');
												thumbnails[760293] = new thumbnail(760293,'346264','The White house<br>\r\n24 x 30','the white house_thumb.jpg',130, 161,1,'photo_760293.html');
												thumbnails[760296] = new thumbnail(760296,'346264','Putting it on<br>\r\n9 x 9','putting it on1_thumb.jpg',130, 127,1,'photo_760296.html');
												thumbnails[760298] = new thumbnail(760298,'346264','Nights landing<br>\r\n56 x 36','nights landing_thumb.jpg',130, 96,1,'photo_760298.html');
												thumbnails[1384231] = new thumbnail(1384231,'375475','big man','meet oe1_thumb.jpg',130, 128,1,'photo_1384231.html');
												thumbnails[1384234] = new thumbnail(1384234,'346264','boy meets world 6 x 6','boy meets world2_thumb.jpg',130, 99,1,'photo_1384234.html');
												thumbnails[1386020] = new thumbnail(1386020,'375475','emerald city ','emrald city_thumb.jpg',130, 178,1,'photo_1386020.html');
												thumbnails[1386022] = new thumbnail(1386022,'346264','orange bowl','orange bowl_thumb.jpg',130, 246,1,'photo_1386022.html');
												thumbnails[1425235] = new thumbnail(1425235,'346264','the arrival 28 X 48 oil on canvas','IMG_1460_thumb.JPG',130, 65,1,'photo_1425235.html');
												thumbnails[1425236] = new thumbnail(1425236,'346264','i scream 16 x 20','ice scream1_thumb.jpg',130, 174,1,'photo_1425236.html');
												thumbnails[1475015] = new thumbnail(1475015,'346260','fish like planes, oil on canvas, 18 x 24','fishy planes1_thumb.jpg',130, 97,1,'photo_1475015.html');
												thumbnails[1722390] = new thumbnail(1722390,'375475','Harvesting the Sun','gathering the sun 2_1_thumb.jpg',130, 121,1,'photo_1722390.html');
												thumbnails[1722415] = new thumbnail(1722415,'375475','The Man with the Answers','the man with the answers_thumb.jpg',130, 168,1,'photo_1722415.html');
												thumbnails[1722428] = new thumbnail(1722428,'375475','Fish like Planes','fishy planes_thumb.jpg',130, 97,1,'photo_1722428.html');
												thumbnails[1869130] = new thumbnail(1869130,'375475','Blue City Soaring','blue city sorrow_thumb.jpg',130, 67,1,'photo_1869130.html');
												thumbnails[2078196] = new thumbnail(2078196,'346258','Angels in the sky 28 x 48 oil on canvas<br>\r\n<br>\r\n','angels in the sky_thumb.jpg',130, 79,1,'photo_2078196.html');
												thumbnails[2239289] = new thumbnail(2239289,'375475','Moving in Red','moving in red2_thumb.jpg',130, 130,1,'photo_2239289.html');
												thumbnails[2830245] = new thumbnail(2830245,'375475','Spring Break ','ChrisBibby_002_thumb.jpg',130, 195,1,'photo_2830245.html');
												thumbnails[3196412] = new thumbnail(3196412,'346264','scarlet nearing','scarlet nearing_thumb.jpg',130, 164,1,'photo_3196412.html');
												thumbnails[3250415] = new thumbnail(3250415,'346264','Green on Red','CIMG00221_thumb.jpg',130, 175,1,'photo_3250415.html');
												thumbnails[3697199] = new thumbnail(3697199,'346258','Home 28 x 48','Home_thumb.jpg',130, 76,1,'photo_3697199.html');
												thumbnails[3697204] = new thumbnail(3697204,'346258','Gentle Guardian 36 x 36','Gentle_Guardian1_thumb.jpg',130, 130,1,'photo_3697204.html');
												thumbnails[3697220] = new thumbnail(3697220,'346258','Grown Up Stepping Stones 24 x 48','Grown_Up_Stepping_Stones_thumb.jpg',130, 64,1,'photo_3697220.html');
												thumbnails[3697288] = new thumbnail(3697288,'346258','Stealing the Sky 1 28 x 48','Stealing_the_Sky_1_thumb.jpg',130, 74,1,'photo_3697288.html');
												thumbnails[3698230] = new thumbnail(3698230,'346258','Stealing the Sky 2 28 x 48','Stealing_the_SKy_2_thumb.jpg',130, 75,1,'photo_3698230.html');
												thumbnails[3698231] = new thumbnail(3698231,'375475','Gentle Guardian','Gentle_Guardian11_thumb.jpg',130, 130,1,'photo_3698231.html');
												thumbnails[3698233] = new thumbnail(3698233,'375475','Grown Up Stepping Stones ','Grown_Up_Stepping_Stones1_thumb.jpg',130, 64,1,'photo_3698233.html');
												thumbnails[4989250] = new thumbnail(4989250,'346264','The Wishing Sky 30 x 30','Chris_Bibby-TheWishingSky_thumb.jpg',130, 130,1,'photo_4989250.html');
												thumbnails[4992045] = new thumbnail(4992045,'375475','The Wishing Sky ','Chris_Bibby-TheWishingSky1_thumb.jpg',130, 130,1,'photo_4992045.html');
												thumbnails[4992065] = new thumbnail(4992065,'375475','Stealing the Sky II','Stealing_the_SKy_2_96CA82C2-1D09-001F-99382BD1FCE0FAD4_thumb.jpg',130, 75,1,'photo_4992065.html');
												thumbnails[4992381] = new thumbnail(4992381,'375475','The City of Gold Unfolds ','-1_thumb.jpg',130, 42,1,'photo_4992381.html');
												thumbnails[5098106] = new thumbnail(5098106,'346258','','PB0900131_thumb.jpg',130, 131,1,'photo_5098106.html');
												thumbnails[5098108] = new thumbnail(5098108,'375475','Dancing City','PB0900151_thumb.jpg',130, 88,1,'photo_5098108.html');
												thumbnails[5098118] = new thumbnail(5098118,'346260','','PB0900221_thumb.jpg',130, 101,1,'photo_5098118.html');
												thumbnails[5098123] = new thumbnail(5098123,'346264','','PB090025_thumb.jpg',130, 126,1,'photo_5098123.html');
												thumbnails[6924416] = new thumbnail(6924416,'375475','Starry bay ','PA030032_thumb.JPG',130, 169,1,'photo_6924416.html');
												thumbnails[6924417] = new thumbnail(6924417,'346258','Crossing Point 10 x 8','PA030033_thumb.JPG',130, 105,1,'photo_6924417.html');
												thumbnails[6924418] = new thumbnail(6924418,'346258','Red Season 16 x 16','PA030034_thumb.JPG',130, 133,1,'photo_6924418.html');
												thumbnails[6924420] = new thumbnail(6924420,'346258','Silent Guardian 28 x 48','PA030036_thumb.JPG',130, 226,1,'photo_6924420.html');
												thumbnails[6924421] = new thumbnail(6924421,'375475','Dark River ','PA030037_thumb.JPG',130, 161,1,'photo_6924421.html');
												thumbnails[6924422] = new thumbnail(6924422,'375475','The Blue Bay ','PA030038_thumb.JPG',130, 167,1,'photo_6924422.html');
												thumbnails[6924423] = new thumbnail(6924423,'346258','New York Study 9 x 12','PA030042_thumb.JPG',130, 178,1,'photo_6924423.html');
												thumbnails[6924425] = new thumbnail(6924425,'375475','Vanishing Point ','PA030044_thumb.JPG',130, 98,1,'photo_6924425.html');
												thumbnails[6924430] = new thumbnail(6924430,'346258','S.F Study 12 x 9','PA030049_thumb.JPG',130, 96,1,'photo_6924430.html');
												thumbnails[6924431] = new thumbnail(6924431,'375475','S.F Study','PA030050_thumb.JPG',130, 101,1,'photo_6924431.html');
												thumbnails[6924432] = new thumbnail(6924432,'375475','Telegraph','PA030051_thumb.JPG',130, 99,1,'photo_6924432.html');
												thumbnails[6924433] = new thumbnail(6924433,'375475','Found in New York','PA030052_thumb.JPG',130, 133,1,'photo_6924433.html');
												thumbnails[6924434] = new thumbnail(6924434,'375475','Evening Over L.A','PA030053_thumb.JPG',130, 44,1,'photo_6924434.html');
												thumbnails[7461304] = new thumbnail(7461304,'404590','Green Bridge Cakes 1','christopher_bibby_green_bridge_cakes_1_thumb.jpg',130, 132,1,'photo_7461304.html');
												thumbnails[7461347] = new thumbnail(7461347,'404590','Green Bridge Cakes 2','christopher_bibby_green_bridge_cakes_2_thumb.jpg',130, 134,1,'photo_7461347.html');
												thumbnails[7461351] = new thumbnail(7461351,'404590','Green Bridge Cakes 3','christopher_bibby_green_bridge_cakes_3_thumb.jpg',130, 130,1,'photo_7461351.html');
												thumbnails[7461380] = new thumbnail(7461380,'404590','lilan bridge cakes 1','christopher_bibby_lilac_bridge_cakes_1_thumb.jpg',130, 132,1,'photo_7461380.html');
												thumbnails[7461388] = new thumbnail(7461388,'404590','Lilac bridge cakes 2','christopher_bibby_lilac_bridge_cakes_2_thumb.jpg',130, 134,1,'photo_7461388.html');
												thumbnails[7461399] = new thumbnail(7461399,'404590','lemon river cakes 1','christopher_bibby_lemon_river_cakes_1_thumb.jpg',130, 135,1,'photo_7461399.html');
												thumbnails[7461402] = new thumbnail(7461402,'404590','lemon river cakes 2','christopher_bibby_lemon_river_cakes_2_thumb.jpg',130, 134,1,'photo_7461402.html');
												thumbnails[7461407] = new thumbnail(7461407,'404590','lemon river cakes 3','christopher_bibby_lemon_river_cakes_3_thumb.jpg',130, 131,1,'photo_7461407.html');
												thumbnails[7461432] = new thumbnail(7461432,'404590','purple bridge cakes 1,2 and 3','christopher_bibby_purple_bridge_cakes_thumb.jpg',130, 43,1,'photo_7461432.html');
												thumbnails[7461458] = new thumbnail(7461458,'404590','crossing over study 1','christopher_bibby_crossing_over_study_1_thumb.jpg',130, 103,1,'photo_7461458.html');
												thumbnails[7461467] = new thumbnail(7461467,'404590','crossing over study 2','christopher_bibby_crossing_over_study_2_thumb.jpg',130, 96,1,'photo_7461467.html');
												thumbnails[7461472] = new thumbnail(7461472,'404590','crossing over study 3','christopher_bibbty_crossing_over_study_3_thumb.jpg',130, 103,1,'photo_7461472.html');
												thumbnails[7461849] = new thumbnail(7461849,'404590','gray rain cake','christopher_bibby_gray_rain_cake_thumb.jpg',130, 131,1,'photo_7461849.html');
												thumbnails[7461859] = new thumbnail(7461859,'404590','green river cake','christopher_bibby_green_river_cake_thumb.jpg',130, 131,1,'photo_7461859.html');
												thumbnails[7461876] = new thumbnail(7461876,'404590','stitchy bridge  cake','christopher_bibby_stitchy_bridge_cake_thumb.jpg',130, 130,1,'photo_7461876.html');
												thumbnails[7461897] = new thumbnail(7461897,'404590','olive river cake','christopher_bibby_olive_river_cake_thumb.jpg',130, 129,1,'photo_7461897.html');
												thumbnails[7461929] = new thumbnail(7461929,'404590','saw tooth bridge cake','christopher_bibby_saw_tooth_bridge_cake_thumb.jpg',130, 107,1,'photo_7461929.html');
												thumbnails[7461936] = new thumbnail(7461936,'404590','azo fields cake','christopher_bibby_azo_fields_cake_thumb.jpg',130, 105,1,'photo_7461936.html');
												thumbnails[6924419] = new thumbnail(6924419,'375475','Ascension City ','PA030035_thumb.JPG',130, 177,1,'photo_6924419.html');
												thumbnails[2228548] = new thumbnail(2228548,'346258','Lucky New York','lucky new york 721_thumb.jpg',130, 194,1,'photo_2228548.html');
												thumbnails[2228558] = new thumbnail(2228558,'346258','Spring Break','miami break11_thumb.jpg',130, 166,1,'photo_2228558.html');
												thumbnails[2830197] = new thumbnail(2830197,'346258','Am I Dreaming 28 x 48 Oil and Wax on Canvas','AM_I_DREAMING_28X48-WEB_2_thumb.jpg',130, 130,1,'photo_2830197.html');
												thumbnails[2830239] = new thumbnail(2830239,'375475','Into Blue','BUILDING_BRIDGES_22x28_03-WEB_21_thumb.jpg',130, 130,1,'photo_2830239.html');
												thumbnails[6924428] = new thumbnail(6924428,'346258','Elevation 12 x 24','PA030047_thumb.jpg',130, 279,1,'photo_6924428.html');
												thumbnails[6924413] = new thumbnail(6924413,'346258','Color Wheel 9 x 12','P9290031_thumb.JPG',130, 178,1,'photo_6924413.html');
												thumbnails[6924426] = new thumbnail(6924426,'375475','S.F Study','PA030045_thumb.JPG',130, 165,1,'photo_6924426.html');
												thumbnails[6924429] = new thumbnail(6924429,'346258','Emerald River 24 x 12','PA030048_thumb.JPG',130, 63,1,'photo_6924429.html');
												thumbnails[441974] = new thumbnail(441974,'346265','Alison and Danika<br>\r\n','a platonic date_thumb.jpg',130, 65,1,'photo_441974.html');
												thumbnails[442208] = new thumbnail(442208,'346262','Somethink?','somethink_thumb.jpg',130, 72,1,'photo_442208.html');
												thumbnails[442214] = new thumbnail(442214,'346265','The Day in tune','the day in tune_thumb.jpg',130, 153,1,'photo_442214.html');
												thumbnails[442215] = new thumbnail(442215,'346261','The last judge','the last judge_thumb.jpg',130, 150,1,'photo_442215.html');
												thumbnails[442123] = new thumbnail(442123,'346265','A Treat for Bethany','bloody mary _thumb.jpg',130, 128,1,'photo_442123.html');
												thumbnails[442126] = new thumbnail(442126,'346265','A monk listening to an ipod','buddist luncheon_thumb.jpg',130, 133,1,'photo_442126.html');
												thumbnails[441976] = new thumbnail(441976,'346265','After the Symphony','after the sympohny_thumb.jpg',130, 104,1,'photo_441976.html');
												thumbnails[2228534] = new thumbnail(2228534,'346258','Ascending Streets','ascending streets1_thumb.jpg',130, 130,1,'photo_2228534.html');
												thumbnails[2228550] = new thumbnail(2228550,'346258','Mountain Hill Married the Sky','mountain hill marrys sky1_thumb.jpg',130, 72,1,'photo_2228550.html');
												thumbnails[2830241] = new thumbnail(2830241,'375475','Forever Rain ','ChrisBibby_24X30-WEB2_21_thumb.jpg',130, 104,1,'photo_2830241.html');
												thumbnails[442212] = new thumbnail(442212,'346261','Steel','STEEL_thumb.jpg',130, 210,1,'photo_442212.html');
												thumbnails[452438] = new thumbnail(452438,'346265','litisa has a studio','criss cross1_thumb.jpg',130, 88,1,'photo_452438.html');
												thumbnails[442133] = new thumbnail(442133,'346265','Chef Kev kennedys little empire','exclusivly_thumb.jpg',130, 88,1,'photo_442133.html');
												thumbnails[442140] = new thumbnail(442140,'346265','Christmas shopping','into the spotlight_thumb.jpg',130, 82,1,'photo_442140.html');
												thumbnails[442127] = new thumbnail(442127,'346261','Broadway Everyday','BROADWAY_thumb.jpg',130, 211,1,'photo_442127.html');
												thumbnails[442134] = new thumbnail(442134,'346265','Jasons first Day','first day_thumb.jpg',130, 184,1,'photo_442134.html');
												thumbnails[442144] = new thumbnail(442144,'346261','Jackson Tower','jacksontower_thumb.jpg',130, 223,1,'photo_442144.html');
												thumbnails[442128] = new thumbnail(442128,'346261','Can you pick me up ?','can you get me_thumb.jpg',130, 71,1,'photo_442128.html');
												thumbnails[442142] = new thumbnail(442142,'346260','On meds','ISREAL_thumb.jpg',130, 98,1,'photo_442142.html');
												thumbnails[442179] = new thumbnail(442179,'346262','Love loss','LOVE LOSS_thumb.jpg',130, 101,1,'photo_442179.html');
												thumbnails[442186] = new thumbnail(442186,'346265','A Miami thing','MARRIOTT_thumb.jpg',130, 96,1,'photo_442186.html');
												thumbnails[454857] = new thumbnail(454857,'346261','The old gallery','one in the hand-11_thumb.jpg',130, 133,1,'photo_454857.html');
												thumbnails[442197] = new thumbnail(442197,'346262','City dreams','PLENTY SPACE_thumb.jpg',130, 99,1,'photo_442197.html');
												thumbnails[442203] = new thumbnail(442203,'346265','A friend i never made','portland2_thumb.jpg',130, 95,1,'photo_442203.html');
												thumbnails[454842] = new thumbnail(454842,'346261','Coal','COAL1_thumb.jpg',130, 121,1,'photo_454842.html');
												thumbnails[442206] = new thumbnail(442206,'346261','Quantity','qaulity not qauntity_thumb.jpg',130, 103,1,'photo_442206.html');
												thumbnails[454860] = new thumbnail(454860,'346265','Spring set','spring set1_thumb.jpg',130, 138,1,'photo_454860.html');
												thumbnails[442210] = new thumbnail(442210,'346265','St\' peter and st\" paul church','st\' peter and paul church_thumb.jpg',130, 148,1,'photo_442210.html');
												thumbnails[442136] = new thumbnail(442136,'346261','Hood','HOOD_thumb.jpg',130, 73,1,'photo_442136.html');
												thumbnails[442216] = new thumbnail(442216,'346265','Barbara','the pearl district_thumb.jpg',130, 163,1,'photo_442216.html');
												thumbnails[442213] = new thumbnail(442213,'346264','The city that is working ','the city that works_thumb.jpg',130, 97,1,'photo_442213.html');
												thumbnails[454846] = new thumbnail(454846,'346261','The theatre i have never been to.','chatuex el portland1_thumb.jpg',130, 119,1,'photo_454846.html');
												thumbnails[442218] = new thumbnail(442218,'346261','Bobbyn going to work','tribridges_thumb.jpg',130, 95,1,'photo_442218.html');
												thumbnails[454655] = new thumbnail(454655,'346265','Train to mexico','union station1_thumb.jpg',130, 77,1,'photo_454655.html');
												thumbnails[442233] = new thumbnail(442233,'346261','Burnside ','BURNSIDE_thumb.jpg',130, 79,1,'photo_442233.html');
												thumbnails[442221] = new thumbnail(442221,'346265','Chief Snider is fishing','willamette sellwood_thumb.jpg',130, 100,1,'photo_442221.html');
												thumbnails[447282] = new thumbnail(447282,'346265','Building in winter','the leaning tower of zip_thumb.jpg',130, 134,1,'photo_447282.html');
												thumbnails[2228553] = new thumbnail(2228553,'346258','Pennies And Melodies','pennies and melodies1_thumb.jpg',130, 80,1,'photo_2228553.html');
												thumbnails[442222] = new thumbnail(442222,'346260','A big red truck','big red truck_thumb.jpg',130, 130,1,'photo_442222.html');
												thumbnails[454848] = new thumbnail(454848,'346261','Dwains 6th floor hair salon','where i fell1_thumb.jpg',130, 138,1,'photo_454848.html');
												thumbnails[442223] = new thumbnail(442223,'346260','Last call','last call_thumb.jpg',130, 129,1,'photo_442223.html');
												thumbnails[442242] = new thumbnail(442242,'346260','View of Greece from the Adriatic Sea','GREECE4_thumb.jpg',130, 82,1,'photo_442242.html');
												thumbnails[442244] = new thumbnail(442244,'346260','Greek coffee with Sarah','GREECE7_thumb.jpg',130, 75,1,'photo_442244.html');
												thumbnails[442245] = new thumbnail(442245,'346260','Hawian Coffee with Sarah','plantatiohouse_thumb.jpg',130, 101,1,'photo_442245.html');
												thumbnails[442228] = new thumbnail(442228,'346260','Floating getto','BOATS_thumb.jpg',130, 81,1,'photo_442228.html');
												thumbnails[442261] = new thumbnail(442261,'346260','Some sunflowers','sunflowers4 copy_thumb.jpg',130, 131,1,'photo_442261.html');
												thumbnails[447275] = new thumbnail(447275,'346260','Three stooges','the three stooges _thumb.jpg',130, 67,1,'photo_447275.html');
												thumbnails[454658] = new thumbnail(454658,'346262','Wales for Sarah','WALES1_thumb.jpg',130, 72,1,'photo_454658.html');
												thumbnails[2228538] = new thumbnail(2228538,'346258','Growing In Colours','growing i colors1_thumb.jpg',130, 76,1,'photo_2228538.html');
												thumbnails[2228554] = new thumbnail(2228554,'346258','Red City in love','red city is in love1_thumb.jpg',130, 65,1,'photo_2228554.html');
												thumbnails[447283] = new thumbnail(447283,'346260','Scrap','scrap or spare parts_thumb.jpg',130, 98,1,'photo_447283.html');
												thumbnails[2228555] = new thumbnail(2228555,'346258','Thinking Of Travel','thinking of travel 721_thumb.jpg',130, 165,1,'photo_2228555.html');
												thumbnails[2830203] = new thumbnail(2830203,'346258','Boyhood in Green 35 x 35 Oil and Wax on Canvas','ChrisBibby_35x35-WEB2_2_thumb.jpg',130, 130,1,'photo_2830203.html');
												thumbnails[2228540] = new thumbnail(2228540,'346258','In Night Moves','in night moves 721_thumb.jpg',130, 166,1,'photo_2228540.html');
												thumbnails[2228556] = new thumbnail(2228556,'346258','Turning the Windows','Turning the Windows1_thumb.jpg',130, 76,1,'photo_2228556.html');
												thumbnails[2830204] = new thumbnail(2830204,'346258','Dances with Oranges 36 x 60 Oil and Wax on Canvas','ChrisBibby_36X60_2-WEB2_2_thumb.jpg',130, 77,1,'photo_2830204.html');
												thumbnails[451832] = new thumbnail(451832,'346261','Gathering Sun','gathering the sun 2_thumb.jpg',130, 121,1,'photo_451832.html');
												thumbnails[447277] = new thumbnail(447277,'346261','Tree','just a tree_thumb.jpg',130, 162,1,'photo_447277.html');
												thumbnails[447278] = new thumbnail(447278,'346260','Sunflowers','Sunflowers 2 copy_thumb.jpg',130, 166,1,'photo_447278.html');
												thumbnails[451804] = new thumbnail(451804,'346260','Palms','PALMS_thumb.jpg',130, 272,1,'photo_451804.html');
												thumbnails[451826] = new thumbnail(451826,'346261','Lake','LAKES_thumb.jpg',130, 91,1,'photo_451826.html');
												thumbnails[452529] = new thumbnail(452529,'346264','My old place','looking over the city, to the hills_thumb.jpg',130, 105,1,'photo_452529.html');
												thumbnails[2228562] = new thumbnail(2228562,'346258','World City One','world city one11_thumb.jpg',130, 200,1,'photo_2228562.html');
												thumbnails[451884] = new thumbnail(451884,'346264','Cerrisa\'s view','purple sky_thumb.jpg',130, 83,1,'photo_451884.html');
												thumbnails[2228561] = new thumbnail(2228561,'346258','The Work Of Good Men','the work of good men2_thumb.jpg',130, 200,1,'photo_2228561.html');
												thumbnails[451880] = new thumbnail(451880,'346261','Singers','SINGERS_thumb.jpg',130, 73,1,'photo_451880.html');
												thumbnails[2228560] = new thumbnail(2228560,'346258','The Man With The Answers','the man with the answers11_thumb.jpg',130, 168,1,'photo_2228560.html');
												thumbnails[451830] = new thumbnail(451830,'346261','The law offices of Jimmy Go','illustieness_thumb.jpg',130, 139,1,'photo_451830.html');
												thumbnails[551145] = new thumbnail(551145,'346261','in a western palace','IMG_0704_1_thumb.jpg',130, 85,1,'photo_551145.html');
												thumbnails[451756] = new thumbnail(451756,'346261','Two bridges','two bridges_thumb.jpg',130, 51,1,'photo_451756.html');
												thumbnails[2830206] = new thumbnail(2830206,'346258','22 x 28  Oil and Wax on Canvas','TALL_DREAMS_22x28_01-WEB_2_thumb.jpg',130, 130,1,'photo_2830206.html');
												thumbnails[3196407] = new thumbnail(3196407,'346264','building with golden yellow','building with golden yellow_thumb.jpg',130, 309,1,'photo_3196407.html');
												thumbnails[1724405] = new thumbnail(1724405,'115701','cityscape','cityscape drawing bridge_thumb.jpg',130, 170,1,'photo_1724405.html');
												thumbnails[1724411] = new thumbnail(1724411,'115701','Cityscape','cityscape drawing_thumb.jpg',130, 167,1,'photo_1724411.html');
												thumbnails[1724449] = new thumbnail(1724449,'115701','Empire','cityscape empire drawing_thumb.jpg',130, 165,1,'photo_1724449.html');
												thumbnails[1724452] = new thumbnail(1724452,'115701','Girl in car','girl in car_thumb.jpg',130, 183,1,'photo_1724452.html');
												thumbnails[1724454] = new thumbnail(1724454,'115701','Forest','landscape drawing forest_thumb.jpg',130, 175,1,'photo_1724454.html');
												thumbnails[1724455] = new thumbnail(1724455,'115701','Rural Freeway','Landscape drawing_thumb.jpg',130, 191,1,'photo_1724455.html');
												thumbnails[1724459] = new thumbnail(1724459,'115701','Truck','landscape truck hill drawing_thumb.jpg',130, 198,1,'photo_1724459.html');
												thumbnails[1724471] = new thumbnail(1724471,'115701','Truck and trees','landscape truck tree drawing_thumb.jpg',130, 170,1,'photo_1724471.html');
												thumbnails[1724486] = new thumbnail(1724486,'115701','Newyork','new york city scape drawing_thumb.jpg',130, 163,1,'photo_1724486.html');
												thumbnails[1724489] = new thumbnail(1724489,'115701','Newyork','newyork city scape drawing_thumb.jpg',130, 172,1,'photo_1724489.html');
												thumbnails[1724490] = new thumbnail(1724490,'115701','People','people drawing_thumb.jpg',130, 172,1,'photo_1724490.html');
												thumbnails[2188596] = new thumbnail(2188596,'115701','Athens','athens_thumb.JPG',130, 173,1,'photo_2188596.html');
												thumbnails[2188597] = new thumbnail(2188597,'115701','Botanical gardens, Glasgow','botanics_thumb.JPG',130, 93,1,'photo_2188597.html');
												thumbnails[2188598] = new thumbnail(2188598,'115701','People in Coffee shop','coffee shop people_thumb.JPG',130, 173,1,'photo_2188598.html');
												thumbnails[2188599] = new thumbnail(2188599,'115701','Idea for painting','drawing with bethany and taryn_thumb.JPG',130, 84,1,'photo_2188599.html');
												thumbnails[2188600] = new thumbnail(2188600,'115701','greece','greece_thumb.JPG',130, 146,1,'photo_2188600.html');
												thumbnails[2188601] = new thumbnail(2188601,'115701','Guernsey','guernsey drawings_thumb.JPG',130, 173,1,'photo_2188601.html');
												thumbnails[2188602] = new thumbnail(2188602,'115701','Hotel in athens','hotel in athens_thumb.JPG',130, 156,1,'photo_2188602.html');
												thumbnails[2188603] = new thumbnail(2188603,'115701','man on a plane','man on plane_thumb.JPG',130, 224,1,'photo_2188603.html');
												thumbnails[2188605] = new thumbnail(2188605,'115701','New drawing','new drawings_thumb.JPG',130, 98,1,'photo_2188605.html');
												thumbnails[2188606] = new thumbnail(2188606,'115701','new sketches','new sketches_thumb.JPG',130, 173,1,'photo_2188606.html');
												thumbnails[2188608] = new thumbnail(2188608,'115701','plane in greece','plane_thumb.JPG',130, 94,1,'photo_2188608.html');
												thumbnails[2188609] = new thumbnail(2188609,'115701','plans','plans_thumb.JPG',130, 173,1,'photo_2188609.html');
												thumbnails[2188610] = new thumbnail(2188610,'115701','sketches for house','sketches for house_thumb.JPG',130, 173,1,'photo_2188610.html');
												thumbnails[2188611] = new thumbnail(2188611,'115701','old sketches','sketches_thumb.JPG',130, 92,1,'photo_2188611.html');
												thumbnails[2188614] = new thumbnail(2188614,'115701','Drawing with crayons','with crayons_thumb.JPG',130, 95,1,'photo_2188614.html');
												thumbnails[2188607] = new thumbnail(2188607,'115701','plan for house','plan for house_thumb.JPG',130, 173,1,'photo_2188607.html');
												thumbnails[1724491] = new thumbnail(1724491,'115701','Landscape','cityscape drawing landscape_thumb.jpg',130, 101,1,'photo_1724491.html');
												thumbnails[1724492] = new thumbnail(1724492,'115701','idea','cityscape idea drawing landscape_thumb.jpg',130, 97,1,'photo_1724492.html');
												thumbnails[1724493] = new thumbnail(1724493,'115701','big ideas','cityscape landscape_thumb.jpg',130, 103,1,'photo_1724493.html');
												thumbnails[566090] = new thumbnail(566090,'35185','','IMG_0672_thumb.JPG',130, 98,1,'photo_566090.html');
												thumbnails[1772344] = new thumbnail(1772344,'35185','Division St Studio ','IMG_1494_thumb.JPG',130, 115,1,'photo_1772344.html');
												thumbnails[1772346] = new thumbnail(1772346,'35185','In Studio','IMG_1803_thumb.JPG',130, 98,1,'photo_1772346.html');
												thumbnails[1772351] = new thumbnail(1772351,'35185','Inside studio','IMG_1812_thumb.JPG',130, 98,1,'photo_1772351.html');
												thumbnails[1772353] = new thumbnail(1772353,'35185','dad','l_828f1d7b9b71c4c50cca917f1180ab7f_thumb.jpg',130, 98,1,'photo_1772353.html');
												thumbnails[1772354] = new thumbnail(1772354,'35185','Workmen in Glasgow','l_b8c94f6b96cc8e51370c48ea7094218e_thumb.jpg',130, 101,1,'photo_1772354.html');
												thumbnails[1772355] = new thumbnail(1772355,'35185','The lake District','l_c738814b80fd3b888ee74fcc561b5925_thumb.jpg',130, 46,1,'photo_1772355.html');
												thumbnails[1772356] = new thumbnail(1772356,'35185','Mum','l_fbecd6fd8687346c87f6cdd660fa567b_thumb.jpg',130, 98,1,'photo_1772356.html');
												thumbnails[1772357] = new thumbnail(1772357,'35185','Outside studio','P2280028_thumb.JPG',130, 98,1,'photo_1772357.html');
												thumbnails[1794406] = new thumbnail(1794406,'35185','herbal tea','Bethany\'s New Pics 014_thumb.jpg',130, 86,1,'photo_1794406.html');
												thumbnails[1794407] = new thumbnail(1794407,'35185','in studio','Bethany\'s New Pics 253_thumb.jpg',130, 86,1,'photo_1794407.html');
												thumbnails[1794408] = new thumbnail(1794408,'35185','painting','Bethany\'s New Pics 265_thumb.jpg',130, 86,1,'photo_1794408.html');
												thumbnails[1794409] = new thumbnail(1794409,'35185','studio table','Bethany\'s New Pics 273_thumb.jpg',130, 86,1,'photo_1794409.html');
												thumbnails[2188612] = new thumbnail(2188612,'35185','turning windows half way stage','turning windows half way stage_thumb.JPG',130, 98,1,'photo_2188612.html');
												thumbnails[2570149] = new thumbnail(2570149,'35185','Colours','colours1_thumb.jpg',130, 173,1,'photo_2570149.html');
												thumbnails[3196417] = new thumbnail(3196417,'35185','a tree','tree_thumb.jpg',130, 98,1,'photo_3196417.html');
												thumbnails[6257846] = new thumbnail(6257846,'35185','Photo by  Tarah Engelk','4751295598_f491fd5a16_b_thumb.jpg',130, 86,1,'photo_6257846.html');
												thumbnails[6257847] = new thumbnail(6257847,'35185','Photo by  Tarah Engelk','4751295708_13461f4a94_b_thumb.jpg',130, 195,1,'photo_6257847.html');
												thumbnails[2476715] = new thumbnail(2476715,'35185','Bibby\'s studio Oregonian','Bibby\'s studio Oregonian_thumb.jpg',130, 99,1,'photo_2476715.html');
												thumbnails[3084816] = new thumbnail(3084816,'35185','Meet the public','CIMG0001_thumb.jpg',130, 173,1,'photo_3084816.html');
												thumbnails[4969650] = new thumbnail(4969650,'35185','Picture 2','Picture_2_thumb.jpg',130, 129,1,'photo_4969650.html');
												thumbnails[2476716] = new thumbnail(2476716,'35185','happy people','happy people_thumb.jpg',130, 173,1,'photo_2476716.html');
												thumbnails[3084817] = new thumbnail(3084817,'35185','Meet the public','CIMG0004_thumb.jpg',130, 98,1,'photo_3084817.html');
												thumbnails[4969651] = new thumbnail(4969651,'35185','Picture 3','Picture_3_thumb.jpg',130, 128,1,'photo_4969651.html');
												thumbnails[2476717] = new thumbnail(2476717,'35185','on Alberta','on Alberta_thumb.jpg',130, 173,1,'photo_2476717.html');
												thumbnails[2570148] = new thumbnail(2570148,'35185','in studio','in studio_thumb.jpg',130, 98,1,'photo_2570148.html');
												thumbnails[4969652] = new thumbnail(4969652,'35185','Picture 4','Picture_4_thumb.jpg',130, 128,1,'photo_4969652.html');
												thumbnails[4410536] = new thumbnail(4410536,'258412','6TH\'AVE','6THAVE_thumb.jpg',130, 237,1,'photo_4410536.html');
												thumbnails[4490210] = new thumbnail(4490210,'258413','Bloody Mary','bloody_mary_copy_thumb.jpg',130, 129,1,'photo_4490210.html');
												thumbnails[4493531] = new thumbnail(4493531,'261770','P8100067','P8100067_thumb.jpg',130, 98,1,'photo_4493531.html');
												thumbnails[4410537] = new thumbnail(4410537,'258413','Alison and Danica','a_platonic_date_thumb.jpg',130, 65,1,'photo_4410537.html');
												thumbnails[4490211] = new thumbnail(4490211,'258413','The Hawthorne Brigde','hawthorne_05-27-47_thumb.jpg',130, 84,1,'photo_4490211.html');
												thumbnails[4410538] = new thumbnail(4410538,'258415','Big Red Truck','big_red_truck_thumb.jpg',130, 130,1,'photo_4410538.html');
												thumbnails[4410623] = new thumbnail(4410623,'258415','Sunflowers 2','Sunflowers_2_copy_thumb.jpg',130, 166,1,'photo_4410623.html');
												thumbnails[4490212] = new thumbnail(4490212,'258413','Miere and frank','miereandfrank_thumb.jpg',130, 201,1,'photo_4490212.html');
												thumbnails[4493533] = new thumbnail(4493533,'261770','P8100069','P8100069_thumb.jpg',130, 98,1,'photo_4493533.html');
												thumbnails[4410539] = new thumbnail(4410539,'258415','A floating Ghetto ','BOATS1_thumb.jpg',130, 81,1,'photo_4410539.html');
												thumbnails[4410624] = new thumbnail(4410624,'258415','Sunflowers 4','sunflowers4_copy_thumb.jpg',130, 131,1,'photo_4410624.html');
												thumbnails[4490213] = new thumbnail(4490213,'258413','Rexall Drugs','roxall_drugs_thumb.jpg',130, 161,1,'photo_4490213.html');
												thumbnails[4493534] = new thumbnail(4493534,'261770','P8100070','P8100070_thumb.jpg',130, 98,1,'photo_4493534.html');
												thumbnails[4410540] = new thumbnail(4410540,'258412','BROADWAY','BROADWAY1_thumb.jpg',130, 211,1,'photo_4410540.html');
												thumbnails[4410625] = new thumbnail(4410625,'258415','The Three Stooges ','the_three_stooges__thumb.jpg',130, 67,1,'photo_4410625.html');
												thumbnails[4490214] = new thumbnail(4490214,'258415','Sunflowers','sunflowers1_thumb.jpg',130, 166,1,'photo_4490214.html');
												thumbnails[4493535] = new thumbnail(4493535,'261770','P8100071','P8100071_thumb.jpg',130, 98,1,'photo_4493535.html');
												thumbnails[4410541] = new thumbnail(4410541,'258412','BURNSIDE','BURNSIDE1_thumb.jpg',130, 79,1,'photo_4410541.html');
												thumbnails[4410626] = new thumbnail(4410626,'258413','Three Bridges','tribridges1_thumb.jpg',130, 95,1,'photo_4410626.html');
												thumbnails[4490215] = new thumbnail(4490215,'258415','Tuscany','tuscany_copy_thumb.jpg',130, 84,1,'photo_4490215.html');
												thumbnails[4493536] = new thumbnail(4493536,'261770','P8100072','P8100072_thumb.jpg',130, 98,1,'photo_4493536.html');
												thumbnails[4410542] = new thumbnail(4410542,'258415','Cinque Terra','CINQUE1_thumb.jpg',130, 96,1,'photo_4410542.html');
												thumbnails[4410627] = new thumbnail(4410627,'258412','Union Station','union_station1_thumb.jpg',130, 77,1,'photo_4410627.html');
												thumbnails[4493537] = new thumbnail(4493537,'261770','P8100073','P8100073_thumb.jpg',130, 98,1,'photo_4493537.html');
												thumbnails[4410543] = new thumbnail(4410543,'258414','Gathering The Sun<br>\r\n','gathering_the_sun_2_thumb.jpg',130, 121,1,'photo_4410543.html');
												thumbnails[4410544] = new thumbnail(4410544,'258412','Hood in the Winter','HOOD1_thumb.jpg',130, 73,1,'photo_4410544.html');
												thumbnails[4410545] = new thumbnail(4410545,'258413','Hood in the Summer','HOODOIL_thumb.jpg',130, 84,1,'photo_4410545.html');
												thumbnails[4410546] = new thumbnail(4410546,'258415','Isreal','ISREAL1_thumb.jpg',130, 98,1,'photo_4410546.html');
												thumbnails[4410547] = new thumbnail(4410547,'258412','Jackson Tower','jacksontower1_thumb.jpg',130, 223,1,'photo_4410547.html');
												thumbnails[4410548] = new thumbnail(4410548,'258414','Lakes','LAKES1_thumb.jpg',130, 84,1,'photo_4410548.html');
												thumbnails[4410549] = new thumbnail(4410549,'258412','Looking East','looking_over_the_city_to_the_hills_thumb.jpg',130, 105,1,'photo_4410549.html');
												thumbnails[4410550] = new thumbnail(4410550,'258415','Palms','PALMS1_thumb.jpg',130, 201,1,'photo_4410550.html');
												thumbnails[4410551] = new thumbnail(4410551,'258413','Waterfront from the West looking East','portland21_thumb.jpg',130, 95,1,'photo_4410551.html');
												thumbnails[4410552] = new thumbnail(4410552,'258414','Somethink!','somethink1_thumb.jpg',130, 72,1,'photo_4410552.html');
												thumbnails[4410553] = new thumbnail(4410553,'258412','The Steel Bridge','STEEL1_thumb.jpg',130, 210,1,'photo_4410553.html');
												thumbnails[4410554] = new thumbnail(4410554,'258414','Wales for Sarah','WALES11_thumb.jpg',130, 72,1,'photo_4410554.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[258414] = new gallery(258414,'4410554','England, Scotland and Wales','section312008',[4410543,4410548,4410552,4410554],0, 0, '', 'section312008_258414.html',0,0);
				  					galleries[404590] = new gallery(404590,'7461388','New Work','section413520',[7461304,7461347,7461351,7461380,7461388,7461399,7461402,7461407,7461432,7461458,7461467,7461472,7461849,7461859,7461876,7461897,7461929,7461936],0, 0, '', 'section413520_404590.html',0,0);
				  					galleries[258413] = new gallery(258413,'4490210','Portland in the summer','section312008',[4490210,4410537,4490211,4490212,4490213,4410626,4410545,4410551],0, 0, '', 'section312008_258413.html',0,0);
				  					galleries[258412] = new gallery(258412,'4410544','Portland in the winter','section312008',[4410536,4410540,4410541,4410627,4410544,4410547,4410549,4410553],0, 0, '', 'section312008_258412.html',0,0);
				  					galleries[258415] = new gallery(258415,'4410542','Travels and Adventures','section312008',[4410538,4410623,4410539,4410624,4410625,4490214,4490215,4410542,4410546,4410550],0, 0, '', 'section312008_258415.html',0,0);
				  					galleries[261770] = new gallery(261770,'4493537,4493536,4493535,4493534,4493533,4493531','What is an Art Plaque?','section312008',[4493531,4493533,4493534,4493535,4493536,4493537],0, 0, '', 'section312008_261770.html',0,0);
				  					galleries[375475] = new gallery(375475,'6924419','Available Work','section413520',[1384231,1386020,1722390,1722415,1722428,1869130,2239289,2830245,3698231,3698233,4992045,4992065,4992381,5098108,6924416,6924421,6924422,6924425,6924431,6924432,6924433,6924434,6924419,2830239,6924426,2830241],0, 0, '', 'section413520_375475.html',0,0);
				  					galleries[346258] = new gallery(346258,'2228548','Cityscapes ','section413520',[2078196,3697199,3697204,3697220,3697288,3698230,5098106,6924417,6924418,6924420,6924423,6924430,2228548,2228558,2830197,6924428,6924413,6924429,2228534,2228550,2228553,2228538,2228554,2228555,2830203,2228540,2228556,2830204,2228562,2228561,2228560,2830206],0, 0, '', 'section413520_346258.html',0,0);
				  					galleries[346264] = new gallery(346264,'3250415,760291,712649','Cityscapes II','section413520',[712649,712650,735975,735976,760291,760292,760293,760296,760298,1384234,1386022,1425235,1425236,3196412,3250415,4989250,5098123,442213,452529,451884,3196407],0, 0, '', 'section413520_346264.html',0,0);
				  					galleries[346261] = new gallery(346261,'582403','Watercolors / Watercolours','section413520',[564751,564752,566055,566056,566058,566059,566061,582403,582416,442215,442212,442127,442144,442128,454857,454842,442206,442136,454846,442218,442233,454848,451832,447277,451826,451880,451830,551145,451756],0, 0, '', 'section413520_346261.html',0,0);
				  					galleries[346262] = new gallery(346262,'442179','Illustrations','section413520',[442208,442179,442197,454658],0, 0, '', 'section413520_346262.html',0,0);
				  					galleries[346260] = new gallery(346260,'5098118,442142','Islands','section413520',[451812,451834,451843,582410,582415,1475015,5098118,442142,442222,442223,442242,442244,442245,442228,442261,447275,447283,447278,451804],0, 0, '', 'section413520_346260.html',0,0);
				  					galleries[346265] = new gallery(346265,'452438','Street Scenes','section413520',[551132,551134,551137,551139,551144,564753,564756,582404,582409,582411,582412,582414,441974,442214,442123,442126,441976,452438,442133,442140,442134,442186,442203,454860,442210,442216,454655,442221,447282],0, 0, '', 'section413520_346265.html',0,0);
				  					galleries[115701] = new gallery(115701,'2188614,2188611,2188610,2188609,2188608,2188607,2188606,2188605,2188603,2188602','Drawings','section144888',[1724405,1724411,1724449,1724452,1724454,1724455,1724459,1724471,1724486,1724489,1724490,2188596,2188597,2188598,2188599,2188600,2188601,2188602,2188603,2188605,2188606,2188608,2188609,2188610,2188611,2188614,2188607,1724491,1724492,1724493],0, 0, '', 'section144888.html',0,1);
				  					galleries[35185] = new gallery(35185,'4969650,2476717','Photos','section55648',[566090,1772344,1772346,1772351,1772353,1772354,1772355,1772356,1772357,1794406,1794407,1794408,1794409,2188612,2570149,3196417,6257846,6257847,2476715,3084816,4969650,2476716,3084817,4969651,2476717,2570148,4969652],0, 0, '', 'section55648.html',0,1);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '4969652,3698230,2188612,1794408';
imageSets[2] = '7461388,6924419,5098118,4969650,4490301,4490210,4410554,4410544,4410542,3333691,3250415,2476717,2228548,760291,712649,582403,452438,442179,442142';
imageSets[3] = '3698233,3698231,3698230,3697220,3697204,3697199,3333698,3333696,3333695,3333694,3333693,3333692,3333691,3333690,3333689,3333688,3333687,3333686,3333685,3333684,3333668,3250415,3196417,3196412,3196407,3084817,3084816,2830245,2830241,2830239,2830206,2830204';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/iambibby/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/iambibby/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/iambibby/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/iambibby/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/iambibby/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/iambibby/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 += 'section413520.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 && 'section413520' != '') {
					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:'',
                    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 (!basic) {
    if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
    }
				
    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));		  $('body').trigger('clikUpdate');		}, op.onBefore);
      }    }
    	if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Christopher Bibby: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {};	    	      	      resizePhotoInfo(options);
        if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(backgrounds);
  	    } else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(photos);
  	    }
	    });
    }
        if (!op.speed) {      clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));      $('body').trigger('clikUpdate');    }        
    return html;			}
	else {
				
		window.location = 'photo_' + nextPhoto.id + '.html';
	}
		
}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array){
  if (typeof(array) !== 'object' || array == undefined) {
    array = photos;
  }
	if($('#paymentConfirm').length > 0){
		$('#paymentConfirm').hide();
		$('#paymentAddButton')
		.unbind()
		.click(function(){
						form = document.getElementById('paymentForm');
			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').text('Item added to cart').show();}
				else{
					$('#paymentConfirm').text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm').text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}
/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp = temp +  '<p id="imageDescription">' + this.description + '</p>';
	}
		if (this.photo_ref != '') {
		temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</p>';
	}
		if (this.takendate != '') {
				
		temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</p>';
	}
	
	if (this.location != '') {
				
		temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</p>';
	}
	
	if (this.photographer != '') {
				
		temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</p>';
	}
					
	temp = temp + this.fnGetPaymentInfo();
				if (temp != '') {
		temp = temp + '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp = temp + '<p>Buy now using PayPal:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> $' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p>Buy this print online:</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp = temp + '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
				
		temp = temp + getPaymentOptions(this.payment_groups_id);
		temp = temp + '</select>';
		temp = 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 = temp + '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
	temp = temp + '	<input type="hidden" name="item_option" value="' + item_option + '">';
	temp = temp + '	<input type="hidden" name="site" value="IAMBIBBY">';
		temp = temp + '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp = temp + '	<input type="hidden" name="quantity" value="1">';
								temp = temp + '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
			temp = 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 = temp + '</form>';
		temp = temp + '<div class="clearing">&nbsp;</div>';
	temp = temp + '<div id="confirmContainer">';
	temp = temp + '<div id="paymentConfirm">Item added to cart</div>';
	temp = temp + '</div>';
			temp = 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({            href: thumbnails[imageID].fnGalleryLink(gallery_id),            title: galleries[gallery_id].title          });
        }
							}
										}
}

/***************************************************************************
* 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 + ' | ';
				}
				temp = temp + '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

