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[6171161]=new thumbnail(6171161,"99817","The Minder","DSC_0008_F0469039-1D09-001F-990E546E3E1E59A1_thumb.JPG",130,101,1);thumbnails[6171163]=new thumbnail(6171163,"99817","Sunday Morning","DSC_0013_F04A3719-1D09-001F-991E27A87226F5A1_thumb.JPG",130,102,1);thumbnails[5327067]=new thumbnail(5327067,"99817",'Widgeon  (16 x 12")',"DSC_0011_FE16FA01-1D09-001F-99C406388512ACDB_thumb.JPG",130,173,1);thumbnails[5239646]=new thumbnail(5239646,"99817",'The Fetherd Three  (10 x 12")',"DSC_0004_835A849A-1D09-001F-99B82488018E293C_thumb.JPG",130,104,1);thumbnails[4947513]=new thumbnail(4947513,"99817","Peeping Tom  (12 x 10 inches)","DSC_0026_thumb.JPG",130,156,1);thumbnails[4947534]=new thumbnail(4947534,"99817",'Black Buccaneer   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0023-1_thumb.JPG",130,158,1);thumbnails[4914301]=new thumbnail(4914301,"99817",'Lost and Found    <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0002_3_thumb.JPG",130,126,1);thumbnails[4902413]=new thumbnail(4902413,"259465",'Farm Hands    <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0024_thumb.JPG",130,96,1);thumbnails[4897891]=new thumbnail(4897891,"259465",'The Bird Fancier    <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0036_thumb.JPG",130,109,1);thumbnails[4897922]=new thumbnail(4897922,"99817",'Crimes of Fashion  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_00431_thumb.JPG",130,67,1);thumbnails[4897951]=new thumbnail(4897951,"99817","Chilli Beef  (13 x 12 inches)","DSC_00441_thumb.JPG",130,117,1);thumbnails[4897957]=new thumbnail(4897957,"99817",'High Tailing  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_00461_thumb.JPG",130,95,1);thumbnails[4897959]=new thumbnail(4897959,"99817",'Chief Household Officers  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_00491_thumb.JPG",130,162,1);thumbnails[4897960]=new thumbnail(4897960,"99817",'Sense and Sensibility  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0050_thumb.JPG",130,130,1);thumbnails[4897963]=new thumbnail(4897963,"99817","Pastures Remembered (12 x 16 inches)","DSC_00541_thumb.JPG",130,92,1);thumbnails[4899650]=new thumbnail(4899650,"99817",'Heart of Ireland   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0019_thumb.JPG",130,88,1);thumbnails[4899664]=new thumbnail(4899664,"99817",'French Chic-s !  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0012_2_thumb.JPG",130,129,1);thumbnails[4899683]=new thumbnail(4899683,"99817",'The Good, The Bad and the Cuddly !    <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_00052_thumb.JPG",130,100,1);thumbnails[4899689]=new thumbnail(4899689,"99817","The Pony Whisperer  (12 x 18 inches)","DSC_00071_thumb.JPG",130,86,1);thumbnails[4902402]=new thumbnail(4902402,"259465",'Pheasant Gate  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0009_1_thumb.JPG",130,104,1);thumbnails[4902404]=new thumbnail(4902404,"99817","Aristocats  (16 x 12 inches)","DSC_0001_thumb.JPG",130,176,1);thumbnails[4902407]=new thumbnail(4902407,"99817",'Glamour Puss  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0013_thumb.JPG",130,108,1);thumbnails[4902409]=new thumbnail(4902409,"99817","Occasional Read  (14 x 8 inches)","DSC_0015_thumb.JPG",130,232,1);thumbnails[4902416]=new thumbnail(4902416,"99817","A Turn on the Stairs (14 x 8 inches)","DSC_0016_thumb.JPG",130,230,1);thumbnails[4902421]=new thumbnail(4902421,"99817","A Light in the Window (14 x 8 inches)","DSC_0018_1_thumb.JPG",130,161,1);thumbnails[4902427]=new thumbnail(4902427,"99817",'Head Study, Brandy   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0023_thumb.JPG",130,161,1);thumbnails[4897261]=new thumbnail(4897261,"99817","A Bit of a Fling (12 x 14 inches)","DSC_00351_thumb.JPG",130,106,1);thumbnails[4897284]=new thumbnail(4897284,"99817",'Raving at Reynards   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0002_2_thumb.JPG",130,74,1);thumbnails[4897287]=new thumbnail(4897287,"99817",'Skulking Skullduggery <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0011_thumb.JPG",130,100,1);thumbnails[4897290]=new thumbnail(4897290,"99817",'Irritable Fowls !   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0012_1_thumb.JPG",130,101,1);thumbnails[4897875]=new thumbnail(4897875,"99817","Hound of the Passing Trails  (12 x 10 inches)","DSC_00401_thumb.JPG",130,155,1);thumbnails[4897899]=new thumbnail(4897899,"99817",'Upstairs, Downstairs    <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_00421_thumb.JPG",130,100,1);thumbnails[4897965]=new thumbnail(4897965,"99817","Pier Pressure (14 x 18 inches)","DSC_00512_thumb.JPG",130,98,1);thumbnails[4899673]=new thumbnail(4899673,"99817","Stand by Your Ham ! (10 x 14 inches)","DSC_0002_1_thumb.JPG",130,112,1);thumbnails[4488660]=new thumbnail(4488660,"259465",'Bringing Home The Christmas  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0002-1_thumb.JPG",130,91,1);thumbnails[4441417]=new thumbnail(4441417,"99817",'Dog Almighty  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0006_1_thumb.JPG",130,156,1);thumbnails[4441418]=new thumbnail(4441418,"99817",'Early Mass   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0005_thumb.JPG",130,169,1);thumbnails[4441421]=new thumbnail(4441421,"99817",'Muddy Marvellous ! (16 x 20")',"DSC_0004_thumb.JPG",130,107,1);thumbnails[4441334]=new thumbnail(4441334,"99817",'Cerberus at the back gate (12 x 14 ")',"DSC_0051_thumb.JPG",130,110,1);thumbnails[4441339]=new thumbnail(4441339,"99817",'Lake Water Yapping  (19 x 28")',"DSC_0020_1_thumb.JPG",130,89,1);thumbnails[4441342]=new thumbnail(4441342,"99817",'Pygmalion (8.5 x 9.5")',"DSC_0047_thumb.JPG",130,106,1);thumbnails[4441345]=new thumbnail(4441345,"259465",'The Highbrow  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0046_thumb.JPG",130,166,1);thumbnails[4441349]=new thumbnail(4441349,"99817",'The Glee Girls   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0044_thumb.JPG",130,106,1);thumbnails[4441355]=new thumbnail(4441355,"259465",'All Ears   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0043_thumb.JPG",130,160,1);thumbnails[4441361]=new thumbnail(4441361,"99817",'Mellow Yellow <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0042_thumb.JPG",130,161,1);thumbnails[4441364]=new thumbnail(4441364,"99817",'Chain Reactions   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0040_thumb.JPG",130,106,1);thumbnails[4441368]=new thumbnail(4441368,"259465",'The Seasoned Traveller  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0038_thumb.JPG",130,122,1);thumbnails[4441414]=new thumbnail(4441414,"259465",'Friend or Foe?   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0037_thumb.JPG",130,168,1);thumbnails[4441416]=new thumbnail(4441416,"99817",'Snug Fit  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0035_thumb.JPG",130,133,1);thumbnails[4441337]=new thumbnail(4441337,"99817",'Summer Sanctum  (10 x 12")',"DSC_0049_thumb.JPG",130,104,1);thumbnails[3971572]=new thumbnail(3971572,"259465",'A Scholar in the Long Gallery <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_00041_thumb.JPG",130,175,1);thumbnails[3971579]=new thumbnail(3971579,"99817",'Make my Day !  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0006_thumb.JPG",130,176,1);thumbnails[3971583]=new thumbnail(3971583,"259465",'Always Returning  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0009_thumb.JPG",130,92,1);thumbnails[3971598]=new thumbnail(3971598,"99817",'Bon Vivant ! <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_00042_thumb.JPG",130,101,1);thumbnails[3971600]=new thumbnail(3971600,"259465",'Miss Scarlett   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0010_thumb.JPG",130,103,1);thumbnails[3971602]=new thumbnail(3971602,"99817",'Maestro (12 x 18")',"DSC_0012_thumb.JPG",130,88,1);thumbnails[3971609]=new thumbnail(3971609,"259465",'A Break in Rehersal   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_00161_thumb.JPG",130,156,1);thumbnails[3971611]=new thumbnail(3971611,"259465",'Scholar in the Big Study, Clongowes <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0020_thumb.JPG",130,191,1);thumbnails[3915125]=new thumbnail(3915125,"259465",'Pointers, Poetry in Motion   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0002_thumb.JPG",130,131,1);thumbnails[3750865]=new thumbnail(3750865,"259465",'Black Magic     <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"Collon_36_thumb.JPG",130,122,1);thumbnails[3750872]=new thumbnail(3750872,"259465",'Ploughmans Crunch   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"Collon_41_thumb.JPG",130,98,1);thumbnails[3741925]=new thumbnail(3741925,"99817",'Breaking Scandal ! (16 x 12")',"Collon_22_thumb.JPG",130,177,1);thumbnails[3741929]=new thumbnail(3741929,"259465",'The Waiting Game     <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"Collon_23_thumb.JPG",130,101,1);thumbnails[3741932]=new thumbnail(3741932,"99817",'Exuberence Francais <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"Collon_24_thumb.JPG",130,95,1);thumbnails[3741933]=new thumbnail(3741933,"259465",'Stand By Your Lamb!   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"Collon_25_thumb.JPG",130,93,1);thumbnails[3741935]=new thumbnail(3741935,"259465",'Whats the Beef?  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"Collon_26_thumb.JPG",130,94,1);thumbnails[3741936]=new thumbnail(3741936,"259465",'Ruby Red    <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"Collon_27_thumb.JPG",130,166,1);thumbnails[3741937]=new thumbnail(3741937,"259465",'His Magnificence  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"Collon_28_thumb.JPG",130,158,1);thumbnails[3741959]=new thumbnail(3741959,"259465",'Pixie Tales    <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"Collon_30_thumb.JPG",130,156,1);thumbnails[3741960]=new thumbnail(3741960,"259465",'Forensic Pigments  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"Collon_31_thumb.JPG",130,111,1);thumbnails[3741964]=new thumbnail(3741964,"99817",'Arcadia  (9 x 12")',"Collon_32_thumb.JPG",130,87,1);thumbnails[3741966]=new thumbnail(3741966,"99817",'Wet Paw Ushers (16 x 12")',"Collon_33_thumb.JPG",130,177,1);thumbnails[3741971]=new thumbnail(3741971,"259465",'The Irish Patient    <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"Collon_35_thumb.JPG",130,94,1);thumbnails[3741972]=new thumbnail(3741972,"99817",'After the Race, Laytown (16 x 20")',"Collon_37_thumb.JPG",130,93,1);thumbnails[3741977]=new thumbnail(3741977,"259465",'A Country Gentleman  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"Collon_39_thumb.JPG",130,89,1);thumbnails[3741980]=new thumbnail(3741980,"99817",'A Scratch Pack ! (12 x 20")',"Collon_43_thumb.JPG",130,69,1);thumbnails[3722833]=new thumbnail(3722833,"99817",'Mona Lisa  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0018_thumb.JPG",130,155,1);thumbnails[3532271]=new thumbnail(3532271,"259465",'The Bend in the Road, Littlewood  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0021_thumb.JPG",130,108,1);thumbnails[3532273]=new thumbnail(3532273,"99817",'Jeeves <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0081_thumb.JPG",130,160,1);thumbnails[3532275]=new thumbnail(3532275,"99817",'Marmaduke (23 x 20 ")',"DSC_0085_thumb.JPG",130,154,1);thumbnails[3532277]=new thumbnail(3532277,"259465",'French Hideaway  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0087_thumb.JPG",130,104,1);thumbnails[3532278]=new thumbnail(3532278,"99817",'Bonnie Blue (12 x 10")',"DSC_0022_thumb.JPG",130,158,1);thumbnails[3204375]=new thumbnail(3204375,"259465",'Springers  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0023~12_thumb.jpg",130,106,1);thumbnails[3204371]=new thumbnail(3204371,"259465",'South African Bull  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0011~1_thumb.jpg",130,113,1);thumbnails[3204373]=new thumbnail(3204373,"259465",'Here Come The Girls!    <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0013~12_thumb.jpg",130,68,1);thumbnails[2858928]=new thumbnail(2858928,"99817",'Clongowes, Winter Prayer ( 16 x 12")',"clongowes winter prayer~1_thumb.jpg",129,92,1);thumbnails[2582751]=new thumbnail(2582751,"259465",'Notorious  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~57~1_thumb.jpg",130,155,1);thumbnails[2583042]=new thumbnail(2583042,"259465",'Stacked on the Kings <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~63~1_thumb.jpg",130,88,1);thumbnails[1967359]=new thumbnail(1967359,"259465",'Mr Darcy\'s Purple Patch <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~5~1_thumb.jpg",130,94,1);thumbnails[1445428]=new thumbnail(1445428,"259465",'Pecking Order  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"21~1_thumb.jpg",130,130,1);thumbnails[1445462]=new thumbnail(1445462,"259465",'Time For Tea  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"36~1_thumb.jpg",130,129,1);thumbnails[1445463]=new thumbnail(1445463,"259465",'Under the Rose Arch  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"37~1_thumb.jpg",130,160,1);thumbnails[1445568]=new thumbnail(1445568,"259465",'Patience   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"50~1_thumb.jpg",130,130,1);thumbnails[2271985]=new thumbnail(2271985,"259465",'School days, Knockbeg College   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~40~1_thumb.jpg",130,97,1);thumbnails[2271986]=new thumbnail(2271986,"259465",'Hot Gossip  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~42~1_thumb.jpg",130,163,1);thumbnails[2271990]=new thumbnail(2271990,"259465",'Staking a Claim  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0058~1_thumb.jpg",130,94,1);thumbnails[5663876]=new thumbnail(5663876,"320876",'12 x 10 "',"DSC_0118_thumb.JPG",130,165,1);thumbnails[5663884]=new thumbnail(5663884,"320876",'(16 x 20")',"DSC_0120_thumb.JPG",130,100,1);thumbnails[5663886]=new thumbnail(5663886,"320876",'(12 x 17")',"DSC_0122_thumb.JPG",130,87,1);thumbnails[5663887]=new thumbnail(5663887,"320876",'(10 x 8")',"DSC_0123_thumb.JPG",130,170,1);thumbnails[5663890]=new thumbnail(5663890,"320876",'(12 x 14")',"DSC_0125_thumb.JPG",130,110,1);thumbnails[5663892]=new thumbnail(5663892,"320876",'(16 x 20")',"DSC_0126_thumb.JPG",130,106,1);thumbnails[5663893]=new thumbnail(5663893,"320876",'(16 x 20")',"DSC_0127_thumb.JPG",130,103,1);thumbnails[5663895]=new thumbnail(5663895,"320876",'(12 x 17")',"DSC_0128_thumb.JPG",130,84,1);thumbnails[5698761]=new thumbnail(5698761,"320876","(9 x 12.5)","DSC_0002_95F5D798-1D09-001F-99DD06FEB90F7E69_thumb.JPG",130,91,1);thumbnails[5698764]=new thumbnail(5698764,"320876",'(8 x 14")',"DSC_0005_95F6E03E-1D09-001F-996EA2FD737BD24A_thumb.JPG",130,71,1);thumbnails[5823506]=new thumbnail(5823506,"320876",'12" x 24"',"DSC_0103_thumb.JPG",130,67,1);thumbnails[5823510]=new thumbnail(5823510,"320876",'12" x 12"',"DSC_0104_thumb.JPG",130,130,1);thumbnails[5823511]=new thumbnail(5823511,"320876",'6" x 10"',"DSC_0105_thumb.JPG",130,76,1);thumbnails[2917121]=new thumbnail(2917121,"259465",'Mr Whitty\'s Shoe Shop <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0002~1_thumb.jpg",130,82,1);thumbnails[2917122]=new thumbnail(2917122,"259465",'Jigging before the Start, Laytown <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0005~1_thumb.jpg",130,88,1);thumbnails[2917123]=new thumbnail(2917123,"259465",'The Dream team <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0007~1_thumb.jpg",130,88,1);thumbnails[2917104]=new thumbnail(2917104,"259465",'Starching Day  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0004~1_thumb.jpg",130,147,1);thumbnails[2917133]=new thumbnail(2917133,"259465",'Du Pain, du vin, du sea, du sand ! <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0028~1_thumb.jpg",130,88,1);thumbnails[2917118]=new thumbnail(2917118,"259465",'The Royal Box <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0012~1_thumb.jpg",130,190,1);thumbnails[2917116]=new thumbnail(2917116,"259465",'The Corporate Box <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0010~1_thumb.jpg",130,192,1);thumbnails[2271993]=new thumbnail(2271993,"259465",'After the Hunt <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~26~1_thumb.jpg",130,98,1);thumbnails[2917109]=new thumbnail(2917109,"259465",'Killer Heels <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0006~1_thumb.jpg",130,66,1);thumbnails[2918884]=new thumbnail(2918884,"259465",'Pup Idol <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0013~1_thumb.jpg",130,158,1);thumbnails[2917129]=new thumbnail(2917129,"259465",'Bolt Hole <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0022~1_thumb.jpg",130,104,1);thumbnails[2917131]=new thumbnail(2917131,"259465",'Curious <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0027~1_thumb.jpg",130,95,1);thumbnails[2917132]=new thumbnail(2917132,"259465",'School For Manners <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0018~1_thumb.jpg",130,85,1);thumbnails[2271992]=new thumbnail(2271992,"259465",'Marching Orders   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0059~1_thumb.jpg",130,96,1);thumbnails[2271987]=new thumbnail(2271987,"99817","Antique Rogue Show (16 x 12 inches)","08~41~1_thumb.jpg",130,94,1);thumbnails[2582977]=new thumbnail(2582977,"259465",'The Sporting Life <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~60~1_thumb.jpg",130,88,1);thumbnails[2582703]=new thumbnail(2582703,"259465",'A Glimpse of Old Wexford  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~54~1_thumb.jpg",130,182,1);thumbnails[2918885]=new thumbnail(2918885,"259465",'The Parterre du Midi <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0020~1_thumb.jpg",130,125,1);thumbnails[2918886]=new thumbnail(2918886,"259465",'Snow Patrol <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0002~11_thumb.jpg",130,93,1);thumbnails[2858923]=new thumbnail(2858923,"99817",'Clongowes, Evening Glow (18 x 14")',"clongowes Evening glow~1_thumb.jpg",129,95,1);thumbnails[2918883]=new thumbnail(2918883,"259465",'Chook \'n\' Boots <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0012~11_thumb.jpg",130,157,1);thumbnails[1967418]=new thumbnail(1967418,"99817","Baby Powers  (20 x 16 inches)","08~14~1_thumb.jpg",130,101,1);thumbnails[2271979]=new thumbnail(2271979,"259465",'Sunday Snooze   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~1~1_thumb.jpg",130,101,1);thumbnails[2920171]=new thumbnail(2920171,"259465",'Keeping a Low Profile <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0019~1_thumb.jpg",130,166,1);thumbnails[2918995]=new thumbnail(2918995,"99817","Hunting Above Aghold (24 x 20 Inches)","08~8~11_thumb.jpg",130,105,1);thumbnails[2918997]=new thumbnail(2918997,"259465",'On Home Ground <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~52~1_thumb.jpg",130,85,1);thumbnails[2582715]=new thumbnail(2582715,"259465",'The Presbytery Door  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~55~1_thumb.jpg",130,164,1);thumbnails[2920072]=new thumbnail(2920072,"259465",'The Morning After the Fright Before  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0012~12_thumb.jpg",130,166,1);thumbnails[2918888]=new thumbnail(2918888,"259465",'Degas View !  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0016~1_thumb.jpg",130,110,1);thumbnails[2918881]=new thumbnail(2918881,"259465","Am I Forgiven Yet?(SOLD)","DSC_0008~1_thumb.jpg",130,157,1);thumbnails[2582742]=new thumbnail(2582742,"99817",'Venice of the South East (Wexford)  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~56~1_thumb.jpg",130,101,1);thumbnails[2917130]=new thumbnail(2917130,"259465",'Miss-Hap, the Explorer  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0023~1_thumb.jpg",130,149,1);thumbnails[2918998]=new thumbnail(2918998,"259465",'Stella Artois  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~78~1_thumb.jpg",130,107,1);thumbnails[2920184]=new thumbnail(2920184,"99817","Morning Blues (24 x 16 inches)","DSC_0021~1_thumb.jpg",130,181,1);thumbnails[1967412]=new thumbnail(1967412,"99817",'Wool Gathering (16" x 12")',"08~12~1_thumb.jpg",130,175,1);thumbnails[2271984]=new thumbnail(2271984,"259465",'Farmyard Gossip  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~35~1_thumb.jpg",130,126,1);thumbnails[1967408]=new thumbnail(1967408,"259465",'Lost and Found  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~10~1_thumb.jpg",130,168,1);thumbnails[2920183]=new thumbnail(2920183,"259465",'Thunder Over Taghmon <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0020~11_thumb.jpg",130,93,1);thumbnails[2919001]=new thumbnail(2919001,"259465",'Lofty Aspirations  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~68~1_thumb.jpg",130,86,1);thumbnails[2582806]=new thumbnail(2582806,"99817",'New Approach (12 x 16 ")',"08~62~1_thumb.jpg",130,194,1);thumbnails[2582739]=new thumbnail(2582739,"259465",'Yeats <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~61~1_thumb.jpg",130,87,1);thumbnails[2920573]=new thumbnail(2920573,"259465",'The Early Bird  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~53~1_thumb.jpg",130,89,1);thumbnails[2918891]=new thumbnail(2918891,"259465","The Milk Bar (SOLD)","DSC_0014~1_thumb.jpg",130,109,1);thumbnails[2918887]=new thumbnail(2918887,"259465","Dangerous Liasons (SOLD)","DSC_0009~1_thumb.jpg",130,92,1);thumbnails[2920087]=new thumbnail(2920087,"259465",'Bon Forage  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0016~11_thumb.jpg",130,99,1);thumbnails[2582963]=new thumbnail(2582963,"99817",'The Sitter (Wont get out of Bed for Less than 10.000 !) (16 x 20 ")',"08~59~1_thumb.jpg",130,167,1);thumbnails[2917124]=new thumbnail(2917124,"259465",'Prints of Bales ! <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0015~1_thumb.jpg",130,127,1);thumbnails[1445426]=new thumbnail(1445426,"99817","Cooling their Heels  24 x 20 inches","20~1_thumb.jpg",130,104,1);thumbnails[2920000]=new thumbnail(2920000,"259465","Last of the Summer Swine (SOLD)","DSC_0010~12_thumb.jpg",130,107,1);thumbnails[1445439]=new thumbnail(1445439,"259465","Keeping the Wolf by the Fire ! ( SOLD)","28~1_thumb.jpg",130,104,1);thumbnails[2920589]=new thumbnail(2920589,"99817","Sacred Cows ! ( 16 x 12 inches)","08~22~1_thumb.jpg",130,92,1);thumbnails[1445465]=new thumbnail(1445465,"259465",'A Hustle Here and a Bustle There !   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"out on a Gander~1_thumb.jpg",130,104,1);thumbnails[2920551]=new thumbnail(2920551,"259465",'Bunclody Banks <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0061~1_thumb.jpg",130,61,1);thumbnails[2582903]=new thumbnail(2582903,"99817",'A Scent of Roses (10 x 12 ")',"08~58~1_thumb.jpg",130,160,1);thumbnails[1442995]=new thumbnail(1442995,"259465",'The Ornamental Hermit    <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"13~1_thumb.jpg",130,161,1);thumbnails[1445450]=new thumbnail(1445450,"99817",'Taking the Evening Sun   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0008_thumb.JPG",130,202,1);thumbnails[1445459]=new thumbnail(1445459,"259465","Miss Scarletts Bad Hair Day  (SOLD)","35~1_thumb.jpg",130,118,1);thumbnails[2271989]=new thumbnail(2271989,"259465","All Knowing Size  (SOLD)","08~43~1_thumb.jpg",130,124,1);thumbnails[2271981]=new thumbnail(2271981,"259465",'Evening Ebb   <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"08~23~1_thumb.jpg",130,92,1);thumbnails[2920544]=new thumbnail(2920544,"99817","Champion Udder (16 x 12 inches)","DSC_0021_1_thumb.JPG",130,93,1);thumbnails[1445429]=new thumbnail(1445429,"99817",'Free Range at Aghold  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"22~1_thumb.jpg",130,104,1);thumbnails[1509927]=new thumbnail(1509927,"99817","Freckled with Anticipation !  12 x 10 inches","P1010038~1_thumb.jpg",130,106,1);thumbnails[2920249]=new thumbnail(2920249,"259465","Shepherds Pie (SOLD)","DSC_0013~11_thumb.jpg",130,96,1);thumbnails[2920565]=new thumbnail(2920565,"99817","Fowl Play (16 x 20 inches)","P1010041~1_1_thumb.jpg",130,166,1);thumbnails[1442988]=new thumbnail(1442988,"99817",'The Rondale, Aghold   16" x 20"',"12~1_thumb.jpg",130,166,1);thumbnails[1509962]=new thumbnail(1509962,"99817",'The Gap Year !  <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"P1010043~1_thumb.jpg",130,59,1);thumbnails[1442963]=new thumbnail(1442963,"259465",'Coque au Van     <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"10~1_thumb.jpg",130,128,1);thumbnails[2920084]=new thumbnail(2920084,"259465","Sentry Duty (SOLD)","DSC_0015~11_thumb.jpg",130,129,1);thumbnails[2920556]=new thumbnail(2920556,"99817","A Sports Injury (20 x 16 inches)","DSC_0067~1_thumb.jpg",130,101,1);thumbnails[2920077]=new thumbnail(2920077,"259465",'Cricket Days <FONT COLOR="FAEBD7"><font size="3">(SOLD)</FONT></font>',"DSC_0014~11_thumb.jpg",130,92,1);thumbnails[2920550]=new thumbnail(2920550,"259465","No More Grind (SOLD)","08~73~11_thumb.jpg",130,103,1);thumbnails[2919982]=new thumbnail(2919982,"99817","The Flying O'Briens (24 x 16 inches)","DSC_0002~12_thumb.jpg",130,86,1);thumbnails[2919989]=new thumbnail(2919989,"99817","Greatheart (16 x 20 inches)","DSC_0005~11_thumb.jpg",130,165,1);thumbnails[2919998]=new thumbnail(2919998,"99817","Frozen Fire, Septimus, Moonstone (28 x 18 inches)","DSC_0007~11_thumb.jpg",130,86,1);thumbnails[2919985]=new thumbnail(2919985,"99817","A Significant Letter (12 x 20 inches)","DSC_0003~1_thumb.jpg",130,219,1);thumbnails[2918882]=new thumbnail(2918882,"259465","Susie (SOLD)","DSC_0010~11_thumb.jpg",130,160,1);thumbnails[1452721]=new thumbnail(1452721,"90746","","Bloomington Bob~1_thumb.jpg",130,98,1);thumbnails[1452725]=new thumbnail(1452725,"90746","","dromodore~1_thumb.jpg",130,88,1);thumbnails[1452728]=new thumbnail(1452728,"90746","","prince~1_thumb.jpg",130,162,1);thumbnails[1452730]=new thumbnail(1452730,"90746","","07~17~1_thumb.jpg",130,99,1);thumbnails[1452731]=new thumbnail(1452731,"90746","","07~190~1_thumb.jpg",130,129,1);thumbnails[1452734]=new thumbnail(1452734,"90746","","06~123~1_thumb.jpg",130,131,1);thumbnails[1452736]=new thumbnail(1452736,"90746","","04~128~1_thumb.JPG",130,173,1);thumbnails[1452737]=new thumbnail(1452737,"90746","","04~118~1_thumb.JPG",130,173,1);thumbnails[1452738]=new thumbnail(1452738,"90746","","04~79~1_thumb.jpg",130,183,1);thumbnails[1452739]=new thumbnail(1452739,"90746","","04~27~1_thumb.jpg",130,98,1);thumbnails[5268355]=new thumbnail(5268355,"90746","","DSC_0015_A6BCE6C5-1D09-001F-99A4C78DE8221ACC_thumb.JPG",130,163,1);thumbnails[5268369]=new thumbnail(5268369,"90746","","DSC_0009_A6C49429-1D09-001F-9934123A1C07285D_thumb.JPG",130,99,1);thumbnails[5268370]=new thumbnail(5268370,"90746","","DSC_0013_A6C5B6C0-1D09-001F-99AE7F79D05B0DCC_thumb.JPG",130,161,1);thumbnails[5268373]=new thumbnail(5268373,"90746","","DSC_0008_A6C683D4-1D09-001F-999E08E4D014BF1D_thumb.JPG",130,91,1);var galleries=new Object();galleries[99817]=new gallery(99817,"6171163,6171161,5327067,5239646,4947534,4947513,4914301,4902427,4902421,4902416","Current Exhibition","gallery",[6171161,6171163,5327067,5239646,4947513,4947534,4914301,4897922,4897951,4897957,4897959,4897960,4897963,4899650,4899664,4899683,4899689,4902404,4902407,4902409,4902416,4902421,4902427,4897261,4897284,4897287,4897290,4897875,4897899,4897965,4899673,4441417,4441418,4441421,4441334,4441339,4441342,4441349,4441361,4441364,4441416,4441337,3971579,3971598,3971602,3741925,3741932,3741964,3741966,3741972,3741980,3722833,3532273,3532275,3532278,2858928,2271987,2858923,1967418,2918995,2582742,2920184,1967412,2582806,2582963,1445426,2920589,2582903,1445450,2920544,1445429,1509927,2920565,1442988,1509962,2920556,2919982,2919989,2919998,2919985]);galleries[320876]=new gallery(320876,"5823511,5823510,5823506,5698764,5698761,5663895,5663893,5663892,5663890,5663887","Farmleigh Exhibition","section384797",[5663876,5663884,5663886,5663887,5663890,5663892,5663893,5663895,5698761,5698764,5823506,5823510,5823511]);galleries[259465]=new gallery(259465,"4902413,4902402,4897891,4488660,4441414,4441368,4441355,4441345,3971611,3971609","Recently Sold Paintings","section313183",[4902413,4897891,4902402,4488660,4441345,4441355,4441368,4441414,3971572,3971583,3971600,3971609,3971611,3915125,3750865,3750872,3741929,3741933,3741935,3741936,3741937,3741959,3741960,3741971,3741977,3532271,3532277,3204375,3204371,3204373,2582751,2583042,1967359,1445428,1445462,1445463,1445568,2271985,2271986,2271990,2917121,2917122,2917123,2917104,2917133,2917118,2917116,2271993,2917109,2918884,2917129,2917131,2917132,2271992,2582977,2582703,2918885,2918886,2918883,2271979,2920171,2918997,2582715,2920072,2918888,2918881,2917130,2918998,2271984,1967408,2920183,2919001,2582739,2920573,2918891,2918887,2920087,2917124,2920000,1445439,1445465,2920551,1442995,1445459,2271989,2271981,2920249,1442963,2920084,2920077,2920550,2918882]);galleries[90746]=new gallery(90746,"5268373,5268370,5268369,5268355,1452739,1452738,1452737,1452736,1452734,1452731","Commissions","section134314",[1452721,1452725,1452728,1452730,1452731,1452734,1452736,1452737,1452738,1452739,5268355,5268369,5268370,5268373]);var imageSets=new Object();imageSets[1]="6171163,6171161,5823511,5823510,5823506,5698764,5698761,5663895,5663893,5663892,5663890,5663887,5663886,5663884,5663876,5327067,5268373,5268370,5268369,5268355,5239646,4947534,4947513,4914301,4902427,4902421,4902416,4902413,4902409,4902407,4902404,4902402,4899689,4899683,4899673,4899664,4899650,4897965,4897963,4897960,4897959,4897957,4897951,4897922,4897899,4897891,4897875,4897290,4897287,4897284";imageSets[3]="6171163,6171161,5823511,5823510,5823506,5698764,5698761,5663895,5663893,5663892,5663890,5663887,5663886,5663884,5663876,5327067,5268373,5268370,5268369,5268355,5239646,4947534,4947513,4914301,4902427,4902421,4902416,4902413,4902409,4902407,4902404,4902402,4899689,4899683,4899673,4899664,4899650,4897965,4897963,4897960,4897959,4897957,4897951,4897922,4897899,4897891,4897875,4897290,4897287,4897284";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/jassycrowleylong/images";break}switch(a){case 1:b="http://www1.clikpic.com/jassycrowleylong/images";break}switch(a){case 2:b="http://admin.clikpic.com/jassycrowleylong/images";break}switch(a){case 24:b="http://tpc15/clikpic/jassycrowleylong/images";break}switch(a){case 4:b="http://www.clikchurch.com/jassycrowleylong/images";break}switch(a){case 5:b="http://www2.clikpic.com/jassycrowleylong/images";break}switch(a){case 22:b="http://tpc5/clikpic/jassycrowleylong/images";break}switch(a){case 23:b="http://tpc10/clikpic/jassycrowleylong/images";break}switch(a){case 25:b="http://tpc16/clikpic/jassycrowleylong/images";break}switch(a){case 15:b="http://www3.clikpic.com/jassycrowleylong/images";break}switch(a){case 18:b="http://www4.clikpic.com/jassycrowleylong/images";break}switch(a){case 19:b="http://www5.clikpic.com/jassycrowleylong/images";break}switch(a){case 31:b="http://www7.clikpic.com/jassycrowleylong/images";break}switch(a){case 32:b="http://admin2.clikpic.com/jassycrowleylong/images";break}switch(a){case 33:b="http://www8.clikpic.com/jassycrowleylong/images";break}switch(a){case 34:b="http://www9.clikpic.com/jassycrowleylong/images";break}switch(a){case 35:b="http://admin3.clikpic.com/jassycrowleylong/images";break}switch(a){case 37:b="http://admin4.clikpic.com/jassycrowleylong/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="Jacinta Crowley-Long: "+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;resizePhotoInfo();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].photo_ref!=""){a=a+'<p class="imageinfo" id="imageRef"><strong>Ref: </strong>'+photos[b].photo_ref+"</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>"}if(a!=""){a=a+'<div class="spacer"></div>'}return a}function fnGetPaymentInfo(c){var b="";if(c.item_price!==""){b=b+"<p>Order this print:</p>";b=b+'<p class="imageinfo" id="imagePrice"><strong>'+c.purchase_instruction+"</strong> 							"+(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="updateItemValues(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';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+'<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+'")'})}}};