window.thumbnails = new Object();
												thumbnails[7209024] = new thumbnail(7209024,'','BACKGROUND IMAGE-1','BACKGROUND IMAGE-1_thumb.jpg',160, 106,32,'#');
												thumbnails[7313381] = new thumbnail(7313381,'','clickpic-222','clickpic-222_thumb.jpg',160, 130,32,'#');
												thumbnails[7206569] = new thumbnail(7206569,'393557','BLACK BIRD ON ICE','HOME PAGE-1_9C0106AF-1EC9-DFB6-0906CF5E6EE0F4F7_thumb.jpg',160, 214,32,'photo_7206569.html');
												thumbnails[7206633] = new thumbnail(7206633,'392434','ENTWINED','HOME PAGE-2_thumb.jpg',160, 224,32,'photo_7206633.html');
												thumbnails[7206655] = new thumbnail(7206655,'164343','MILLENIUM WHEEL','HOME PAGE-10_thumb.jpg',160, 220,32,'photo_7206655.html');
												thumbnails[7206687] = new thumbnail(7206687,'393557','EARLY TREE LIGHT','HOME PAGE-12_thumb.jpg',160, 220,32,'photo_7206687.html');
												thumbnails[7209224] = new thumbnail(7209224,'164507','LAMBRETTA','HOME PAGE-20_thumb.jpg',160, 129,32,'photo_7209224.html');
												thumbnails[7209240] = new thumbnail(7209240,'393560','MANCHESTER CHRISTMAS MARKETS','HOME PAGE-30_thumb.jpg',160, 220,32,'photo_7209240.html');
												thumbnails[7237014] = new thumbnail(7237014,'164507','TAKING A BREAK','clickpic-53_thumb.jpg',160, 220,32,'photo_7237014.html');
												thumbnails[7251554] = new thumbnail(7251554,'164507','HANOI WHILST COOKING','clickpic-66_thumb.jpg',160, 220,32,'photo_7251554.html');
												thumbnails[7257253] = new thumbnail(7257253,'393557','ROOFTOP','clickpic-35_thumb.jpg',160, 130,32,'photo_7257253.html');
												thumbnails[7276509] = new thumbnail(7276509,'393557','VICTORIA PARK','clickpic-100_thumb.jpg',160, 130,32,'photo_7276509.html');
												thumbnails[7287629] = new thumbnail(7287629,'393557','BAND STAND','clickpic-126_thumb.jpg',160, 130,32,'photo_7287629.html');
												thumbnails[7296251] = new thumbnail(7296251,'393560','PIGEONS','clickpic-148_thumb.jpg',160, 130,32,'photo_7296251.html');
												thumbnails[7307389] = new thumbnail(7307389,'392434','DANDY LION BUD','clickpic-164_thumb.jpg',160, 220,32,'photo_7307389.html');
												thumbnails[7313364] = new thumbnail(7313364,'164343','MENAI BRIDGE','clickpic-166_thumb.jpg',160, 130,32,'photo_7313364.html');
												thumbnails[7318541] = new thumbnail(7318541,'164343','RED & BLUE','clickpic-226_thumb.jpg',160, 220,32,'photo_7318541.html');
												thumbnails[7327434] = new thumbnail(7327434,'164343','MILLENIUM BRIDGE','clickpic-240_thumb.jpg',160, 118,32,'photo_7327434.html');
												thumbnails[7336133] = new thumbnail(7336133,'393560','CANADA HOUSE','clickpic (248 of 1)_thumb.jpg',160, 220,32,'photo_7336133.html');
												thumbnails[7353380] = new thumbnail(7353380,'225842','STRANGERS GROUP','clickpic (256 of 1)_thumb.jpg',160, 130,32,'photo_7353380.html');
												thumbnails[7360090] = new thumbnail(7360090,'393560','SMASHED','clickpic-261_thumb.jpg',160, 220,32,'photo_7360090.html');
												thumbnails[7367573] = new thumbnail(7367573,'393560','MERCHANTS BRIDGE','clickpic-267_thumb.jpg',160, 220,32,'photo_7367573.html');
												thumbnails[7390914] = new thumbnail(7390914,'393557','A34 MACCLESFIELD','clickpic-277_thumb.jpg',160, 130,32,'photo_7390914.html');
												thumbnails[7396913] = new thumbnail(7396913,'393560','MAUVE BROLLY','clickpic-285_thumb.jpg',160, 130,32,'photo_7396913.html');
												thumbnails[7413778] = new thumbnail(7413778,'393560','HELLO','clickpic-292_thumb.jpg',160, 130,32,'photo_7413778.html');
												thumbnails[7419173] = new thumbnail(7419173,'393560','','clickpic-293_thumb.jpg',160, 130,32,'photo_7419173.html');
												thumbnails[7470225] = new thumbnail(7470225,'168900','OLD MAN OF STORR','clickpic-298_thumb.jpg',160, 130,32,'photo_7470225.html');
												thumbnails[7481228] = new thumbnail(7481228,'168900','BLACL CLOUGH WATERFALL 1','BLACL CLOUGH-314_thumb.jpg',160, 220,32,'photo_7481228.html');
												thumbnails[7209220] = new thumbnail(7209220,'164343','BUCKIE HARBOUR','HOME PAGE-18_thumb.jpg',160, 81,32,'photo_7209220.html');
												thumbnails[7236845] = new thumbnail(7236845,'168900','RICE TERRACES','clickpic-48_thumb.jpg',160, 130,32,'photo_7236845.html');
												thumbnails[7250891] = new thumbnail(7250891,'393560','CASTLEFIELD','clickpic-59_thumb.jpg',160, 108,32,'photo_7250891.html');
												thumbnails[7209218] = new thumbnail(7209218,'393557','MACCLESFIELD','BACKGROUND IMAGE-40_thumb.jpg',160, 70,32,'photo_7209218.html');
												thumbnails[7257257] = new thumbnail(7257257,'164343','VIETNAMESE ARCH','clickpic-67_thumb.jpg',160, 130,32,'photo_7257257.html');
												thumbnails[7250888] = new thumbnail(7250888,'168900','WHITE NANCY','clickpic-56_thumb.jpg',160, 130,32,'photo_7250888.html');
												thumbnails[7257262] = new thumbnail(7257262,'393557','UNDERPASS','clickpic-78_thumb.jpg',160, 130,32,'photo_7257262.html');
												thumbnails[7251031] = new thumbnail(7251031,'393560','GARGOYLE','clickpic-62_thumb.jpg',160, 130,32,'photo_7251031.html');
												thumbnails[7257263] = new thumbnail(7257263,'393557','FOREST CHAPEL','clickpic-79_thumb.jpg',160, 130,32,'photo_7257263.html');
												thumbnails[7209236] = new thumbnail(7209236,'168900','SUNSET IN PORT KNOCKIE','HOME PAGE-26_thumb.jpg',160, 130,32,'photo_7209236.html');
												thumbnails[7206635] = new thumbnail(7206635,'392434','COW PARSLEY','HOME PAGE-4_thumb.jpg',160, 130,32,'photo_7206635.html');
												thumbnails[7206634] = new thumbnail(7206634,'393557','WINTER TREES','HOME PAGE-3_thumb.jpg',160, 125,32,'photo_7206634.html');
												thumbnails[7206688] = new thumbnail(7206688,'393557','RIDGEGATE RESEVOIR','HOME PAGE-13_thumb.jpg',160, 220,32,'photo_7206688.html');
												thumbnails[7206689] = new thumbnail(7206689,'168900','CROSBY BEACH','HOME PAGE-14_thumb.jpg',160, 101,32,'photo_7206689.html');
												thumbnails[7209241] = new thumbnail(7209241,'393560','CHRISTMAS MARKETS','HOME PAGE-31_thumb.jpg',160, 81,32,'photo_7209241.html');
												thumbnails[7234345] = new thumbnail(7234345,'393560','MIDLAND HOTEL','BACKGROUND IMAGE-42_thumb.jpg',160, 223,32,'photo_7234345.html');
												thumbnails[7237015] = new thumbnail(7237015,'164507','BROOM POWERED BIKE','clickpic-54_thumb.jpg',160, 129,32,'photo_7237015.html');
												thumbnails[7257254] = new thumbnail(7257254,'392434','AUTUMN LEAF','clickpic-43_thumb.jpg',160, 220,32,'photo_7257254.html');
												thumbnails[7276510] = new thumbnail(7276510,'392434','AUTUMN LEAVES','clickpic-101_thumb.jpg',160, 220,32,'photo_7276510.html');
												thumbnails[7287630] = new thumbnail(7287630,'393560','PICCADILLY GARDENS','clickpic-129_thumb.jpg',160, 130,32,'photo_7287630.html');
												thumbnails[7296252] = new thumbnail(7296252,'393560','TRINITY BRIDGE','clickpic-149_thumb.jpg',160, 220,32,'photo_7296252.html');
												thumbnails[7307390] = new thumbnail(7307390,'168900','PATH & CROSS','clickpic-165_thumb.jpg',160, 220,32,'photo_7307390.html');
												thumbnails[7313365] = new thumbnail(7313365,'393560','BRIDGE SUPPORTS','clickpic-206_thumb.jpg',160, 130,32,'photo_7313365.html');
												thumbnails[7318542] = new thumbnail(7318542,'393560','STAR LIGHT','clickpic-227_thumb.jpg',160, 130,32,'photo_7318542.html');
												thumbnails[7327435] = new thumbnail(7327435,'164343','SALFORD REFLECTION','clickpic-241_thumb.jpg',160, 114,32,'photo_7327435.html');
												thumbnails[7336134] = new thumbnail(7336134,'393560','RED','clickpic (249 of 1)_thumb.jpg',160, 220,32,'photo_7336134.html');
												thumbnails[7353381] = new thumbnail(7353381,'225842','SHOPPING TOGETHER','clickpic (257 of 1)_thumb.jpg',160, 130,32,'photo_7353381.html');
												thumbnails[7360091] = new thumbnail(7360091,'393560','MOTION-LESS','clickpic-262_thumb.jpg',160, 220,32,'photo_7360091.html');
												thumbnails[7367574] = new thumbnail(7367574,'393557','MACCLESFIELD STATION','clickpic-268_thumb.jpg',160, 220,32,'photo_7367574.html');
												thumbnails[7390915] = new thumbnail(7390915,'393560','M60 & TRAFFORD CENTRE','clickpic-278_thumb.jpg',160, 130,32,'photo_7390915.html');
												thumbnails[7396914] = new thumbnail(7396914,'393560','clickpic-286','clickpic-286_thumb.jpg',160, 130,32,'photo_7396914.html');
												thumbnails[7419174] = new thumbnail(7419174,'393560','URBAN BIKER','clickpic-294_thumb.jpg',160, 130,32,'photo_7419174.html');
												thumbnails[7470226] = new thumbnail(7470226,'168900','GLEAN ORAID WATERFALL','clickpic-300_thumb.jpg',160, 220,32,'photo_7470226.html');
												thumbnails[7481229] = new thumbnail(7481229,'168900','BLACL CLOUGH WATERFALL 2','BLACL CLOUGH-315_thumb.jpg',160, 130,32,'photo_7481229.html');
												thumbnails[7257255] = new thumbnail(7257255,'168900','SUNSET TREARDDUR BAY','clickpic-45_thumb.jpg',160, 130,32,'photo_7257255.html');
												thumbnails[7257256] = new thumbnail(7257256,'393560','CANAL STREET','clickpic-60_thumb.jpg',160, 129,32,'photo_7257256.html');
												thumbnails[7236847] = new thumbnail(7236847,'164507','STOP & GO','clickpic-50_thumb.jpg',160, 130,32,'photo_7236847.html');
												thumbnails[7237016] = new thumbnail(7237016,'164507','FULLY LOADED','clickpic-55_thumb.jpg',160, 133,32,'photo_7237016.html');
												thumbnails[7250890] = new thumbnail(7250890,'393557','STROLLING','clickpic-58_thumb.jpg',160, 130,32,'photo_7250890.html');
												thumbnails[7251555] = new thumbnail(7251555,'164507','PATIENTLY WAITING','clickpic-68_thumb.jpg',160, 130,32,'photo_7251555.html');
												thumbnails[7276511] = new thumbnail(7276511,'393557','MACCLESFIELD TOWN CENTRE','clickpic-102_thumb.jpg',160, 117,32,'photo_7276511.html');
												thumbnails[7287631] = new thumbnail(7287631,'393560','PICCADILLY GARDENS','clickpic-130_thumb.jpg',160, 130,32,'photo_7287631.html');
												thumbnails[7296253] = new thumbnail(7296253,'393560','JUSTICE REFLECTION','clickpic-150_thumb.jpg',160, 130,32,'photo_7296253.html');
												thumbnails[7313366] = new thumbnail(7313366,'393560','BRICK TOWER','clickpic-207_thumb.jpg',160, 220,32,'photo_7313366.html');
												thumbnails[7318543] = new thumbnail(7318543,'393560','LEANING','clickpic-228_thumb.jpg',160, 130,32,'photo_7318543.html');
												thumbnails[7327436] = new thumbnail(7327436,'164343','180 DEGREES','clickpic-242_thumb.jpg',160, 92,32,'photo_7327436.html');
												thumbnails[7336135] = new thumbnail(7336135,'393560','YOUNGER OLDER','clickpic (250 of 1)_thumb.jpg',160, 130,32,'photo_7336135.html');
												thumbnails[7353382] = new thumbnail(7353382,'225842','PASSENGER','clickpic (258 of 1)_thumb.jpg',160, 130,32,'photo_7353382.html');
												thumbnails[7360092] = new thumbnail(7360092,'393560','TWINS','clickpic-263_thumb.jpg',160, 217,32,'photo_7360092.html');
												thumbnails[7390916] = new thumbnail(7390916,'393560','GREEN & MAUVE','clickpic-279_thumb.jpg',160, 130,32,'photo_7390916.html');
												thumbnails[7396915] = new thumbnail(7396915,'393560','DAYGLOW SPEED','clickpic-287_thumb.jpg',160, 130,32,'photo_7396915.html');
												thumbnails[7419175] = new thumbnail(7419175,'393560','MEDIA CITY BRIDGE','clickpic-295_thumb.jpg',160, 130,32,'photo_7419175.html');
												thumbnails[7470227] = new thumbnail(7470227,'168900','GLEAN ORAID WATERFALL','clickpic-301_thumb.jpg',160, 130,32,'photo_7470227.html');
												thumbnails[7481230] = new thumbnail(7481230,'168900','BLACL CLOUGH WATERFALL 3','BLACL CLOUGH-316_thumb.jpg',160, 130,32,'photo_7481230.html');
												thumbnails[7236848] = new thumbnail(7236848,'164507','FISH BASKETS','clickpic-51_thumb.jpg',160, 129,32,'photo_7236848.html');
												thumbnails[7251034] = new thumbnail(7251034,'164507','FISH MARKET','clickpic-64_thumb.jpg',160, 127,32,'photo_7251034.html');
												thumbnails[7251556] = new thumbnail(7251556,'164507','DRINKING TEA','clickpic-69_thumb.jpg',160, 129,32,'photo_7251556.html');
												thumbnails[7276512] = new thumbnail(7276512,'393560','FAIR SWINGS','clickpic-103_thumb.jpg',160, 220,32,'photo_7276512.html');
												thumbnails[7296254] = new thumbnail(7296254,'393560','FOUR LEGS','clickpic-151_thumb.jpg',160, 130,32,'photo_7296254.html');
												thumbnails[7307391] = new thumbnail(7307391,'168900','ROCKS & SEA','clickpic-167_thumb.jpg',160, 130,32,'photo_7307391.html');
												thumbnails[7313367] = new thumbnail(7313367,'393560','MERCHANTS BRIDGE','clickpic-208_thumb.jpg',160, 220,32,'photo_7313367.html');
												thumbnails[7318544] = new thumbnail(7318544,'393560','VIADUCT & VICTORIAN ARCHITECTURE','clickpic-229_thumb.jpg',160, 130,32,'photo_7318544.html');
												thumbnails[7327437] = new thumbnail(7327437,'393560','MEDIA CITY','clickpic-243_thumb.jpg',160, 89,32,'photo_7327437.html');
												thumbnails[7336136] = new thumbnail(7336136,'393560','WHITE CIRCLES','clickpic (251 of 1)_thumb.jpg',160, 130,32,'photo_7336136.html');
												thumbnails[7353383] = new thumbnail(7353383,'225842','FRUSTRATION','clickpic (259 of 1)_thumb.jpg',160, 134,32,'photo_7353383.html');
												thumbnails[7360093] = new thumbnail(7360093,'393560','LOADED','clickpic-264_thumb.jpg',160, 220,32,'photo_7360093.html');
												thumbnails[7390917] = new thumbnail(7390917,'393560','ON THE MOVE','clickpic-280_thumb.jpg',160, 130,32,'photo_7390917.html');
												thumbnails[7396916] = new thumbnail(7396916,'393560','COLOUR FAST','clickpic-288_thumb.jpg',160, 130,32,'photo_7396916.html');
												thumbnails[7419176] = new thumbnail(7419176,'393560','MEDIA CITY BRIDGE','clickpic-296_thumb.jpg',160, 130,32,'photo_7419176.html');
												thumbnails[7470228] = new thumbnail(7470228,'168900','OLD MAN OF STORR(PANARAMA)','clickpic-302_thumb.jpg',160, 105,32,'photo_7470228.html');
												thumbnails[7206637] = new thumbnail(7206637,'168900','TENBY HARBOUR','HOME PAGE-6_thumb.jpg',160, 79,32,'photo_7206637.html');
												thumbnails[7206658] = new thumbnail(7206658,'168900','WINTER LAND','HOME PAGE-9_thumb.jpg',160, 220,32,'photo_7206658.html');
												thumbnails[7206691] = new thumbnail(7206691,'168900','BUCKIE HARBOUR','HOME PAGE-16_thumb.jpg',160, 131,32,'photo_7206691.html');
												thumbnails[7209199] = new thumbnail(7209199,'393557','MACCLESFIELD PARISH CHURCH','BACKGROUND IMAGE-38_thumb.jpg',160, 130,32,'photo_7209199.html');
												thumbnails[7209221] = new thumbnail(7209221,'168900','AUTUMN VIEW','HOME PAGE-19_thumb.jpg',160, 130,32,'photo_7209221.html');
												thumbnails[7209228] = new thumbnail(7209228,'392434','AUTUMN LEAF','HOME PAGE-24_thumb.jpg',160, 130,32,'photo_7209228.html');
												thumbnails[7209239] = new thumbnail(7209239,'393560','VICTORIAN LIGHT','HOME PAGE-29_thumb.jpg',160, 220,32,'photo_7209239.html');
												thumbnails[7236849] = new thumbnail(7236849,'164507','BOATING ON HOI AN RIVER','clickpic-52_thumb.jpg',160, 130,32,'photo_7236849.html');
												thumbnails[7251035] = new thumbnail(7251035,'168900','COASTAL ARCH','clickpic-65_thumb.jpg',160, 130,32,'photo_7251035.html');
												thumbnails[7251557] = new thumbnail(7251557,'392434','SLATE BED','clickpic-70_thumb.jpg',160, 130,32,'photo_7251557.html');
												thumbnails[7276513] = new thumbnail(7276513,'168900','RAMSHAW ROCKS','clickpic-104_thumb.jpg',160, 130,32,'photo_7276513.html');
												thumbnails[7296255] = new thumbnail(7296255,'393560','ADRIFT STATUE','clickpic-152_thumb.jpg',160, 130,32,'photo_7296255.html');
												thumbnails[7307392] = new thumbnail(7307392,'168900','TYRE ON BEACH','clickpic-168_thumb.jpg',160, 119,32,'photo_7307392.html');
												thumbnails[7313368] = new thumbnail(7313368,'393560','SHADOW','clickpic-209_thumb.jpg',160, 220,32,'photo_7313368.html');
												thumbnails[7318545] = new thumbnail(7318545,'393560','RUNNER','clickpic-230_thumb.jpg',160, 130,32,'photo_7318545.html');
												thumbnails[7327438] = new thumbnail(7327438,'164343','BUCKIE HARBOUR','clickpic-244_thumb.jpg',160, 100,32,'photo_7327438.html');
												thumbnails[7336137] = new thumbnail(7336137,'393560','TREES PICCADILLY GARDENS','clickpic (252 of 1)_thumb.jpg',160, 130,32,'photo_7336137.html');
												thumbnails[7353384] = new thumbnail(7353384,'164343','MARINE WAY BRIDGE','clickpic (260 of 1)_thumb.jpg',160, 130,32,'photo_7353384.html');
												thumbnails[7360094] = new thumbnail(7360094,'393560','BRICK & CLASS','clickpic-265_thumb.jpg',160, 130,32,'photo_7360094.html');
												thumbnails[7367577] = new thumbnail(7367577,'393560','TWO BIKES','clickpic-271_thumb.jpg',160, 130,32,'photo_7367577.html');
												thumbnails[7390918] = new thumbnail(7390918,'393560','RED HAIR','clickpic-281_thumb.jpg',160, 130,32,'photo_7390918.html');
												thumbnails[7396917] = new thumbnail(7396917,'393560','AGE FAST','clickpic-289_thumb.jpg',160, 130,32,'photo_7396917.html');
												thumbnails[7470229] = new thumbnail(7470229,'168900','EILEAN DONAN CASTLE','clickpic-303_thumb.jpg',160, 130,32,'photo_7470229.html');
												thumbnails[7209208] = new thumbnail(7209208,'393560','FATHER CHRISTMAS','BACKGROUND IMAGE-33_FB78A571-24E8-5EC4-4F571DAFD950AE1D_thumb.jpg',160, 130,32,'photo_7209208.html');
												thumbnails[7251597] = new thumbnail(7251597,'168900','BUCKIE COAST','clickpic-71_thumb.jpg',160, 130,32,'photo_7251597.html');
												thumbnails[7257258] = new thumbnail(7257258,'392434','SUMMER LIGHT','clickpic-74_thumb.jpg',160, 130,32,'photo_7257258.html');
												thumbnails[7276514] = new thumbnail(7276514,'392434','RED FLOWER AND BUD','clickpic-105_thumb.jpg',160, 130,32,'photo_7276514.html');
												thumbnails[7296256] = new thumbnail(7296256,'393560','CYCLE REFLECTION','clickpic-153_thumb.jpg',160, 130,32,'photo_7296256.html');
												thumbnails[7307393] = new thumbnail(7307393,'168900','DERWENT WATER','clickpic-169_thumb.jpg',160, 130,32,'photo_7307393.html');
												thumbnails[7313369] = new thumbnail(7313369,'393560','BRICK TRAIN BRIDGE','clickpic-210_thumb.jpg',160, 220,32,'photo_7313369.html');
												thumbnails[7318546] = new thumbnail(7318546,'393560','BEAUTY SURROUNDED','clickpic-231_thumb.jpg',160, 130,32,'photo_7318546.html');
												thumbnails[7327439] = new thumbnail(7327439,'168900','BOTTOM WATER','clickpic-245_thumb.jpg',160, 93,32,'photo_7327439.html');
												thumbnails[7336138] = new thumbnail(7336138,'393560','PIGEONS IN FOUNTAIN','clickpic (253 of 1)_thumb.jpg',160, 220,32,'photo_7336138.html');
												thumbnails[7353385] = new thumbnail(7353385,'393560','READING ROOM','clickpic (261 of 1)_thumb.jpg',160, 130,32,'photo_7353385.html');
												thumbnails[7360095] = new thumbnail(7360095,'393560','BLURRED','clickpic-266_thumb.jpg',160, 130,32,'photo_7360095.html');
												thumbnails[7367578] = new thumbnail(7367578,'393560','MERCHANTS BRIDGE & LAMP','clickpic-272_thumb.jpg',160, 130,32,'photo_7367578.html');
												thumbnails[7390919] = new thumbnail(7390919,'393560','REFLECTION CASTLEFIELD','clickpic-282_thumb.jpg',160, 130,32,'photo_7390919.html');
												thumbnails[7396918] = new thumbnail(7396918,'393560','RED COAT','clickpic-290_thumb.jpg',160, 130,32,'photo_7396918.html');
												thumbnails[7470230] = new thumbnail(7470230,'168900','EILEAN DONAN CASTLE','clickpic-304_thumb.jpg',160, 116,32,'photo_7470230.html');
												thumbnails[7209209] = new thumbnail(7209209,'393557','YELLOW MAN','BACKGROUND IMAGE-34_FB78A7E2-24E8-5EC4-4F4EF5E68C29CCD4_thumb.jpg',160, 130,32,'photo_7209209.html');
												thumbnails[7251598] = new thumbnail(7251598,'168900','SEA POOL','clickpic-72_thumb.jpg',160, 130,32,'photo_7251598.html');
												thumbnails[7257259] = new thumbnail(7257259,'392434','WATERFALL','clickpic-75_thumb.jpg',160, 220,32,'photo_7257259.html');
												thumbnails[7276515] = new thumbnail(7276515,'393560','CHRISTMAS MARKETS','clickpic-106_thumb.jpg',160, 130,32,'photo_7276515.html');
												thumbnails[7287635] = new thumbnail(7287635,'393560','PICCADILLY GARDENS','clickpic-134_thumb.jpg',160, 130,32,'photo_7287635.html');
												thumbnails[7296257] = new thumbnail(7296257,'393560','BEING ME','clickpic-154_thumb.jpg',160, 130,32,'photo_7296257.html');
												thumbnails[7307394] = new thumbnail(7307394,'168900','clickpic-170','clickpic-170_thumb.jpg',160, 119,32,'photo_7307394.html');
												thumbnails[7313370] = new thumbnail(7313370,'393560','TWO BRIDGES','clickpic-211_thumb.jpg',160, 130,32,'photo_7313370.html');
												thumbnails[7318547] = new thumbnail(7318547,'393560','WAITING','clickpic-232_thumb.jpg',160, 220,32,'photo_7318547.html');
												thumbnails[7327440] = new thumbnail(7327440,'164343','NEW BUCKIE SHIPYARD','clickpic-246_thumb.jpg',160, 92,32,'photo_7327440.html');
												thumbnails[7336139] = new thumbnail(7336139,'393560','COLOUR BALANCE','clickpic (254 of 1)_thumb.jpg',160, 130,32,'photo_7336139.html');
												thumbnails[7367579] = new thumbnail(7367579,'393560','REFLECTION OF CONGREGATIONAL CHAPEL','clickpic-273_thumb.jpg',160, 130,32,'photo_7367579.html');
												thumbnails[7390920] = new thumbnail(7390920,'393560','LAND OF THE GIANTS','clickpic-283_thumb.jpg',160, 130,32,'photo_7390920.html');
												thumbnails[7396919] = new thumbnail(7396919,'393560','MANCHESTER LIBRARY ARCHES','clickpic-291_thumb.jpg',160, 220,32,'photo_7396919.html');
												thumbnails[7470231] = new thumbnail(7470231,'168900','GLEAN ORAID WATERFALL','clickpic-306_thumb.jpg',160, 130,32,'photo_7470231.html');
												thumbnails[7257260] = new thumbnail(7257260,'392434','WATER','clickpic-76_thumb.jpg',160, 130,32,'photo_7257260.html');
												thumbnails[7276516] = new thumbnail(7276516,'225842','HORSE JUMP','clickpic-107_thumb.jpg',160, 130,32,'photo_7276516.html');
												thumbnails[7287636] = new thumbnail(7287636,'393560','MUSIC SHELTERS ME','clickpic-135_thumb.jpg',160, 130,32,'photo_7287636.html');
												thumbnails[7296258] = new thumbnail(7296258,'393560','ON ME WAY','clickpic-155_thumb.jpg',160, 130,32,'photo_7296258.html');
												thumbnails[7307395] = new thumbnail(7307395,'392434','CONIFEROUS TREES','clickpic-171_thumb.jpg',160, 243,32,'photo_7307395.html');
												thumbnails[7313371] = new thumbnail(7313371,'393560','CROWN COURT','clickpic-212_thumb.jpg',160, 220,32,'photo_7313371.html');
												thumbnails[7318548] = new thumbnail(7318548,'393560','BLACK & WHITE','clickpic-233_thumb.jpg',160, 130,32,'photo_7318548.html');
												thumbnails[7327441] = new thumbnail(7327441,'168900','SAND END','clickpic-46_thumb.jpg',160, 130,32,'photo_7327441.html');
												thumbnails[7336141] = new thumbnail(7336141,'393560','SILHOUETTE','clickpic (255 of 1)_thumb.jpg',160, 220,32,'photo_7336141.html');
												thumbnails[7367580] = new thumbnail(7367580,'393560','CONGREGATIONAL CHAPEL & BEETHAM TOWER','clickpic-274_thumb.jpg',160, 220,32,'photo_7367580.html');
												thumbnails[7390921] = new thumbnail(7390921,'393560','TREE SHADOWS','clickpic-284_thumb.jpg',160, 130,32,'photo_7390921.html');
												thumbnails[7470232] = new thumbnail(7470232,'168900','HIGHLAND COW','clickpic-311_thumb.jpg',160, 130,32,'photo_7470232.html');
												thumbnails[7257261] = new thumbnail(7257261,'393557','CHESHIRE FARMLAND','clickpic-77_thumb.jpg',160, 130,32,'photo_7257261.html');
												thumbnails[7276517] = new thumbnail(7276517,'168900','LlANDDWYN ISLAND','clickpic-108_thumb.jpg',160, 130,32,'photo_7276517.html');
												thumbnails[7296259] = new thumbnail(7296259,'393560','WALKING IN RHYTHM','clickpic-156_thumb.jpg',160, 130,32,'photo_7296259.html');
												thumbnails[7307396] = new thumbnail(7307396,'392434','PINK FLOWER','clickpic-172_thumb.jpg',160, 130,32,'photo_7307396.html');
												thumbnails[7313372] = new thumbnail(7313372,'393560','MANCHESTER BUILDING','clickpic-213_thumb.jpg',160, 130,32,'photo_7313372.html');
												thumbnails[7318549] = new thumbnail(7318549,'393560','THREE FACING AWAY','clickpic-234_thumb.jpg',160, 130,32,'photo_7318549.html');
												thumbnails[7327442] = new thumbnail(7327442,'168900','FREEZING FOG','clickpic-47_thumb.jpg',160, 130,32,'photo_7327442.html');
												thumbnails[7234346] = new thumbnail(7234346,'393560','REFLECTION OF BRIDGE','clickpic-44_thumb.jpg',160, 220,32,'photo_7234346.html');
												thumbnails[7251030] = new thumbnail(7251030,'393560','PINK MINI','clickpic-61_thumb.jpg',160, 220,32,'photo_7251030.html');
												thumbnails[7276518] = new thumbnail(7276518,'392434','LAMP SHADOW','clickpic-109_thumb.jpg',160, 220,32,'photo_7276518.html');
												thumbnails[7287638] = new thumbnail(7287638,'393560','FLYING BY','clickpic-137_thumb.jpg',160, 130,32,'photo_7287638.html');
												thumbnails[7296260] = new thumbnail(7296260,'393560','GREEN & BLUE','clickpic-157_thumb.jpg',160, 130,32,'photo_7296260.html');
												thumbnails[7307397] = new thumbnail(7307397,'168900','DEBRIS, DERWENT WATER','clickpic-173_thumb.jpg',160, 220,32,'photo_7307397.html');
												thumbnails[7313373] = new thumbnail(7313373,'393560','RAILWAY BRIDGE VIADUCT','clickpic-214_thumb.jpg',160, 130,32,'photo_7313373.html');
												thumbnails[7318550] = new thumbnail(7318550,'393560','STOPPING THE BUS','clickpic-235_thumb.jpg',160, 130,32,'photo_7318550.html');
												thumbnails[7367581] = new thumbnail(7367581,'393560','BEETHAM TOWER & DEANSGATE STATION STAIRS','clickpic-276_thumb.jpg',160, 220,32,'photo_7367581.html');
												thumbnails[7209211] = new thumbnail(7209211,'393557','CHURCH, MACCLESFIELD','BACKGROUND IMAGE-37_FB78ACA5-24E8-5EC4-4FEBE39AE8E6CF65_thumb.jpg',160, 220,32,'photo_7209211.html');
												thumbnails[7250889] = new thumbnail(7250889,'168900','SHEEPS WOOL','clickpic-57_thumb.jpg',160, 220,32,'photo_7250889.html');
												thumbnails[7251032] = new thumbnail(7251032,'393560','FOUNTAIN','clickpic-63_thumb.jpg',160, 220,32,'photo_7251032.html');
												thumbnails[7209227] = new thumbnail(7209227,'168900','CULLEN BAY','HOME PAGE-23_thumb.jpg',160, 220,32,'photo_7209227.html');
												thumbnails[7276519] = new thumbnail(7276519,'392434','PEBBLE','clickpic-110_thumb.jpg',160, 119,32,'photo_7276519.html');
												thumbnails[7307398] = new thumbnail(7307398,'168900','SOUTH PARK','clickpic-174_thumb.jpg',160, 130,32,'photo_7307398.html');
												thumbnails[7313374] = new thumbnail(7313374,'393560','BRIDGES, CASTLEFIELD','clickpic-215_thumb.jpg',160, 130,32,'photo_7313374.html');
												thumbnails[7318551] = new thumbnail(7318551,'225842','ANTI WAR MARCH','clickpic-236_thumb.jpg',160, 126,32,'photo_7318551.html');
												thumbnails[7257264] = new thumbnail(7257264,'392434','POND REFLECTION','clickpic-80_thumb.jpg',160, 130,32,'photo_7257264.html');
												thumbnails[7276520] = new thumbnail(7276520,'168900','INCOMMING TIDE','clickpic-111_thumb.jpg',160, 130,32,'photo_7276520.html');
												thumbnails[7307399] = new thumbnail(7307399,'168900','WINTER WALK','clickpic-175_thumb.jpg',160, 130,32,'photo_7307399.html');
												thumbnails[7313375] = new thumbnail(7313375,'393560','CROSSING THE TRAM LINE','clickpic-216_thumb.jpg',160, 130,32,'photo_7313375.html');
												thumbnails[7318552] = new thumbnail(7318552,'225842','A WAVE','clickpic-237_thumb.jpg',160, 124,32,'photo_7318552.html');
												thumbnails[7257265] = new thumbnail(7257265,'392434','EARLY LIGHT','clickpic-81_thumb.jpg',160, 220,32,'photo_7257265.html');
												thumbnails[7276521] = new thumbnail(7276521,'168900','PEAK DISTRICT VIEW','clickpic-112_thumb.jpg',160, 130,32,'photo_7276521.html');
												thumbnails[7287641] = new thumbnail(7287641,'393560','URBAN SOLDIER','clickpic-140_thumb.jpg',160, 220,32,'photo_7287641.html');
												thumbnails[7296263] = new thumbnail(7296263,'393560','BLENDING INDIVIDUAL','clickpic-160_thumb.jpg',160, 130,32,'photo_7296263.html');
												thumbnails[7307400] = new thumbnail(7307400,'393560','THREE BLOCKS','clickpic-176_thumb.jpg',160, 130,32,'photo_7307400.html');
												thumbnails[7313376] = new thumbnail(7313376,'393560','REFLECTION, LEGS','clickpic-217_thumb.jpg',160, 130,32,'photo_7313376.html');
												thumbnails[7318553] = new thumbnail(7318553,'225842','STOPPING THE SEA','clickpic-238_thumb.jpg',160, 126,32,'photo_7318553.html');
												thumbnails[7257266] = new thumbnail(7257266,'168900','ROAMING GOATS','clickpic-82_thumb.jpg',160, 130,32,'photo_7257266.html');
												thumbnails[7276522] = new thumbnail(7276522,'392434','PEBBLES','clickpic-113_thumb.jpg',160, 119,32,'photo_7276522.html');
												thumbnails[7307401] = new thumbnail(7307401,'168900','KESWICK','clickpic-177_thumb.jpg',160, 130,32,'photo_7307401.html');
												thumbnails[7313377] = new thumbnail(7313377,'393560','JUSTICE BUILDING','clickpic-218_thumb.jpg',160, 220,32,'photo_7313377.html');
												thumbnails[7318554] = new thumbnail(7318554,'225842','MAKE TEA NOT WAR','clickpic-239_thumb.jpg',160, 126,32,'photo_7318554.html');
												thumbnails[7276523] = new thumbnail(7276523,'392434','LONE PEBBLE','clickpic-114_thumb.jpg',160, 119,32,'photo_7276523.html');
												thumbnails[7296265] = new thumbnail(7296265,'393560','MY STYLE','clickpic-162_thumb.jpg',160, 130,32,'photo_7296265.html');
												thumbnails[7307402] = new thumbnail(7307402,'168900','EARLY LIGHT','clickpic-178_thumb.jpg',160, 125,32,'photo_7307402.html');
												thumbnails[7313378] = new thumbnail(7313378,'393560','STEEL STATUE','clickpic-219_thumb.jpg',160, 220,32,'photo_7313378.html');
												thumbnails[7257267] = new thumbnail(7257267,'392434','FLOWER FACE','clickpic-85_thumb.jpg',160, 130,32,'photo_7257267.html');
												thumbnails[7276524] = new thumbnail(7276524,'164343','BALUSTRADE','clickpic-83_thumb.jpg',160, 131,32,'photo_7276524.html');
												thumbnails[7296266] = new thumbnail(7296266,'168900','M60 STOCKPORT','clickpic-163_thumb.jpg',160, 130,32,'photo_7296266.html');
												thumbnails[7307403] = new thumbnail(7307403,'168900','TITTESWORTH & ROACHES','clickpic-179_thumb.jpg',160, 130,32,'photo_7307403.html');
												thumbnails[7313379] = new thumbnail(7313379,'393560','THREE FIGURES','clickpic-220_thumb.jpg',160, 220,32,'photo_7313379.html');
												thumbnails[7257268] = new thumbnail(7257268,'168900','BALA LAKE','clickpic-86_thumb.jpg',160, 130,32,'photo_7257268.html');
												thumbnails[7307404] = new thumbnail(7307404,'392434','GATE & TREE REFLECTION','clickpic-180_thumb.jpg',160, 130,32,'photo_7307404.html');
												thumbnails[7313380] = new thumbnail(7313380,'393560','CANINE DRIVER','clickpic-221_thumb.jpg',160, 130,32,'photo_7313380.html');
												thumbnails[7257269] = new thumbnail(7257269,'392434','TULIPS','clickpic-87_thumb.jpg',160, 130,32,'photo_7257269.html');
												thumbnails[7276525] = new thumbnail(7276525,'392434','WILD FLOWERS','clickpic-88_thumb.jpg',160, 130,32,'photo_7276525.html');
												thumbnails[7287646] = new thumbnail(7287646,'393560','LOVING CHOCOLATE','clickpic-145_thumb.jpg',160, 130,32,'photo_7287646.html');
												thumbnails[7307405] = new thumbnail(7307405,'168900','DERBYSHIRE','clickpic-181_thumb.jpg',160, 130,32,'photo_7307405.html');
												thumbnails[7276526] = new thumbnail(7276526,'393560','THIS WAY','clickpic-93_thumb.jpg',160, 220,32,'photo_7276526.html');
												thumbnails[7287647] = new thumbnail(7287647,'393560','DRESSED FOR THE RAIN','clickpic-146_thumb.jpg',160, 220,32,'photo_7287647.html');
												thumbnails[7307406] = new thumbnail(7307406,'392434','ICE REFLECTION','clickpic-182_thumb.jpg',160, 130,32,'photo_7307406.html');
												thumbnails[7257270] = new thumbnail(7257270,'392434','PINK FLOWER','clickpic-89_thumb.jpg',160, 220,32,'photo_7257270.html');
												thumbnails[7276527] = new thumbnail(7276527,'393560','CLEANING WINDOWS','clickpic-94_thumb.jpg',160, 220,32,'photo_7276527.html');
												thumbnails[7307407] = new thumbnail(7307407,'392434','SNOWY GATE','clickpic-183_thumb.jpg',160, 130,32,'photo_7307407.html');
												thumbnails[7313382] = new thumbnail(7313382,'393560','OLD LADY','clickpic-224_thumb.jpg',160, 220,32,'photo_7313382.html');
												thumbnails[7257271] = new thumbnail(7257271,'168900','PASTEL SHADES ON BALA LAKE','clickpic-90_thumb.jpg',160, 130,32,'photo_7257271.html');
												thumbnails[7276528] = new thumbnail(7276528,'393560','REFLECTION','clickpic-95_thumb.jpg',160, 130,32,'photo_7276528.html');
												thumbnails[7307408] = new thumbnail(7307408,'225842','SUMERSAULT','clickpic-184_thumb.jpg',160, 220,32,'photo_7307408.html');
												thumbnails[7313383] = new thumbnail(7313383,'393560','GINNEL','clickpic-225_thumb.jpg',160, 220,32,'photo_7313383.html');
												thumbnails[7257272] = new thumbnail(7257272,'392434','FEATHER & CLOCK','clickpic-91_thumb.jpg',160, 243,32,'photo_7257272.html');
												thumbnails[7276529] = new thumbnail(7276529,'392434','PURPLE FLOWER','clickpic-96_thumb.jpg',160, 130,32,'photo_7276529.html');
												thumbnails[7307409] = new thumbnail(7307409,'393560','STOP THE B.N.P.','clickpic-185_thumb.jpg',160, 220,32,'photo_7307409.html');
												thumbnails[7257273] = new thumbnail(7257273,'168900','PENMON','clickpic-92_thumb.jpg',160, 220,32,'photo_7257273.html');
												thumbnails[7276530] = new thumbnail(7276530,'393560','THREE WAYS','clickpic-97_thumb.jpg',160, 130,32,'photo_7276530.html');
												thumbnails[7307410] = new thumbnail(7307410,'225842','MIMIC','clickpic-186_thumb.jpg',160, 220,32,'photo_7307410.html');
												thumbnails[7276531] = new thumbnail(7276531,'168900','BALA LAKE','clickpic-98_thumb.jpg',160, 130,32,'photo_7276531.html');
												thumbnails[7307411] = new thumbnail(7307411,'393560','KETTLED','clickpic-187_thumb.jpg',160, 130,32,'photo_7307411.html');
												thumbnails[7276532] = new thumbnail(7276532,'393557','VITORIA PARK','clickpic-99_thumb.jpg',160, 130,32,'photo_7276532.html');
												thumbnails[7307412] = new thumbnail(7307412,'393560','ITS OUR MARDI GRAS','clickpic-188_thumb.jpg',160, 224,32,'photo_7307412.html');
												thumbnails[7276538] = new thumbnail(7276538,'168900','WASHING','clickpic-115_thumb.jpg',160, 119,32,'photo_7276538.html');
												thumbnails[7307413] = new thumbnail(7307413,'393560','HORNED MAN','clickpic-189_thumb.jpg',160, 220,32,'photo_7307413.html');
												thumbnails[7276539] = new thumbnail(7276539,'392434','BREAKING','clickpic-116_thumb.jpg',160, 130,32,'photo_7276539.html');
												thumbnails[7307414] = new thumbnail(7307414,'393560','FEATHER BOA','clickpic-190_thumb.jpg',160, 220,32,'photo_7307414.html');
												thumbnails[7276540] = new thumbnail(7276540,'168900','COW','clickpic-117_thumb.jpg',160, 130,32,'photo_7276540.html');
												thumbnails[7307415] = new thumbnail(7307415,'393560','THE ENTERTAINER','clickpic-191_thumb.jpg',160, 220,32,'photo_7307415.html');
												thumbnails[7276541] = new thumbnail(7276541,'168900','STIRLING CASTLE','clickpic-118_thumb.jpg',160, 130,32,'photo_7276541.html');
												thumbnails[7307416] = new thumbnail(7307416,'393560','JUST FOR YOU','clickpic-192_thumb.jpg',160, 130,32,'photo_7307416.html');
												thumbnails[7276542] = new thumbnail(7276542,'168900','MIRROR IMAGE','clickpic-119_thumb.jpg',160, 130,32,'photo_7276542.html');
												thumbnails[7307417] = new thumbnail(7307417,'393560','SCRUM','clickpic-193_thumb.jpg',160, 130,32,'photo_7307417.html');
												thumbnails[7276543] = new thumbnail(7276543,'168900','ROACHES','clickpic-120_thumb.jpg',160, 130,32,'photo_7276543.html');
												thumbnails[7307418] = new thumbnail(7307418,'225842','BRIGHT EYED ANARCHIST','clickpic-194_thumb.jpg',160, 130,32,'photo_7307418.html');
												thumbnails[7276544] = new thumbnail(7276544,'168900','CLOUD WAVE','clickpic-121_thumb.jpg',160, 220,32,'photo_7276544.html');
												thumbnails[7307419] = new thumbnail(7307419,'225842','PILLARS OF POWER','clickpic-195_thumb.jpg',160, 220,32,'photo_7307419.html');
												thumbnails[7276545] = new thumbnail(7276545,'168900','SNOWDON','clickpic-122_thumb.jpg',160, 220,32,'photo_7276545.html');
												thumbnails[7307420] = new thumbnail(7307420,'225842','GRIM REAPER','clickpic-196_thumb.jpg',160, 130,32,'photo_7307420.html');
												thumbnails[7276546] = new thumbnail(7276546,'168900','VIEW FROM SHUTLINGSLOE','clickpic-123_thumb.jpg',160, 220,32,'photo_7276546.html');
												thumbnails[7307421] = new thumbnail(7307421,'225842','IT WAS HIM','clickpic-197_thumb.jpg',160, 130,32,'photo_7307421.html');
												thumbnails[7276547] = new thumbnail(7276547,'164343','LONDON EYE','clickpic-124_thumb.jpg',160, 220,32,'photo_7276547.html');
												thumbnails[7307422] = new thumbnail(7307422,'393560','JUSTICE BUILDING REFLECTION','clickpic-198_thumb.jpg',160, 220,32,'photo_7307422.html');
												thumbnails[7276548] = new thumbnail(7276548,'168900','DERWENT WATER','clickpic-125_thumb.jpg',160, 220,32,'photo_7276548.html');
												thumbnails[7307423] = new thumbnail(7307423,'393560','TILTING JUSTICE','clickpic-199_thumb.jpg',160, 220,32,'photo_7307423.html');
												thumbnails[7307424] = new thumbnail(7307424,'393560','URBIS','clickpic-200_thumb.jpg',160, 130,32,'photo_7307424.html');
												thumbnails[7276549] = new thumbnail(7276549,'164343','MILLENIUM BRIDGE','clickpic-127_thumb.jpg',160, 220,32,'photo_7276549.html');
												thumbnails[7307425] = new thumbnail(7307425,'393560','MANCHESTER WHEEL','clickpic-201_thumb.jpg',160, 130,32,'photo_7307425.html');
												thumbnails[7276550] = new thumbnail(7276550,'393557','MACCLESFIELD FOREST','clickpic-128_thumb.jpg',160, 220,32,'photo_7276550.html');
												thumbnails[7307426] = new thumbnail(7307426,'168900','BUCKIE','clickpic-202_thumb.jpg',160, 119,32,'photo_7307426.html');
												thumbnails[7307427] = new thumbnail(7307427,'168900','PORT GORDON','clickpic-203_thumb.jpg',160, 119,32,'photo_7307427.html');
												thumbnails[7307428] = new thumbnail(7307428,'393560','SAINT ANNES ARCADE','clickpic-204_thumb.jpg',160, 130,32,'photo_7307428.html');
												thumbnails[7307429] = new thumbnail(7307429,'164507','WINTER WINDOW','clickpic-205_thumb.jpg',160, 119,32,'photo_7307429.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[164343] = new gallery(164343,'7353384,7327440,7327438,7327436,7327435,7327434,7318541,7313364,7276549,7276547','ARCHITECTURE','gallery',[7206655,7313364,7318541,7327434,7209220,7257257,7327435,7327436,7327438,7353384,7327440,7276524,7276547,7276549],0, 1, '', 'gallery_164343.html',0,0);
				  					galleries[225842] = new gallery(225842,'7353383,7353382,7353381,7353380,7318554,7318553,7318552,7318551,7307421,7307420','PEOPLE','gallery',[7353380,7353381,7353382,7353383,7276516,7318551,7318552,7318553,7318554,7307408,7307410,7307418,7307419,7307420,7307421],0, 1, '', 'gallery_225842.html',0,0);
				  					galleries[393560] = new gallery(393560,'7419176,7419175,7419174,7419173,7413778,7396919,7396918,7396917,7396916,7396915','MANCHESTER & STREET PHOTOGRAPHY','gallery',[7209240,7296251,7336133,7360090,7367573,7396913,7413778,7419173,7250891,7251031,7209241,7234345,7287630,7296252,7313365,7318542,7336134,7360091,7390915,7396914,7419174,7257256,7287631,7296253,7313366,7318543,7336135,7360092,7390916,7396915,7419175,7276512,7296254,7313367,7318544,7327437,7336136,7360093,7390917,7396916,7419176,7209239,7296255,7313368,7318545,7336137,7360094,7367577,7390918,7396917,7209208,7296256,7313369,7318546,7336138,7353385,7360095,7367578,7390919,7396918,7276515,7287635,7296257,7313370,7318547,7336139,7367579,7390920,7396919,7287636,7296258,7313371,7318548,7336141,7367580,7390921,7296259,7313372,7318549,7234346,7251030,7287638,7296260,7313373,7318550,7367581,7251032,7313374,7313375,7287641,7296263,7307400,7313376,7313377,7296265,7313378,7313379,7313380,7287646,7276526,7287647,7276527,7313382,7276528,7313383,7307409,7276530,7307411,7307412,7307413,7307414,7307415,7307416,7307417,7307422,7307423,7307424,7307425,7307428],0, 1, '', 'gallery_393560.html',0,0);
				  					galleries[168900] = new gallery(168900,'7481230,7481229,7481228,7470232,7470231,7470230,7470229,7470228,7470227,7470226','CITY & LANDSCAPE','gallery',[7470225,7481228,7236845,7250888,7209236,7206689,7307390,7470226,7481229,7257255,7470227,7481230,7307391,7470228,7206637,7206658,7206691,7209221,7251035,7276513,7307392,7470229,7251597,7307393,7327439,7470230,7251598,7307394,7470231,7327441,7470232,7276517,7327442,7307397,7250889,7209227,7307398,7276520,7307399,7276521,7257266,7307401,7307402,7296266,7307403,7257268,7307405,7257271,7257273,7276531,7276538,7276540,7276541,7276542,7276543,7276544,7276545,7276546,7276548,7307426,7307427],0, 1, '', 'gallery_168900.html',0,0);
				  					galleries[164507] = new gallery(164507,'7307429,7251556,7251555,7251554,7251034,7237016,7237015,7237014,7236849,7236848','TRAVEL','gallery',[7209224,7237014,7251554,7237015,7236847,7237016,7251555,7236848,7251034,7251556,7236849,7307429],0, 1, '', 'gallery_164507.html',0,0);
				  					galleries[392434] = new gallery(392434,'7307407,7307406,7307404,7307396,7307395,7307389,7276539,7276529,7276525,7276523','STILL LIFE','gallery',[7206633,7307389,7206635,7257254,7276510,7209228,7251557,7257258,7276514,7257259,7257260,7307395,7307396,7276518,7276519,7257264,7257265,7276522,7276523,7257267,7307404,7257269,7276525,7307406,7257270,7307407,7257272,7276529,7276539],0, 1, '', 'gallery_392434.html',0,0);
				  					galleries[393557] = new gallery(393557,'7390914,7367574,7287629,7276550,7276532,7276511,7276509,7257263,7257262,7257261','MACCLESFIELD','gallery',[7206569,7206687,7257253,7276509,7287629,7390914,7209218,7257262,7257263,7206634,7206688,7367574,7250890,7276511,7209199,7209209,7257261,7209211,7276532,7276550],0, 1, '', 'gallery_393557.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '7396913';
imageSets[3] = '7209024';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/LOCALWALK/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/LOCALWALK/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 = 'David Edmond Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {photoinfominwidth:200};	    		options.photoinfoadjacent = true;			      	      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 = 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="LOCALWALK">';
		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;
	}
}

			

