window.thumbnails = new Object();
												thumbnails[7765648] = new thumbnail(7765648,'419007','EC01','A01_thumb.jpg',130, 87,15,'photo_7765648.html');
												thumbnails[7857525] = new thumbnail(7857525,'424078','YCA1','YCA1_thumb.jpg',87, 130,15,'photo_7857525.html');
												thumbnails[7765649] = new thumbnail(7765649,'419007','EC02','A02_thumb.jpg',130, 87,15,'photo_7765649.html');
												thumbnails[7857536] = new thumbnail(7857536,'424078','YCA2','YCA2_thumb.jpg',130, 87,15,'photo_7857536.html');
												thumbnails[7765650] = new thumbnail(7765650,'419007','EC03','A03_thumb.jpg',130, 87,15,'photo_7765650.html');
												thumbnails[7857548] = new thumbnail(7857548,'424078','YCA3','YCA3_thumb.jpg',130, 87,15,'photo_7857548.html');
												thumbnails[7765651] = new thumbnail(7765651,'419007','EC04','A04_thumb.jpg',130, 87,15,'photo_7765651.html');
												thumbnails[7857559] = new thumbnail(7857559,'424078','YCA4','YCA4_thumb.jpg',130, 87,15,'photo_7857559.html');
												thumbnails[7752354] = new thumbnail(7752354,'419007','EC05','5_thumb.jpg',130, 87,15,'photo_7752354.html');
												thumbnails[7857571] = new thumbnail(7857571,'424078','YCA5','YCA5_thumb.jpg',130, 87,15,'photo_7857571.html');
												thumbnails[7752355] = new thumbnail(7752355,'419007','EC06','6_thumb.jpg',130, 87,15,'photo_7752355.html');
												thumbnails[7857582] = new thumbnail(7857582,'424078','YCA6','YCA6_thumb.jpg',130, 87,15,'photo_7857582.html');
												thumbnails[7752356] = new thumbnail(7752356,'419007','EC07','7_thumb.jpg',130, 87,15,'photo_7752356.html');
												thumbnails[7857594] = new thumbnail(7857594,'424078','YCA7','YCA7_thumb.jpg',130, 87,15,'photo_7857594.html');
												thumbnails[7752357] = new thumbnail(7752357,'419007','EC08','8_thumb.jpg',87, 130,15,'photo_7752357.html');
												thumbnails[7857667] = new thumbnail(7857667,'424078','YCA8','YCA8_thumb.jpg',130, 87,15,'photo_7857667.html');
												thumbnails[7752358] = new thumbnail(7752358,'419007','EC09','9_thumb.jpg',130, 87,15,'photo_7752358.html');
												thumbnails[7857684] = new thumbnail(7857684,'424078','YCA9','YCA9_thumb.jpg',130, 87,15,'photo_7857684.html');
												thumbnails[7752326] = new thumbnail(7752326,'419007','EC10','10_C4BADDB0-1EC9-D45B-1CF3975CF0A87805_thumb.jpg',87, 130,15,'photo_7752326.html');
												thumbnails[7762719] = new thumbnail(7762719,'419464','AB001','AB001_CED20E80-1EC9-D45B-1C7423D5C78AA4DA_thumb.jpg',87, 130,15,'photo_7762719.html');
												thumbnails[7752327] = new thumbnail(7752327,'419007','EC11','11_thumb.jpg',130, 87,15,'photo_7752327.html');
												thumbnails[7752328] = new thumbnail(7752328,'419007','EC12','12_thumb.jpg',130, 87,15,'photo_7752328.html');
												thumbnails[7752329] = new thumbnail(7752329,'419007','EC13','13_thumb.jpg',130, 87,15,'photo_7752329.html');
												thumbnails[7752330] = new thumbnail(7752330,'419007','EC14','14_thumb.jpg',87, 130,15,'photo_7752330.html');
												thumbnails[7752331] = new thumbnail(7752331,'419007','EC15','15_thumb.jpg',87, 130,15,'photo_7752331.html');
												thumbnails[7752332] = new thumbnail(7752332,'419007','EC16','16_thumb.jpg',130, 87,15,'photo_7752332.html');
												thumbnails[7752333] = new thumbnail(7752333,'419007','EC17','17_thumb.jpg',130, 87,15,'photo_7752333.html');
												thumbnails[7752334] = new thumbnail(7752334,'419007','EC18','18_thumb.jpg',130, 87,15,'photo_7752334.html');
												thumbnails[7752335] = new thumbnail(7752335,'419007','EC19','19_thumb.jpg',130, 87,15,'photo_7752335.html');
												thumbnails[7752337] = new thumbnail(7752337,'419007','EC20','20_thumb.jpg',130, 87,15,'photo_7752337.html');
												thumbnails[7762720] = new thumbnail(7762720,'419464','AB002','AB002_thumb.jpg',130, 87,15,'photo_7762720.html');
												thumbnails[7857526] = new thumbnail(7857526,'424078','YCA10','YCA10_thumb.jpg',130, 87,15,'photo_7857526.html');
												thumbnails[7752338] = new thumbnail(7752338,'419007','EC21','21_thumb.jpg',87, 130,15,'photo_7752338.html');
												thumbnails[7752339] = new thumbnail(7752339,'419007','EC22','22_thumb.jpg',130, 87,15,'photo_7752339.html');
												thumbnails[7752340] = new thumbnail(7752340,'419007','EC23','23_thumb.jpg',130, 87,15,'photo_7752340.html');
												thumbnails[7752341] = new thumbnail(7752341,'419007','EC24','24_thumb.jpg',130, 87,15,'photo_7752341.html');
												thumbnails[7752342] = new thumbnail(7752342,'419007','EC25','25_thumb.jpg',130, 87,15,'photo_7752342.html');
												thumbnails[7752343] = new thumbnail(7752343,'419007','EC26','26_thumb.jpg',130, 87,15,'photo_7752343.html');
												thumbnails[7752344] = new thumbnail(7752344,'419007','EC27','27_thumb.jpg',130, 87,15,'photo_7752344.html');
												thumbnails[7752345] = new thumbnail(7752345,'419007','EC28','28_thumb.jpg',87, 130,15,'photo_7752345.html');
												thumbnails[7752346] = new thumbnail(7752346,'419007','EC29','29_thumb.jpg',87, 130,15,'photo_7752346.html');
												thumbnails[7752348] = new thumbnail(7752348,'419007','EC30','30_thumb.jpg',87, 130,15,'photo_7752348.html');
												thumbnails[7762721] = new thumbnail(7762721,'419464','AB003','AB003_thumb.jpg',130, 87,15,'photo_7762721.html');
												thumbnails[7857527] = new thumbnail(7857527,'424078','YCA11','YCA11_thumb.jpg',130, 87,15,'photo_7857527.html');
												thumbnails[7752349] = new thumbnail(7752349,'419007','EC31','31_thumb.jpg',87, 130,15,'photo_7752349.html');
												thumbnails[7752350] = new thumbnail(7752350,'419007','EC32','32_thumb.jpg',130, 87,15,'photo_7752350.html');
												thumbnails[7752351] = new thumbnail(7752351,'419007','EC33','33_thumb.jpg',87, 130,15,'photo_7752351.html');
												thumbnails[7752352] = new thumbnail(7752352,'419007','EC34','34_thumb.jpg',87, 130,15,'photo_7752352.html');
												thumbnails[7762722] = new thumbnail(7762722,'419464','AB004','AB004_thumb.jpg',86, 130,15,'photo_7762722.html');
												thumbnails[7857528] = new thumbnail(7857528,'424078','YCA12','YCA12_thumb.jpg',130, 87,15,'photo_7857528.html');
												thumbnails[7762723] = new thumbnail(7762723,'419464','AB005','AB005_thumb.jpg',87, 130,15,'photo_7762723.html');
												thumbnails[7857529] = new thumbnail(7857529,'424078','YCA13','YCA13_thumb.jpg',130, 87,15,'photo_7857529.html');
												thumbnails[7762724] = new thumbnail(7762724,'419464','AB006','AB006_thumb.jpg',87, 130,15,'photo_7762724.html');
												thumbnails[7857530] = new thumbnail(7857530,'424078','YCA14','YCA14_thumb.jpg',130, 87,15,'photo_7857530.html');
												thumbnails[7762725] = new thumbnail(7762725,'419464','AB007','AB007_thumb.jpg',130, 87,15,'photo_7762725.html');
												thumbnails[7857531] = new thumbnail(7857531,'424078','YCA15','YCA15_thumb.jpg',87, 130,15,'photo_7857531.html');
												thumbnails[7762726] = new thumbnail(7762726,'419464','AB008','AB008_thumb.jpg',87, 130,15,'photo_7762726.html');
												thumbnails[7857532] = new thumbnail(7857532,'424078','YCA16','YCA16_thumb.jpg',130, 87,15,'photo_7857532.html');
												thumbnails[7762727] = new thumbnail(7762727,'419464','AB009','AB009_thumb.jpg',87, 130,15,'photo_7762727.html');
												thumbnails[7857533] = new thumbnail(7857533,'424078','YCA17','YCA17_thumb.jpg',130, 87,15,'photo_7857533.html');
												thumbnails[7762728] = new thumbnail(7762728,'419464','AB010','AB010_thumb.jpg',130, 87,15,'photo_7762728.html');
												thumbnails[7857534] = new thumbnail(7857534,'424078','YCA18','YCA18_thumb.jpg',87, 130,15,'photo_7857534.html');
												thumbnails[7762729] = new thumbnail(7762729,'419464','AB011','AB011_thumb.jpg',87, 130,15,'photo_7762729.html');
												thumbnails[7857535] = new thumbnail(7857535,'424078','YCA19','YCA19_thumb.jpg',130, 87,15,'photo_7857535.html');
												thumbnails[7762730] = new thumbnail(7762730,'419464','AB012','AB012_thumb.jpg',87, 130,15,'photo_7762730.html');
												thumbnails[7762731] = new thumbnail(7762731,'419464','AB013','AB013_thumb.jpg',87, 130,15,'photo_7762731.html');
												thumbnails[7857537] = new thumbnail(7857537,'424078','YCA20','YCA20_thumb.jpg',130, 87,15,'photo_7857537.html');
												thumbnails[7762732] = new thumbnail(7762732,'419464','AB014','AB014_thumb.jpg',130, 87,15,'photo_7762732.html');
												thumbnails[7857538] = new thumbnail(7857538,'424078','YCA21','YCA21_thumb.jpg',130, 87,15,'photo_7857538.html');
												thumbnails[7762733] = new thumbnail(7762733,'419464','AB015','AB015_thumb.jpg',87, 130,15,'photo_7762733.html');
												thumbnails[7857539] = new thumbnail(7857539,'424078','YCA22','YCA22_thumb.jpg',130, 87,15,'photo_7857539.html');
												thumbnails[7762734] = new thumbnail(7762734,'419464','AB016','AB016_thumb.jpg',130, 87,15,'photo_7762734.html');
												thumbnails[7857541] = new thumbnail(7857541,'424078','YCA23','YCA23_thumb.jpg',130, 87,15,'photo_7857541.html');
												thumbnails[7762735] = new thumbnail(7762735,'419464','AB017','AB017_thumb.jpg',87, 130,15,'photo_7762735.html');
												thumbnails[7857542] = new thumbnail(7857542,'424078','YCA24','YCA24_thumb.jpg',130, 87,15,'photo_7857542.html');
												thumbnails[7762736] = new thumbnail(7762736,'419464','AB018','AB018_thumb.jpg',130, 87,15,'photo_7762736.html');
												thumbnails[7857543] = new thumbnail(7857543,'424078','YCA25','YCA25_thumb.jpg',87, 130,15,'photo_7857543.html');
												thumbnails[7762737] = new thumbnail(7762737,'419464','AB019','AB019_thumb.jpg',130, 87,15,'photo_7762737.html');
												thumbnails[7857544] = new thumbnail(7857544,'424078','YCA26','YCA26_thumb.jpg',87, 130,15,'photo_7857544.html');
												thumbnails[7762738] = new thumbnail(7762738,'419464','AB020','AB020_thumb.jpg',130, 87,15,'photo_7762738.html');
												thumbnails[7857545] = new thumbnail(7857545,'424078','YCA27','YCA27_thumb.jpg',130, 87,15,'photo_7857545.html');
												thumbnails[7762739] = new thumbnail(7762739,'419464','AB021','AB021_thumb.jpg',130, 87,15,'photo_7762739.html');
												thumbnails[7857546] = new thumbnail(7857546,'424078','YCA28','YCA28_thumb.jpg',130, 87,15,'photo_7857546.html');
												thumbnails[7762740] = new thumbnail(7762740,'419464','AB022','AB022_thumb.jpg',130, 87,15,'photo_7762740.html');
												thumbnails[7857547] = new thumbnail(7857547,'424078','YCA29','YCA29_thumb.jpg',130, 87,15,'photo_7857547.html');
												thumbnails[7762741] = new thumbnail(7762741,'419464','AB023','AB023_thumb.jpg',130, 87,15,'photo_7762741.html');
												thumbnails[7762742] = new thumbnail(7762742,'419464','AB024','AB024_thumb.jpg',130, 87,15,'photo_7762742.html');
												thumbnails[7857549] = new thumbnail(7857549,'424078','YCA30','YCA30_thumb.jpg',130, 87,15,'photo_7857549.html');
												thumbnails[7762743] = new thumbnail(7762743,'419464','AB025','AB025_thumb.jpg',130, 87,15,'photo_7762743.html');
												thumbnails[7857550] = new thumbnail(7857550,'424078','YCA31','YCA31_thumb.jpg',130, 87,15,'photo_7857550.html');
												thumbnails[7762744] = new thumbnail(7762744,'419464','AB026','AB026_thumb.jpg',130, 87,15,'photo_7762744.html');
												thumbnails[7857551] = new thumbnail(7857551,'424078','YCA32','YCA32_thumb.jpg',87, 130,15,'photo_7857551.html');
												thumbnails[7762745] = new thumbnail(7762745,'419464','AB027','AB027_thumb.jpg',130, 87,15,'photo_7762745.html');
												thumbnails[7857552] = new thumbnail(7857552,'424078','YCA33','YCA33_thumb.jpg',87, 130,15,'photo_7857552.html');
												thumbnails[7762746] = new thumbnail(7762746,'419464','AB028','AB028_thumb.jpg',130, 87,15,'photo_7762746.html');
												thumbnails[7857553] = new thumbnail(7857553,'424078','YCA34','YCA34_thumb.jpg',130, 87,15,'photo_7857553.html');
												thumbnails[7762747] = new thumbnail(7762747,'419464','AB029','AB029_thumb.jpg',130, 87,15,'photo_7762747.html');
												thumbnails[7857554] = new thumbnail(7857554,'424078','YCA35','YCA35_thumb.jpg',130, 87,15,'photo_7857554.html');
												thumbnails[7762748] = new thumbnail(7762748,'419464','AB030','AB030_thumb.jpg',130, 87,15,'photo_7762748.html');
												thumbnails[7857555] = new thumbnail(7857555,'424078','YCA36','YCA36_thumb.jpg',130, 87,15,'photo_7857555.html');
												thumbnails[7762749] = new thumbnail(7762749,'419464','AB031','AB031_thumb.jpg',130, 87,15,'photo_7762749.html');
												thumbnails[7857556] = new thumbnail(7857556,'424078','YCA37','YCA37_thumb.jpg',87, 130,15,'photo_7857556.html');
												thumbnails[7762750] = new thumbnail(7762750,'419464','AB032','AB032_thumb.jpg',130, 87,15,'photo_7762750.html');
												thumbnails[7857557] = new thumbnail(7857557,'424078','YCA38','YCA38_thumb.jpg',87, 130,15,'photo_7857557.html');
												thumbnails[7762751] = new thumbnail(7762751,'419464','AB033','AB033_thumb.jpg',130, 87,15,'photo_7762751.html');
												thumbnails[7857558] = new thumbnail(7857558,'424078','YCA39','YCA39_thumb.jpg',130, 87,15,'photo_7857558.html');
												thumbnails[7762752] = new thumbnail(7762752,'419464','AB034','AB034_thumb.jpg',87, 130,15,'photo_7762752.html');
												thumbnails[7762753] = new thumbnail(7762753,'419464','AB035','AB035_thumb.jpg',87, 130,15,'photo_7762753.html');
												thumbnails[7857560] = new thumbnail(7857560,'424078','YCA40','YCA40_thumb.jpg',130, 87,15,'photo_7857560.html');
												thumbnails[7762754] = new thumbnail(7762754,'419464','AB036','AB036_thumb.jpg',87, 130,15,'photo_7762754.html');
												thumbnails[7857561] = new thumbnail(7857561,'424078','YCA41','YCA41_thumb.jpg',87, 130,15,'photo_7857561.html');
												thumbnails[7762755] = new thumbnail(7762755,'419464','AB037','AB037_thumb.jpg',87, 130,15,'photo_7762755.html');
												thumbnails[7857562] = new thumbnail(7857562,'424078','YCA42','YCA42_thumb.jpg',130, 87,15,'photo_7857562.html');
												thumbnails[7762756] = new thumbnail(7762756,'419464','AB038','AB038_thumb.jpg',87, 130,15,'photo_7762756.html');
												thumbnails[7857563] = new thumbnail(7857563,'424078','YCA43','YCA43_thumb.jpg',130, 87,15,'photo_7857563.html');
												thumbnails[7762757] = new thumbnail(7762757,'419464','AB039','AB039_thumb.jpg',87, 130,15,'photo_7762757.html');
												thumbnails[7857565] = new thumbnail(7857565,'424078','YCA44','YCA44_thumb.jpg',130, 87,15,'photo_7857565.html');
												thumbnails[7762758] = new thumbnail(7762758,'419464','AB040','AB040_thumb.jpg',130, 87,15,'photo_7762758.html');
												thumbnails[7857566] = new thumbnail(7857566,'424078','YCA45','YCA45_thumb.jpg',87, 130,15,'photo_7857566.html');
												thumbnails[7762759] = new thumbnail(7762759,'419464','AB041','AB041_thumb.jpg',130, 87,15,'photo_7762759.html');
												thumbnails[7857567] = new thumbnail(7857567,'424078','YCA46','YCA46_thumb.jpg',130, 87,15,'photo_7857567.html');
												thumbnails[7762760] = new thumbnail(7762760,'419464','AB042','AB042_thumb.jpg',130, 87,15,'photo_7762760.html');
												thumbnails[7857568] = new thumbnail(7857568,'424078','YCA47','YCA47_thumb.jpg',130, 87,15,'photo_7857568.html');
												thumbnails[7762761] = new thumbnail(7762761,'419464','AB043','AB043_thumb.jpg',130, 87,15,'photo_7762761.html');
												thumbnails[7857569] = new thumbnail(7857569,'424078','YCA48','YCA48_thumb.jpg',130, 87,15,'photo_7857569.html');
												thumbnails[7762762] = new thumbnail(7762762,'419464','AB044','AB044_thumb.jpg',130, 87,15,'photo_7762762.html');
												thumbnails[7857570] = new thumbnail(7857570,'424078','YCA49','YCA49_thumb.jpg',87, 130,15,'photo_7857570.html');
												thumbnails[7762763] = new thumbnail(7762763,'419464','AB045','AB045_thumb.jpg',130, 87,15,'photo_7762763.html');
												thumbnails[7762764] = new thumbnail(7762764,'419464','AB046','AB046_thumb.jpg',130, 87,15,'photo_7762764.html');
												thumbnails[7857572] = new thumbnail(7857572,'424078','YCA50','YCA50_thumb.jpg',130, 87,15,'photo_7857572.html');
												thumbnails[7762765] = new thumbnail(7762765,'419464','AB047','AB047_thumb.jpg',87, 130,15,'photo_7762765.html');
												thumbnails[7857573] = new thumbnail(7857573,'424078','YCA51','YCA51_thumb.jpg',130, 87,15,'photo_7857573.html');
												thumbnails[7762766] = new thumbnail(7762766,'419464','AB048','AB048_thumb.jpg',130, 87,15,'photo_7762766.html');
												thumbnails[7857574] = new thumbnail(7857574,'424078','YCA52','YCA52_thumb.jpg',87, 130,15,'photo_7857574.html');
												thumbnails[7762767] = new thumbnail(7762767,'419464','AB049','AB049_thumb.jpg',87, 130,15,'photo_7762767.html');
												thumbnails[7857575] = new thumbnail(7857575,'424078','YCA53','YCA53_thumb.jpg',87, 130,15,'photo_7857575.html');
												thumbnails[7762768] = new thumbnail(7762768,'419464','AB050','AB050_thumb.jpg',130, 87,15,'photo_7762768.html');
												thumbnails[7857576] = new thumbnail(7857576,'424078','YCA54','YCA54_thumb.jpg',87, 130,15,'photo_7857576.html');
												thumbnails[7762769] = new thumbnail(7762769,'419464','AB051','AB051_thumb.jpg',130, 87,15,'photo_7762769.html');
												thumbnails[7857577] = new thumbnail(7857577,'424078','YCA55','YCA55_thumb.jpg',87, 130,15,'photo_7857577.html');
												thumbnails[7762770] = new thumbnail(7762770,'419464','AB052','AB052_thumb.jpg',130, 87,15,'photo_7762770.html');
												thumbnails[7857578] = new thumbnail(7857578,'424078','YCA56','YCA56_thumb.jpg',87, 130,15,'photo_7857578.html');
												thumbnails[7762771] = new thumbnail(7762771,'419464','AB053','AB053_thumb.jpg',87, 130,15,'photo_7762771.html');
												thumbnails[7857579] = new thumbnail(7857579,'424078','YCA57','YCA57_thumb.jpg',87, 130,15,'photo_7857579.html');
												thumbnails[7762772] = new thumbnail(7762772,'419464','AB054','AB054_thumb.jpg',87, 130,15,'photo_7762772.html');
												thumbnails[7857580] = new thumbnail(7857580,'424078','YCA58','YCA58_thumb.jpg',130, 87,15,'photo_7857580.html');
												thumbnails[7762773] = new thumbnail(7762773,'419464','AB055','AB055_thumb.jpg',87, 130,15,'photo_7762773.html');
												thumbnails[7857581] = new thumbnail(7857581,'424078','YCA59','YCA59_thumb.jpg',87, 130,15,'photo_7857581.html');
												thumbnails[7762774] = new thumbnail(7762774,'419464','AB056','AB056_thumb.jpg',87, 130,15,'photo_7762774.html');
												thumbnails[7762775] = new thumbnail(7762775,'419464','AB057','AB057_thumb.jpg',87, 130,15,'photo_7762775.html');
												thumbnails[7857583] = new thumbnail(7857583,'424078','YCA60','YCA60_thumb.jpg',87, 130,15,'photo_7857583.html');
												thumbnails[7762776] = new thumbnail(7762776,'419464','AB058','AB058_thumb.jpg',130, 87,15,'photo_7762776.html');
												thumbnails[7857584] = new thumbnail(7857584,'424078','YCA61','YCA61_thumb.jpg',87, 130,15,'photo_7857584.html');
												thumbnails[7762777] = new thumbnail(7762777,'419464','AB059','AB059_thumb.jpg',87, 130,15,'photo_7762777.html');
												thumbnails[7857585] = new thumbnail(7857585,'424078','YCA62','YCA62_thumb.jpg',87, 130,15,'photo_7857585.html');
												thumbnails[7762778] = new thumbnail(7762778,'419464','AB060','AB060_thumb.jpg',87, 130,15,'photo_7762778.html');
												thumbnails[7857586] = new thumbnail(7857586,'424078','YCA63','YCA63_thumb.jpg',130, 87,15,'photo_7857586.html');
												thumbnails[7762779] = new thumbnail(7762779,'419464','AB061','AB061_thumb.jpg',87, 130,15,'photo_7762779.html');
												thumbnails[7857588] = new thumbnail(7857588,'424078','YCA64','YCA64_thumb.jpg',130, 87,15,'photo_7857588.html');
												thumbnails[7762780] = new thumbnail(7762780,'419464','AB062','AB062_thumb.jpg',87, 130,15,'photo_7762780.html');
												thumbnails[7857589] = new thumbnail(7857589,'424078','YCA65','YCA65_thumb.jpg',87, 130,15,'photo_7857589.html');
												thumbnails[7762781] = new thumbnail(7762781,'419464','AB063','AB063_thumb.jpg',130, 87,15,'photo_7762781.html');
												thumbnails[7857590] = new thumbnail(7857590,'424078','YCA66','YCA66_thumb.jpg',87, 130,15,'photo_7857590.html');
												thumbnails[7762782] = new thumbnail(7762782,'419464','AB064','AB064_thumb.jpg',87, 130,15,'photo_7762782.html');
												thumbnails[7857591] = new thumbnail(7857591,'424078','YCA67','YCA67_thumb.jpg',130, 87,15,'photo_7857591.html');
												thumbnails[7762783] = new thumbnail(7762783,'419464','AB065','AB065_thumb.jpg',130, 87,15,'photo_7762783.html');
												thumbnails[7857592] = new thumbnail(7857592,'424078','YCA68','YCA68_thumb.jpg',130, 87,15,'photo_7857592.html');
												thumbnails[7762784] = new thumbnail(7762784,'419464','AB066','AB066_thumb.jpg',87, 130,15,'photo_7762784.html');
												thumbnails[7857593] = new thumbnail(7857593,'424078','YCA69','YCA69_thumb.jpg',87, 130,15,'photo_7857593.html');
												thumbnails[7762785] = new thumbnail(7762785,'419464','AB067','AB067_thumb.jpg',130, 87,15,'photo_7762785.html');
												thumbnails[7762803] = new thumbnail(7762803,'419464','AB068','AB068_thumb.jpg',130, 87,15,'photo_7762803.html');
												thumbnails[7857595] = new thumbnail(7857595,'424078','YCA70','YCA70_thumb.jpg',87, 130,15,'photo_7857595.html');
												thumbnails[7762804] = new thumbnail(7762804,'419464','AB069','AB069_thumb.jpg',130, 87,15,'photo_7762804.html');
												thumbnails[7857596] = new thumbnail(7857596,'424078','YCA71','YCA71_thumb.jpg',87, 130,15,'photo_7857596.html');
												thumbnails[7762805] = new thumbnail(7762805,'419464','AB070','AB070_thumb.jpg',130, 87,15,'photo_7762805.html');
												thumbnails[7857597] = new thumbnail(7857597,'424078','YCA72','YCA72_thumb.jpg',130, 87,15,'photo_7857597.html');
												thumbnails[7762806] = new thumbnail(7762806,'419464','AB071','AB071_thumb.jpg',130, 87,15,'photo_7762806.html');
												thumbnails[7857598] = new thumbnail(7857598,'424078','YCA73','YCA73_thumb.jpg',87, 130,15,'photo_7857598.html');
												thumbnails[7762807] = new thumbnail(7762807,'419464','AB072','AB072_thumb.jpg',130, 87,15,'photo_7762807.html');
												thumbnails[7857599] = new thumbnail(7857599,'424078','YCA74','YCA74_thumb.jpg',87, 130,15,'photo_7857599.html');
												thumbnails[7762808] = new thumbnail(7762808,'419464','AB073','AB073_thumb.jpg',130, 87,15,'photo_7762808.html');
												thumbnails[7857600] = new thumbnail(7857600,'424078','YCA75','YCA75_thumb.jpg',87, 130,15,'photo_7857600.html');
												thumbnails[7762809] = new thumbnail(7762809,'419464','AB074','AB074_thumb.jpg',130, 87,15,'photo_7762809.html');
												thumbnails[7762810] = new thumbnail(7762810,'419464','AB075','AB075_thumb.jpg',130, 87,15,'photo_7762810.html');
												thumbnails[7762811] = new thumbnail(7762811,'419464','AB076','AB076_thumb.jpg',130, 87,15,'photo_7762811.html');
												thumbnails[7762812] = new thumbnail(7762812,'419464','AB077','AB077_thumb.jpg',87, 130,15,'photo_7762812.html');
												thumbnails[7762813] = new thumbnail(7762813,'419464','AB078','AB078_thumb.jpg',130, 87,15,'photo_7762813.html');
												thumbnails[7762814] = new thumbnail(7762814,'419464','AB079','AB079_thumb.jpg',130, 87,15,'photo_7762814.html');
												thumbnails[7762815] = new thumbnail(7762815,'419464','AB080','AB080_thumb.jpg',130, 87,15,'photo_7762815.html');
												thumbnails[7762816] = new thumbnail(7762816,'419464','AB081','AB081_thumb.jpg',87, 130,15,'photo_7762816.html');
												thumbnails[7762817] = new thumbnail(7762817,'419464','AB082','AB082_thumb.jpg',87, 130,15,'photo_7762817.html');
												thumbnails[7762818] = new thumbnail(7762818,'419464','AB083','AB083_thumb.jpg',87, 130,15,'photo_7762818.html');
												thumbnails[7762819] = new thumbnail(7762819,'419464','AB084','AB084_thumb.jpg',130, 87,15,'photo_7762819.html');
												thumbnails[7762820] = new thumbnail(7762820,'419464','AB085','AB085_thumb.jpg',130, 87,15,'photo_7762820.html');
												thumbnails[7762821] = new thumbnail(7762821,'419464','AB086','AB086_thumb.jpg',130, 87,15,'photo_7762821.html');
												thumbnails[7762822] = new thumbnail(7762822,'419464','AB087','AB087_thumb.jpg',130, 87,15,'photo_7762822.html');
												thumbnails[7762823] = new thumbnail(7762823,'419464','AB088','AB088_thumb.jpg',130, 87,15,'photo_7762823.html');
												thumbnails[7762824] = new thumbnail(7762824,'419464','AB089','AB089_thumb.jpg',130, 87,15,'photo_7762824.html');
												thumbnails[7762825] = new thumbnail(7762825,'419464','AB090','AB090_thumb.jpg',87, 130,15,'photo_7762825.html');
												thumbnails[7762826] = new thumbnail(7762826,'419464','AB091','AB091_thumb.jpg',87, 130,15,'photo_7762826.html');
												thumbnails[7762828] = new thumbnail(7762828,'419464','AB092','AB092_thumb.jpg',130, 87,15,'photo_7762828.html');
												thumbnails[7762830] = new thumbnail(7762830,'419464','AB093','AB093_thumb.jpg',87, 130,15,'photo_7762830.html');
												thumbnails[7762832] = new thumbnail(7762832,'419464','AB094','AB094_thumb.jpg',87, 130,15,'photo_7762832.html');
												thumbnails[7762834] = new thumbnail(7762834,'419464','AB095','AB095_thumb.jpg',130, 87,15,'photo_7762834.html');
												thumbnails[7762872] = new thumbnail(7762872,'419464','AB096','AB096_thumb.jpg',87, 130,15,'photo_7762872.html');
												thumbnails[7762873] = new thumbnail(7762873,'419464','AB097','AB097_thumb.jpg',87, 130,15,'photo_7762873.html');
												thumbnails[7762874] = new thumbnail(7762874,'419464','AB098','AB098_thumb.jpg',87, 130,15,'photo_7762874.html');
												thumbnails[7762876] = new thumbnail(7762876,'419464','AB099','AB099_thumb.jpg',130, 87,15,'photo_7762876.html');
												thumbnails[7762877] = new thumbnail(7762877,'419464','AB100','AB100_thumb.jpg',130, 87,15,'photo_7762877.html');
												thumbnails[7762878] = new thumbnail(7762878,'419464','AB101','AB101_thumb.jpg',130, 87,15,'photo_7762878.html');
												thumbnails[7762879] = new thumbnail(7762879,'419464','AB102','AB102_thumb.jpg',130, 87,15,'photo_7762879.html');
												thumbnails[7762880] = new thumbnail(7762880,'419464','AB103','AB103_thumb.jpg',130, 87,15,'photo_7762880.html');
												thumbnails[7762881] = new thumbnail(7762881,'419464','AB104','AB104_thumb.jpg',130, 86,15,'photo_7762881.html');
												thumbnails[7762882] = new thumbnail(7762882,'419464','AB105','AB105_thumb.jpg',130, 87,15,'photo_7762882.html');
												thumbnails[7762883] = new thumbnail(7762883,'419464','AB106','AB106_thumb.jpg',130, 87,15,'photo_7762883.html');
												thumbnails[7762884] = new thumbnail(7762884,'419464','AB107','AB107_thumb.jpg',130, 87,15,'photo_7762884.html');
												thumbnails[7762885] = new thumbnail(7762885,'419464','AB108','AB108_thumb.jpg',130, 87,15,'photo_7762885.html');
												thumbnails[7762886] = new thumbnail(7762886,'419464','AB109','AB109_thumb.jpg',130, 87,15,'photo_7762886.html');
												thumbnails[7762887] = new thumbnail(7762887,'419464','AB110','AB110_thumb.jpg',130, 87,15,'photo_7762887.html');
												thumbnails[7762888] = new thumbnail(7762888,'419464','AB111','AB111_thumb.jpg',87, 130,15,'photo_7762888.html');
												thumbnails[7857661] = new thumbnail(7857661,'424078','YCA76','YCA76_thumb.jpg',87, 130,15,'photo_7857661.html');
												thumbnails[7857662] = new thumbnail(7857662,'424078','YCA77','YCA77_thumb.jpg',87, 130,15,'photo_7857662.html');
												thumbnails[7857664] = new thumbnail(7857664,'424078','YCA78','YCA78_thumb.jpg',130, 87,15,'photo_7857664.html');
												thumbnails[7857665] = new thumbnail(7857665,'424078','YCA79','YCA79_thumb.jpg',130, 87,15,'photo_7857665.html');
												thumbnails[7857669] = new thumbnail(7857669,'424078','YCA80','YCA80_thumb.jpg',87, 130,15,'photo_7857669.html');
												thumbnails[7857670] = new thumbnail(7857670,'424078','YCA81','YCA81_thumb.jpg',130, 87,15,'photo_7857670.html');
												thumbnails[7857672] = new thumbnail(7857672,'424078','YCA82','YCA82_thumb.jpg',130, 87,15,'photo_7857672.html');
												thumbnails[7857673] = new thumbnail(7857673,'424078','YCA83','YCA83_thumb.jpg',130, 87,15,'photo_7857673.html');
												thumbnails[7857675] = new thumbnail(7857675,'424078','YCA84','YCA84_thumb.jpg',130, 87,15,'photo_7857675.html');
												thumbnails[7857676] = new thumbnail(7857676,'424078','YCA85','YCA85_thumb.jpg',130, 87,15,'photo_7857676.html');
												thumbnails[7857678] = new thumbnail(7857678,'424078','YCA86','YCA86_thumb.jpg',87, 130,15,'photo_7857678.html');
												thumbnails[7857679] = new thumbnail(7857679,'424078','YCA87','YCA87_thumb.jpg',87, 130,15,'photo_7857679.html');
												thumbnails[7857681] = new thumbnail(7857681,'424078','YCA88','YCA88_thumb.jpg',130, 87,15,'photo_7857681.html');
												thumbnails[7857682] = new thumbnail(7857682,'424078','YCA89','YCA89_thumb.jpg',130, 87,15,'photo_7857682.html');
												thumbnails[7857685] = new thumbnail(7857685,'424078','YCA90','YCA90_thumb.jpg',130, 87,15,'photo_7857685.html');
												thumbnails[7857687] = new thumbnail(7857687,'424078','YCA91','YCA91_thumb.jpg',130, 87,15,'photo_7857687.html');
												thumbnails[7857688] = new thumbnail(7857688,'424078','YCA92','YCA92_thumb.jpg',130, 87,15,'photo_7857688.html');
												thumbnails[7857690] = new thumbnail(7857690,'424078','YCA93','YCA93_thumb.jpg',130, 87,15,'photo_7857690.html');
												thumbnails[7857692] = new thumbnail(7857692,'424078','YCA94','YCA94_thumb.jpg',130, 87,15,'photo_7857692.html');
												thumbnails[7857693] = new thumbnail(7857693,'424078','YCA95','YCA95_thumb.jpg',87, 130,15,'photo_7857693.html');
												thumbnails[7857695] = new thumbnail(7857695,'424078','YCA96','YCA96_thumb.jpg',87, 130,15,'photo_7857695.html');
												thumbnails[7857696] = new thumbnail(7857696,'424078','YCA97','YCA97_thumb.jpg',87, 130,15,'photo_7857696.html');
												thumbnails[7857697] = new thumbnail(7857697,'424078','YCA98','YCA98_thumb.jpg',130, 87,15,'photo_7857697.html');
												thumbnails[7857699] = new thumbnail(7857699,'424078','YCA99','YCA99_thumb.jpg',87, 130,15,'photo_7857699.html');
												thumbnails[7762889] = new thumbnail(7762889,'419464','AB112','AB112_thumb.jpg',130, 87,15,'photo_7762889.html');
												thumbnails[7762890] = new thumbnail(7762890,'419464','AB113','AB113_thumb.jpg',130, 87,15,'photo_7762890.html');
												thumbnails[7762891] = new thumbnail(7762891,'419464','AB114','AB114_thumb.jpg',130, 87,15,'photo_7762891.html');
												thumbnails[7762892] = new thumbnail(7762892,'419464','AB115','AB115_thumb.jpg',130, 87,15,'photo_7762892.html');
												thumbnails[7762893] = new thumbnail(7762893,'419464','AB116','AB116_thumb.jpg',130, 87,15,'photo_7762893.html');
												thumbnails[7762895] = new thumbnail(7762895,'419464','AB117','AB117_thumb.jpg',130, 87,15,'photo_7762895.html');
												thumbnails[7762896] = new thumbnail(7762896,'419464','AB118','AB118_thumb.jpg',130, 87,15,'photo_7762896.html');
												thumbnails[7762897] = new thumbnail(7762897,'419464','AB119','AB119_thumb.jpg',130, 87,15,'photo_7762897.html');
												thumbnails[7762898] = new thumbnail(7762898,'419464','AB120','AB120_thumb.jpg',130, 87,15,'photo_7762898.html');
												thumbnails[7762899] = new thumbnail(7762899,'419464','AB121','AB121_thumb.jpg',130, 87,15,'photo_7762899.html');
												thumbnails[7762900] = new thumbnail(7762900,'419464','AB122','AB122_thumb.jpg',130, 87,15,'photo_7762900.html');
												thumbnails[7762901] = new thumbnail(7762901,'419464','AB123','AB123_thumb.jpg',130, 87,15,'photo_7762901.html');
												thumbnails[7762902] = new thumbnail(7762902,'419464','AB124','AB124_thumb.jpg',130, 87,15,'photo_7762902.html');
												thumbnails[7762903] = new thumbnail(7762903,'419464','AB125','AB125_thumb.jpg',130, 87,15,'photo_7762903.html');
												thumbnails[7762904] = new thumbnail(7762904,'419464','AB126','AB126_thumb.jpg',130, 87,15,'photo_7762904.html');
												thumbnails[7762905] = new thumbnail(7762905,'419464','AB127','AB127_thumb.jpg',130, 87,15,'photo_7762905.html');
												thumbnails[7762906] = new thumbnail(7762906,'419464','AB128','AB128_thumb.jpg',130, 87,15,'photo_7762906.html');
												thumbnails[7762907] = new thumbnail(7762907,'419464','AB129','AB129_thumb.jpg',87, 130,15,'photo_7762907.html');
												thumbnails[7762908] = new thumbnail(7762908,'419464','AB130','AB130_thumb.jpg',130, 87,15,'photo_7762908.html');
												thumbnails[7762909] = new thumbnail(7762909,'419464','AB131','AB131_thumb.jpg',130, 87,15,'photo_7762909.html');
												thumbnails[7762910] = new thumbnail(7762910,'419464','AB132','AB132_thumb.jpg',130, 87,15,'photo_7762910.html');
												thumbnails[7762911] = new thumbnail(7762911,'419464','AB133','AB133_thumb.jpg',130, 87,15,'photo_7762911.html');
												thumbnails[7762912] = new thumbnail(7762912,'419464','AB134','AB134_thumb.jpg',130, 87,15,'photo_7762912.html');
												thumbnails[7762913] = new thumbnail(7762913,'419464','AB135','AB135_thumb.jpg',87, 130,15,'photo_7762913.html');
												thumbnails[7762914] = new thumbnail(7762914,'419464','AB136','AB136_thumb.jpg',130, 87,15,'photo_7762914.html');
												thumbnails[7762915] = new thumbnail(7762915,'419464','AB137','AB137_thumb.jpg',130, 87,15,'photo_7762915.html');
												thumbnails[7762916] = new thumbnail(7762916,'419464','AB138','AB138_thumb.jpg',130, 87,15,'photo_7762916.html');
												thumbnails[7762917] = new thumbnail(7762917,'419464','AB139','AB139_thumb.jpg',130, 87,15,'photo_7762917.html');
												thumbnails[7762918] = new thumbnail(7762918,'419464','AB140','AB140_thumb.jpg',130, 87,15,'photo_7762918.html');
												thumbnails[7762919] = new thumbnail(7762919,'419464','AB141','AB141_thumb.jpg',130, 87,15,'photo_7762919.html');
												thumbnails[7762920] = new thumbnail(7762920,'419464','AB142','AB142_thumb.jpg',130, 87,15,'photo_7762920.html');
												thumbnails[7762922] = new thumbnail(7762922,'419464','AB143','AB143_thumb.jpg',130, 87,15,'photo_7762922.html');
												thumbnails[7762923] = new thumbnail(7762923,'419464','AB144','AB144_thumb.jpg',130, 87,15,'photo_7762923.html');
												thumbnails[7762924] = new thumbnail(7762924,'419464','AB145','AB145_thumb.jpg',130, 87,15,'photo_7762924.html');
												thumbnails[7762925] = new thumbnail(7762925,'419464','AB146','AB146_thumb.jpg',130, 87,15,'photo_7762925.html');
												thumbnails[7762926] = new thumbnail(7762926,'419464','AB147','AB147_thumb.jpg',87, 130,15,'photo_7762926.html');
												thumbnails[7762927] = new thumbnail(7762927,'419464','AB148','AB148_thumb.jpg',130, 87,15,'photo_7762927.html');
												thumbnails[7762928] = new thumbnail(7762928,'419464','AB149','AB149_thumb.jpg',130, 87,15,'photo_7762928.html');
												thumbnails[7762930] = new thumbnail(7762930,'419464','AB150','AB150_thumb.jpg',87, 130,15,'photo_7762930.html');
												thumbnails[7762931] = new thumbnail(7762931,'419464','AB151','AB151_thumb.jpg',130, 87,15,'photo_7762931.html');
												thumbnails[7762932] = new thumbnail(7762932,'419464','AB152','AB152_thumb.jpg',130, 87,15,'photo_7762932.html');
												thumbnails[7762933] = new thumbnail(7762933,'419464','AB153','AB153_thumb.jpg',130, 87,15,'photo_7762933.html');
												thumbnails[7762934] = new thumbnail(7762934,'419464','AB154','AB154_thumb.jpg',130, 87,15,'photo_7762934.html');
												thumbnails[7762935] = new thumbnail(7762935,'419464','AB155','AB155_thumb.jpg',130, 87,15,'photo_7762935.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[419007] = new gallery(419007,'7765651,7765650,7765649,7765648,7752358,7752357,7752356,7752355,7752354,7752352','Economics Class of 2011','gallery',[7765648,7765649,7765650,7765651,7752354,7752355,7752356,7752357,7752358,7752326,7752327,7752328,7752329,7752330,7752331,7752332,7752333,7752334,7752335,7752337,7752338,7752339,7752340,7752341,7752342,7752343,7752344,7752345,7752346,7752348,7752349,7752350,7752351,7752352],0, 0, '', 'gallery_419007.html',0,0);
				  					galleries[424078] = new gallery(424078,'7857699,7857697,7857696,7857695,7857693,7857692,7857690,7857688,7857687,7857685','Young Creative Awards 2011','gallery',[7857525,7857536,7857548,7857559,7857571,7857582,7857594,7857667,7857684,7857526,7857527,7857528,7857529,7857530,7857531,7857532,7857533,7857534,7857535,7857537,7857538,7857539,7857541,7857542,7857543,7857544,7857545,7857546,7857547,7857549,7857550,7857551,7857552,7857553,7857554,7857555,7857556,7857557,7857558,7857560,7857561,7857562,7857563,7857565,7857566,7857567,7857568,7857569,7857570,7857572,7857573,7857574,7857575,7857576,7857577,7857578,7857579,7857580,7857581,7857583,7857584,7857585,7857586,7857588,7857589,7857590,7857591,7857592,7857593,7857595,7857596,7857597,7857598,7857599,7857600,7857661,7857662,7857664,7857665,7857669,7857670,7857672,7857673,7857675,7857676,7857678,7857679,7857681,7857682,7857685,7857687,7857688,7857690,7857692,7857693,7857695,7857696,7857697,7857699],0, 0, '', 'gallery_424078.html',0,0);
				  					galleries[419464] = new gallery(419464,'7762935,7762934,7762933,7762932,7762931,7762930,7762928,7762927,7762926,7762925','Architects Lectures Society Ball 2011','gallery',[7762719,7762720,7762721,7762722,7762723,7762724,7762725,7762726,7762727,7762728,7762729,7762730,7762731,7762732,7762733,7762734,7762735,7762736,7762737,7762738,7762739,7762740,7762741,7762742,7762743,7762744,7762745,7762746,7762747,7762748,7762749,7762750,7762751,7762752,7762753,7762754,7762755,7762756,7762757,7762758,7762759,7762760,7762761,7762762,7762763,7762764,7762765,7762766,7762767,7762768,7762769,7762770,7762771,7762772,7762773,7762774,7762775,7762776,7762777,7762778,7762779,7762780,7762781,7762782,7762783,7762784,7762785,7762803,7762804,7762805,7762806,7762807,7762808,7762809,7762810,7762811,7762812,7762813,7762814,7762815,7762816,7762817,7762818,7762819,7762820,7762821,7762822,7762823,7762824,7762825,7762826,7762828,7762830,7762832,7762834,7762872,7762873,7762874,7762876,7762877,7762878,7762879,7762880,7762881,7762882,7762883,7762884,7762885,7762886,7762887,7762888,7762889,7762890,7762891,7762892,7762893,7762895,7762896,7762897,7762898,7762899,7762900,7762901,7762902,7762903,7762904,7762905,7762906,7762907,7762908,7762909,7762910,7762911,7762912,7762913,7762914,7762915,7762916,7762917,7762918,7762919,7762920,7762922,7762923,7762924,7762925,7762926,7762927,7762928,7762930,7762931,7762932,7762933,7762934,7762935],0, 0, '', 'gallery_419464.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '7752358,7752357,7752356,7752355,7752354,7752352,7752351,7752350,7752349,7752348,7752346,7752345,7752344,7752343,7752342,7752341,7752340,7752339,7752338,7752337,7752335,7752334,7752333,7752332,7752331,7752330,7752329,7752328,7752327,7752326';
imageSets[3] = '7752358,7752357,7752356,7752355,7752354,7752352,7752351,7752350,7752349,7752348,7752346,7752345,7752344,7752343,7752342,7752341,7752340,7752339,7752338,7752337,7752335,7752334,7752333,7752332,7752331,7752330,7752329,7752328,7752327,7752326';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/laurap38/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/laurap38/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/laurap38/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/laurap38/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/laurap38/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/laurap38/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:'',
                    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 = 'Fresh Photography: ' + 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> &pound;' + (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="LAURAP38">';
		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;
	}
}

			

