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[3221244]=new thumbnail(3221244,"300276","The Ape","Italiandrawings1 (15)_thumb.JPG",130,184,32);thumbnails[3221246]=new thumbnail(3221246,"300274","Dog 5","new_wok_-_dartmouth_108_thumb.JPG",130,195,32);thumbnails[3221247]=new thumbnail(3221247,"288116","The Englishman SOLD","new_wok_-_dartmouth_113_thumb.JPG",130,195,32);thumbnails[3572181]=new thumbnail(3572181,"300276","The Cinquecento","4_Etching__50_edition_95_unframed_150_framed_-_Framed_30x30_thumb.JPG",130,153,32);thumbnails[3572212]=new thumbnail(3572212,"300278","Standing Tall","new_wok_-_dartmouth_002_thumb.JPG",130,195,32);thumbnails[3572224]=new thumbnail(3572224,"247969","Follow Me - SOLD ","new_wok_-_dartmouth_004_thumb.JPG",130,183,32);thumbnails[3572227]=new thumbnail(3572227,"300274","Family Dog","new_wok_-_dartmouth_070_thumb.JPG",130,195,32);thumbnails[3572276]=new thumbnail(3572276,"247969","","1_29_thumb.JPG",130,184,32);thumbnails[3572284]=new thumbnail(3572284,"300278","","1_30_thumb.JPG",130,92,32);thumbnails[3572287]=new thumbnail(3572287,"300280","","1_35_thumb.JPG",130,184,32);thumbnails[3572289]=new thumbnail(3572289,"278336","Town Path","1_34_thumb.JPG",130,184,32);thumbnails[3572294]=new thumbnail(3572294,"300280","The Boats","1_37_thumb.JPG",130,184,32);thumbnails[3605448]=new thumbnail(3605448,"300280","","thank_you_book_club_pink_radio_red_lips_thumb.jpg",130,203,32);thumbnails[3620621]=new thumbnail(3620621,"300280","The Lemon Tree","catalogue_of_work_069_thumb.JPG",130,130,32);thumbnails[3620737]=new thumbnail(3620737,"300278","Surfer III","catalogue_of_work_095_thumb.JPG",130,130,32);thumbnails[3620741]=new thumbnail(3620741,"300278","Surfers II","catalogue_of_work_096_thumb.JPG",130,130,32);thumbnails[3620744]=new thumbnail(3620744,"300278","Surfing Couple Fistral","catalogue_of_work_098_thumb.JPG",130,130,32);thumbnails[3620745]=new thumbnail(3620745,"300278","Surfers","catalogue_of_work_099_thumb.JPG",130,130,32);thumbnails[3620748]=new thumbnail(3620748,"300278","Running Home","catalogue_of_work_100_thumb.JPG",130,130,32);thumbnails[3620754]=new thumbnail(3620754,"300274","Dog, Dartmouth","new_wok_-_dartmouth_067_thumb.JPG",130,202,32);thumbnails[3620756]=new thumbnail(3620756,"300276","Caffe Vero","3_Caffe_Vero_thumb.JPG",130,163,32);thumbnails[3620759]=new thumbnail(3620759,"300280","","new_roberts_015_thumb.JPG",130,184,32);thumbnails[3620761]=new thumbnail(3620761,"300274","Dog 2","new_wok_-_dartmouth_066_thumb.JPG",130,195,32);thumbnails[3620767]=new thumbnail(3620767,"300274","Dog 3","new_wok_-_dartmouth_112_thumb.JPG",130,87,32);thumbnails[3620771]=new thumbnail(3620771,"300276","","vespa_uno_008_thumb.JPG",130,153,32);thumbnails[3620774]=new thumbnail(3620774,"300276","Mantova","5_Mantova_thumb.JPG",130,202,32);thumbnails[3620778]=new thumbnail(3620778,"300276","Vespa Verona","4Vespa_Verona_thumb.JPG",130,193,32);thumbnails[3620784]=new thumbnail(3620784,"300278","The Waiting Game","catalogue_of_work_117_thumb.JPG",130,92,32);thumbnails[3620800]=new thumbnail(3620800,"300280","The Little Nest","catalogue_of_work_136_thumb.JPG",130,176,32);thumbnails[3620811]=new thumbnail(3620811,"300278","Bath Buskers","catalogue_of_work_161_thumb.JPG",130,92,32);thumbnails[3620813]=new thumbnail(3620813,"300278","detail","catalogue_of_work_162_thumb.JPG",130,130,32);thumbnails[3620815]=new thumbnail(3620815,"300278","detail","catalogue_of_work_163_thumb.JPG",130,130,32);thumbnails[3620817]=new thumbnail(3620817,"300280","Roberts and Bamboo","catalogue_of_work_156_thumb.JPG",130,184,32);thumbnails[3620819]=new thumbnail(3620819,"300280","","catalogue_of_work_157_thumb.JPG",130,184,32);thumbnails[3898452]=new thumbnail(3898452,"300278","As One","new_wok_-_dartmouth_003_thumb.JPG",130,184,32);thumbnails[3898525]=new thumbnail(3898525,"300278","The Calm after the Storm - SOLD","new_wok_-_dartmouth_005_thumb.JPG",130,99,32);thumbnails[3898528]=new thumbnail(3898528,"300278","Rosa - SOLD","01042009402_thumb.jpg",130,142,32);thumbnails[4327418]=new thumbnail(4327418,"247969","La Strada - SOLD","1_13_thumb.jpg",130,155,32);thumbnails[4327435]=new thumbnail(4327435,"300276","Al Castello - SOLD","1_141_thumb.jpg",130,167,32);thumbnails[4327466]=new thumbnail(4327466,"300274","Highland I - SOLD","1_65_thumb.JPG",130,130,32);thumbnails[4327469]=new thumbnail(4327469,"247969","","BrownstonA5Firino1-2_thumb.jpg",130,74,32);thumbnails[4327480]=new thumbnail(4327480,"288116","Dog Etching edition of 50","dog1_thumb.jpg",130,135,32);thumbnails[4327511]=new thumbnail(4327511,"300276","Ape Due Etching","1_10_thumb.JPG",130,130,32);thumbnails[4327515]=new thumbnail(4327515,"300280","Curious Roberts Etching","curious_roberts_etching_thumb.jpg",130,162,32);thumbnails[4327517]=new thumbnail(4327517,"300276","Vespa Caffe","vespa_caffe_thumb.jpg",130,173,32);thumbnails[4327520]=new thumbnail(4327520,"300278","Standing Tall","1_64_thumb.JPG",130,223,32);thumbnails[4327522]=new thumbnail(4327522,"300280","Roberts and Lillies","new_roberts_010_thumb.JPG",130,190,32);thumbnails[4327528]=new thumbnail(4327528,"300280","Outside Roberts","new_roberts_013_thumb.JPG",130,184,32);thumbnails[4327532]=new thumbnail(4327532,"300278","","new_wok_-_dartmouth_073_thumb.JPG",130,195,32);thumbnails[4327536]=new thumbnail(4327536,"300278","Lydia","new_wok_-_dartmouth_052_thumb.JPG",130,197,32);thumbnails[4327537]=new thumbnail(4327537,"300278","Friends","new_wok_-_dartmouth_059_thumb.JPG",130,195,32);thumbnails[4459540]=new thumbnail(4459540,"300278","At the White Rock","Fed_at_the_White_Rock_thumb.jpg",130,167,32);thumbnails[4910175]=new thumbnail(4910175,"278336","Castle Street","castle_Street_thumb.jpg",130,128,32);thumbnails[4910178]=new thumbnail(4910178,"278336","Castle Street with Gold","Castle_Street_with_Gold_thumb.jpg",130,122,32);thumbnails[4910182]=new thumbnail(4910182,"278336","One Black Sheep","One_Black_Sheep_thumb.jpg",130,121,32);thumbnails[4910184]=new thumbnail(4910184,"278336","Rooftops","Rooftops_thumb.jpg",130,129,32);thumbnails[4910227]=new thumbnail(4910227,"278336","Into Town","Into_Town_thumb.jpg",130,122,32);thumbnails[4910231]=new thumbnail(4910231,"278336","Market Square - SOLD","market_square_thumb.JPG",130,130,32);thumbnails[4910234]=new thumbnail(4910234,"278336","Salisbury","salisbury_thumb.jpg",130,121,32);thumbnails[4910235]=new thumbnail(4910235,"278336","Walking Madonna","salisbury_drawings_024_thumb.JPG",130,130,32);thumbnails[4910237]=new thumbnail(4910237,"278336","Salisbury Rooftops","salisbury_rooftops_thumb.jpg",130,121,32);thumbnails[4910270]=new thumbnail(4910270,"300276","Camper Etching","camper_original_thumb.jpg",130,87,32);thumbnails[4910287]=new thumbnail(4910287,"300278","Katy","katy_thumb.jpg",130,113,32);thumbnails[4910288]=new thumbnail(4910288,"288116","L'aperitivo","LAperitivo-_Diptych__Sally_Firino_thumb.jpg",130,56,32);thumbnails[5118579]=new thumbnail(5118579,"288116","La Strada - SOLD","La_Strada_-_Sally_Firino_thumb.jpg",130,139,32);thumbnails[5331917]=new thumbnail(5331917,"300247","Georgy Commission","Georgy_Greenwhite_-_Copy_-_Copy_thumb.jpg",130,85,32);thumbnails[5331938]=new thumbnail(5331938,"300274","The Highland Etching","drawings_new_005_thumb.JPG",130,147,32);thumbnails[5332005]=new thumbnail(5332005,"300276","Vespa Cinque","drawings_new_007_thumb.JPG",130,126,32);thumbnails[5332014]=new thumbnail(5332014,"300276","Little Ape","drawings_new_008_thumb.JPG",130,125,32);thumbnails[5332023]=new thumbnail(5332023,"300274","Under the Table","drawings_new_014_thumb.JPG",130,128,32);thumbnails[5332034]=new thumbnail(5332034,"300276","Ape 50","drawings_new_017_thumb.JPG",130,118,32);thumbnails[5332037]=new thumbnail(5332037,"300276","Ape 52","drawings_new_018_thumb.JPG",130,190,32);thumbnails[5332047]=new thumbnail(5332047,"300276","The Citroën 2CV","drawings_new_020_thumb.JPG",130,107,32);thumbnails[5332052]=new thumbnail(5332052,"300274","The Dog","drawings_new_021_thumb.JPG",130,110,32);thumbnails[5332056]=new thumbnail(5332056,"300274","The Dog 2","drawings_new_022_thumb.JPG",130,195,32);thumbnails[5332061]=new thumbnail(5332061,"300274","Riley","drawings_new_023_thumb.JPG",130,123,32);thumbnails[5332072]=new thumbnail(5332072,"300274","The Proud Bird","drawings_new_025_thumb.JPG",130,144,32);thumbnails[5332076]=new thumbnail(5332076,"300280","The Bench","drawings_new_027_thumb.JPG",130,87,32);thumbnails[5332130]=new thumbnail(5332130,"300276","Tuscan Ape","drawings_new_038_thumb.JPG",130,190,32);thumbnails[5332140]=new thumbnail(5332140,"300276","Tuscan Ape (Detail)","drawings_new_039_thumb.JPG",130,87,32);thumbnails[5332150]=new thumbnail(5332150,"300278","The New Laptop","drawings_new_042_thumb.JPG",130,195,32);thumbnails[5332169]=new thumbnail(5332169,"300278","The New Laptop ","drawings_new_043_thumb.JPG",130,190,32);thumbnails[5332174]=new thumbnail(5332174,"300276","Deux Chevaux Vapeur","drawings_new_044_thumb.JPG",130,87,32);thumbnails[5332471]=new thumbnail(5332471,"300277","Blue Camper","blue_camper_-_Copy_thumb.jpg",130,87,32);thumbnails[5332475]=new thumbnail(5332475,"300277","Green Camper","green_camper_-_Copy_thumb.jpg",130,87,32);thumbnails[5332479]=new thumbnail(5332479,"300277","Pink Camper","pink_camper_-_Copy_thumb.jpg",130,87,32);thumbnails[5332481]=new thumbnail(5332481,"300277","Surfer blue","surfer_blue_-_Copy_thumb.jpg",130,130,32);thumbnails[5332485]=new thumbnail(5332485,"300277","Surfers pink and blue","surfer_pink_n_blue_-_Copy_thumb.jpg",130,130,32);thumbnails[5332489]=new thumbnail(5332489,"300277","yellow camper","yellow_camper_-_Copy_thumb.jpg",130,87,32);thumbnails[5833024]=new thumbnail(5833024,"330089","Dog in Bag Italia","april_10_108_thumb.JPG",130,130,32);thumbnails[5833057]=new thumbnail(5833057,"330089","Italia","april_10_110_thumb.JPG",130,130,32);thumbnails[5833061]=new thumbnail(5833061,"330089","Cane 1","april_10_111_thumb.JPG",130,130,32);thumbnails[5833068]=new thumbnail(5833068,"330089","Fruit Vespa","april_10_112_thumb.JPG",130,131,32);thumbnails[5833070]=new thumbnail(5833070,"330089","2 Birds","april_10_113_thumb.JPG",130,139,32);thumbnails[5833072]=new thumbnail(5833072,"330089","Il Girasole","april_10_114_thumb.JPG",130,133,32);thumbnails[5833106]=new thumbnail(5833106,"330089","Waiting","april_10_115_thumb.JPG",130,127,32);thumbnails[5833107]=new thumbnail(5833107,"330089","500","april_10_116_thumb.JPG",130,120,32);thumbnails[5833110]=new thumbnail(5833110,"330089","La Grand Terche","april_10_117_thumb.JPG",130,133,32);thumbnails[5833114]=new thumbnail(5833114,"330089","Old Vespa","april_10_118_thumb.JPG",130,133,32);thumbnails[5833117]=new thumbnail(5833117,"330089","Maurice, The Pipe Smoker","april_10_119_thumb.JPG",130,141,32);thumbnails[5833121]=new thumbnail(5833121,"330089","Clemence","april_10_120_thumb.JPG",130,144,32);thumbnails[5833123]=new thumbnail(5833123,"330089","Cafe","april_10_121_thumb.JPG",130,132,32);thumbnails[5833126]=new thumbnail(5833126,"330089","Chocolat Chaud","april_10_122_thumb.JPG",130,127,32);thumbnails[5833129]=new thumbnail(5833129,"330089","La Rue","april_10_123_thumb.JPG",130,142,32);thumbnails[5833134]=new thumbnail(5833134,"330089","Bar Martini","april_10_124_thumb.JPG",130,131,32);thumbnails[5833138]=new thumbnail(5833138,"330089","No 5","april_10_125_thumb.JPG",130,132,32);thumbnails[5833141]=new thumbnail(5833141,"330089","Mini Sketchbook","april_10_126_thumb.JPG",130,87,32);thumbnails[5833147]=new thumbnail(5833147,"330089","Mini Sketchbook","april_10_127_thumb.JPG",130,87,32);thumbnails[5833149]=new thumbnail(5833149,"330089","Mini Sketchbook","april_10_128_thumb.JPG",130,87,32);thumbnails[5833154]=new thumbnail(5833154,"330089","Mini Sketchbook","april_10_130_thumb.JPG",130,87,32);thumbnails[5833162]=new thumbnail(5833162,"330089","Mini Sketchbook","april_10_131_thumb.JPG",130,87,32);thumbnails[5833166]=new thumbnail(5833166,"330089","Mini Sketchbook","april_10_132_thumb.JPG",130,87,32);thumbnails[5833171]=new thumbnail(5833171,"330089","Mini Sketchbook","april_10_133_thumb.JPG",130,87,32);thumbnails[5928900]=new thumbnail(5928900,"330089","BUgs","may_10_001_thumb.JPG",130,148,32);thumbnails[5928905]=new thumbnail(5928905,"330089","MOr","may_10_005_thumb.JPG",130,130,32);thumbnails[5928912]=new thumbnail(5928912,"330089","Dub Days","may_10_009_thumb.JPG",130,136,32);thumbnails[5928918]=new thumbnail(5928918,"300247","Bling","may_10_018_thumb.JPG",130,82,32);thumbnails[5928920]=new thumbnail(5928920,"300276","Primrose","may_10_019_thumb.JPG",130,98,32);thumbnails[5965588]=new thumbnail(5965588,"300276","Hand Coloured Etching - Luigi","etchings3_012_thumb.JPG",130,134,32);thumbnails[6143392]=new thumbnail(6143392,"356802","Cafe Latino","cafe_latino_thumb.jpg",130,131,32);thumbnails[6143394]=new thumbnail(6143394,"356802","Ciao Bella","ciao_bella_thumb.jpg",130,131,32);thumbnails[6143396]=new thumbnail(6143396,"356802","Mon ami","mon_ami_thumb.jpg",130,129,32);thumbnails[6143398]=new thumbnail(6143398,"356802","The Love Affair","The_Love_Affair_thumb.jpg",130,132,32);thumbnails[3221240]=new thumbnail(3221240,"196777","Afternoon at Villa Pia","Italiandrawings1 (5)_thumb.JPG",130,181,32);thumbnails[3221242]=new thumbnail(3221242,"196777","Zoe at Villa Pia","Italiandrawings1 (6)_thumb.JPG",130,184,32);thumbnails[3221243]=new thumbnail(3221243,"196777","Vicolo dei Cacciatori","Italiandrawings1 (9)_thumb.JPG",130,98,32);thumbnails[3221248]=new thumbnail(3221248,"196777","The Vespa","Italiandrawings1 (14)_thumb.JPG",130,184,32);thumbnails[3504234]=new thumbnail(3504234,"196777","Ponte Vecchio","Italiandrawings1 (11)_thumb.JPG",130,92,32);thumbnails[3504237]=new thumbnail(3504237,"196777","Rooftops","Italiandrawings1 (16)_thumb.JPG",130,92,32);thumbnails[3504243]=new thumbnail(3504243,"196777","Market Day Vercelli","Italiandrawings1_thumb.JPG",130,184,32);thumbnails[3504274]=new thumbnail(3504274,"196777","Piazza del Campo","sallydrawings2 065_thumb.JPG",130,91,32);thumbnails[3572295]=new thumbnail(3572295,"196777","Vespa Latino","2Vespa_Latino_thumb.JPG",130,164,32);thumbnails[3620806]=new thumbnail(3620806,"196777","In the Square (detail )","catalogue_of_work_148_thumb.JPG",130,87,32);thumbnails[3620809]=new thumbnail(3620809,"196777","Detail","catalogue_of_work_149_thumb.JPG",130,130,32);thumbnails[5332030]=new thumbnail(5332030,"196777","Garibaldi","drawings_new_015_thumb.JPG",130,121,32);thumbnails[5332085]=new thumbnail(5332085,"196777","The walk to Anghiari","drawings_new_031_thumb.JPG",130,91,32);thumbnails[5332090]=new thumbnail(5332090,"196777","The Road to Sansepolcro","drawings_new_033_thumb.JPG",130,89,32);thumbnails[5332099]=new thumbnail(5332099,"196777","Corso Matteotti due","drawings_new_035_thumb.JPG",130,164,32);thumbnails[5332104]=new thumbnail(5332104,"196777","Ho Sognato una strada 2","drawings_new_036_thumb.JPG",130,182,32);thumbnails[5332116]=new thumbnail(5332116,"196777","Anghiari","drawings_new_037_thumb.JPG",130,91,32);thumbnails[3504250]=new thumbnail(3504250,"196778","At the Window (detail)","sally drawings 044_thumb.JPG",130,87,32);thumbnails[3504253]=new thumbnail(3504253,"196778","St Ives (detail)","sally drawings 046_thumb.JPG",130,87,32);thumbnails[3504255]=new thumbnail(3504255,"196778","Tea at the Tate","sally drawings 048_thumb.JPG",130,87,32);thumbnails[3504256]=new thumbnail(3504256,"196778","Tea at the Tate","sally drawings 050_thumb.JPG",130,196,32);thumbnails[3504264]=new thumbnail(3504264,"196778","","sally drawings 058_thumb.JPG",130,130,32);thumbnails[3504266]=new thumbnail(3504266,"196778","Ferry Me Home","sally drawings 056_thumb.JPG",130,126,32);thumbnails[3504278]=new thumbnail(3504278,"196778","Arches","sally drawings 062_thumb.JPG",130,130,32);thumbnails[3504286]=new thumbnail(3504286,"196778","Killer Plants","sally drawings 070_thumb.JPG",130,130,32);thumbnails[3504294]=new thumbnail(3504294,"196778","Orange Fish","sally drawings 071orange_thumb.jpg",130,130,32);thumbnails[3504296]=new thumbnail(3504296,"196778","Man and Dog","sally drawings 084_thumb.JPG",130,130,32);thumbnails[3572236]=new thumbnail(3572236,"196778","","1_26_thumb.JPG",130,130,32);thumbnails[3572241]=new thumbnail(3572241,"196778","","1_17_thumb.JPG",130,130,32);thumbnails[3572242]=new thumbnail(3572242,"196778","","1_18_thumb.JPG",130,130,32);thumbnails[3572260]=new thumbnail(3572260,"196778","","1_19_thumb.JPG",130,128,32);thumbnails[3572262]=new thumbnail(3572262,"196778","","1_20_thumb.JPG",130,130,32);thumbnails[3572264]=new thumbnail(3572264,"196778","","1_21_thumb.JPG",130,128,32);thumbnails[3572265]=new thumbnail(3572265,"196778","","1_22_thumb.JPG",130,130,32);thumbnails[3572267]=new thumbnail(3572267,"196778","","1_27_thumb.JPG",130,130,32);thumbnails[3572270]=new thumbnail(3572270,"196778","","1_28_thumb.JPG",130,112,32);thumbnails[3620593]=new thumbnail(3620593,"196778","","screen_prints_09_001_thumb.JPG",130,130,32);thumbnails[3620600]=new thumbnail(3620600,"196778","","catalogue_of_work_061_thumb.JPG",130,130,32);thumbnails[3620627]=new thumbnail(3620627,"196778","Arywn Jones","catalogue_of_work_073_thumb.JPG",130,130,32);thumbnails[3620633]=new thumbnail(3620633,"196778","Brunch at Alf Rescos","catalogue_of_work_074_thumb.JPG",130,130,32);thumbnails[3620637]=new thumbnail(3620637,"196778","Ferry me to Dartmouth - SOLD","catalogue_of_work_075_thumb.JPG",130,130,32);thumbnails[3620641]=new thumbnail(3620641,"196778","","catalogue_of_work_076_thumb.JPG",130,130,32);thumbnails[3620646]=new thumbnail(3620646,"196778","Out for a sail","catalogue_of_work_077_thumb.JPG",130,130,32);thumbnails[3620653]=new thumbnail(3620653,"196778","Across to Kingswear","catalogue_of_work_078_thumb.JPG",130,130,32);thumbnails[3620656]=new thumbnail(3620656,"196778","The Windsurfer","catalogue_of_work_079_thumb.JPG",130,130,32);thumbnails[3620661]=new thumbnail(3620661,"196778","Mothercombe","catalogue_of_work_080_thumb.JPG",130,130,32);thumbnails[3620663]=new thumbnail(3620663,"196778","Mothercombe II","catalogue_of_work_081_thumb.JPG",130,130,32);thumbnails[3620665]=new thumbnail(3620665,"196778","The Estuary","catalogue_of_work_082_thumb.JPG",130,130,32);thumbnails[3620666]=new thumbnail(3620666,"196778","Kingsbridge Estuary","catalogue_of_work_083_thumb.JPG",130,130,32);thumbnails[3620700]=new thumbnail(3620700,"196778","The Cat on the Roof","catalogue_of_work_084_thumb.JPG",130,130,32);thumbnails[3620704]=new thumbnail(3620704,"196778","The Birthday Present","catalogue_of_work_085_thumb.JPG",130,130,32);thumbnails[3620711]=new thumbnail(3620711,"196778","SOLD","catalogue_of_work_086_thumb.JPG",130,130,32);thumbnails[3620717]=new thumbnail(3620717,"196778","Fishing Boats -Padstow Harbour","catalogue_of_work_087_thumb.JPG",130,130,32);thumbnails[3620720]=new thumbnail(3620720,"196778","Padstow Slow","catalogue_of_work_088_thumb.JPG",130,130,32);thumbnails[3620723]=new thumbnail(3620723,"196778","Surfer I","catalogue_of_work_089_thumb.JPG",130,130,32);thumbnails[3620725]=new thumbnail(3620725,"196778","Fistral Surf Hire","catalogue_of_work_090_thumb.JPG",130,130,32);thumbnails[3620730]=new thumbnail(3620730,"196778","Surfer II","catalogue_of_work_091_thumb.JPG",130,130,32);thumbnails[3620732]=new thumbnail(3620732,"196778","Surfers","catalogue_of_work_092_thumb.JPG",130,130,32);thumbnails[3620735]=new thumbnail(3620735,"196778","A Dog walk - SOLD","catalogue_of_work_093_thumb.JPG",130,130,32);thumbnails[3620750]=new thumbnail(3620750,"196778","Battersea Walk","catalogue_of_work_101_thumb.JPG",130,130,32);thumbnails[3620769]=new thumbnail(3620769,"196778","","catalogue_of_work_110_thumb.JPG",130,87,32);thumbnails[3620773]=new thumbnail(3620773,"196778","Dartmouth","new_wok_-_dartmouth_078_thumb.JPG",130,180,32);thumbnails[3620776]=new thumbnail(3620776,"196778","SOLD","catalogue_of_work_114_thumb.JPG",130,184,32);thumbnails[3620785]=new thumbnail(3620785,"196778","The pier","catalogue_of_work_122_thumb.JPG",130,93,32);thumbnails[3620789]=new thumbnail(3620789,"196778","Dartmouth Castle","catalogue_of_work_130_thumb.JPG",130,89,32);thumbnails[3620794]=new thumbnail(3620794,"196778","Kingsbridge Estuary","catalogue_of_work_131_thumb.JPG",130,173,32);thumbnails[3620796]=new thumbnail(3620796,"196778","Burgh Island","catalogue_of_work_132_thumb.JPG",130,86,32);thumbnails[3620798]=new thumbnail(3620798,"196778","The Forest","catalogue_of_work_135_thumb.JPG",130,93,32);thumbnails[4327475]=new thumbnail(4327475,"196778","View from the Tate","1_53_thumb.JPG",130,196,32);thumbnails[4327477]=new thumbnail(4327477,"196778","Above the Town","1_54_thumb.JPG",130,210,32);thumbnails[4459529]=new thumbnail(4459529,"196778","The Pier","The_Pier_thumb.JPG",130,92,32);thumbnails[4459533]=new thumbnail(4459533,"196778","Bench, Hastings","bench_hastings_thumb.jpg",130,118,32);thumbnails[4459534]=new thumbnail(4459534,"196778","Arches, Brighton","arches_brighton_thumb.jpg",130,123,32);thumbnails[4459537]=new thumbnail(4459537,"196778","December Sunshine","December_Sunshine__thumb.jpg",130,188,32);thumbnails[4459542]=new thumbnail(4459542,"196778","Gull, Hastings","gull_hastings_thumb.jpg",130,136,32);thumbnails[4459547]=new thumbnail(4459547,"196778","New Bar, White Rock","New_Bar_white_Rock_thumb.jpg",130,91,32);thumbnails[4459550]=new thumbnail(4459550,"196778","The Promenade","The_Promenade_thumb.jpg",130,90,32);thumbnails[4459551]=new thumbnail(4459551,"196778","The Terrace","The_Terrace_thumb.jpg",130,179,32);thumbnails[4459553]=new thumbnail(4459553,"196778","The White Rock Hotel","The_White_Rock_Hotel_thumb.jpg",130,93,32);thumbnails[4459556]=new thumbnail(4459556,"196778","View from the White Rock","View_from_The_White_Rock_thumb.jpg",130,92,32);thumbnails[4910292]=new thumbnail(4910292,"196778","House on the Hill","House_on_the_Hill_thumb.jpg",130,129,32);thumbnails[4910293]=new thumbnail(4910293,"196778","St Ives (long)","st_ives_long_thumb.jpg",130,207,32);var galleries=new Object();galleries[300274]=new gallery(300274,"5332072,5332061,5332056,5332052,5332023,5331938,4327466,3620767,3620761,3620754","Animal Friends","gallery",[3221246,3572227,3620754,3620761,3620767,4327466,5331938,5332023,5332052,5332056,5332061,5332072]);galleries[356802]=new gallery(356802,"6143394","Beloved Wheels Screen Prints","gallery",[6143392,6143394,6143396,6143398]);galleries[247969]=new gallery(247969,"4327469,4327418,3572276,3572224","Between the Lines Exhibition","gallery",[3572224,3572276,4327418,4327469]);galleries[300277]=new gallery(300277,"5332485","Colour Work","gallery",[5332471,5332475,5332479,5332481,5332485,5332489]);galleries[300247]=new gallery(300247,"5331917","Commissions","gallery",[5331917,5928918]);galleries[288116]=new gallery(288116,"4327480","Discerning Eye 2009","gallery",[3221247,4327480,4910288,5118579]);galleries[300280]=new gallery(300280,"3605448","Favourite Things","gallery",[3572287,3572294,3605448,3620621,3620759,3620800,3620817,3620819,4327515,4327522,4327528,5332076]);galleries[300276]=new gallery(300276,"5965588,5332034,4910270,4327517,3620771,3620756,3572181","Fiat 500 and Friends","gallery",[3221244,3572181,3620756,3620771,3620774,3620778,4327435,4327511,4327517,4910270,5332005,5332014,5332034,5332037,5332047,5332130,5332140,5332174,5928920,5965588]);galleries[330089]=new gallery(330089,"5833057","New Drawings 2010","gallery",[5833024,5833057,5833061,5833068,5833070,5833072,5833106,5833107,5833110,5833114,5833117,5833121,5833123,5833126,5833129,5833134,5833138,5833141,5833147,5833149,5833154,5833162,5833166,5833171,5928900,5928905,5928912]);galleries[300278]=new gallery(300278,"3898528,3898525,3620784,3620741","Portraits and People","gallery",[3572212,3572284,3620737,3620741,3620744,3620745,3620748,3620784,3620811,3620813,3620815,3898452,3898525,3898528,4327520,4327532,4327536,4327537,4459540,4910287,5332150,5332169]);galleries[278336]=new gallery(278336,"4910175","Salisbury","gallery",[3572289,4910175,4910178,4910182,4910184,4910227,4910231,4910234,4910235,4910237]);galleries[196777]=new gallery(196777,"3572295,3504234","Italia","gallery",[3221240,3221242,3221243,3221248,3504234,3504237,3504243,3504274,3572295,3620806,3620809,5332030,5332085,5332090,5332099,5332104,5332116]);galleries[196778]=new gallery(196778,"3620785,3620593,3504253","Happy Places and Spaces","gallery",[3504250,3504253,3504255,3504256,3504264,3504266,3504278,3504286,3504294,3504296,3572236,3572241,3572242,3572260,3572262,3572264,3572265,3572267,3572270,3620593,3620600,3620627,3620633,3620637,3620641,3620646,3620653,3620656,3620661,3620663,3620665,3620666,3620700,3620704,3620711,3620717,3620720,3620723,3620725,3620730,3620732,3620735,3620750,3620769,3620773,3620776,3620785,3620789,3620794,3620796,3620798,4327475,4327477,4459529,4459533,4459534,4459537,4459542,4459547,4459550,4459551,4459553,4459556,4910292,4910293]);var imageSets=new Object();imageSets[1]="6143398,6143396,6143394,6143392,5965588,5332034,5332023,5332005,5331917,4910292,4910175,4327480,3898525,3620776,3620771,3620756,3620754,3620741,3620735,3620653,3572295,3572294,3572181,3504296,3504294,3504253,3504250,3221247";imageSets[2]="6143394,5965588,5833057,5332485,5332034,5331917,4910270,4910175,4327517,4327480,3898528,3898525,3620785,3620784,3620771,3620756,3620741,3620593,3605448,3572295,3572181,3504253,3504234";imageSets[3]="5332174,5332169,5332150,5332140,5332130,5332072,5332061,5332056,5332052,5332047,5332037,5332034,5332023,5332014,5332005,5331938,4910287,4910270,4459540";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/sallyfirino/images";break}switch(a){case 1:b="http://www1.clikpic.com/sallyfirino/images";break}switch(a){case 2:b="http://admin.clikpic.com/sallyfirino/images";break}switch(a){case 24:b="http://tpc15/clikpic/sallyfirino/images";break}switch(a){case 4:b="http://www.clikchurch.com/sallyfirino/images";break}switch(a){case 5:b="http://www2.clikpic.com/sallyfirino/images";break}switch(a){case 22:b="http://tpc5/clikpic/sallyfirino/images";break}switch(a){case 23:b="http://tpc10/clikpic/sallyfirino/images";break}switch(a){case 25:b="http://tpc16/clikpic/sallyfirino/images";break}switch(a){case 15:b="http://www3.clikpic.com/sallyfirino/images";break}switch(a){case 18:b="http://www4.clikpic.com/sallyfirino/images";break}switch(a){case 19:b="http://www5.clikpic.com/sallyfirino/images";break}switch(a){case 31:b="http://www7.clikpic.com/sallyfirino/images";break}switch(a){case 32:b="http://admin2.clikpic.com/sallyfirino/images";break}switch(a){case 33:b="http://www8.clikpic.com/sallyfirino/images";break}switch(a){case 34:b="http://www9.clikpic.com/sallyfirino/images";break}switch(a){case 35:b="http://admin3.clikpic.com/sallyfirino/images";break}switch(a){case 37:b="http://admin4.clikpic.com/sallyfirino/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="Sally Firino    : "+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> 				&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="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+'<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';b=b+'<input type="hidden" name="item_name" value="'+e+'">';ref="";if(c.photo_ref!=""){ref=c.photo_ref+" - "+c.caption}else{ref=c.id+" - "+c.caption}price=d;b=b+'<input type="hidden" name="cmd" value="_cart">';b=b+'<input type="hidden" name="business" value="sallyfirino@hotmail.co.uk">';b=b+'<input type="hidden" name="currency_code" value="GBP">';b=b+'<input type="hidden" name="add" value="1">';b=b+'<input type="hidden" name="amount" value="'+d+'">';b=b+'<input type="hidden" name="item_number" value="'+ref+'">';b=b+'<input type="Submit" value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';">';b=b+"</form>";b=b+'<form id="paymentCartForm" style="margin:0px;" name="paymentCartForm" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">';b=b+'<input type="hidden" name="cmd" value="_cart">';b=b+'<input type="hidden" name="business" value="sallyfirino@hotmail.co.uk">';b=b+'<input type="hidden" name="display" value="1">';b=b+'<input type="Submit" value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';">';b=b+"</form>";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+'")'})}}};