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[728288]=new thumbnail(728288,"53142","Overarm hand-tied bridal bouquet","untitled-1.pdd7.pdd81.jpg",130,129,18);thumbnails[728300]=new thumbnail(728300,"53142","Bridesmaid's hand-tied bouquet in pretty shades of pinks and purple.","Untitled-1.pddb11.jpg",130,126,18);thumbnails[728310]=new thumbnail(728310,"53142","Flowergirl's circlet headdress and hoop","untitled-1.pddw1.pddac51.jpg",130,143,18);thumbnails[731937]=new thumbnail(731937,"53143","Funeral baskets","rhi furn 001_edited-31.jpg",130,92,18);thumbnails[731938]=new thumbnail(731938,"53143","Funeral Cross","rhi furn 004_edited-21.jpg",130,92,18);thumbnails[731939]=new thumbnail(731939,"53143","Funeral Cushion","rhi furn 006_edited-21.jpg",130,92,18);thumbnails[731940]=new thumbnail(731940,"53143","Funeral cushion","rhi furn 007_edited-21.jpg",130,92,18);thumbnails[731941]=new thumbnail(731941,"53143","Solid heart","rhi furn 010_edited-21.jpg",130,92,18);thumbnails[731942]=new thumbnail(731942,"53143","Open heat","rhi furn 011_edited-21.jpg",130,92,18);thumbnails[731943]=new thumbnail(731943,"53143","Novelty funeral designs","rhi furn 014_edited-21.jpg",130,92,18);thumbnails[731944]=new thumbnail(731944,"53143","Gates of Heaven","rhi furn 018_edited-21.jpg",130,184,18);thumbnails[731946]=new thumbnail(731946,"53143","Teddy-bear","rhi furn 019_edited-12.jpg",130,92,18);thumbnails[731947]=new thumbnail(731947,"53143","Funeral pillow","rhi furn 020_edited-11.jpg",130,92,18);thumbnails[731948]=new thumbnail(731948,"53143","Posy pads","rhi furn 022_edited-11.jpg",130,92,18);thumbnails[731949]=new thumbnail(731949,"53143","Posy pads","rhi furn 024_edited-11.jpg",130,92,18);thumbnails[731950]=new thumbnail(731950,"53143","Funeral Sheaf","rhi furn 029_edited-21.jpg",130,92,18);thumbnails[731951]=new thumbnail(731951,"53143","Red rose coffin spray","rhi furn 030_edited-21.jpg",130,92,18);thumbnails[731953]=new thumbnail(731953,"53143","Wreath rings","rhi furn 038_edited-11.jpg",130,92,18);thumbnails[731954]=new thumbnail(731954,"53143","Wreath rings","rhi furn 041_edited-11.jpg",130,92,18);thumbnails[732040]=new thumbnail(732040,"53144","Harmony ","Untitled-1.pddqa2_edited-1-13.jpg",130,147,18);thumbnails[732041]=new thumbnail(732041,"53144","Mother's favourite","Untitled-2.pddqa7_edited-1-13.jpg",130,81,18);thumbnails[732042]=new thumbnail(732042,"53144","A hint of Spring","Untitled-2.pddqa8_edited-1-11.jpg",130,121,18);thumbnails[732043]=new thumbnail(732043,"53144","Harlequin","Untitled-2.pddza1_edited-1-11.jpg",130,181,18);thumbnails[732045]=new thumbnail(732045,"53144","Baroque","Untitled-2.pddza2_edited-1-12.jpg",130,127,18);thumbnails[732046]=new thumbnail(732046,"53144","Simplicity","Untitled-2.pddza3_edited-1-12.jpg",130,169,18);thumbnails[732047]=new thumbnail(732047,"53144","Citrus splash","Untitled-2.pddza4_edited-1-12.jpg",130,138,18);thumbnails[732049]=new thumbnail(732049,"53144","Firecracker","Untitled-2.pddza5_edited-1-13.jpg",130,138,18);thumbnails[732050]=new thumbnail(732050,"53144","Evening shades","Untitled-2.pddza8_edited-1-12.jpg",130,119,18);thumbnails[732052]=new thumbnail(732052,"53144","Birdcage","Untitled-2.pddza10_edited-1-12.jpg",130,200,18);thumbnails[740473]=new thumbnail(740473,"53142","Bridesmaid's informal hand-tied posy","my picturesmypictures 002_edited-21.jpg",130,116,18);thumbnails[740479]=new thumbnail(740479,"53142","Table centre topiary ","my picturesmypictures 005_edited-11.jpg",130,199,18);thumbnails[740758]=new thumbnail(740758,"53144","Triumph","Untitled-1.pddqa3_edited-1-14.jpg",130,225,18);thumbnails[740759]=new thumbnail(740759,"53144","Orange zest","Untitled-2.pddqa4_edited-1-12.jpg",130,98,18);thumbnails[974690]=new thumbnail(974690,"53142","Table centre arrangement","05-10-2007-14-10-35-85951.jpg",130,81,18);thumbnails[974699]=new thumbnail(974699,"53142","Cornucopia of flowers","05-10-2007-14-15-51-390101.jpg",130,116,18);thumbnails[974702]=new thumbnail(974702,"53142","Ladies wrist corsage","05-10-2007-14-18-59-15131.jpg",130,101,18);thumbnails[975766]=new thumbnail(975766,"53142","Top Table Arrangement","05-10-2007-14-17-12-468wed41.jpg",130,107,18);thumbnails[975768]=new thumbnail(975768,"53142","Hand-tied posy in rich shades of red","05-10-2007-14-21-39-609wed51.jpg",130,118,18);thumbnails[975792]=new thumbnail(975792,"53142","Bridesmaids formal posies","05-10-2007-14-22-47-343wed61.jpg",130,133,18);thumbnails[975810]=new thumbnail(975810,"53142","Teardrop bouquet in rich, autumnal shades","05-12-2007-09-47-11-437wed81.jpg",130,220,18);thumbnails[976897]=new thumbnail(976897,"53142","Pedestal arrangement in dreamy pinks and purples","1a1.jpg",130,173,18);thumbnails[976903]=new thumbnail(976903,"53142","Table arrangements","05-12-2007-19-54-27-621.jpg",130,76,18);thumbnails[976906]=new thumbnail(976906,"53142","Flowergirl basket and matching headress","05-12-2007-19-55-35-156a21.jpg",130,229,18);thumbnails[976908]=new thumbnail(976908,"53142","Personalised hand-tied bouquet","05-12-2007-19-56-57-250a31.jpg",130,143,18);thumbnails[976910]=new thumbnail(976910,"53142","Ideas for bridesmaids and pageboys ","05-12-2007-19-59-06-312a51.jpg",130,156,18);thumbnails[976913]=new thumbnail(976913,"53142","Colourful cake decoration","05-12-2007-20-01-07-890a71.jpg",130,187,18);thumbnails[976915]=new thumbnail(976915,"53142","Brides hand-tied bouquet","05-12-2007-20-02-28-828a81.jpg",130,116,18);thumbnails[976917]=new thumbnail(976917,"53142","A dashing buttonhole for the dashing groom.","05-12-2007-20-03-43-62_edit1.jpg",130,172,18);thumbnails[976918]=new thumbnail(976918,"53142","Ladies bag corsage","05-12-2007-20-04-55-781a101.jpg",130,88,18);thumbnails[977954]=new thumbnail(977954,"53142","Bridesmaid's posies","05-12-2007-20-07-38-281a121.jpg",130,93,18);thumbnails[977955]=new thumbnail(977955,"53142","Bridesmaids pomanders and matching circlet head-dresses","05-12-2007-20-09-39-656a131.jpg",130,168,18);thumbnails[978187]=new thumbnail(978187,"53142","Hand-tied trailing bouquet","sun1.jpg",130,183,18);thumbnails[1359358]=new thumbnail(1359358,"53142","Outside the church !","wed1a1.jpg",130,94,18);thumbnails[1399800]=new thumbnail(1399800,"53142","Small shower bouquet of pale pink and cream peonies","wed11.jpg",130,213,18);thumbnails[1400192]=new thumbnail(1400192,"53142","Four modern bridesmaids","wed2b1.jpg",130,129,18);thumbnails[1400198]=new thumbnail(1400198,"53142","Bridesmaids posies in hot pink","wed8b1.jpg",130,63,18);thumbnails[1400199]=new thumbnail(1400199,"53142","Free-style bouquet","wed10b1.jpg",130,175,18);thumbnails[1400204]=new thumbnail(1400204,"53142","Hand-tied seasonal bouquets of spring blooms","wed13b1.jpg",130,104,18);thumbnails[1883059]=new thumbnail(1883059,"53142","Modern table arrangement","02-24-2008-14-47-59-843feb2_thumb.jpg",130,266,18);thumbnails[1883107]=new thumbnail(1883107,"53142","Funky table centre arrangements","02-24-2008-14-51-32-296feb2_thumb.jpg",130,183,18);thumbnails[1883113]=new thumbnail(1883113,"53143","Coffin Spray","02-24-2008-14-54-06-140feb2_thumb.jpg",130,75,18);thumbnails[1883115]=new thumbnail(1883115,"53143","The Funeral Cross","02-24-2008-14-55-18-890feb2_thumb.jpg",130,83,18);thumbnails[1883117]=new thumbnail(1883117,"53142","A bouquet with a difference !","02-24-2008-14-57-22-593feb2_thumb.jpg",130,448,18);thumbnails[1883123]=new thumbnail(1883123,"53143","A broken heart !","02-24-2008-15-51-04-250feb2_thumb.jpg",130,133,18);thumbnails[1883135]=new thumbnail(1883135,"53143","Lettered tributes","02-24-2008-16-00-49-234feb2_thumb.jpg",130,60,18);thumbnails[1883140]=new thumbnail(1883140,"53143","A chaplet","02-24-2008-16-04-40-656feb2_thumb.jpg",130,142,18);thumbnails[1883145]=new thumbnail(1883145,"53143","Funeral Wreath aka The Ring Of Love","02-24-2008-16-10-29-265feb2_thumb.jpg",130,90,18);thumbnails[1883148]=new thumbnail(1883148,"53144","Mother and Baby","02-24-2008-16-25-06-625feb2_thumb.jpg",130,113,18);thumbnails[1883149]=new thumbnail(1883149,"53144","Lily Sensation","02-24-2008-16-33-50-359feb2_thumb.jpg",130,107,18);thumbnails[2003313]=new thumbnail(2003313,"53142","Cake decoration","02-24-2008-14-49-22-0feb2431_thumb.jpg",130,211,18);thumbnails[2003315]=new thumbnail(2003315,"53142","A modern slant on a traditionally shaped bouquet.","02-24-2008-14-52-55-15feb241_thumb.jpg",130,181,18);thumbnails[2003318]=new thumbnail(2003318,"53143","A modern twist on a traditional pillow","02-24-2008-15-36-27-859feb2_thumb.jpg",130,134,18);thumbnails[2003327]=new thumbnail(2003327,"53142","Hand-tied bouquet","22-3a_thumb.jpg",130,138,18);thumbnails[2003328]=new thumbnail(2003328,"53142","Country-style hand-tied bouquet ","23-3b_thumb.jpg",130,130,18);thumbnails[2004634]=new thumbnail(2004634,"53142","Free-style bridesmaids bouquet","29-1_thumb.jpg",130,202,18);thumbnails[2004644]=new thumbnail(2004644,"53142","Church window display","29-5_thumb.jpg",130,95,18);thumbnails[2004649]=new thumbnail(2004649,"53142","Free-standing topiary tree","29-7_thumb.jpg",130,241,18);thumbnails[2004653]=new thumbnail(2004653,"53142","Pew-end displays","29-10_thumb.jpg",130,132,18);thumbnails[2004656]=new thumbnail(2004656,"53142","Something for the bridesmaids to carry.","29-12_thumb.jpg",130,181,18);thumbnails[2004661]=new thumbnail(2004661,"53142","Gerbera bouquet and matching buttonhole","29-15_thumb.jpg",130,197,18);thumbnails[2004663]=new thumbnail(2004663,"53142","Glorious sunflowers !","29-26_thumb.jpg",130,145,18);thumbnails[2004666]=new thumbnail(2004666,"53142","Hand-tied bouquet in sunny yellow and ivory","29-17_thumb.jpg",130,117,18);thumbnails[2004682]=new thumbnail(2004682,"53142","Candelabra arrangement","29-4a_thumb.jpg",130,189,18);thumbnails[2488225]=new thumbnail(2488225,"53142","Handbag corsage","wed2_thumb.gif",130,119,18);thumbnails[2488354]=new thumbnail(2488354,"53142","Church display","c_thumb.jpg",130,114,18);thumbnails[2548662]=new thumbnail(2548662,"53142","Fresh foliage pomanders","07-31-2008-13-23-29-125_thumb.jpg",130,234,18);thumbnails[2599435]=new thumbnail(2599435,"53142","Exotic top table arrangement","06-21-2008-18-11-46-390_thumb.jpg",130,89,18);thumbnails[2599441]=new thumbnail(2599441,"53142","Pomander of peonies","06-21-2008-18-14-53-687_thumb.jpg",130,232,18);thumbnails[2632039]=new thumbnail(2632039,"53142","Tall table centrepieces for the reception","08-16-2008-16-39-17-703a_thumb.jpg",130,181,18);thumbnails[2632042]=new thumbnail(2632042,"53142","Top table arrangement made almost entirely out of different foliages","08-16-2008-16-37-19-421b_thumb.jpg",130,85,18);thumbnails[2632044]=new thumbnail(2632044,"53142","Hand-tied bouquet in red","08-16-2008-16-44-50-609d_thumb.jpg",130,169,18);thumbnails[3089942]=new thumbnail(3089942,"53142","Pulpit decoration","wed2_thumb.jpg",130,98,18);thumbnails[3089948]=new thumbnail(3089948,"53142","Top table decoration","wed51_thumb.jpg",130,99,18);thumbnails[3089955]=new thumbnail(3089955,"53142","Cake decoration","wed6_thumb.jpg",130,110,18);thumbnails[3295095]=new thumbnail(3295095,"53142","Kate is carrying an Overarm  Handtied Bouquet ","Smile-1_thumb.jpg",130,98,18);thumbnails[3295099]=new thumbnail(3295099,"53142","Hand-tied bouquet of red roses and greenery","smile-2_thumb.jpg",130,195,18);thumbnails[3295101]=new thumbnail(3295101,"53142","Kate & Ben's wedding reception","smile-3_thumb.jpg",130,98,18);thumbnails[3448329]=new thumbnail(3448329,"53142","Selena, Craig and bridesmaid - not forgetting Ebony the dog","a1_thumb.jpg",130,177,18);thumbnails[3448332]=new thumbnail(3448332,"53142","Hand-tied bouquet in autumnal tones ","a3_thumb.jpg",130,143,18);thumbnails[3448336]=new thumbnail(3448336,"53142","Bride's shower bouquet","a4_thumb.jpg",130,223,18);thumbnails[3448339]=new thumbnail(3448339,"53142","A simple but effective cake decoration","a5_thumb.jpg",130,183,18);thumbnails[3448342]=new thumbnail(3448342,"53142","Traditional ladies corsage","a6_thumb.jpg",130,174,18);thumbnails[4469080]=new thumbnail(4469080,"53142","Rustic- style arrangements for the guests tables","sunb_thumb.gif",130,98,18);thumbnails[5197308]=new thumbnail(5197308,"53142","Flowergirls posies","4_thumb.jpg",130,104,18);thumbnails[5197311]=new thumbnail(5197311,"53142","Free-style bouquet and a flowergirls rustic basket","5_thumb.jpg",130,201,18);thumbnails[5197315]=new thumbnail(5197315,"53142","Wall or door decoration ","6_thumb.jpg",130,181,18);thumbnails[5197352]=new thumbnail(5197352,"53142","Calla lilies and roses","22_thumb.jpg",130,150,18);thumbnails[5989867]=new thumbnail(5989867,"53142","Table runners","wed1_thumb.gif",130,98,18);thumbnails[5990330]=new thumbnail(5990330,"53142","Bridesmaids posies with a natural appeal","wed4jpg2_thumb.jpg",130,132,18);thumbnails[5990355]=new thumbnail(5990355,"53142","Informal hand-tied bridal bouquet consisting of ivory roses, purple lisianthus, hypericum berries and plenty of luscious foliage","xx_thumb.jpg",130,132,18);var galleries=new Object();galleries[53144]=new gallery(53144,"1883149,1883148,740759,740758,732052,732050,732049,732047,732046,732045","Flower arrangements","gallery",[732040,732041,732042,732043,732045,732046,732047,732049,732050,732052,740758,740759,1883148,1883149]);galleries[53143]=new gallery(53143,"2003318,1883145,1883140,1883135,1883123,1883115,1883113,731954,731953,731951","Funeral Tributes","gallery",[731937,731938,731939,731940,731941,731942,731943,731944,731946,731947,731948,731949,731950,731951,731953,731954,1883113,1883115,1883123,1883135,1883140,1883145,2003318]);galleries[53142]=new gallery(53142,"5990355,5990330,5989867,5197352,5197315,5197311,5197308,4469080,3448342,3448339","Weddings","gallery",[728288,728300,728310,740473,740479,974690,974699,974702,975766,975768,975792,975810,976897,976903,976906,976908,976910,976913,976915,976917,976918,977954,977955,978187,1359358,1399800,1400192,1400198,1400199,1400204,1883059,1883107,1883117,2003313,2003315,2003327,2003328,2004634,2004644,2004649,2004653,2004656,2004661,2004663,2004666,2004682,2488225,2488354,2548662,2599435,2599441,2632039,2632042,2632044,3089942,3089948,3089955,3295095,3295099,3295101,3448329,3448332,3448336,3448339,3448342,4469080,5197308,5197311,5197315,5197352,5989867,5990330,5990355]);galleries[36464]=new gallery(36464,"","PHOTOS","gallery",[]);var imageSets=new Object();imageSets[1]="740758,732052,732045,732043,732041,728310";imageSets[3]="5990355,5990330,5989867,5197352,5197315,5197311,5197308,4469080,3448342,3448339,3448336,3448332,3448329,3295101,3295099,3295095,3089955,3089948,3089942,2632044,2632042,2632039,2599441,2599435,2548662,2488354,2488225,2004682,2004666,2004663,2004661,2004656,2004653,2004649,2004644,2004634,2003328,2003327,2003318,2003315,2003313,1883149,1883148,1883145,1883140,1883135,1883123,1883117,1883115,1883113";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/posies/images";break}switch(a){case 1:b="http://www1.clikpic.com/posies/images";break}switch(a){case 2:b="http://admin.clikpic.com/posies/images";break}switch(a){case 24:b="http://tpc15/clikpic/posies/images";break}switch(a){case 4:b="http://www.clikchurch.com/posies/images";break}switch(a){case 5:b="http://www2.clikpic.com/posies/images";break}switch(a){case 22:b="http://tpc5/clikpic/posies/images";break}switch(a){case 23:b="http://tpc10/clikpic/posies/images";break}switch(a){case 25:b="http://tpc16/clikpic/posies/images";break}switch(a){case 15:b="http://www3.clikpic.com/posies/images";break}switch(a){case 18:b="http://www4.clikpic.com/posies/images";break}switch(a){case 19:b="http://www5.clikpic.com/posies/images";break}switch(a){case 31:b="http://www7.clikpic.com/posies/images";break}switch(a){case 32:b="http://admin2.clikpic.com/posies/images";break}switch(a){case 33:b="http://www8.clikpic.com/posies/images";break}switch(a){case 34:b="http://www9.clikpic.com/posies/images";break}switch(a){case 35:b="http://admin3.clikpic.com/posies/images";break}switch(a){case 37:b="http://admin4.clikpic.com/posies/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="'+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="posiesflorists: "+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].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+'")'})}}};