window.thumbnails = {};
															thumbnails[4691681] = clik.newPhoto({"id":4691681,"src":"Rifat_taj_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"please email me with any changes ","height":191});
															thumbnails[7983466] = clik.newPhoto({"id":7983466,"src":"profile_mahel_thumb.jpg","galleries_id":"","server_id":5,"link":"#","width":130,"caption":"profile pic ","height":217});
															thumbnails[3242700] = clik.newPhoto({"id":3242700,"src":"Centric_thumb.jpg","galleries_id":168014,"server_id":5,"link":"photo_3242700.html","width":130,"caption":"Centric ","height":218});
															thumbnails[2562013] = clik.newPhoto({"id":2562013,"src":"Allah - Kufi_thumb.JPG","galleries_id":163442,"server_id":5,"link":"photo_2562013.html","width":130,"caption":"Allah - Kufi ","height":93});
															thumbnails[2562072] = clik.newPhoto({"id":2562072,"src":"A3 poster - STRETCH_thumb.jpg","galleries_id":163442,"server_id":5,"link":"photo_2562072.html","width":130,"caption":"Bismillah - Stretch ","height":184});
															thumbnails[2562239] = clik.newPhoto({"id":2562239,"src":"STA60495_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2562239.html","width":130,"caption":"Name Frame ","height":98});
															thumbnails[2562283] = clik.newPhoto({"id":2562283,"src":"STA60501_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2562283.html","width":130,"caption":"Name Frame ","height":98});
															thumbnails[2562867] = clik.newPhoto({"id":2562867,"src":"_wsb_224x161_2-names_thumb.jpg","galleries_id":163443,"server_id":5,"link":"photo_2562867.html","width":130,"caption":"Name Frame ","height":93});
															thumbnails[2615589] = clik.newPhoto({"id":2615589,"src":"A3 poster - FIRE_thumb.jpg","galleries_id":163442,"server_id":5,"link":"photo_2615589.html","width":130,"caption":"FIRE <br>\r\n<br>\r\nSORRY THIS ITEM HAS NOW SOLD OUT. ","height":184});
															thumbnails[2621825] = clik.newPhoto({"id":2621825,"src":"A3 poster -  SUMMER_thumb.jpg","galleries_id":163442,"server_id":5,"link":"photo_2621825.html","width":130,"caption":"SUMMER ","height":184});
															thumbnails[2621877] = clik.newPhoto({"id":2621877,"src":"A3 poster - ICE_thumb.jpg","galleries_id":163442,"server_id":5,"link":"photo_2621877.html","width":130,"caption":"ICE <br>\r\nSORRY THIS ITEM IS NOW SOLD OUT ","height":184});
															thumbnails[2621893] = clik.newPhoto({"id":2621893,"src":"A3 poster - Fossil_thumb.jpg","galleries_id":163442,"server_id":5,"link":"photo_2621893.html","width":130,"caption":"FOSSIL","height":184});
															thumbnails[2621918] = clik.newPhoto({"id":2621918,"src":"A3 poster - SHARQ_thumb.jpg","galleries_id":163442,"server_id":5,"link":"photo_2621918.html","width":130,"caption":"AL SHARQ AL AWSAT ","height":184});
															thumbnails[2621937] = clik.newPhoto({"id":2621937,"src":"A3 poster - STREAM_thumb.jpg","galleries_id":163442,"server_id":5,"link":"photo_2621937.html","width":130,"caption":"STREAM","height":184});
															thumbnails[2650560] = clik.newPhoto({"id":2650560,"src":"aaminah_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650560.html","width":130,"caption":"","height":98});
															thumbnails[2650582] = clik.newPhoto({"id":2650582,"src":"Abdullah_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650582.html","width":130,"caption":"","height":98});
															thumbnails[2650587] = clik.newPhoto({"id":2650587,"src":"Amnah_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650587.html","width":130,"caption":"","height":98});
															thumbnails[2650590] = clik.newPhoto({"id":2650590,"src":"Haleema - shown in curved frame_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650590.html","width":130,"caption":"*CURVED FRAME IS SUPPLIED AT EXTRA CHARGE ","height":98});
															thumbnails[2650615] = clik.newPhoto({"id":2650615,"src":"Haroon_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650615.html","width":130,"caption":"","height":98});
															thumbnails[2650618] = clik.newPhoto({"id":2650618,"src":"Iman_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650618.html","width":130,"caption":"","height":98});
															thumbnails[2650623] = clik.newPhoto({"id":2650623,"src":"Joshua (2)_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650623.html","width":130,"caption":"","height":98});
															thumbnails[2650625] = clik.newPhoto({"id":2650625,"src":"Lubna_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650625.html","width":130,"caption":"","height":98});
															thumbnails[2650627] = clik.newPhoto({"id":2650627,"src":"Mariam_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650627.html","width":130,"caption":"NAME FRAME ","height":98});
															thumbnails[2650628] = clik.newPhoto({"id":2650628,"src":"Name Frames_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650628.html","width":130,"caption":"","height":98});
															thumbnails[2650629] = clik.newPhoto({"id":2650629,"src":"Name Frames (2)_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650629.html","width":130,"caption":"","height":98});
															thumbnails[2650631] = clik.newPhoto({"id":2650631,"src":"Newly weds_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650631.html","width":130,"caption":"","height":98});
															thumbnails[2650632] = clik.newPhoto({"id":2650632,"src":"Newlyweds_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650632.html","width":130,"caption":"","height":98});
															thumbnails[2650634] = clik.newPhoto({"id":2650634,"src":"Tahmid_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650634.html","width":130,"caption":"","height":98});
															thumbnails[2650639] = clik.newPhoto({"id":2650639,"src":"Name Frames1_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650639.html","width":130,"caption":"","height":98});
															thumbnails[2650645] = clik.newPhoto({"id":2650645,"src":"Amnah1_thumb.JPG","galleries_id":163443,"server_id":5,"link":"photo_2650645.html","width":130,"caption":"","height":98});
															thumbnails[2650709] = clik.newPhoto({"id":2650709,"src":"collaboration4- after_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_2650709.html","width":130,"caption":"Collaboration with the very talented Teakster ","height":130});
															thumbnails[2650718] = clik.newPhoto({"id":2650718,"src":"SLIDE - RAFIA HUSSAIN KAMEL - 300DPI_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_2650718.html","width":130,"caption":"SLIDE ","height":90});
															thumbnails[2650723] = clik.newPhoto({"id":2650723,"src":"Dhikr_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_2650723.html","width":130,"caption":"Dhikr ","height":92});
															thumbnails[2650726] = clik.newPhoto({"id":2650726,"src":"ONLY  - RAFIA HUSSAIN KAMEL - 300DPI_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_2650726.html","width":130,"caption":"ONLY","height":188});
															thumbnails[2650735] = clik.newPhoto({"id":2650735,"src":"Divine Ocean LRes_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_2650735.html","width":130,"caption":"Divine Sea ","height":89});
															thumbnails[2650739] = clik.newPhoto({"id":2650739,"src":"DREAM - RAFIA HUSSAIN KAMEL - 300DPI_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_2650739.html","width":130,"caption":"Dream","height":90});
															thumbnails[2650743] = clik.newPhoto({"id":2650743,"src":"ETERNITY - RAFIA HUSSAIN KAMEL - 300DPI_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_2650743.html","width":130,"caption":"ETERNITY","height":189});
															thumbnails[2650744] = clik.newPhoto({"id":2650744,"src":"FLOW - RAFIAHUSSAIN KAMEL - 300DPI_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_2650744.html","width":130,"caption":"FLOW","height":90});
															thumbnails[2650781] = clik.newPhoto({"id":2650781,"src":"JAMEEL - RAFIA HUSSAIN KAMEL - 300DPI_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_2650781.html","width":130,"caption":"Jameel","height":89});
															thumbnails[2650783] = clik.newPhoto({"id":2650783,"src":"madina 1_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_2650783.html","width":130,"caption":"Madina Glow","height":191});
															thumbnails[2650785] = clik.newPhoto({"id":2650785,"src":"ONE - RAFIA HUSSAIN KAMEL - 300DPI_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_2650785.html","width":130,"caption":"ONE","height":90});
															thumbnails[2650788] = clik.newPhoto({"id":2650788,"src":"SPECTRUM - RAFIA HUSSAIN KAMEL - 300DPI_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_2650788.html","width":130,"caption":"SPECTRUM","height":90});
															thumbnails[2653233] = clik.newPhoto({"id":2653233,"src":"shahada whisper2_thumb.jpg","galleries_id":168014,"server_id":5,"link":"photo_2653233.html","width":130,"caption":"Blue Whisper ","height":67});
															thumbnails[2653245] = clik.newPhoto({"id":2653245,"src":"muhamad wa rasul allah_thumb.jpg","galleries_id":168014,"server_id":5,"link":"photo_2653245.html","width":130,"caption":"Muhamad wa rasul allah ","height":153});
															thumbnails[2653254] = clik.newPhoto({"id":2653254,"src":"wa la ghaliba_thumb.jpg","galleries_id":168014,"server_id":5,"link":"photo_2653254.html","width":130,"caption":"Wa La Ghaliba Il Allah - There is no conqueror but Allah <br>\r\nTHIS ITEM HAS BEEN SOLD ","height":183});
															thumbnails[2653288] = clik.newPhoto({"id":2653288,"src":"Allah_hu_akbar -_thumb.jpg","galleries_id":168014,"server_id":5,"link":"photo_2653288.html","width":130,"caption":"Allahu Akbar Glass ","height":98});
															thumbnails[4874031] = clik.newPhoto({"id":4874031,"src":"awaken1_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_4874031.html","width":130,"caption":"AWAKEN ","height":189});
															thumbnails[4874043] = clik.newPhoto({"id":4874043,"src":"Deepen_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_4874043.html","width":130,"caption":"DEEPEN ","height":89});
															thumbnails[4874044] = clik.newPhoto({"id":4874044,"src":"Depth_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_4874044.html","width":130,"caption":"DEPTH ","height":189});
															thumbnails[4874045] = clik.newPhoto({"id":4874045,"src":"devotion_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_4874045.html","width":130,"caption":"DEVOTION ","height":88});
															thumbnails[4874047] = clik.newPhoto({"id":4874047,"src":"divine_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_4874047.html","width":130,"caption":"DIVINE ","height":189});
															thumbnails[4874050] = clik.newPhoto({"id":4874050,"src":"life_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_4874050.html","width":130,"caption":"LIFE ","height":189});
															thumbnails[4874052] = clik.newPhoto({"id":4874052,"src":"meditation_2_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_4874052.html","width":130,"caption":"MEDITATION ","height":89});
															thumbnails[4874056] = clik.newPhoto({"id":4874056,"src":"muhd_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_4874056.html","width":130,"caption":"BLESSED ","height":191});
															thumbnails[4874057] = clik.newPhoto({"id":4874057,"src":"passion_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_4874057.html","width":130,"caption":"PASSION ","height":89});
															thumbnails[4874067] = clik.newPhoto({"id":4874067,"src":"thought_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_4874067.html","width":130,"caption":"THOUGHT ","height":189});
															thumbnails[4874068] = clik.newPhoto({"id":4874068,"src":"warmth_thumb.jpg","galleries_id":167895,"server_id":5,"link":"photo_4874068.html","width":130,"caption":"WARMTH ","height":189});
															thumbnails[5429000] = clik.newPhoto({"id":5429000,"src":"IMAG0396_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429000.html","width":130,"caption":"","height":217});
															thumbnails[5429002] = clik.newPhoto({"id":5429002,"src":"IMAG0392_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429002.html","width":130,"caption":"","height":78});
															thumbnails[5429003] = clik.newPhoto({"id":5429003,"src":"IMAG0393_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429003.html","width":130,"caption":"","height":78});
															thumbnails[5429004] = clik.newPhoto({"id":5429004,"src":"IMAG0395_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429004.html","width":130,"caption":"","height":217});
															thumbnails[5429012] = clik.newPhoto({"id":5429012,"src":"IMAG0394_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429012.html","width":130,"caption":"","height":217});
															thumbnails[5429014] = clik.newPhoto({"id":5429014,"src":"IMAG03951_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429014.html","width":130,"caption":"","height":217});
															thumbnails[5429017] = clik.newPhoto({"id":5429017,"src":"IMAG0397_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429017.html","width":130,"caption":"","height":217});
															thumbnails[5429020] = clik.newPhoto({"id":5429020,"src":"IMAG0398_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429020.html","width":130,"caption":"","height":78});
															thumbnails[5429027] = clik.newPhoto({"id":5429027,"src":"IMAG03981_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429027.html","width":130,"caption":"","height":78});
															thumbnails[5429033] = clik.newPhoto({"id":5429033,"src":"IMAG0399_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429033.html","width":130,"caption":"","height":78});
															thumbnails[5429036] = clik.newPhoto({"id":5429036,"src":"IMAG0400_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429036.html","width":130,"caption":"","height":217});
															thumbnails[5429038] = clik.newPhoto({"id":5429038,"src":"IMAG0401_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429038.html","width":130,"caption":"","height":217});
															thumbnails[5429053] = clik.newPhoto({"id":5429053,"src":"IMAG0402_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429053.html","width":130,"caption":"","height":217});
															thumbnails[5429078] = clik.newPhoto({"id":5429078,"src":"IMAG0403_thumb.jpg","galleries_id":269930,"server_id":5,"link":"photo_5429078.html","width":130,"caption":"","height":217});
															thumbnails[7208128] = clik.newPhoto({"id":7208128,"src":"SOCH_1_thumb.jpg","galleries_id":389532,"server_id":5,"link":"photo_7208128.html","width":130,"caption":"soch1","height":38});
															thumbnails[7208146] = clik.newPhoto({"id":7208146,"src":"SOCH_2_thumb.jpg","galleries_id":389532,"server_id":5,"link":"photo_7208146.html","width":130,"caption":"soch 2","height":61});
															thumbnails[7208149] = clik.newPhoto({"id":7208149,"src":"SOCH_3_thumb.jpg","galleries_id":389532,"server_id":5,"link":"photo_7208149.html","width":130,"caption":"soch 3","height":158});
															thumbnails[7208153] = clik.newPhoto({"id":7208153,"src":"Soch_4_thumb.jpg","galleries_id":389532,"server_id":5,"link":"photo_7208153.html","width":130,"caption":"soch 4","height":153});
															thumbnails[7209071] = clik.newPhoto({"id":7209071,"src":"soch_21_thumb.jpg","galleries_id":389532,"server_id":5,"link":"photo_7209071.html","width":130,"caption":"2nd draft ","height":100});
															thumbnails[7363365] = clik.newPhoto({"id":7363365,"src":"Picture14c_thumb.jpg","galleries_id":398436,"server_id":5,"link":"photo_7363365.html","width":130,"caption":"pic 1 ","height":108});
															thumbnails[7363366] = clik.newPhoto({"id":7363366,"src":"Picture14web__thumb.jpg","galleries_id":398436,"server_id":5,"link":"photo_7363366.html","width":130,"caption":"pic  2","height":108});
															thumbnails[7363370] = clik.newPhoto({"id":7363370,"src":"Picture15_thumb.jpg","galleries_id":398436,"server_id":5,"link":"photo_7363370.html","width":130,"caption":"pic 3","height":108});
															thumbnails[7363372] = clik.newPhoto({"id":7363372,"src":"Picture19_thumb.jpg","galleries_id":398436,"server_id":5,"link":"photo_7363372.html","width":130,"caption":"pic 4","height":89});
															thumbnails[7363374] = clik.newPhoto({"id":7363374,"src":"Picture20_thumb.jpg","galleries_id":398436,"server_id":5,"link":"photo_7363374.html","width":130,"caption":"pic 5","height":89});
															thumbnails[2596085] = clik.newPhoto({"id":2596085,"src":"Air Square £2_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596085.html","width":130,"caption":"Air Square","height":183});
															thumbnails[2596959] = clik.newPhoto({"id":2596959,"src":"3d eid ball 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596959.html","width":130,"caption":"3d eid ball","height":92});
															thumbnails[2596086] = clik.newPhoto({"id":2596086,"src":"blue wave shapes eid 1_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596086.html","width":130,"caption":"blue wave","height":183});
															thumbnails[2596960] = clik.newPhoto({"id":2596960,"src":"Air round £2_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596960.html","width":130,"caption":"Air round","height":183});
															thumbnails[2983138] = clik.newPhoto({"id":2983138,"src":"custom frame_thumb.jpg","galleries_id":163443,"server_id":5,"link":"photo_2983138.html","width":130,"caption":"Custom Design Name Frame ","height":87});
															thumbnails[2596087] = clik.newPhoto({"id":2596087,"src":"dandelion £2_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596087.html","width":130,"caption":"dandelion","height":183});
															thumbnails[2596961] = clik.newPhoto({"id":2596961,"src":"allah - fossil brown 1_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596961.html","width":130,"caption":"fossil brown ","height":183});
															thumbnails[2596088] = clik.newPhoto({"id":2596088,"src":"Earth round £2_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596088.html","width":130,"caption":"Earth round","height":183});
															thumbnails[2596962] = clik.newPhoto({"id":2596962,"src":"allah layered 1_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596962.html","width":130,"caption":"allah layered","height":183});
															thumbnails[2596089] = clik.newPhoto({"id":2596089,"src":"Earth Square £2_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596089.html","width":130,"caption":"Earth Square","height":183});
															thumbnails[2596963] = clik.newPhoto({"id":2596963,"src":"allah maze blue 1_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596963.html","width":130,"caption":"allah maze blue 1","height":183});
															thumbnails[2596090] = clik.newPhoto({"id":2596090,"src":"sphere 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596090.html","width":130,"caption":"eid sphere","height":183});
															thumbnails[2596964] = clik.newPhoto({"id":2596964,"src":"bismillah circle purple 1_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596964.html","width":130,"caption":"bismillah circle purple 1","height":183});
															thumbnails[2596091] = clik.newPhoto({"id":2596091,"src":"eid star wish 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596091.html","width":130,"caption":"eid star wish","height":183});
															thumbnails[2596965] = clik.newPhoto({"id":2596965,"src":"blue bubble 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596965.html","width":130,"caption":"blue bubble 1","height":183});
															thumbnails[2596092] = clik.newPhoto({"id":2596092,"src":"swirls 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596092.html","width":130,"caption":"eid swirls","height":183});
															thumbnails[2596966] = clik.newPhoto({"id":2596966,"src":"blue rose £2_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596966.html","width":130,"caption":"blue rose ","height":183});
															thumbnails[2596093] = clik.newPhoto({"id":2596093,"src":"Fire round £2_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596093.html","width":130,"caption":"Fire round","height":183});
															thumbnails[2596967] = clik.newPhoto({"id":2596967,"src":"eid rose diffused green 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596967.html","width":130,"caption":"eid rose diffused green 1","height":183});
															thumbnails[2596094] = clik.newPhoto({"id":2596094,"src":"fire shapes 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596094.html","width":130,"caption":"fire shapes","height":183});
															thumbnails[2596968] = clik.newPhoto({"id":2596968,"src":"eid rose diffused green light_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596968.html","width":130,"caption":"eid rose diffused green light","height":183});
															thumbnails[2596095] = clik.newPhoto({"id":2596095,"src":"Fire Square £2_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596095.html","width":130,"caption":"Fire Square","height":183});
															thumbnails[2596969] = clik.newPhoto({"id":2596969,"src":"eid rose diffused pink 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596969.html","width":130,"caption":"eid rose diffused pink 1","height":183});
															thumbnails[2596096] = clik.newPhoto({"id":2596096,"src":"flower ball £2_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596096.html","width":130,"caption":"flower ball","height":183});
															thumbnails[2596970] = clik.newPhoto({"id":2596970,"src":"eid rose diffused red 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596970.html","width":130,"caption":"eid rose diffused red 1","height":183});
															thumbnails[2596097] = clik.newPhoto({"id":2596097,"src":"gold stars 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596097.html","width":130,"caption":"gold stars","height":183});
															thumbnails[2596971] = clik.newPhoto({"id":2596971,"src":"eid star black red 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596971.html","width":130,"caption":"eid star black red 1","height":195});
															thumbnails[2596098] = clik.newPhoto({"id":2596098,"src":"jade whirls 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596098.html","width":130,"caption":"jade whirls","height":183});
															thumbnails[2596972] = clik.newPhoto({"id":2596972,"src":"rose neopolitan £2_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596972.html","width":130,"caption":"rose neopolitan","height":183});
															thumbnails[2596099] = clik.newPhoto({"id":2596099,"src":"JazakAllah sun 1_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596099.html","width":130,"caption":"JazakAllah sun","height":195});
															thumbnails[2596973] = clik.newPhoto({"id":2596973,"src":"Rubies 1_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596973.html","width":130,"caption":"Rubies 1","height":183});
															thumbnails[2596100] = clik.newPhoto({"id":2596100,"src":"colours roses £2_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596100.html","width":130,"caption":"rosa neopolitan","height":183});
															thumbnails[2596101] = clik.newPhoto({"id":2596101,"src":"rose £2_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596101.html","width":130,"caption":"rose","height":183});
															thumbnails[2596974] = clik.newPhoto({"id":2596974,"src":"Water round £2_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596974.html","width":130,"caption":"Water round ","height":183});
															thumbnails[2596103] = clik.newPhoto({"id":2596103,"src":"squirls eid 1_thumb.jpg","galleries_id":165300,"server_id":5,"link":"photo_2596103.html","width":130,"caption":"squirls","height":183});
															thumbnails[2596104] = clik.newPhoto({"id":2596104,"src":"star twirls 1_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596104.html","width":130,"caption":"star twirls","height":183});
															thumbnails[2596105] = clik.newPhoto({"id":2596105,"src":"Water Square £2_thumb.jpg","galleries_id":165302,"server_id":5,"link":"photo_2596105.html","width":130,"caption":"Water Square","height":183});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[188822] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Business Design ","link":"gallery_188822.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"","id":188822,"singleSection":false});				  						galleries[398436] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"IO Solutions ","link":"gallery_398436.html","maxRecords":0.0,"photoIDs":[7363365.0,7363366.0,7363370.0,7363372.0,7363374.0],"skipIndex":0,"section_code":"gallery","featured_images":"7363374,7363372,7363370,7363366,7363365","id":398436,"singleSection":false});				  						galleries[269930] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"NatashaButt ","link":"gallery_269930.html","maxRecords":0.0,"photoIDs":[5429000.0,5429002.0,5429003.0,5429004.0,5429012.0,5429014.0,5429017.0,5429020.0,5429027.0,5429033.0,5429036.0,5429038.0,5429053.0,5429078.0],"skipIndex":0,"section_code":"gallery","featured_images":"5429078,5429053,5429038,5429036,5429033,5429027,5429020,5429017,5429014,5429012","id":269930,"singleSection":false});				  						galleries[389532] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"SOCH","link":"gallery_389532.html","maxRecords":0.0,"photoIDs":[7208128.0,7208146.0,7208149.0,7208153.0,7209071.0],"skipIndex":0,"section_code":"gallery","featured_images":"7209071,7208153,7208149,7208146,7208128","id":389532,"singleSection":false});				  						galleries[163443] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Name Frames","link":"gallery_163443.html","maxRecords":0.0,"photoIDs":[2562239.0,2562283.0,2562867.0,2650560.0,2650582.0,2650587.0,2650590.0,2650615.0,2650618.0,2650623.0,2650625.0,2650627.0,2650628.0,2650629.0,2650631.0,2650632.0,2650634.0,2650639.0,2650645.0,2983138.0],"skipIndex":0,"section_code":"gallery","featured_images":"2650645,2650639,2650634,2650632,2650631,2650629,2650628,2650627,2650625,2650623,2650618,2562867","id":163443,"singleSection":false});				  						galleries[163442] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Posters","link":"gallery_163442.html","maxRecords":0.0,"photoIDs":[2562013.0,2562072.0,2615589.0,2621825.0,2621877.0,2621893.0,2621918.0,2621937.0],"skipIndex":0,"section_code":"gallery","featured_images":"2621918,2621893,2621877,2621825,2615589,2562013","id":163442,"singleSection":false});				  						galleries[167895] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Digital Art ","link":"gallery_167895.html","maxRecords":0.0,"photoIDs":[2650709.0,2650718.0,2650723.0,2650726.0,2650735.0,2650739.0,2650743.0,2650744.0,2650781.0,2650783.0,2650785.0,2650788.0,4874031.0,4874043.0,4874044.0,4874045.0,4874047.0,4874050.0,4874052.0,4874056.0,4874057.0,4874067.0,4874068.0],"skipIndex":0,"section_code":"gallery","featured_images":"2650788,2650785,2650783,2650781,2650744,2650743,2650739,2650735,2650726,2650723,2650718,2650709","id":167895,"singleSection":false});				  						galleries[165298] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Greeting Cards ","link":"gallery_165298.html","maxRecords":0.0,"photoIDs":[],"skipIndex":0,"section_code":"gallery","featured_images":"2596974,2596962,2596105,2596104,2596103,2596100,2596099,2596097,2596095,2596086","id":165298,"singleSection":false});				  						galleries[168014] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Paintings ","link":"gallery_168014.html","maxRecords":0.0,"photoIDs":[3242700.0,2653233.0,2653245.0,2653254.0,2653288.0],"skipIndex":0,"section_code":"gallery","featured_images":"3242700,2653245,2653233","id":168014,"singleSection":false});				  						galleries[165300] = clik.newGallery({"parentGallery":165298,"usePopups":false,"title":"Eid Cards ","link":"gallery_165300.html","maxRecords":0.0,"photoIDs":[2596959.0,2596960.0,2596088.0,2596090.0,2596091.0,2596965.0,2596092.0,2596093.0,2596967.0,2596094.0,2596968.0,2596969.0,2596970.0,2596097.0,2596971.0,2596098.0,2596974.0,2596103.0],"skipIndex":0,"section_code":"gallery","featured_images":"2596974,2596103,2596097","id":165300,"singleSection":false});				  						galleries[165302] = clik.newGallery({"parentGallery":165298,"usePopups":false,"title":"All Occassion Cards ","link":"gallery_165302.html","maxRecords":0.0,"photoIDs":[2596085.0,2596086.0,2596087.0,2596961.0,2596962.0,2596089.0,2596963.0,2596964.0,2596966.0,2596095.0,2596096.0,2596972.0,2596099.0,2596973.0,2596100.0,2596101.0,2596104.0,2596105.0],"skipIndex":0,"section_code":"gallery","featured_images":"2596962,2596105,2596104,2596100,2596099,2596095,2596086","id":165302,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[126551] = '2650645,2650639,2650634,2650632,2650631,2650629,2650628,2650627,2650625,2650623,2650618,2650615,2650590,2650587,2650582,2650560,2562867,2562283,2562239';
imageSets[232175] = '2650582';
imageSets[232863] = '4874068,4874067,4874057,4874056,4874052,4874050,4874047,4874045,4874044,4874043,4874031';
imageSets[1] = '4874068,4874067,4874056,4874052,4874050,4874047,4874045,4874044,4874043,4874031,2650726,2650723,2650639,2650629';
imageSets[2] = '3242700,2653245,2653233,2650788,2650785,2650783,2650781,2650744,2650743,2650739,2650735,2650726,2650723,2650718,2650709,2650645,2650639,2650634,2650632,2650631,2650629,2650628,2650627,2650625,2650623,2650618,2621918,2621893,2621877,2621825,2615589,2562867,2562013,2596086,2596962,2596095,2596097,2596099,2596100,2596974,2596103,2596104,2596105';
imageSets[3] = '7983466,4874068,4874067,4874057,4874056,4874052,4874050,4874047,4874045,4874044,4874043,4874031,4691681,3242700,2983138,2653288,2653254,2653245,2653233,2650788,2650785,2650783,2650781,2650744,2650743,2650739,2650735,2650726,2650723,2650718,2650709,2650645,2650639,2650634,2650632,2650631,2650629,2650628,2650627,2650625,2650623,2650618,2650615,2650590,2650587,2650582,2650560,2621937,2621918,2621893';
imageSets[238382] = '7209071,7208153,7208149,7208146,7208128';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'www12.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/MAHEL/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/MAHEL/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'MAHEL                            A Palace of Ideas: ' + 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>Artist </strong>' + this.photographer + '</div>';
	}
				
	temp += this.fnGetPaymentInfo();
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
																		temp += '<p>Buy now using PayPal:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> &pound;' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp += '<p>Buy </p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
		 									temp += '<select class="paymentlink" name="payment_options_id" onchange="updateCartValue($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
											temp += '<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';
			temp += '	<input type="hidden" name="item_option" value="' + item_option + '">';
			temp += '	<input type="hidden" name="site" value="MAHEL">';
			temp += '	<input type="hidden" name="item_number" value="'+ this.id +'">';
			temp += '	<input type="hidden" name="quantity" value="1">';
						temp += '	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\'\;" onmouseout="this.className=\'button\'\;" type="Button">';
							temp += '	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';
			temp += '</form>';
						temp += '<div class="clearing">&nbsp;</div>';
			temp += '<div id="confirmContainer">';
			temp += '<div id="paymentConfirm">Item added to cart</div>';
			temp += '</div>';
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

