function thumbnail(g,e,b,f,d,a,c){this.id=g;this.galleries_id=e;this.caption=b;this.src=getServerPath(c)+"/"+f;this.width=d;this.height=a}function gallery(e,c,d,b,a){this.id=e;this.featured_images=c;this.title=d;this.section_code=b;this.photoIDs=a}var thumbnails=new Object();thumbnails[6149035]=new thumbnail(6149035,"344156","","clik_1_thumb.JPG",130,86,5);thumbnails[6149052]=new thumbnail(6149052,"344156","","clik_41_thumb.JPG",130,196,5);thumbnails[6149055]=new thumbnail(6149055,"344156","","clik_5_thumb.JPG",130,86,5);thumbnails[6149067]=new thumbnail(6149067,"344156","","clik_8_thumb.jpg",130,196,5);thumbnails[6149071]=new thumbnail(6149071,"344156","","clik_9_thumb.JPG",130,196,5);thumbnails[6149074]=new thumbnail(6149074,"344156","","clik_10_thumb.JPG",130,195,5);thumbnails[6149083]=new thumbnail(6149083,"344156","","clik_12_thumb.jpg",130,195,5);thumbnails[6149093]=new thumbnail(6149093,"344156","","clik_15_thumb.JPG",130,196,5);thumbnails[6149095]=new thumbnail(6149095,"344156","","clik_16_thumb.JPG",130,86,5);thumbnails[6149097]=new thumbnail(6149097,"344156","","clik_17_thumb.JPG",130,196,5);thumbnails[6149101]=new thumbnail(6149101,"344156","","clik_19_thumb.JPG",130,196,5);thumbnails[6149104]=new thumbnail(6149104,"344156","","clik_20_thumb.JPG",130,196,5);thumbnails[6149109]=new thumbnail(6149109,"344156","","clik_22_thumb.JPG",130,196,5);thumbnails[6149118]=new thumbnail(6149118,"344156","","clik_25_thumb.JPG",130,196,5);thumbnails[6149122]=new thumbnail(6149122,"344156","","clik_261_thumb.JPG",130,86,5);thumbnails[6149123]=new thumbnail(6149123,"344156","","clik_27_thumb.JPG",130,86,5);thumbnails[6149127]=new thumbnail(6149127,"344156","","clik_28_thumb.JPG",130,196,5);thumbnails[6149135]=new thumbnail(6149135,"344156","","clik_31_thumb.JPG",130,196,5);thumbnails[6149156]=new thumbnail(6149156,"344156","","clik_3320E11B-1D09-001F-99375C5065F9D128_thumb.jpg",130,86,5);thumbnails[6149169]=new thumbnail(6149169,"344156","","clik_46_thumb.JPG",130,196,5);thumbnails[6149174]=new thumbnail(6149174,"344156","","clik_44_thumb.JPG",130,196,5);thumbnails[6149179]=new thumbnail(6149179,"344156","","clik_43_thumb.JPG",130,196,5);thumbnails[6149184]=new thumbnail(6149184,"344156","","clik_42_thumb.JPG",130,196,5);thumbnails[6156121]=new thumbnail(6156121,"344156","","clik_34_thumb.JPG",130,86,5);thumbnails[6156124]=new thumbnail(6156124,"344156","","clik_35_thumb.JPG",130,196,5);thumbnails[6156127]=new thumbnail(6156127,"344156","","clik_36_thumb.JPG",130,86,5);thumbnails[6156131]=new thumbnail(6156131,"344156","","clik_38_thumb.JPG",130,196,5);thumbnails[6156135]=new thumbnail(6156135,"344156","","clik_37_thumb.JPG",130,196,5);thumbnails[6156165]=new thumbnail(6156165,"344156","","rose_queen_100_copy_thumb.JPG",130,86,5);thumbnails[6344482]=new thumbnail(6344482,"351577","","smal30_thumb.JPG",130,196,5);thumbnails[6344483]=new thumbnail(6344483,"351577","","small1_thumb.jpg",130,196,5);thumbnails[6344512]=new thumbnail(6344512,"351577","","small2_thumb.JPG",130,196,5);thumbnails[6344514]=new thumbnail(6344514,"351577","","small3_D2A5CD16-24E8-5EC4-4F6177D746E1FCD4_thumb.JPG",130,196,5);thumbnails[6344515]=new thumbnail(6344515,"351577","","small4_D2A60473-24E8-5EC4-4FF8E6A9FA3EE1EF_thumb.JPG",130,196,5);thumbnails[6344516]=new thumbnail(6344516,"351577","","small5_thumb.jpg",130,196,5);thumbnails[6344517]=new thumbnail(6344517,"351577","","small6_thumb.JPG",130,196,5);thumbnails[6344521]=new thumbnail(6344521,"351577","","small7_thumb.JPG",130,86,5);thumbnails[6344524]=new thumbnail(6344524,"351577","","small8_D2A7119E-24E8-5EC4-4F4C8EA10F19778A_thumb.JPG",130,196,5);thumbnails[6344525]=new thumbnail(6344525,"351577","","small9_D2A7501E-24E8-5EC4-4F0E05478907CAAE_thumb.jpg",130,86,5);thumbnails[6344527]=new thumbnail(6344527,"351577","","small10_thumb.JPG",130,86,5);thumbnails[6344528]=new thumbnail(6344528,"351577","","small11_thumb.JPG",130,196,5);thumbnails[6344529]=new thumbnail(6344529,"351577","","small12_D2A8144A-24E8-5EC4-4FEC3C652110BEB6_thumb.JPG",130,86,5);thumbnails[6344530]=new thumbnail(6344530,"351577","","small13_D2A848D8-24E8-5EC4-4F88057D3500858A_thumb.JPG",130,86,5);thumbnails[6344531]=new thumbnail(6344531,"351577","","small14_D2A8899A-24E8-5EC4-4F01C42684D80122_thumb.jpg",130,86,5);thumbnails[6344532]=new thumbnail(6344532,"351577","","small15_D2A93BB5-24E8-5EC4-4F2924058001F500_thumb.JPG",130,86,5);thumbnails[6344533]=new thumbnail(6344533,"351577","","small16_thumb.jpg",130,86,5);thumbnails[6344535]=new thumbnail(6344535,"351577","","small17_D2A9CA3A-24E8-5EC4-4F0FB6ABA92825DE_thumb.jpg",130,86,5);thumbnails[6344537]=new thumbnail(6344537,"351577","","small18_D2A9FDBE-24E8-5EC4-4F2A21B578D91B97_thumb.JPG",130,86,5);thumbnails[6344538]=new thumbnail(6344538,"351577","","small19_thumb.jpg",130,86,5);thumbnails[6344539]=new thumbnail(6344539,"351577","","small20_thumb.JPG",130,196,5);thumbnails[6344541]=new thumbnail(6344541,"351577","","small21_D2AAB72C-24E8-5EC4-4F7212CAEBFF3CA1_thumb.JPG",130,196,5);thumbnails[6344542]=new thumbnail(6344542,"351577","","small22_D2AB005B-24E8-5EC4-4F02786066738333_thumb.JPG",130,86,5);thumbnails[6344543]=new thumbnail(6344543,"351577","","small23_thumb.jpg",130,196,5);thumbnails[6344545]=new thumbnail(6344545,"351577","","small24_thumb.JPG",130,86,5);thumbnails[6344547]=new thumbnail(6344547,"351577","","small25_thumb.JPG",130,196,5);thumbnails[6344548]=new thumbnail(6344548,"351577","","small26_D2ABED5C-24E8-5EC4-4FB05B440F3A3882_thumb.JPG",130,196,5);thumbnails[6344550]=new thumbnail(6344550,"351577","","small27_D2AC3C86-24E8-5EC4-4F602BD7E3E15196_thumb.JPG",130,86,5);thumbnails[6344551]=new thumbnail(6344551,"351577","","small28_D2AC73D3-24E8-5EC4-4F6FE5B70BE260FB_thumb.JPG",130,86,5);thumbnails[6344552]=new thumbnail(6344552,"351577","","small29_thumb.JPG",130,86,5);thumbnails[6344556]=new thumbnail(6344556,"351577","","small33_thumb.JPG",130,196,5);thumbnails[6344557]=new thumbnail(6344557,"351577","","small34_thumb.JPG",130,196,5);thumbnails[6344558]=new thumbnail(6344558,"351577","","small35_thumb.JPG",130,196,5);thumbnails[6344559]=new thumbnail(6344559,"351577","","small36_thumb.JPG",130,196,5);thumbnails[6344561]=new thumbnail(6344561,"351577","","small37_thumb.JPG",130,196,5);thumbnails[6344565]=new thumbnail(6344565,"351577","","small38_thumb.JPG",130,196,5);thumbnails[6344567]=new thumbnail(6344567,"351577","","small39_thumb.JPG",130,196,5);thumbnails[6344568]=new thumbnail(6344568,"351577","","small40_thumb.JPG",130,196,5);thumbnails[6344569]=new thumbnail(6344569,"351577","","small41_thumb.JPG",130,196,5);thumbnails[6344570]=new thumbnail(6344570,"351577","","small42_thumb.JPG",130,196,5);thumbnails[6344571]=new thumbnail(6344571,"351577","","small43_thumb.JPG",130,86,5);thumbnails[6344572]=new thumbnail(6344572,"351577","","small44_thumb.JPG",130,196,5);thumbnails[6344574]=new thumbnail(6344574,"351577","","small45_thumb.JPG",130,196,5);thumbnails[6344578]=new thumbnail(6344578,"351577","","small48_thumb.JPG",130,196,5);thumbnails[6344579]=new thumbnail(6344579,"351577","","small49_thumb.JPG",130,196,5);thumbnails[6344580]=new thumbnail(6344580,"351577","","small50_thumb.JPG",130,86,5);thumbnails[6344581]=new thumbnail(6344581,"351577","","small51_thumb.JPG",130,196,5);thumbnails[6344583]=new thumbnail(6344583,"351577","","small52_thumb.JPG",130,196,5);thumbnails[6344584]=new thumbnail(6344584,"351577","","small53_thumb.JPG",130,86,5);thumbnails[6344585]=new thumbnail(6344585,"351577","","small54_thumb.JPG",130,86,5);thumbnails[6344599]=new thumbnail(6344599,"351577","","small56_thumb.JPG",130,196,5);thumbnails[6344601]=new thumbnail(6344601,"351577","","small57_thumb.JPG",130,86,5);thumbnails[6344604]=new thumbnail(6344604,"351577","","small58_thumb.JPG",130,86,5);thumbnails[6344606]=new thumbnail(6344606,"351577","","small59_thumb.JPG",130,86,5);thumbnails[6344607]=new thumbnail(6344607,"351577","","small60_thumb.JPG",130,86,5);thumbnails[6344609]=new thumbnail(6344609,"351577","","small61_thumb.JPG",130,86,5);thumbnails[6344610]=new thumbnail(6344610,"351577","","small62_thumb.JPG",130,86,5);thumbnails[6344613]=new thumbnail(6344613,"351577","","small63_thumb.JPG",130,196,5);thumbnails[6344616]=new thumbnail(6344616,"351577","","small64_thumb.JPG",130,86,5);thumbnails[6391829]=new thumbnail(6391829,"351577","","DSC_0443_copy_copy_thumb.JPG",130,206,5);thumbnails[6397712]=new thumbnail(6397712,"351577","","erica_1_copy_copy_thumb.JPG",130,163,5);thumbnails[6397714]=new thumbnail(6397714,"351577","","erica_2_copy_copy_thumb.JPG",130,104,5);thumbnails[6397716]=new thumbnail(6397716,"351577","","erica_3_copy_copy_thumb.JPG",130,104,5);thumbnails[6397717]=new thumbnail(6397717,"351577","","erica_4_copy_copy_thumb.JPG",130,163,5);thumbnails[6397718]=new thumbnail(6397718,"351577","","erica_5_copy_copy_thumb.JPG",130,196,5);thumbnails[6397720]=new thumbnail(6397720,"351577","","erica_6_copy_copy_thumb.JPG",130,104,5);thumbnails[6397725]=new thumbnail(6397725,"351577","","erica_7_copy_copy_thumb.JPG",130,104,5);thumbnails[6397729]=new thumbnail(6397729,"351577","","erica_8_copy_copy_thumb.JPG",130,163,5);thumbnails[6397730]=new thumbnail(6397730,"351577","","erica_9_copy_copy_thumb.JPG",130,104,5);thumbnails[6397732]=new thumbnail(6397732,"351577","","erica_10_copy_copy_thumb.JPG",130,104,5);thumbnails[6397735]=new thumbnail(6397735,"351577","","erica_11_copy_copy_thumb.jpg",130,86,5);thumbnails[6397738]=new thumbnail(6397738,"351577","","erica_12_copy_copy_thumb.jpg",130,86,5);thumbnails[6397741]=new thumbnail(6397741,"351577","","erica_13_copy_copy_thumb.jpg",130,104,5);thumbnails[6397744]=new thumbnail(6397744,"351577","","erica_copy_copy_thumb.JPG",130,163,5);thumbnails[2816621]=new thumbnail(2816621,"175889","","1_thumb.jpg",130,194,5);thumbnails[2816622]=new thumbnail(2816622,"175889","","2_thumb.jpg",130,194,5);thumbnails[2816623]=new thumbnail(2816623,"175889","","3_thumb.jpg",130,194,5);thumbnails[2817517]=new thumbnail(2817517,"175889","","5_thumb.jpg",130,98,5);thumbnails[2817519]=new thumbnail(2817519,"175889","","6_thumb.JPG",130,87,5);thumbnails[2817568]=new thumbnail(2817568,"175889","","21_thumb.jpg",130,194,5);thumbnails[2817569]=new thumbnail(2817569,"175889","","22_thumb.JPG",130,87,5);thumbnails[2817573]=new thumbnail(2817573,"175889","","25_thumb.jpg",130,87,5);thumbnails[3281509]=new thumbnail(3281509,"175889","","kath 70 (35) copy_thumb.jpg",130,87,5);thumbnails[3281610]=new thumbnail(3281610,"175889","","DSC_0125 copy_thumb.jpg",130,87,5);thumbnails[3284630]=new thumbnail(3284630,"175889","","DSC_0653 copy_thumb.jpg",130,87,5);thumbnails[3421876]=new thumbnail(3421876,"175889","","small3_thumb.jpg",130,87,5);thumbnails[3806479]=new thumbnail(3806479,"175889","horse peek","DSC_0314_copy_thumb.jpg",130,90,5);thumbnails[4707115]=new thumbnail(4707115,"175889","","clik6_1_thumb.jpg",130,87,5);thumbnails[5300309]=new thumbnail(5300309,"175889","","site_thumb.JPG",130,91,5);thumbnails[5826632]=new thumbnail(5826632,"175889","","clik_1C33CCB4-1EC9-D45B-1C86F12AF4DB9F34_thumb.JPG",130,87,5);thumbnails[5826638]=new thumbnail(5826638,"175889","","clik2_1C343689-1EC9-D45B-1C75DDC0642DD22C_thumb.JPG",130,130,5);thumbnails[5826640]=new thumbnail(5826640,"175889","","clik3_1C347F3B-1EC9-D45B-1C5628A3E688FE0E_thumb.JPG",130,86,5);thumbnails[2817527]=new thumbnail(2817527,"175889","","9_thumb.jpg",130,200,5);thumbnails[2823712]=new thumbnail(2823712,"175889","","52_thumb.jpg",130,194,5);thumbnails[2823647]=new thumbnail(2823647,"175889","","2 copy_thumb.jpg",130,87,5);thumbnails[2823706]=new thumbnail(2823706,"175889","","47_thumb.jpg",130,87,5);thumbnails[2817530]=new thumbnail(2817530,"175890","","12_thumb.jpg",130,194,5);thumbnails[2817532]=new thumbnail(2817532,"175890","","13_thumb.jpg",130,163,5);thumbnails[2817537]=new thumbnail(2817537,"175890","","15_thumb.jpg",130,91,5);thumbnails[2817562]=new thumbnail(2817562,"175890","","18_thumb.jpg",130,129,5);thumbnails[2817572]=new thumbnail(2817572,"175890","","24_thumb.jpg",130,194,5);thumbnails[2817575]=new thumbnail(2817575,"175890","","26_thumb.jpg",130,196,5);thumbnails[2817617]=new thumbnail(2817617,"175890","","33_thumb.jpg",130,194,5);thumbnails[2826367]=new thumbnail(2826367,"175890","","221_thumb.jpg",130,194,5);thumbnails[2826382]=new thumbnail(2826382,"175890","","281_thumb.jpg",130,163,5);thumbnails[2826393]=new thumbnail(2826393,"175890","","312_thumb.jpg",130,163,5);thumbnails[3746331]=new thumbnail(3746331,"175890","","mall5_thumb.JPG",130,87,5);thumbnails[3746333]=new thumbnail(3746333,"175890","","small21_thumb.JPG",130,204,5);thumbnails[3746335]=new thumbnail(3746335,"175890","","small4_thumb.JPG",130,87,5);thumbnails[3746339]=new thumbnail(3746339,"175890","","small8_thumb.JPG",130,92,5);thumbnails[3746344]=new thumbnail(3746344,"175890","","small9_thumb.JPG",130,88,5);thumbnails[3746347]=new thumbnail(3746347,"175890","","small111_thumb.JPG",130,87,5);thumbnails[3746349]=new thumbnail(3746349,"175890","","small12_thumb.JPG",130,87,5);thumbnails[3746350]=new thumbnail(3746350,"175890","","small13_thumb.JPG",130,194,5);thumbnails[3746351]=new thumbnail(3746351,"175890","","small14_thumb.JPG",130,87,5);thumbnails[3746352]=new thumbnail(3746352,"175890","","small15_thumb.JPG",130,87,5);thumbnails[3746355]=new thumbnail(3746355,"175890","","small17_thumb.JPG",130,185,5);thumbnails[3746357]=new thumbnail(3746357,"175890","","small18_thumb.JPG",130,95,5);thumbnails[3746364]=new thumbnail(3746364,"175890","","small22_thumb.JPG",130,194,5);thumbnails[3746369]=new thumbnail(3746369,"175890","","small26_thumb.JPG",130,87,5);thumbnails[3746370]=new thumbnail(3746370,"175890","","small27_thumb.JPG",130,87,5);thumbnails[3746371]=new thumbnail(3746371,"175890","","small28_thumb.JPG",130,87,5);thumbnails[3746374]=new thumbnail(3746374,"175890","","small30_thumb.JPG",130,87,5);thumbnails[3746375]=new thumbnail(3746375,"175890","","small311_thumb.JPG",130,87,5);thumbnails[3786383]=new thumbnail(3786383,"175890","","small101_thumb.JPG",130,106,5);thumbnails[2817512]=new thumbnail(2817512,"175984","","31_thumb.JPG",130,87,5);thumbnails[2817578]=new thumbnail(2817578,"175984","","28_thumb.jpg",130,194,5);thumbnails[4707110]=new thumbnail(4707110,"175984","","clik1_1_thumb.JPG",130,87,5);thumbnails[4707112]=new thumbnail(4707112,"175984","","clik3_thumb.jpg",130,87,5);thumbnails[4707270]=new thumbnail(4707270,"175984","","clik1_2_thumb.JPG",130,194,5);thumbnails[3806371]=new thumbnail(3806371,"175985","balloons","balloons_copy_copy_thumb.JPG",130,194,5);thumbnails[3806381]=new thumbnail(3806381,"175985","bridge to Beeston","Beeston_Castle_copy_copy_thumb.JPG",130,194,5);thumbnails[3806429]=new thumbnail(3806429,"175985","blue sky church","blue_sky_church_thumb.JPG",130,194,5);thumbnails[3806430]=new thumbnail(3806430,"175985","bridge and man","bridge_and_man_copy_copy12_thumb.JPG",130,87,5);thumbnails[3806433]=new thumbnail(3806433,"175985","CN tower","CN_tower_thumb.jpg",130,194,5);thumbnails[3806441]=new thumbnail(3806441,"175985","love bug","door_to_bug_thumb.JPG",130,194,5);thumbnails[3806446]=new thumbnail(3806446,"175985","Crosby clouds","DSC_0019_copy4_thumb.jpg",130,194,5);thumbnails[3806448]=new thumbnail(3806448,"175985","Crosby figure","DSC_0021_copy2_copy_thumb.jpg",130,87,5);thumbnails[3806449]=new thumbnail(3806449,"175985","lamp glow","DSC_0097_copy_thumb.jpg",130,87,5);thumbnails[3806455]=new thumbnail(3806455,"175985","sunflower","DSC_0148_copy_thumb.JPG",130,182,5);thumbnails[3806464]=new thumbnail(3806464,"175985","sleeping flower","DSC_0193_copy_thumb.jpg",130,87,5);thumbnails[3806466]=new thumbnail(3806466,"175985","candle glow","DSC_0209_copy_thumb.jpg",130,87,5);thumbnails[3806470]=new thumbnail(3806470,"175985","Mam Tor mist","DSC_0291_copy2_thumb.jpg",130,87,5);thumbnails[3806472]=new thumbnail(3806472,"175985","Mam Tor peak<br>\r\n","DSC_0294_copy1_thumb.jpg",130,87,5);thumbnails[3806486]=new thumbnail(3806486,"175985","","DSC_0446_copy1_thumb.jpg",130,87,5);thumbnails[3806492]=new thumbnail(3806492,"175985","George the bear","DSC_0905_copy_thumb.jpg",130,87,5);thumbnails[3806498]=new thumbnail(3806498,"175985","Lake District","DSC_1054_thumb.JPG",130,87,5);thumbnails[3806500]=new thumbnail(3806500,"175985","sandy footsteps<br>\r\n","footprints_thumb.jpg",130,194,5);thumbnails[3806502]=new thumbnail(3806502,"175985","harley parking","harley_parking_thumb.jpg",130,194,5);thumbnails[3806503]=new thumbnail(3806503,"175985","chrome","harley_shine_thumb.jpg",130,87,5);thumbnails[3806504]=new thumbnail(3806504,"175985","sandy love","heart_shell_thumb.jpg",130,90,5);thumbnails[3806507]=new thumbnail(3806507,"175985","lamp<br>\r\n","lamp_thumb.JPG",130,194,5);thumbnails[3806514]=new thumbnail(3806514,"175985","harley line up","line_of_harley_thumb.jpg",130,194,5);thumbnails[3806520]=new thumbnail(3806520,"175985","Lochgoilhead","loch_thumb.JPG",130,98,5);thumbnails[3806529]=new thumbnail(3806529,"175985","stile mono","lonely_stile_thumb.jpg",130,87,5);thumbnails[3806542]=new thumbnail(3806542,"175985","sleepy monk<br>\r\n","monk_thumb.JPG",130,87,5);thumbnails[3806549]=new thumbnail(3806549,"175985","one orange tulip<br>\r\n","one_tulip_thumb.jpg",130,194,5);thumbnails[3806551]=new thumbnail(3806551,"175985","orange tulip","orange_tulips_thumb.jpg",130,194,5);thumbnails[3806554]=new thumbnail(3806554,"175985","pebble beach","pebble_circle_thumb.JPG",130,87,5);thumbnails[3806563]=new thumbnail(3806563,"175985","one pink tulip<br>\r\n","pink_tulip_thumb.jpg",130,194,5);thumbnails[3806575]=new thumbnail(3806575,"175985","school bus","school_bus_thumb.JPG",130,87,5);thumbnails[3806578]=new thumbnail(3806578,"175985","school xing<br>\r\n","school_xing_thumb.JPG",130,194,5);thumbnails[3806586]=new thumbnail(3806586,"175985","STOP","stop_thumb.JPG",130,194,5);thumbnails[3806592]=new thumbnail(3806592,"175985","totem mono","totem_mono_thumb.jpg",130,87,5);thumbnails[3806593]=new thumbnail(3806593,"175985","vertical totem","totem_vertical_thumb.jpg",130,194,5);thumbnails[5300333]=new thumbnail(5300333,"175985","","site3_thumb.JPG",130,93,5);thumbnails[5339217]=new thumbnail(5339217,"175985","","tree_thumb.JPG",130,194,5);thumbnails[5339263]=new thumbnail(5339263,"175985","","red_thumb.jpg",130,194,5);thumbnails[5462484]=new thumbnail(5462484,"175985","","6007_thumb.jpg",130,87,5);thumbnails[5462516]=new thumbnail(5462516,"175985","","60010_thumb.JPG",130,130,5);thumbnails[5462519]=new thumbnail(5462519,"175985","","6009_thumb.JPG",130,87,5);var galleries=new Object();galleries[344156]=new gallery(344156,"6156165,6156135,6156131,6156127,6156124,6156121,6149184,6149179,6149174,6149169","Mobberley Rose Queen 2010","gallery",[6149035,6149052,6149055,6149067,6149071,6149074,6149083,6149093,6149095,6149097,6149101,6149104,6149109,6149118,6149122,6149123,6149127,6149135,6149156,6149169,6149174,6149179,6149184,6156121,6156124,6156127,6156131,6156135,6156165]);galleries[351577]=new gallery(351577,"6397744,6397741,6397738,6397735,6397732,6397730,6397729,6397725,6397720,6397718","Salford Graduations 2010","gallery",[6344482,6344483,6344512,6344514,6344515,6344516,6344517,6344521,6344524,6344525,6344527,6344528,6344529,6344530,6344531,6344532,6344533,6344535,6344537,6344538,6344539,6344541,6344542,6344543,6344545,6344547,6344548,6344550,6344551,6344552,6344556,6344557,6344558,6344559,6344561,6344565,6344567,6344568,6344569,6344570,6344571,6344572,6344574,6344578,6344579,6344580,6344581,6344583,6344584,6344585,6344599,6344601,6344604,6344606,6344607,6344609,6344610,6344613,6344616,6391829,6397712,6397714,6397716,6397717,6397718,6397720,6397725,6397729,6397730,6397732,6397735,6397738,6397741,6397744]);galleries[175889]=new gallery(175889,"2816621","Portraits/candids","gallery",[2816621,2816622,2816623,2817517,2817519,2817568,2817569,2817573,3281509,3281610,3284630,3421876,3806479,4707115,5300309,5826632,5826638,5826640,2817527,2823712,2823647,2823706]);galleries[175890]=new gallery(175890,"3786383,3746375,3746374,3746371,3746370,3746369,3746364,3746357,3746355,3746352","Wedding","gallery",[2817530,2817532,2817537,2817562,2817572,2817575,2817617,2826367,2826382,2826393,3746331,3746333,3746335,3746339,3746344,3746347,3746349,3746350,3746351,3746352,3746355,3746357,3746364,3746369,3746370,3746371,3746374,3746375,3786383]);galleries[175984]=new gallery(175984,"4707270,4707112,4707110,2817578,2817512","Individual","gallery",[2817512,2817578,4707110,4707112,4707270]);galleries[175985]=new gallery(175985,"5462519,5462516,5462484,5339263,5339217,5300333,3806593,3806592,3806586,3806578","Prints","gallery",[3806371,3806381,3806429,3806430,3806433,3806441,3806446,3806448,3806449,3806455,3806464,3806466,3806470,3806472,3806486,3806492,3806498,3806500,3806502,3806503,3806504,3806507,3806514,3806520,3806529,3806542,3806549,3806551,3806554,3806563,3806575,3806578,3806586,3806592,3806593,5300333,5339217,5339263,5462484,5462516,5462519]);var imageSets=new Object();imageSets[1]="5826632";imageSets[2]="2816621";imageSets[3]="6397744,6397741,6397738,6397735,6397732,6397730,6397729,6397725,6397720,6397718,6397717,6397716,6397714,6397712,6391829,6344616,6344613,6344610,6344609,6344607,6344606,6344604,6344601,6344599,6344585,6344584,6344583,6344581,6344580,6344579,6344578,6344574,6344572,6344571,6344570,6344569,6344568,6344567,6344565,6344561,6344559,6344558,6344557,6344556,6344552,6344551,6344550,6344548,6344547,6344545";function randomListVal(a){arrayVals=a.split(",");if(arrayVals.length){pos=Math.round(Math.random()*(arrayVals.length-1));val=arrayVals[pos]}else{val=0}return val}function getServerPath(a){var b=-1;switch(a){case 21:b="http://www6.clikpic.com/kanashay/images";break}switch(a){case 1:b="http://www1.clikpic.com/kanashay/images";break}switch(a){case 2:b="http://admin.clikpic.com/kanashay/images";break}switch(a){case 24:b="http://tpc15/clikpic/kanashay/images";break}switch(a){case 4:b="http://www.clikchurch.com/kanashay/images";break}switch(a){case 5:b="http://www2.clikpic.com/kanashay/images";break}switch(a){case 22:b="http://tpc5/clikpic/kanashay/images";break}switch(a){case 23:b="http://tpc10/clikpic/kanashay/images";break}switch(a){case 25:b="http://tpc16/clikpic/kanashay/images";break}switch(a){case 15:b="http://www3.clikpic.com/kanashay/images";break}switch(a){case 18:b="http://www4.clikpic.com/kanashay/images";break}switch(a){case 19:b="http://www5.clikpic.com/kanashay/images";break}switch(a){case 31:b="http://www7.clikpic.com/kanashay/images";break}switch(a){case 32:b="http://admin2.clikpic.com/kanashay/images";break}switch(a){case 33:b="http://www8.clikpic.com/kanashay/images";break}switch(a){case 34:b="http://www9.clikpic.com/kanashay/images";break}switch(a){case 35:b="http://admin3.clikpic.com/kanashay/images";break}switch(a){case 37:b="http://admin4.clikpic.com/kanashay/images";break}return b}function showHomeImage(a){imageID=randomListVal("");if(!basic){a.src=photos[imageID].src;a.width=photos[imageID].width;a.height=photos[imageID].height}else{newImage=new Image(photos[imageID].width,photos[imageID].height);newImage.src=photos[imageID].src;document.images[a.name]=newImage}}function showHomeImageInline(){html="";imageID=randomListVal(imageSets[1]);if("gallery"!=""){if(backgrounds[imageID].galleries_id!=""){html+='<a href="'+backgrounds[imageID].section_code+"_"+backgrounds[imageID].galleries_id+'.html">'}else{html+='<a href="gallery.html">'}}html+='<img src="'+backgrounds[imageID].src+'" width="'+backgrounds[imageID].width+'" height="'+backgrounds[imageID].height+'" class="mainhomepageimage photo" id="mainSample" name="mainSample" alt="'+escape(backgrounds[imageID].caption)+'" border="0">';if("gallery"!=""){html+="</a>"}$("#homepageimage").html(html)}function getNextId(b,d,a){var c=getArrayPos(d,b);if(a){if(c==0){nextImgPos=d.length-1}else{nextImgPos=c-1}}else{if(c==d.length-1){nextImgPos=0}else{nextImgPos=c+1}}nextImg=d[nextImgPos];return nextImg}function next(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a);if(nextImg!=-1){updateImage(nextImg,d,b)}}function updateImage(f,e,b){if(!basic){document.getElementById("imagePhoto").innerHTML='<img class="mainphoto photo" src="'+photos[f].src+' " id="mainPic" name="mainPic" width="'+photos[f].width+'" height="'+photos[f].height+'" alt="'+photos[f].caption+'">';e.value=photos[f].id;$("#imageTitle").html(photos[f].caption);document.title="Your local Photographer - Mobberley, Knutsford: "+photos[f].caption;if(photos[f].caption==""){document.getElementById("imageTitle").style.display="none"}else{document.getElementById("imageTitle").style.display="block"}var a=fnGetImageDetails(f);if(a==""){document.getElementById("imageDetails").style.display="none";var c=document.getElementById("infoWrap");var d=document.getElementById("photoInfo");if(photos[f].caption==""){if(c!=null){c.className="empty"}if(d!=null){d.className="empty"}}else{if(c!=null){c.className="noinfo"}if(d!=null){d.className="noinfo"}}}else{document.getElementById("imageDetails").style.display="block";var c=document.getElementById("infoWrap");if(c!=null){c.className="normal"}var d=document.getElementById("photoInfo");if(d!=null){d.className="normal"}}document.getElementById("imageDetails").innerHTML=a;toggleAddToCartConfirm()}else{window.location="photo_"+photos[f].id+".html"}}function toggleAddToCartConfirm(){if($("#paymentConfirm").size()){$("#paymentConfirm").hide();$("#paymentAddButton").unbind().click(function(){form=document.getElementById("paymentForm");option_id=0;if(form.item_option.value){option_id=form.item_option.value}if(addItemToBasket(form.item_number.value,photos,form.site.value,parseInt(form.quantity.value,10),option_id)){if($.browser.msie){$("#paymentConfirm").text("Item added to cart").show()}else{$("#paymentConfirm").text("Item added to cart").fadeIn()}}else{$("#paymentConfirm").text("Item not added - check cookies are enabled in your browser.").fadeIn()}})}}function fnGetImageDetails(b){var a="";if(photos[b].description!=""){a=a+'<p id="imageDescription">'+photos[b].description+"</p>"}if(photos[b].takendate!=""){a=a+'<p class="imageinfo" id="imageDate"><strong>Date: </strong>'+photos[b].takendate+"</p>"}if(photos[b].location!=""){a=a+'<p class="imageinfo" id="imageLocation"><strong>Location: </strong>'+photos[b].location+"</p>"}if(photos[b].photographer!=""){a=a+'<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>'+photos[b].photographer+"</p>"}a=a+fnGetPaymentInfo(photos[b]);if(a!=""){a=a+'<div class="spacer"></div>'}return a}function fnGetPaymentInfo(c){var b="";if(c.item_price!==""){b=b+"<p>Buy now using Paypal</p>";b=b+'<p class="imageinfo" id="imagePrice"><strong>'+c.purchase_instruction+"</strong> 				&pound;"+(c.item_price).toFixed(2)+"</p>";var e=c.purchase_instruction;var d=(c.item_price).toFixed(2);var a=0}else{if(c.payment_groups_id!==""){b=b+"<p>Buy this print online</p>";b=b+'<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';b=b+'<select class="paymentlink" name="payment_options_id" onchange="updateCartValue(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';b=b+getPaymentOptions(c.payment_groups_id);b=b+"</select>";b=b+"</form>";var a=paymentGroups[c.payment_groups_id].options[0];if(paymentOptions[a]){var e=paymentOptions[a].payment_option;var d=paymentOptions[a].price}}else{}}if(c.item_price!==""||c.payment_groups_id!==""){b=b+'<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';b=b+'	<input type="hidden" name="item_option" value="'+a+'">';b=b+'	<input type="hidden" name="site" value="KANASHAY">';b=b+'	<input type="hidden" name="item_number" value="'+c.id+'">';b=b+'	<input type="hidden" name="quantity" value="1">';b=b+'	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button">';b=b+'	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';b=b+"</form>";b=b+'<div class="clearing">&nbsp;</div>';b=b+'<div id="confirmContainer">';b=b+'<div id="paymentConfirm">Item added to cart</div>';b=b+"</div>";b=b+'<div class="clearing">&nbsp;</div>'}return b}function previous(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a,1);if(nextImg!=-1){updateImage(nextImg,d,b)}}function showGalleryImage(c,b){imageID=randomListVal(galleries[c].featured_images);if(imageID!=0){b.src=thumbnails[imageID].src;b.width=thumbnails[imageID].width;b.height=thumbnails[imageID].height;if(b.width<130){var f=$("img#gallery"+c);f.parents(".thumbWrap").width(b.width);var a=f.siblings("h3").size()==1?f.siblings("h3"):f.parent(".thumbWrap").siblings("h3");var g=parseInt(a.css("padding-left"))+parseInt(a.css("padding-right"));var d=parseInt(a.css("border-left-width"))+parseInt(a.css("border-right-width"));var e=parseInt(f.parents(".thumbWrap").css("border-left-width"))+parseInt(f.parents(".thumbWrap").css("border-right-width"));a.width(f.outerWidth(true)-g-d+e)}}}function showGalleries(a){if(!basic){temp="";for(i=0;i<galleries.length;i++){if(galleries[i].id!=a){if(temp!=""){temp=temp+" | "}temp=temp+'<a href="gallery_'+galleries[i].id+'.html">'+galleries[i].title+"</a>"}}document.all.galleryLinks.innerHTML="Other galleries: "+temp}}function resizePhotoInfo(n){var b=$.extend({centre:false},n||{});var d=3;$("div#photoPanelOuter").height("auto");$("div#infoWrap").width(200);$("div#photoDetail").css("width","auto");var h=$("div#maincolContent").width();var j=$("div#photoWrap").outerWidth(true);var m=$("div#infoWrap").outerWidth(true);var k=$("div#photoWrap").outerHeight();var f=$("div#infoWrap").outerHeight();var c=$("div#infoWrap").hasClass("empty");floatDrop=0;var g=j;if(!c){if(h<(j+m)){floatDrop=1}if(!floatDrop){var a=$("div#infoWrap").innerWidth();$("div#infoWrap").width(a+(h-j-m-d));m=$("div#infoWrap").outerWidth(true);g=j+m;if(k>f){var e=$("div#photoPanelOuter").height();$("div#photoPanelOuter").height(e+(k-f));var f=$("div#infoWrap").outerHeight()}}else{var l=$("div#photoWrap").outerWidth();$("div#infoWrap").width(l)}}if(b.centre){$("div#photoDetail").width(g);$("div#photoDetail").css("margin-left","auto");$("div#photoDetail").css("margin-right","auto")}else{$("div#photoDetail").css("margin-left","0");$("div#photoDetail").css("margin-right","0")}}function getArrayPos(c,b){for(var a=0;a<c.length;a++){if(c[a]==b){return a}}return -1}function changeBgImg(a,e){var c=randomListVal(imageSets[e]);var d=backgrounds[c].src;var b=$(a);if(b.size()>0){if(/\bimg$/.test(a)){b.attr({src:d})}else{b.css({"background-image":'url("'+d+'")'})}}};