window.thumbnails = {};
thumbnails[8171722] = clik.newPhoto({"link":"#","caption":"","height":59,"id":8171722,"server_id":31,"src":"FRONT_SHOP_thumb.jpg","galleries_id":"","width":130});
thumbnails[8139741] = clik.newPhoto({"link":"photo_8139741.html","caption":"","height":194,"id":8139741,"server_id":31,"src":"ACANTHUS_WALL_LIGHT_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8139760] = clik.newPhoto({"link":"photo_8139760.html","caption":"","height":98,"id":8139760,"server_id":31,"src":"acanthus_wall_light1_thumb.JPG","galleries_id":430483,"width":130});
thumbnails[8139761] = clik.newPhoto({"link":"photo_8139761.html","caption":"","height":98,"id":8139761,"server_id":31,"src":"BILL_BALDWIN_WALL_LIGHT_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8139762] = clik.newPhoto({"link":"photo_8139762.html","caption":"","height":69,"id":8139762,"server_id":31,"src":"BILLY_B_WALL_LIGHT_DARK_BRONZE_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8139763] = clik.newPhoto({"link":"photo_8139763.html","caption":"","height":145,"id":8139763,"server_id":31,"src":"BILLY_B_WALL_LIGHT_NICKEL_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8139764] = clik.newPhoto({"link":"photo_8139764.html","caption":"","height":173,"id":8139764,"server_id":31,"src":"BLACK_SCROLL_WALL_LIGHT_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8139765] = clik.newPhoto({"link":"photo_8139765.html","caption":"","height":145,"id":8139765,"server_id":31,"src":"DELTA_WALL_LIGHT_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8139767] = clik.newPhoto({"link":"photo_8139767.html","caption":"","height":98,"id":8139767,"server_id":31,"src":"rococo_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8171154] = clik.newPhoto({"link":"photo_8171154.html","caption":"","height":141,"id":8171154,"server_id":31,"src":"BALL_CHANDELIER_WOOD_IRON_thumb.jpg","galleries_id":436432,"width":130});
thumbnails[8171155] = clik.newPhoto({"link":"photo_8171155.html","caption":"","height":203,"id":8171155,"server_id":31,"src":"BANANA_LAMP_BASE_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171200] = clik.newPhoto({"link":"photo_8171200.html","caption":"","height":173,"id":8171200,"server_id":31,"src":"ANTIQUE_BRONZED_CANDLE_STICKS_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171204] = clik.newPhoto({"link":"photo_8171204.html","caption":"","height":228,"id":8171204,"server_id":31,"src":"BILLY_BALDWIN_FLOOR_LAMP_thumb.JPG","galleries_id":436431,"width":130});
thumbnails[8171205] = clik.newPhoto({"link":"photo_8171205.html","caption":"","height":133,"id":8171205,"server_id":31,"src":"BLACK_GLASS_LAMP_BASE_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171208] = clik.newPhoto({"link":"photo_8171208.html","caption":"","height":179,"id":8171208,"server_id":31,"src":"BLACK_URNLAMP_BASE_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171245] = clik.newPhoto({"link":"photo_8171245.html","caption":"","height":167,"id":8171245,"server_id":31,"src":"BLOCK_AND_BALL_AND_ROPE_LAMP_BASES_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171257] = clik.newPhoto({"link":"photo_8171257.html","caption":"","height":173,"id":8171257,"server_id":31,"src":"BRONZE_CHINA_HORSE_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171258] = clik.newPhoto({"link":"photo_8171258.html","caption":"","height":173,"id":8171258,"server_id":31,"src":"BYZANTINE_BRONZED_LAMP_BASE_thumb.JPG","galleries_id":436430,"width":130});
thumbnails[8171260] = clik.newPhoto({"link":"photo_8171260.html","caption":"","height":173,"id":8171260,"server_id":31,"src":"CARYATID_DETAIL_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171261] = clik.newPhoto({"link":"photo_8171261.html","caption":"","height":173,"id":8171261,"server_id":31,"src":"CHINA_MAN_LARGE_BOX_CARD_SHADE_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171298] = clik.newPhoto({"link":"photo_8171298.html","caption":"","height":67,"id":8171298,"server_id":31,"src":"Copy_of_ROOF_EXTRA_DARK_BRONZE_DETAIL_thumb.jpg","galleries_id":436431,"width":130});
thumbnails[8171300] = clik.newPhoto({"link":"photo_8171300.html","caption":"","height":96,"id":8171300,"server_id":31,"src":"Copy_of_ROOF_EXTRA_FINISHES_thumb.jpg","galleries_id":436431,"width":130});
thumbnails[8171310] = clik.newPhoto({"link":"photo_8171310.html","caption":"","height":258,"id":8171310,"server_id":31,"src":"DETAIL_ALLUMINIUM_COLUMN_LAMP_BASE_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171319] = clik.newPhoto({"link":"photo_8171319.html","caption":"","height":87,"id":8171319,"server_id":31,"src":"DETAIL_GLASS_JAR_LAMP_BASE_thumb.JPG","galleries_id":436430,"width":130});
thumbnails[8171323] = clik.newPhoto({"link":"photo_8171323.html","caption":"","height":111,"id":8171323,"server_id":31,"src":"DETAIL_ROOF_REGULAR_POL_BRUSHED_thumb.jpg","galleries_id":436431,"width":130});
thumbnails[8171327] = clik.newPhoto({"link":"photo_8171327.html","caption":"","height":173,"id":8171327,"server_id":31,"src":"DUTCH_CANDLE_STICK_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171332] = clik.newPhoto({"link":"photo_8171332.html","caption":"","height":173,"id":8171332,"server_id":31,"src":"DUTCH_CANDLE_STICK_MATCHED_TO_A_FABRIC_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171337] = clik.newPhoto({"link":"photo_8171337.html","caption":"","height":98,"id":8171337,"server_id":31,"src":"DUTCH_CHANDELIER_thumb.jpg","galleries_id":436432,"width":130});
thumbnails[8171340] = clik.newPhoto({"link":"photo_8171340.html","caption":"","height":181,"id":8171340,"server_id":31,"src":"DYCKE_LAMP_BASES_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171343] = clik.newPhoto({"link":"photo_8171343.html","caption":"","height":173,"id":8171343,"server_id":31,"src":"DYCKE_WITH_EARS_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8171405] = clik.newPhoto({"link":"photo_8171405.html","caption":"","height":103,"id":8171405,"server_id":31,"src":"FLEXI_ARM_NICKEL1_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8239031] = clik.newPhoto({"link":"photo_8239031.html","caption":"","height":92,"id":8239031,"server_id":31,"src":"RATTAN_CHANDELIER_thumb.jpg","galleries_id":436432,"width":130});
thumbnails[8239033] = clik.newPhoto({"link":"photo_8239033.html","caption":"","height":173,"id":8239033,"server_id":31,"src":"WHITE_DUTCH_CHANDELIER_thumb.jpg","galleries_id":436432,"width":130});
thumbnails[8239053] = clik.newPhoto({"link":"photo_8239053.html","caption":"","height":123,"id":8239053,"server_id":31,"src":"flexi_arm_white__and_ant_brass_thumb.JPG","galleries_id":430483,"width":130});
thumbnails[8239055] = clik.newPhoto({"link":"photo_8239055.html","caption":"","height":135,"id":8239055,"server_id":31,"src":"GREEN_LANTERN_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8239060] = clik.newPhoto({"link":"photo_8239060.html","caption":"","height":191,"id":8239060,"server_id":31,"src":"PIPE_WALL_LIGHTS_X_2_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8239061] = clik.newPhoto({"link":"photo_8239061.html","caption":"","height":181,"id":8239061,"server_id":31,"src":"PIPE_WALL_LIGHTS_X_4_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8239062] = clik.newPhoto({"link":"photo_8239062.html","caption":"","height":173,"id":8239062,"server_id":31,"src":"RATTAN_WALL_LIGHT_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8239064] = clik.newPhoto({"link":"photo_8239064.html","caption":"","height":98,"id":8239064,"server_id":31,"src":"ROOF_WALL_ANT_BRASS_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8239066] = clik.newPhoto({"link":"photo_8239066.html","caption":"","height":98,"id":8239066,"server_id":31,"src":"ROOF_WALL_LIGHT_BLACK_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8239067] = clik.newPhoto({"link":"photo_8239067.html","caption":"","height":153,"id":8239067,"server_id":31,"src":"SCROLL_WALL_LIGHT_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8239069] = clik.newPhoto({"link":"photo_8239069.html","caption":"","height":92,"id":8239069,"server_id":31,"src":"VOILA_GLASS_LARGE_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8239071] = clik.newPhoto({"link":"photo_8239071.html","caption":"","height":74,"id":8239071,"server_id":31,"src":"VOILA_GLASS_SMALL_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8239073] = clik.newPhoto({"link":"photo_8239073.html","caption":"","height":94,"id":8239073,"server_id":31,"src":"VOILA_METAL_thumb.jpg","galleries_id":430483,"width":130});
thumbnails[8239137] = clik.newPhoto({"link":"photo_8239137.html","caption":"","height":122,"id":8239137,"server_id":31,"src":"L._TO_R._ROOF_EXTRA_ROOF_REGULAR_thumb.jpg","galleries_id":436431,"width":130});
thumbnails[8239139] = clik.newPhoto({"link":"photo_8239139.html","caption":"","height":202,"id":8239139,"server_id":31,"src":"PISA_DARK_BRONZE_thumb.jpg","galleries_id":436431,"width":130});
thumbnails[8239144] = clik.newPhoto({"link":"photo_8239144.html","caption":"","height":80,"id":8239144,"server_id":31,"src":"PISA_POLISHED__NICKEL_AND_DARK_BRONZE_thumb.jpg","galleries_id":436431,"width":130});
thumbnails[8239147] = clik.newPhoto({"link":"photo_8239147.html","caption":"","height":225,"id":8239147,"server_id":31,"src":"PISA_POLISHED_NICKEL_thumb.jpg","galleries_id":436431,"width":130});
thumbnails[8239163] = clik.newPhoto({"link":"photo_8239163.html","caption":"","height":98,"id":8239163,"server_id":31,"src":"ROOF_EXTRA_ANTIQUE_BRASS_DETAIL_thumb.jpg","galleries_id":436431,"width":130});
thumbnails[8239166] = clik.newPhoto({"link":"photo_8239166.html","caption":"","height":83,"id":8239166,"server_id":31,"src":"ROOF_EXTRA_BRUSHED_NICKEL_DETAIL_thumb.jpg","galleries_id":436431,"width":130});
thumbnails[8239171] = clik.newPhoto({"link":"photo_8239171.html","caption":"","height":104,"id":8239171,"server_id":31,"src":"ROOF_EXTRA_POLSHED_NICKEL_DETAIL_thumb.jpg","galleries_id":436431,"width":130});
thumbnails[8387950] = clik.newPhoto({"link":"photo_8387950.html","caption":"","height":173,"id":8387950,"server_id":31,"src":"glass_1_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8387953] = clik.newPhoto({"link":"photo_8387953.html","caption":"","height":196,"id":8387953,"server_id":31,"src":"GLASS_JAR_LAMP_BASE_thumb.JPG","galleries_id":436430,"width":130});
thumbnails[8387958] = clik.newPhoto({"link":"photo_8387958.html","caption":"","height":173,"id":8387958,"server_id":31,"src":"GLASS_JAR_NO_SHADE_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8387960] = clik.newPhoto({"link":"photo_8387960.html","caption":"","height":93,"id":8387960,"server_id":31,"src":"GLASS_SHADE_LAMP_BASE_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8387962] = clik.newPhoto({"link":"photo_8387962.html","caption":"","height":112,"id":8387962,"server_id":31,"src":"GLOBE_LAMP_BASES_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8387967] = clik.newPhoto({"link":"photo_8387967.html","caption":"","height":173,"id":8387967,"server_id":31,"src":"GREEN_GOURD_GLASS_LAMP_BASE_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8387971] = clik.newPhoto({"link":"photo_8387971.html","caption":"","height":196,"id":8387971,"server_id":31,"src":"LARGE_TURNED_WOODEN_LAMP_BASE_thumb.JPG","galleries_id":436430,"width":130});
thumbnails[8387975] = clik.newPhoto({"link":"photo_8387975.html","caption":"","height":195,"id":8387975,"server_id":31,"src":"MOOR_POLE_LAMP_BASE_thumb.JPG","galleries_id":436430,"width":130});
thumbnails[8387980] = clik.newPhoto({"link":"photo_8387980.html","caption":"","height":173,"id":8387980,"server_id":31,"src":"NICKEL_CHINA_BASE_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[8387985] = clik.newPhoto({"link":"photo_8387985.html","caption":"","height":173,"id":8387985,"server_id":31,"src":"OYSTER_LAMP_BASE_thumb.jpg","galleries_id":436430,"width":130});
thumbnails[9103089] = clik.newPhoto({"link":"photo_9103089.html","caption":"","height":87,"id":9103089,"server_id":35,"src":"archive_2_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103092] = clik.newPhoto({"link":"photo_9103092.html","caption":"","height":87,"id":9103092,"server_id":35,"src":"archive_3_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103095] = clik.newPhoto({"link":"photo_9103095.html","caption":"","height":87,"id":9103095,"server_id":35,"src":"archive_4_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103097] = clik.newPhoto({"link":"photo_9103097.html","caption":"","height":87,"id":9103097,"server_id":35,"src":"archive_5_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103099] = clik.newPhoto({"link":"photo_9103099.html","caption":"","height":87,"id":9103099,"server_id":35,"src":"archive_6_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103102] = clik.newPhoto({"link":"photo_9103102.html","caption":"","height":87,"id":9103102,"server_id":35,"src":"archive_7_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103104] = clik.newPhoto({"link":"photo_9103104.html","caption":"","height":87,"id":9103104,"server_id":35,"src":"archive_8_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103107] = clik.newPhoto({"link":"photo_9103107.html","caption":"","height":87,"id":9103107,"server_id":35,"src":"archive_9_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103110] = clik.newPhoto({"link":"photo_9103110.html","caption":"","height":87,"id":9103110,"server_id":35,"src":"archive_10_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103113] = clik.newPhoto({"link":"photo_9103113.html","caption":"","height":87,"id":9103113,"server_id":35,"src":"archive_102_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103117] = clik.newPhoto({"link":"photo_9103117.html","caption":"","height":87,"id":9103117,"server_id":35,"src":"archive_12_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103145] = clik.newPhoto({"link":"photo_9103145.html","caption":"","height":87,"id":9103145,"server_id":35,"src":"archive_122_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103149] = clik.newPhoto({"link":"photo_9103149.html","caption":"","height":87,"id":9103149,"server_id":35,"src":"archive_132_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103157] = clik.newPhoto({"link":"photo_9103157.html","caption":"","height":87,"id":9103157,"server_id":35,"src":"archive_15_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103161] = clik.newPhoto({"link":"photo_9103161.html","caption":"","height":87,"id":9103161,"server_id":35,"src":"archive_152_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[9103165] = clik.newPhoto({"link":"photo_9103165.html","caption":"","height":87,"id":9103165,"server_id":35,"src":"archive_17_thumb.jpg","galleries_id":430486,"width":130});
thumbnails[8012238] = clik.newPhoto({"link":"photo_8012238.html","caption":"","height":98,"id":8012238,"server_id":31,"src":"ACANTHUS_BRACKET_GILDED_thumb.JPG","galleries_id":430483,"width":130});
thumbnails[8012245] = clik.newPhoto({"link":"photo_8012245.html","caption":"","height":98,"id":8012245,"server_id":31,"src":"ACANTHUS_BRACKET_ORIGINAL_thumb.JPG","galleries_id":430483,"width":130});
thumbnails[8012247] = clik.newPhoto({"link":"photo_8012247.html","caption":"","height":98,"id":8012247,"server_id":31,"src":"ACANTHUS_BRACKET_SILVER_LEAFED_thumb.JPG","galleries_id":430483,"width":130});
thumbnails[8012248] = clik.newPhoto({"link":"photo_8012248.html","caption":"","height":98,"id":8012248,"server_id":31,"src":"ACANTHUS_BRACKET_WHITE_thumb.JPG","galleries_id":430483,"width":130});
thumbnails[8012249] = clik.newPhoto({"link":"photo_8012249.html","caption":"","height":98,"id":8012249,"server_id":31,"src":"ACANTHUS_BRACKET_WOOD_thumb.JPG","galleries_id":430483,"width":130});
thumbnails[8171022] = clik.newPhoto({"link":"photo_8171022.html","caption":"","height":98,"id":8171022,"server_id":31,"src":"15032011049_thumb.jpg","galleries_id":436427,"width":130});
thumbnails[8171023] = clik.newPhoto({"link":"photo_8171023.html","caption":"","height":98,"id":8171023,"server_id":31,"src":"15032011051_thumb.jpg","galleries_id":436427,"width":130});
thumbnails[8171024] = clik.newPhoto({"link":"photo_8171024.html","caption":"","height":98,"id":8171024,"server_id":31,"src":"15032011053_thumb.jpg","galleries_id":436427,"width":130});
thumbnails[8171026] = clik.newPhoto({"link":"photo_8171026.html","caption":"","height":173,"id":8171026,"server_id":31,"src":"15032011056_thumb.jpg","galleries_id":436427,"width":130});
thumbnails[8171068] = clik.newPhoto({"link":"photo_8171068.html","caption":"","height":173,"id":8171068,"server_id":31,"src":"15032011054_thumb.jpg","galleries_id":436427,"width":130});
thumbnails[8171108] = clik.newPhoto({"link":"photo_8171108.html","caption":"","height":173,"id":8171108,"server_id":31,"src":"08022011978_thumb.jpg","galleries_id":436427,"width":130});
thumbnails[8171143] = clik.newPhoto({"link":"photo_8171143.html","caption":"","height":173,"id":8171143,"server_id":31,"src":"26052010725_thumb.jpg","galleries_id":436427,"width":130});
thumbnails[8171150] = clik.newPhoto({"link":"photo_8171150.html","caption":"","height":98,"id":8171150,"server_id":31,"src":"27032007219_thumb.jpg","galleries_id":436427,"width":130});
thumbnails[8171153] = clik.newPhoto({"link":"photo_8171153.html","caption":"","height":98,"id":8171153,"server_id":31,"src":"27032007220_thumb.jpg","galleries_id":436427,"width":130});
thumbnails[8171417] = clik.newPhoto({"link":"photo_8171417.html","caption":"","height":173,"id":8171417,"server_id":31,"src":"GATHERED_DRUM_C.O.M._thumb.jpg","galleries_id":436427,"width":130});
thumbnails[8239102] = clik.newPhoto({"link":"photo_8239102.html","caption":"","height":98,"id":8239102,"server_id":31,"src":"OVAL_thumb.jpg","galleries_id":436427,"width":130});
thumbnails[8239111] = clik.newPhoto({"link":"photo_8239111.html","caption":"","height":98,"id":8239111,"server_id":31,"src":"LARGE_BOX_thumb.jpg","galleries_id":436427,"width":130});
thumbnails[8239114] = clik.newPhoto({"link":"photo_8239114.html","caption":"","height":98,"id":8239114,"server_id":31,"src":"OBLONG_thumb.jpg","galleries_id":436427,"width":130});
thumbnails[7983834] = clik.newPhoto({"link":"photo_7983834.html","caption":"","height":173,"id":7983834,"server_id":31,"src":"DRIFT_WOOD_MIRROR_thumb.jpg","galleries_id":430485,"width":130});
thumbnails[7983890] = clik.newPhoto({"link":"photo_7983890.html","caption":"","height":173,"id":7983890,"server_id":31,"src":"22042008211_thumb.jpg","galleries_id":430485,"width":130});
thumbnails[7983892] = clik.newPhoto({"link":"photo_7983892.html","caption":"","height":123,"id":7983892,"server_id":31,"src":"CHUNKY_DRIFTWOOD1_thumb.jpg","galleries_id":430485,"width":130});
thumbnails[7983894] = clik.newPhoto({"link":"photo_7983894.html","caption":"","height":165,"id":7983894,"server_id":31,"src":"GOTH_MIRROR_thumb.jpg","galleries_id":430485,"width":130});
thumbnails[7983912] = clik.newPhoto({"link":"photo_7983912.html","caption":"","height":173,"id":7983912,"server_id":31,"src":"RECLAIMED_WOOD_MIRROR_thumb.jpg","galleries_id":430485,"width":130});
thumbnails[7983932] = clik.newPhoto({"link":"photo_7983932.html","caption":"","height":208,"id":7983932,"server_id":31,"src":"WILLIAM_AND_MARY_MIRROR_thumb.jpg","galleries_id":430485,"width":130});
thumbnails[7983934] = clik.newPhoto({"link":"photo_7983934.html","caption":"","height":173,"id":7983934,"server_id":31,"src":"VAN_DYCKE_RED_thumb.jpg","galleries_id":430485,"width":130});
thumbnails[7983936] = clik.newPhoto({"link":"photo_7983936.html","caption":"","height":121,"id":7983936,"server_id":31,"src":"SQUARE_MIRROR_thumb.jpg","galleries_id":430485,"width":130});
thumbnails[7983941] = clik.newPhoto({"link":"photo_7983941.html","caption":"","height":173,"id":7983941,"server_id":31,"src":"PARIS_MIRROR_thumb.JPG","galleries_id":430485,"width":130});
thumbnails[8171303] = clik.newPhoto({"link":"photo_8171303.html","caption":"","height":98,"id":8171303,"server_id":31,"src":"BIRCH_ROUND_MIRROR_thumb.jpg","galleries_id":430485,"width":130});
thumbnails[8239080] = clik.newPhoto({"link":"photo_8239080.html","caption":"","height":173,"id":8239080,"server_id":31,"src":"VAN_DIJK_BRUIN_thumb.jpg","galleries_id":430485,"width":130});
thumbnails[8239359] = clik.newPhoto({"link":"photo_8239359.html","caption":"","height":173,"id":8239359,"server_id":31,"src":"PARIS_MIRROR_BEIGE_thumb.JPG","galleries_id":430485,"width":130});
thumbnails[8387870] = clik.newPhoto({"link":"photo_8387870.html","caption":"","height":173,"id":8387870,"server_id":31,"src":"STAR_BURST_MIRROR_WHITE_thumb.JPG","galleries_id":430485,"width":130});
thumbnails[8171185] = clik.newPhoto({"link":"photo_8171185.html","caption":"","height":87,"id":8171185,"server_id":31,"src":"BED_HEAD_LOUIS_XVI_caroline_thumb.jpg","galleries_id":436429,"width":130});
thumbnails[8171188] = clik.newPhoto({"link":"photo_8171188.html","caption":"","height":100,"id":8171188,"server_id":31,"src":"BED_HEAD_LOUIS_XVI_claire_thumb.jpg","galleries_id":436429,"width":130});
thumbnails[8171259] = clik.newPhoto({"link":"photo_8171259.html","caption":"","height":98,"id":8171259,"server_id":31,"src":"CANED_LOUIS_XVI_HEAD_BOARD_thumb.jpg","galleries_id":436429,"width":130});
thumbnails[8171262] = clik.newPhoto({"link":"photo_8171262.html","caption":"","height":98,"id":8171262,"server_id":31,"src":"david_WESTBROEK_madrid_etc_012_thumb.jpg","galleries_id":436429,"width":130});
thumbnails[8171265] = clik.newPhoto({"link":"photo_8171265.html","caption":"","height":98,"id":8171265,"server_id":31,"src":"david_WESTBROEK_madrid_etc_013_thumb.jpg","galleries_id":436429,"width":130});
thumbnails[8171267] = clik.newPhoto({"link":"photo_8171267.html","caption":"","height":98,"id":8171267,"server_id":31,"src":"DETAIL_BED_LOUIS_XV_thumb.jpg","galleries_id":436429,"width":130});
thumbnails[8171268] = clik.newPhoto({"link":"photo_8171268.html","caption":"","height":237,"id":8171268,"server_id":31,"src":"DETAIL_BED_LOUIS_XVI_norfolk_thumb.jpg","galleries_id":436429,"width":130});
thumbnails[8171269] = clik.newPhoto({"link":"photo_8171269.html","caption":"","height":173,"id":8171269,"server_id":31,"src":"DETAIL_LOUIS_XVI_HEAD_BOARD_thumb.jpg","galleries_id":436429,"width":130});
thumbnails[8238984] = clik.newPhoto({"link":"photo_8238984.html","caption":"","height":98,"id":8238984,"server_id":31,"src":"GILED_LOUIS_XIV__SIDE_BOARD_thumb.JPG","galleries_id":436429,"width":130});
thumbnails[8238986] = clik.newPhoto({"link":"photo_8238986.html","caption":"","height":98,"id":8238986,"server_id":31,"src":"LOUIS_SOFA_thumb.jpg","galleries_id":436429,"width":130});
thumbnails[8239004] = clik.newPhoto({"link":"photo_8239004.html","caption":"","height":98,"id":8239004,"server_id":31,"src":"LOUIS_XIV_SINGLE_BEDS_thumb.jpg","galleries_id":436429,"width":130});
thumbnails[8239018] = clik.newPhoto({"link":"photo_8239018.html","caption":"","height":98,"id":8239018,"server_id":31,"src":"LOUIS_XV_BED_thumb.jpg","galleries_id":436429,"width":130});
thumbnails[8239020] = clik.newPhoto({"link":"photo_8239020.html","caption":"","height":173,"id":8239020,"server_id":31,"src":"SIDE_BOARD_MIRROR_AND_SHADES_thumb.jpg","galleries_id":436429,"width":130});
thumbnails[8239025] = clik.newPhoto({"link":"photo_8239025.html","caption":"","height":127,"id":8239025,"server_id":31,"src":"SINGLE_BED_LOUIS_XVI_norfolk_thumb.jpg","galleries_id":436429,"width":130});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
galleries[430485] = clik.newGallery({"photoIDs":[7983834,7983890,7983892,7983894,7983912,7983932,7983934,7983936,7983941,8171303,8239080,8239359,8387870],"link":"section524192.html","skipIndex":0,"section_code":"section524192","id":430485,"parentGallery":"","featured_images":"8387870,8239359,8239080,8171303,7983941,7983936,7983934,7983932,7983912,7983894","maxRecords":0,"usePopups":false,"singleSection":true,"title":"MIRRORS"});galleries[436427] = clik.newGallery({"photoIDs":[8171022,8171023,8171024,8171026,8171068,8171108,8171143,8171150,8171153,8171417,8239102,8239111,8239114],"link":"section524191.html","skipIndex":0,"section_code":"section524191","id":436427,"parentGallery":"","featured_images":"8239114,8239111,8239102,8171417,8171153,8171150,8171143,8171108,8171068,8171026","maxRecords":0,"usePopups":false,"singleSection":true,"title":"SHADES"});galleries[436430] = clik.newGallery({"photoIDs":[8171155,8171200,8171205,8171208,8171245,8171257,8171258,8171260,8171261,8171310,8171319,8171327,8171332,8171340,8171343,8387950,8387953,8387958,8387960,8387962,8387967,8387971,8387975,8387980,8387985],"link":"section517224_436430.html","skipIndex":0,"section_code":"section517224","id":436430,"parentGallery":"","featured_images":"8387985,8387980,8387975,8387971,8387967,8387962,8387960,8387958,8387953,8387950","maxRecords":0,"usePopups":false,"singleSection":false,"title":"TABLE LAMPS"});galleries[436431] = clik.newGallery({"photoIDs":[8171204,8171298,8171300,8171323,8239137,8239139,8239144,8239147,8239163,8239166,8239171],"link":"section517224_436431.html","skipIndex":0,"section_code":"section517224","id":436431,"parentGallery":"","featured_images":"8239171,8239166,8239163,8239147,8239144,8239139,8239137,8171323,8171300,8171298","maxRecords":0,"usePopups":false,"singleSection":false,"title":"FLOOR LAMPS"});galleries[430483] = clik.newGallery({"photoIDs":[8139741,8139760,8139761,8139762,8139763,8139764,8139765,8139767,8171405,8239053,8239055,8239060,8239061,8239062,8239064,8239066,8239067,8239069,8239071,8239073,8012238,8012245,8012247,8012248,8012249],"link":"section517224_430483.html","skipIndex":0,"section_code":"section517224","id":430483,"parentGallery":"","featured_images":"8239073,8239071,8239069,8239067,8239066,8239064,8239062,8239061,8239060,8239055","maxRecords":0,"usePopups":false,"singleSection":false,"title":"WALL LIGHTS"});galleries[436432] = clik.newGallery({"photoIDs":[8171154,8171337,8239031,8239033],"link":"section517224_436432.html","skipIndex":0,"section_code":"section517224","id":436432,"parentGallery":"","featured_images":"8239033,8239031,8171337,8171154","maxRecords":0,"usePopups":false,"singleSection":false,"title":"PENDANT LIGHTS"});galleries[430486] = clik.newGallery({"photoIDs":[9103089,9103092,9103095,9103097,9103099,9103102,9103104,9103107,9103110,9103113,9103117,9103145,9103149,9103157,9103161,9103165],"link":"section517224_430486.html","skipIndex":0,"section_code":"section517224","id":430486,"parentGallery":"","featured_images":"9103165,9103161,9103157,9103149,9103145,9103117,9103113,9103110,9103107,9103104","maxRecords":0,"usePopups":false,"singleSection":false,"title":"ARCHIVE"});galleries[436429] = clik.newGallery({"photoIDs":[8171185,8171188,8171259,8171262,8171265,8171267,8171268,8171269,8238984,8238986,8239004,8239018,8239020,8239025],"link":"section524193.html","skipIndex":0,"section_code":"section524193","id":436429,"parentGallery":"","featured_images":"8239025,8239020,8239018,8239004,8238986,8238984,8171269,8171268,8171267,8171265","maxRecords":0,"usePopups":false,"singleSection":true,"title":"FURNITURE"});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[3] = '9103165,9103161,9103157,9103149,9103145,9103117,9103113,9103110,9103107,9103104,9103102,9103099,9103097,9103095,9103092,9103089,8387985,8387980,8387975,8387971,8387967,8387962,8387960,8387958,8387953,8387950,8387870,8239359,8239171,8239166,8239163,8239147,8239144,8239139,8239137,8239114,8239111,8239102,8239080,8239073,8239071,8239069,8239067,8239066,8239064,8239062,8239061,8239060,8239055,8239053';
imageSets[1] = '8171722';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/janwillem/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/janwillem/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/janwillem/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/janwillem/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/janwillem/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/janwillem/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/janwillem/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/janwillem/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 || photos || {})[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'section517224.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 && 'section517224' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
				  document.title = 'CASPER SLIEKER LIGHTING: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
			
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
		else {
		
	}
	if (this.item_price !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

		

