window.thumbnails = {};
															thumbnails[2061786] = clik.newPhoto({"id":2061786,"src":"Winner copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_2061786.html","width":130,"caption":"","height":92});
															thumbnails[3167397] = clik.newPhoto({"id":3167397,"src":"seacomp2_thumb.jpg","galleries_id":122604,"server_id":1,"link":"photo_3167397.html","width":130,"caption":"Listed","height":191});
															thumbnails[6486109] = clik.newPhoto({"id":6486109,"src":"IMG_3996-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_6486109.html","width":130,"caption":"The Breakfast Boys","height":86});
															thumbnails[6486112] = clik.newPhoto({"id":6486112,"src":"Pascal-Makonese-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_6486112.html","width":130,"caption":"Pascal Makonese, Manchester Jazz Festival 2010","height":92});
															thumbnails[6973719] = clik.newPhoto({"id":6973719,"src":"On-The-Edge_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_6973719.html","width":130,"caption":"","height":92});
															thumbnails[7235989] = clik.newPhoto({"id":7235989,"src":"IMG_3809-copy_thumb.jpg","galleries_id":209452,"server_id":1,"link":"photo_7235989.html","width":130,"caption":"","height":185});
															thumbnails[7404199] = clik.newPhoto({"id":7404199,"src":"NS1-copy_thumb.jpg","galleries_id":401052,"server_id":1,"link":"photo_7404199.html","width":130,"caption":"","height":174});
															thumbnails[7404204] = clik.newPhoto({"id":7404204,"src":"NS2-copy_thumb.jpg","galleries_id":401052,"server_id":1,"link":"photo_7404204.html","width":130,"caption":"","height":98});
															thumbnails[7404208] = clik.newPhoto({"id":7404208,"src":"NS4-copy_thumb.jpg","galleries_id":401052,"server_id":1,"link":"photo_7404208.html","width":130,"caption":"","height":179});
															thumbnails[7404210] = clik.newPhoto({"id":7404210,"src":"NS5-copy_thumb.jpg","galleries_id":401052,"server_id":1,"link":"photo_7404210.html","width":130,"caption":"","height":98});
															thumbnails[7404220] = clik.newPhoto({"id":7404220,"src":"NS9-copy_thumb.jpg","galleries_id":401052,"server_id":1,"link":"photo_7404220.html","width":130,"caption":"","height":189});
															thumbnails[7404234] = clik.newPhoto({"id":7404234,"src":"NS15-copy_thumb.jpg","galleries_id":401052,"server_id":1,"link":"photo_7404234.html","width":130,"caption":"","height":173});
															thumbnails[7404240] = clik.newPhoto({"id":7404240,"src":"P1014354-copy_thumb.jpg","galleries_id":401052,"server_id":1,"link":"photo_7404240.html","width":130,"caption":"","height":183});
															thumbnails[7409877] = clik.newPhoto({"id":7409877,"src":"NS3-copy_thumb.jpg","galleries_id":401052,"server_id":1,"link":"photo_7409877.html","width":130,"caption":"","height":186});
															thumbnails[7409891] = clik.newPhoto({"id":7409891,"src":"NS18-copy_thumb.jpg","galleries_id":401052,"server_id":1,"link":"photo_7409891.html","width":130,"caption":"","height":195});
															thumbnails[7409900] = clik.newPhoto({"id":7409900,"src":"Pete-Roberts_thumb.jpg","galleries_id":401052,"server_id":1,"link":"photo_7409900.html","width":130,"caption":"","height":186});
															thumbnails[7678429] = clik.newPhoto({"id":7678429,"src":"P1014275-copy_thumb.jpg","galleries_id":401052,"server_id":1,"link":"photo_7678429.html","width":130,"caption":"","height":91});
															thumbnails[8176794] = clik.newPhoto({"id":8176794,"src":"IMG_8916-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_8176794.html","width":130,"caption":"Imogen Ryall","height":95});
															thumbnails[8203703] = clik.newPhoto({"id":8203703,"src":"IMG_4299-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_8203703.html","width":130,"caption":"Behind The Scenes Of A One Man Band","height":190});
															thumbnails[8852350] = clik.newPhoto({"id":8852350,"src":"Womack_thumb.jpg","galleries_id":431199,"server_id":1,"link":"photo_8852350.html","width":130,"caption":"","height":91});
															thumbnails[8983975] = clik.newPhoto({"id":8983975,"src":"SB1_thumb.jpg","galleries_id":473187,"server_id":1,"link":"photo_8983975.html","width":130,"caption":"","height":188});
															thumbnails[8983979] = clik.newPhoto({"id":8983979,"src":"SB2_thumb.jpg","galleries_id":473187,"server_id":1,"link":"photo_8983979.html","width":130,"caption":"","height":91});
															thumbnails[8983981] = clik.newPhoto({"id":8983981,"src":"SB3_thumb.jpg","galleries_id":473187,"server_id":1,"link":"photo_8983981.html","width":130,"caption":"","height":90});
															thumbnails[8983983] = clik.newPhoto({"id":8983983,"src":"SB4_thumb.jpg","galleries_id":473187,"server_id":1,"link":"photo_8983983.html","width":130,"caption":"","height":87});
															thumbnails[8983984] = clik.newPhoto({"id":8983984,"src":"SB5_thumb.jpg","galleries_id":473187,"server_id":1,"link":"photo_8983984.html","width":130,"caption":"","height":87});
															thumbnails[8983987] = clik.newPhoto({"id":8983987,"src":"SB6_thumb.jpg","galleries_id":473187,"server_id":1,"link":"photo_8983987.html","width":130,"caption":"","height":87});
															thumbnails[8983989] = clik.newPhoto({"id":8983989,"src":"SB7_thumb.jpg","galleries_id":473187,"server_id":1,"link":"photo_8983989.html","width":130,"caption":"","height":90});
															thumbnails[8993545] = clik.newPhoto({"id":8993545,"src":"BV5_thumb.jpg","galleries_id":473658,"server_id":1,"link":"photo_8993545.html","width":130,"caption":"","height":175});
															thumbnails[8993547] = clik.newPhoto({"id":8993547,"src":"BV4_thumb.jpg","galleries_id":473658,"server_id":1,"link":"photo_8993547.html","width":130,"caption":"","height":182});
															thumbnails[8993548] = clik.newPhoto({"id":8993548,"src":"BV3_thumb.jpg","galleries_id":473658,"server_id":1,"link":"photo_8993548.html","width":130,"caption":"","height":184});
															thumbnails[8993550] = clik.newPhoto({"id":8993550,"src":"BV2_thumb.jpg","galleries_id":473658,"server_id":1,"link":"photo_8993550.html","width":130,"caption":"","height":195});
															thumbnails[8993552] = clik.newPhoto({"id":8993552,"src":"BV1_thumb.jpg","galleries_id":473658,"server_id":1,"link":"photo_8993552.html","width":130,"caption":"","height":195});
															thumbnails[8993557] = clik.newPhoto({"id":8993557,"src":"IMG_5536-copy_thumb.jpg","galleries_id":473658,"server_id":1,"link":"photo_8993557.html","width":130,"caption":"","height":90});
															thumbnails[9015205] = clik.newPhoto({"id":9015205,"src":"IMG_5263-copy_thumb.jpg","galleries_id":473187,"server_id":1,"link":"photo_9015205.html","width":130,"caption":"","height":91});
															thumbnails[9033626] = clik.newPhoto({"id":9033626,"src":"cb-copy_thumb.jpg","galleries_id":473658,"server_id":1,"link":"photo_9033626.html","width":130,"caption":"","height":188});
															thumbnails[7281673] = clik.newPhoto({"id":7281673,"src":"Record-Bag_thumb.jpg","galleries_id":177202,"server_id":1,"link":"photo_7281673.html","width":130,"caption":"Expansion","height":195});
															thumbnails[7444702] = clik.newPhoto({"id":7444702,"src":"IMG_7540-copy_thumb.jpg","galleries_id":403547,"server_id":1,"link":"photo_7444702.html","width":130,"caption":"","height":195});
															thumbnails[7888136] = clik.newPhoto({"id":7888136,"src":"IMG_0470-copy_thumb.jpg","galleries_id":425627,"server_id":1,"link":"photo_7888136.html","width":130,"caption":"","height":195});
															thumbnails[8031319] = clik.newPhoto({"id":8031319,"src":"IMG_0896-copy_thumb.jpg","galleries_id":431199,"server_id":1,"link":"photo_8031319.html","width":130,"caption":"","height":88});
															thumbnails[5376423] = clik.newPhoto({"id":5376423,"src":"Inspector_Calls_thumb.jpg","galleries_id":122604,"server_id":1,"link":"photo_5376423.html","width":130,"caption":"An Inspector Calls","height":86});
															thumbnails[3426680] = clik.newPhoto({"id":3426680,"src":"_MG_8973-copy1_thumb.jpg","galleries_id":209452,"server_id":1,"link":"photo_3426680.html","width":130,"caption":"","height":195});
															thumbnails[7444707] = clik.newPhoto({"id":7444707,"src":"IMG_7722-copy_thumb.jpg","galleries_id":403547,"server_id":1,"link":"photo_7444707.html","width":130,"caption":"","height":195});
															thumbnails[7888139] = clik.newPhoto({"id":7888139,"src":"IMG_0416-copy_thumb.jpg","galleries_id":425627,"server_id":1,"link":"photo_7888139.html","width":130,"caption":"","height":195});
															thumbnails[8031320] = clik.newPhoto({"id":8031320,"src":"IMG_0910-copy_thumb.jpg","galleries_id":431199,"server_id":1,"link":"photo_8031320.html","width":130,"caption":"","height":185});
															thumbnails[7455805] = clik.newPhoto({"id":7455805,"src":"IMG_7604-copy_thumb.jpg","galleries_id":403547,"server_id":1,"link":"photo_7455805.html","width":130,"caption":"","height":183});
															thumbnails[7888141] = clik.newPhoto({"id":7888141,"src":"IMG_0505-copy_thumb.jpg","galleries_id":425627,"server_id":1,"link":"photo_7888141.html","width":130,"caption":"","height":186});
															thumbnails[8031321] = clik.newPhoto({"id":8031321,"src":"IMG_1040-copy_thumb.jpg","galleries_id":431199,"server_id":1,"link":"photo_8031321.html","width":130,"caption":"","height":90});
															thumbnails[7444709] = clik.newPhoto({"id":7444709,"src":"IMG_7809-copy_thumb.jpg","galleries_id":403547,"server_id":1,"link":"photo_7444709.html","width":130,"caption":"","height":195});
															thumbnails[8031323] = clik.newPhoto({"id":8031323,"src":"IMG_0930-copy_thumb.jpg","galleries_id":431199,"server_id":1,"link":"photo_8031323.html","width":130,"caption":"","height":186});
															thumbnails[7444705] = clik.newPhoto({"id":7444705,"src":"IMG_7567-copy_thumb.jpg","galleries_id":403547,"server_id":1,"link":"photo_7444705.html","width":130,"caption":"","height":195});
															thumbnails[7888143] = clik.newPhoto({"id":7888143,"src":"IMG_0547-copy_thumb.jpg","galleries_id":425627,"server_id":1,"link":"photo_7888143.html","width":130,"caption":"","height":186});
															thumbnails[8031325] = clik.newPhoto({"id":8031325,"src":"IMG_1141-copy_thumb.jpg","galleries_id":431199,"server_id":1,"link":"photo_8031325.html","width":130,"caption":"","height":93});
															thumbnails[7444715] = clik.newPhoto({"id":7444715,"src":"Keni-Burke_thumb.jpg","galleries_id":403547,"server_id":1,"link":"photo_7444715.html","width":130,"caption":"","height":195});
															thumbnails[7888144] = clik.newPhoto({"id":7888144,"src":"IMG_0556-copy_thumb.jpg","galleries_id":425627,"server_id":1,"link":"photo_7888144.html","width":130,"caption":"","height":190});
															thumbnails[1414049] = clik.newPhoto({"id":1414049,"src":"IMG_2893 copy1.jpg","galleries_id":23401,"server_id":1,"link":"photo_1414049.html","width":130,"caption":"","height":178});
															thumbnails[4097088] = clik.newPhoto({"id":4097088,"src":"_MG_5636_pp_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_4097088.html","width":130,"caption":"Charleston","height":195});
															thumbnails[2488267] = clik.newPhoto({"id":2488267,"src":"_MG_1235-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_2488267.html","width":130,"caption":"","height":85});
															thumbnails[7455808] = clik.newPhoto({"id":7455808,"src":"IMG_7658-copy_thumb.jpg","galleries_id":403547,"server_id":1,"link":"photo_7455808.html","width":130,"caption":"","height":195});
															thumbnails[7888145] = clik.newPhoto({"id":7888145,"src":"IMG_0646-copy_thumb.jpg","galleries_id":425627,"server_id":1,"link":"photo_7888145.html","width":130,"caption":"","height":195});
															thumbnails[7444712] = clik.newPhoto({"id":7444712,"src":"IMG_7817-copy_thumb.jpg","galleries_id":403547,"server_id":1,"link":"photo_7444712.html","width":130,"caption":"","height":195});
															thumbnails[7888147] = clik.newPhoto({"id":7888147,"src":"IMG_0653-copy_thumb.jpg","galleries_id":425627,"server_id":1,"link":"photo_7888147.html","width":130,"caption":"","height":89});
															thumbnails[8033411] = clik.newPhoto({"id":8033411,"src":"IMG_1060-copy_thumb.jpg","galleries_id":431199,"server_id":1,"link":"photo_8033411.html","width":130,"caption":"","height":90});
															thumbnails[8040068] = clik.newPhoto({"id":8040068,"src":"IMG_1070-copy_thumb.jpg","galleries_id":431199,"server_id":1,"link":"photo_8040068.html","width":130,"caption":"","height":92});
															thumbnails[7888148] = clik.newPhoto({"id":7888148,"src":"IMG_0763-copy_thumb.jpg","galleries_id":425627,"server_id":1,"link":"photo_7888148.html","width":130,"caption":"","height":92});
															thumbnails[8033414] = clik.newPhoto({"id":8033414,"src":"IMG_0861-copy_thumb.jpg","galleries_id":431199,"server_id":1,"link":"photo_8033414.html","width":130,"caption":"Alltrinna T Grayson and Bobby Womack","height":97});
															thumbnails[8050552] = clik.newPhoto({"id":8050552,"src":"IMG_0901-copy_thumb.jpg","galleries_id":431199,"server_id":1,"link":"photo_8050552.html","width":130,"caption":"","height":195});
															thumbnails[3611459] = clik.newPhoto({"id":3611459,"src":"_MG_9958-copy_thumb.jpg","galleries_id":209452,"server_id":1,"link":"photo_3611459.html","width":130,"caption":"","height":87});
															thumbnails[2586054] = clik.newPhoto({"id":2586054,"src":"_MG_5559 copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_2586054.html","width":130,"caption":"","height":87});
															thumbnails[8074211] = clik.newPhoto({"id":8074211,"src":"Untitled-1-copy_thumb.jpg","galleries_id":431199,"server_id":1,"link":"photo_8074211.html","width":130,"caption":"","height":186});
															thumbnails[5204461] = clik.newPhoto({"id":5204461,"src":"IMG_2897-copy_thumb.jpg","galleries_id":209452,"server_id":1,"link":"photo_5204461.html","width":130,"caption":"Short Story","height":87});
															thumbnails[7903380] = clik.newPhoto({"id":7903380,"src":"IMG_0686-copy_thumb.jpg","galleries_id":425627,"server_id":1,"link":"photo_7903380.html","width":130,"caption":"","height":87});
															thumbnails[7903383] = clik.newPhoto({"id":7903383,"src":"IMG_0462-copy_thumb.jpg","galleries_id":425627,"server_id":1,"link":"photo_7903383.html","width":130,"caption":"","height":195});
															thumbnails[7281735] = clik.newPhoto({"id":7281735,"src":"IMG_6430_1-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_7281735.html","width":130,"caption":"Where Will You Go When The Party Is Over!.....The beautiful Jean Carne leaves the building","height":183});
															thumbnails[7903384] = clik.newPhoto({"id":7903384,"src":"IMG_9876-copy_thumb.jpg","galleries_id":425627,"server_id":1,"link":"photo_7903384.html","width":130,"caption":"","height":182});
															thumbnails[7903386] = clik.newPhoto({"id":7903386,"src":"IMG_9878-copy_thumb.jpg","galleries_id":425627,"server_id":1,"link":"photo_7903386.html","width":130,"caption":"","height":187});
															thumbnails[5307014] = clik.newPhoto({"id":5307014,"src":"IMG_2989-copy_thumb.jpg","galleries_id":209452,"server_id":1,"link":"photo_5307014.html","width":130,"caption":"","height":91});
															thumbnails[3530470] = clik.newPhoto({"id":3530470,"src":"_MG_9596-copy_thumb.jpg","galleries_id":177202,"server_id":1,"link":"photo_3530470.html","width":130,"caption":"","height":181});
															thumbnails[3507580] = clik.newPhoto({"id":3507580,"src":"Walk-the-line-1_thumb.jpg","galleries_id":177202,"server_id":1,"link":"photo_3507580.html","width":130,"caption":"Middle Of The Road","height":195});
															thumbnails[6425124] = clik.newPhoto({"id":6425124,"src":"IMG_3560-copy_thumb.jpg","galleries_id":209452,"server_id":1,"link":"photo_6425124.html","width":130,"caption":"Hidden Identity","height":87});
															thumbnails[3534996] = clik.newPhoto({"id":3534996,"src":"_MG_9569-copy_thumb.jpg","galleries_id":177202,"server_id":1,"link":"photo_3534996.html","width":130,"caption":"Giants Dont Exist","height":195});
															thumbnails[3598256] = clik.newPhoto({"id":3598256,"src":"_MG_9882-copy_thumb.jpg","galleries_id":177202,"server_id":1,"link":"photo_3598256.html","width":130,"caption":"Dont Upset The Farmers Bull","height":87});
															thumbnails[1678171] = clik.newPhoto({"id":1678171,"src":"Sy-Ber-Thought_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_1678171.html","width":130,"caption":"","height":188});
															thumbnails[4305955] = clik.newPhoto({"id":4305955,"src":"BorW-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_4305955.html","width":130,"caption":"Ebony and Ivory","height":135});
															thumbnails[4800198] = clik.newPhoto({"id":4800198,"src":"MJsmoke_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_4800198.html","width":130,"caption":"","height":85});
															thumbnails[3706318] = clik.newPhoto({"id":3706318,"src":"_MG_0399-copy_thumb.jpg","galleries_id":177202,"server_id":1,"link":"photo_3706318.html","width":130,"caption":"Thats It","height":183});
															thumbnails[3863036] = clik.newPhoto({"id":3863036,"src":"_MG_8973-copy_thumb.jpg","galleries_id":209452,"server_id":1,"link":"photo_3863036.html","width":130,"caption":"Ready Or Not","height":195});
															thumbnails[5008054] = clik.newPhoto({"id":5008054,"src":"_MG_9114-copy_thumb.jpg","galleries_id":122604,"server_id":1,"link":"photo_5008054.html","width":130,"caption":"","height":82});
															thumbnails[4484571] = clik.newPhoto({"id":4484571,"src":"New-Beginnings-II_thumb.jpg","galleries_id":177202,"server_id":1,"link":"photo_4484571.html","width":130,"caption":"New Beginnings","height":87});
															thumbnails[4747727] = clik.newPhoto({"id":4747727,"src":"_MG_1154-copy_thumb.jpg","galleries_id":177202,"server_id":1,"link":"photo_4747727.html","width":130,"caption":"His Space","height":182});
															thumbnails[3309095] = clik.newPhoto({"id":3309095,"src":"IMG_3938_thumb.JPG","galleries_id":23401,"server_id":1,"link":"photo_3309095.html","width":130,"caption":"STAR","height":123});
															thumbnails[3819782] = clik.newPhoto({"id":3819782,"src":"BBW-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_3819782.html","width":130,"caption":"Hypnosis","height":182});
															thumbnails[3999761] = clik.newPhoto({"id":3999761,"src":"Worship_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_3999761.html","width":130,"caption":"","height":183});
															thumbnails[4074109] = clik.newPhoto({"id":4074109,"src":"Attitude-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_4074109.html","width":130,"caption":"Attitude","height":98});
															thumbnails[4617708] = clik.newPhoto({"id":4617708,"src":"J2-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_4617708.html","width":130,"caption":"JD","height":87});
															thumbnails[5285459] = clik.newPhoto({"id":5285459,"src":"Home-For-Christmas_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_5285459.html","width":130,"caption":"Back On The Road Again","height":186});
															thumbnails[5367130] = clik.newPhoto({"id":5367130,"src":"IMG_4086-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_5367130.html","width":130,"caption":"One Track Mind","height":187});
															thumbnails[5471113] = clik.newPhoto({"id":5471113,"src":"IMG_5680-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_5471113.html","width":130,"caption":"","height":186});
															thumbnails[5908372] = clik.newPhoto({"id":5908372,"src":"Charlie_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_5908372.html","width":130,"caption":"","height":187});
															thumbnails[6027122] = clik.newPhoto({"id":6027122,"src":"Stones_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_6027122.html","width":130,"caption":"","height":92});
															thumbnails[6422524] = clik.newPhoto({"id":6422524,"src":"His--Hers_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_6422524.html","width":130,"caption":"His & Hers","height":91});
															thumbnails[6422525] = clik.newPhoto({"id":6422525,"src":"Last-Tango-In-Manchester_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_6422525.html","width":130,"caption":"Last Tango In Manchester","height":187});
															thumbnails[6667480] = clik.newPhoto({"id":6667480,"src":"The-Big-One_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_6667480.html","width":130,"caption":"The BIG One","height":91});
															thumbnails[6667508] = clik.newPhoto({"id":6667508,"src":"IMG_4257-copy_thumb.jpg","galleries_id":23401,"server_id":1,"link":"photo_6667508.html","width":130,"caption":"Magic Carpet Ride","height":90});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[425627] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Eric Benet","link":"gallery_425627.html","maxRecords":0.0,"photoIDs":[7888136.0,7888139.0,7888141.0,7888143.0,7888144.0,7888145.0,7888147.0,7888148.0,7903380.0,7903383.0,7903384.0,7903386.0],"skipIndex":0,"section_code":"gallery","featured_images":"7903386,7903384,7903383,7903380,7888148,7888147,7888145,7888144,7888143,7888141","id":425627,"singleSection":false});				  						galleries[431199] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Bobby Womack King Georges Hall June 2011","link":"gallery_431199.html","maxRecords":0.0,"photoIDs":[8852350.0,8031319.0,8031320.0,8031321.0,8031323.0,8031325.0,8033411.0,8040068.0,8033414.0,8050552.0,8074211.0],"skipIndex":0,"section_code":"gallery","featured_images":"8852350,8074211,8050552,8040068,8033414,8033411,8031325,8031323,8031321,8031320","id":431199,"singleSection":false});				  						galleries[403547] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Keni Burke Band On The Wall 19th Feb 2011","link":"gallery_403547.html","maxRecords":0.0,"photoIDs":[7444702.0,7444707.0,7455805.0,7444709.0,7444705.0,7444715.0,7455808.0,7444712.0],"skipIndex":0,"section_code":"gallery","featured_images":"7455808,7455805,7444715,7444712,7444709,7444707,7444705,7444702","id":403547,"singleSection":false});				  						galleries[473187] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Sheree Brown","link":"gallery_473187.html","maxRecords":0.0,"photoIDs":[8983975.0,8983979.0,8983981.0,8983983.0,8983984.0,8983987.0,8983989.0,9015205.0],"skipIndex":0,"section_code":"gallery","featured_images":"9015205,8983989,8983987,8983984,8983983,8983981,8983979,8983975","id":473187,"singleSection":false});				  						galleries[473658] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Billy Valentine","link":"gallery_473658.html","maxRecords":0.0,"photoIDs":[8993545.0,8993547.0,8993548.0,8993550.0,8993552.0,8993557.0,9033626.0],"skipIndex":0,"section_code":"gallery","featured_images":"9033626,8993557,8993552,8993550,8993548,8993547,8993545","id":473658,"singleSection":false});				  						galleries[401052] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Northern Soul At The Winter Gardens Blackpool","link":"gallery_401052.html","maxRecords":0.0,"photoIDs":[7404199.0,7404204.0,7404208.0,7404210.0,7404220.0,7404234.0,7404240.0,7409877.0,7409891.0,7409900.0,7678429.0],"skipIndex":0,"section_code":"gallery","featured_images":"7678429,7409900,7409891,7409877,7404240,7404234,7404220,7404210,7404208,7404204","id":401052,"singleSection":false});				  						galleries[23401] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Portraits and People","link":"gallery_23401.html","maxRecords":0.0,"photoIDs":[2061786.0,6486109.0,6486112.0,6973719.0,8176794.0,8203703.0,1414049.0,4097088.0,2488267.0,2586054.0,7281735.0,1678171.0,4305955.0,4800198.0,3309095.0,3819782.0,3999761.0,4074109.0,4617708.0,5285459.0,5367130.0,5471113.0,5908372.0,6027122.0,6422524.0,6422525.0,6667480.0,6667508.0],"skipIndex":0,"section_code":"gallery","featured_images":"5908372,5285459,4800198,4617708,4097088,4074109,3819782,3309095,2586054,2061786","id":23401,"singleSection":false});				  						galleries[122604] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Riverdance Ferry","link":"gallery_122604.html","maxRecords":0.0,"photoIDs":[3167397.0,5376423.0,5008054.0],"skipIndex":0,"section_code":"gallery","featured_images":"5008054,3167397","id":122604,"singleSection":false});				  						galleries[177202] = clik.newGallery({"parentGallery":"","usePopups":false,"title":" Manipulated \/ Mono \/ Sepia \/ Colour","link":"gallery_177202.html","maxRecords":0.0,"photoIDs":[7281673.0,3530470.0,3507580.0,3534996.0,3598256.0,3706318.0,4484571.0,4747727.0],"skipIndex":0,"section_code":"gallery","featured_images":"4747727,4484571,3706318,3598256,3534996,3530470","id":177202,"singleSection":false});				  						galleries[209452] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Visions through a LENSBABY ","link":"gallery_209452.html","maxRecords":0.0,"photoIDs":[7235989.0,3426680.0,3611459.0,5204461.0,5307014.0,6425124.0,3863036.0],"skipIndex":0,"section_code":"gallery","featured_images":"5307014,5204461,3863036,3611459","id":209452,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8993557,3167397,2061786,1414049,4097088,3611459,2586054,5307014,3530470,3534996,3598256,1678171,4305955,4800198,3706318,3863036,5008054,4484571,4747727,3309095,3819782,4074109,4617708,5285459';
imageSets[2] = '3167397,2061786,4097088,3611459,2586054,5204461,5307014,3530470,3534996,3598256,4800198,3706318,3863036,5008054,4484571,4747727,3309095,3819782,4074109,4617708,5285459,5908372';
imageSets[3] = '9033626,9015205,8993557,8993552,8993550,8993548,8993547,8993545,8983989,8983987,8983984,8983983,8983981,8983979,8983975,8852350,8203703,8176794,8074211,8050552,8040068,8033414,8033411,8031325,8031323,8031321,8031320,8031319,7903386,7903384,7903383,7903380,7888148,7888147,7888145,7888144,7888143,7888141,7888139,7888136,7678429,7455808,7455805,7444715,7444712,7444709,7444707,7444705,7444702,7409900';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/digipix76/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/digipix76/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/digipix76/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/digipix76/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/digipix76/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/digipix76/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/digipix76/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/digipix76/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 += '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 = 'Digipix76 Photography: ' + 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>';
	}
				
	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 this print online:</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="DIGIPIX76">';
			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;
	}
}

			

