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[203363]=new thumbnail(203363,"18472","three whirls","09-web_thumb.jpg",130,125,1);thumbnails[203642]=new thumbnail(203642,"18472","cloudy light","07-web_thumb.jpg",130,104,1);thumbnails[203657]=new thumbnail(203657,"18472","sunlit","08-web_thumb.jpg",130,105,1);thumbnails[203664]=new thumbnail(203664,"18472","the space","05-web_thumb.jpg",130,104,1);thumbnails[203671]=new thumbnail(203671,"18472","look through","x11_thumb.jpg",130,98,1);thumbnails[203793]=new thumbnail(203793,"18472","detail","x20_thumb.jpg",130,98,1);thumbnails[203662]=new thumbnail(203662,"18472","center  view","AIRE - WAVE 31_thumb.jpg",130,98,1);thumbnails[203668]=new thumbnail(203668,"18472","side view","xaire-wave 109+_thumb.jpg",130,98,1);thumbnails[203670]=new thumbnail(203670,"18472","close-up","AIRE - WAVE 6_thumb.jpg",130,98,1);thumbnails[203947]=new thumbnail(203947,"18498","from entrance","ORGAN1-thumb.jpg",130,180,1);thumbnails[203951]=new thumbnail(203951,"18498","slightly from left","ORGAN2-thumb.jpg",130,180,1);thumbnails[203966]=new thumbnail(203966,"18498","detail","ORGAN4-thumb.jpg",130,180,1);thumbnails[203959]=new thumbnail(203959,"18498","center view","ORGAN3-thumb.jpg",130,100,1);thumbnails[205241]=new thumbnail(205241,"18511","one way","SALAMANDER-1-thumb.jpg",130,97,1);thumbnails[205245]=new thumbnail(205245,"18511","the other way","SALAMANDER-2-thumb.jpg",130,174,1);thumbnails[203977]=new thumbnail(203977,"18499","opaque","NEST 2_thumb.jpg",130,98,1);thumbnails[203986]=new thumbnail(203986,"18499","translucent","NEST 1_thumb.jpg",130,98,1);thumbnails[205910]=new thumbnail(205910,"18507","","wall_thumb.jpg",130,195,1);thumbnails[205924]=new thumbnail(205924,"18507","detail","PERMEABLE WALL detail_thumb.jpg",130,96,1);thumbnails[203992]=new thumbnail(203992,"18504","","UNFOLDING-1-thumb.jpg",130,196,1);thumbnails[203994]=new thumbnail(203994,"18504","detail","UNFOLDING-2-thumb.jpg",130,196,1);thumbnails[205678]=new thumbnail(205678,"18506","dark threads, light threads","twilight-thumb.jpg",130,195,1);thumbnails[205687]=new thumbnail(205687,"18506","with ","TWILIGHT with organ in background_thumb.jpg",130,174,1);thumbnails[205684]=new thumbnail(205684,"18506","close-up","TWILIGHT detail_thumb.jpg",130,172,1);thumbnails[205691]=new thumbnail(205691,"18506","bottom","TWILIGHT bottom_thumb.jpg",130,98,1);thumbnails[205695]=new thumbnail(205695,"18506","top","xc pk stringed (34)_thumb.jpg",130,98,1);thumbnails[205912]=new thumbnail(205912,"18500","Pollen of Words","POLLEN-OF-WORDS-1-sabine-jg_thumb.jpg",130,317,1);thumbnails[205908]=new thumbnail(205908,"18500","close-up","POLLEN-OF-WORDS-2-sabine-jg_thumb.jpg",130,195,1);thumbnails[205916]=new thumbnail(205916,"18500","detail","POLLEN-OF-WORDS-3-sabine-jg_thumb.jpg",130,143,1);thumbnails[340235]=new thumbnail(340235,"18500","Central Library Hull","POLLEN-LIBRARY-sabine-j-bieli_thumb.jpg",130,196,1);thumbnails[766865]=new thumbnail(766865,"59272","Cradle for Thoughts<br>inner life","Cradle-for-Thoughts-1-thumb-.jpg",130,130,1);thumbnails[766945]=new thumbnail(766945,"59272","Cradle for Thoughts<br>side view","Cradle-for-Thoughts-2thumb.jpg",130,130,1);thumbnails[204002]=new thumbnail(204002,"18508","DROPPED STARLIGHT","STARLIGHTnew_thumb.jpg",130,129,1);thumbnails[205927]=new thumbnail(205927,"18508","Vertebras","VERTEBRAS-1-thumb-.jpg",130,130,1);thumbnails[205926]=new thumbnail(205926,"18508","detail","VERTEBRAS-detail-thumb-1.jpg",130,130,1);thumbnails[2623768]=new thumbnail(2623768,"166521","Wordscape","website wordsc 022 cC_thumb.jpg",130,130,1);thumbnails[2647048]=new thumbnail(2647048,"166521","Joint of past and present","Wordsc-joint-of-past-and-fu_thumb.jpg",130,130,1);thumbnails[2656501]=new thumbnail(2656501,"166521","Joint of Present and Future","WORDS-detail-(future)550_thumb.jpg",130,130,1);thumbnails[2646999]=new thumbnail(2646999,"166521","Future / detail","Wordsc-future-detail_thumb.jpg",130,130,1);thumbnails[2656504]=new thumbnail(2656504,"166521","Text detail","Wordsc-text-detail_thumb.jpg",130,130,1);thumbnails[2656505]=new thumbnail(2656505,"166521","Center","Wordscape-center_thumb.jpg",130,130,1);thumbnails[205651]=new thumbnail(205651,"18509","","01-web_thumb.jpg",130,130,1);thumbnails[205653]=new thumbnail(205653,"18509","","PB0904281--web_thumb.jpg",130,130,1);thumbnails[205674]=new thumbnail(205674,"18509","","HPIM0452c-web_thumb.jpg",130,130,1);thumbnails[205659]=new thumbnail(205659,"18509","","HPIM0469c-web_thumb.jpg",130,130,1);thumbnails[205664]=new thumbnail(205664,"18509","","HPIM0474-web_thumb.jpg",130,130,1);thumbnails[205667]=new thumbnail(205667,"18509","","HPIM0475c-web_thumb.jpg",130,130,1);thumbnails[3699372]=new thumbnail(3699372,"197592","|Low tide ...","Fr_1-early_morning_thumb.jpg",130,130,1);thumbnails[3699377]=new thumbnail(3699377,"197592","at dawn ...","fr_2-early_morning_thumb.jpg",130,130,1);thumbnails[3699400]=new thumbnail(3699400,"197592","8 August 08|","fr_3-early_morning_thumb.jpg",130,130,1);thumbnails[3855952]=new thumbnail(3855952,"197592","|7am ...","fr_4-7am_thumb.jpg",130,130,1);thumbnails[3855791]=new thumbnail(3855791,"197592","the tide ...","fr_5-FRAG-COL-STILL-32res_thumb.jpg",130,130,1);thumbnails[3855796]=new thumbnail(3855796,"197592","is ...","fr_6-FRAG-COL-STILL-48res_thumb.jpg",130,130,1);thumbnails[3855856]=new thumbnail(3855856,"197592","coming in ...","fr_7-FRAG-COL-STILL-40res_thumb.jpg",130,130,1);thumbnails[3855833]=new thumbnail(3855833,"197592","vehemently|","fr_8-FRAG-COL-STILL-36_thumb.jpg",130,130,1);thumbnails[3855815]=new thumbnail(3855815,"197592","|Almost...","fr_9-FRAG-COL-STILL-43_thumb.jpg",130,130,1);thumbnails[3855820]=new thumbnail(3855820,"197592","high tide ...","fr_10-FRAG-COL-STILL-46_thumb.jpg",130,130,1);thumbnails[3856090]=new thumbnail(3856090,"197592","the light is ...","fr_11-913grey_thumb.jpg",130,130,1);thumbnails[3855772]=new thumbnail(3855772,"197592","changing|","fr_12-FRAG-COL-STILL-5_thumb.jpg",130,130,1);thumbnails[3717991]=new thumbnail(3717991,"197592","|beached|","fr_13-beached_thumb.jpg",130,130,1);thumbnails[3699443]=new thumbnail(3699443,"197592","at low tide...","fr_15-afternoon_thumb.jpg",130,130,1);thumbnails[3699441]=new thumbnail(3699441,"197592","|What remains...","fr_14-afternoon_thumb.jpg",130,130,1);thumbnails[3699446]=new thumbnail(3699446,"197592","'Sea Drawings'","fr_16-afternoon_thumb.jpg",130,130,1);thumbnails[5795591]=new thumbnail(5795591,"326222","Video recording","jo_550_thumb.jpg",130,130,1);thumbnails[5757636]=new thumbnail(5757636,"326222","Fr-Agile","timebased_video_gallery_full_thumb.jpg",130,130,1);thumbnails[5550025]=new thumbnail(5550025,"310824","from left","sea_1-web-IMG_0056_thumb.jpg",130,130,1);thumbnails[5550082]=new thumbnail(5550082,"310824","frontal","sea_4-web-RM1b_thumb.jpg",130,130,1);thumbnails[5550087]=new thumbnail(5550087,"310824","from right","sea_5-web-RM1f_thumb.jpg",130,130,1);thumbnails[5550092]=new thumbnail(5550092,"310824","inbetween","sea_6-web-RM1i_thumb.jpg",130,130,1);thumbnails[5550094]=new thumbnail(5550094,"310824","engulfed","sea_7-web-RM1j_thumb.jpg",130,130,1);thumbnails[5550041]=new thumbnail(5550041,"310824"," from underneath","sea_2-web-RM1s_thumb.jpg",130,130,1);thumbnails[5550079]=new thumbnail(5550079,"310824","right tip","sea_3-web-RM1n_thumb.jpg",130,130,1);thumbnails[5550097]=new thumbnail(5550097,"310824","Detail","sea_8-web-RM1l_thumb.jpg",130,130,1);thumbnails[5558805]=new thumbnail(5558805,"314538","from left","1-IMG_0435-c_thumb.jpg",130,130,1);thumbnails[5558808]=new thumbnail(5558808,"314538","one = two","IMG_0451_3_thumb.jpg",130,130,1);thumbnails[5558810]=new thumbnail(5558810,"314538","from right","3-RM2d-c_thumb.jpg",130,130,1);thumbnails[5558813]=new thumbnail(5558813,"314538","interspace","buo_4-RM2e-c_thumb.jpg",130,130,1);thumbnails[5558816]=new thumbnail(5558816,"314538","detail","buo_5-RM2l_thumb.jpg",130,130,1);thumbnails[5558387]=new thumbnail(5558387,"314538","close-up","buo_RM2p_thumb.jpg",130,130,1);thumbnails[205930]=new thumbnail(205930,"59470","Stream","Stream-thumb.jpg",130,130,1);thumbnails[205932]=new thumbnail(205932,"59470","detail","Stream-detail-thumb.jpg",130,130,1);thumbnails[205928]=new thumbnail(205928,"59469","","SILENT-WATER-thumb.jpg",130,130,1);thumbnails[783160]=new thumbnail(783160,"59469","detail","SILENT-WATER-detail-thumb.jpg",130,130,1);thumbnails[768644]=new thumbnail(768644,"59468","Plunge","2-PLUNGE-side-view-from-fro_thumb.jpg",130,130,1);thumbnails[767117]=new thumbnail(767117,"59467","pink front","Shifts-pink-front-thumb1.jpg",130,130,1);thumbnails[768640]=new thumbnail(768640,"59467","orange front","Shifts-orange-front-thumb.jpg",130,129,1);thumbnails[768642]=new thumbnail(768642,"59467","side view","Shifts-side-thumbs.jpg",62,130,1);thumbnails[767081]=new thumbnail(767081,"59276","pages","Textbook-pages-thumb.jpg",130,130,1);thumbnails[767106]=new thumbnail(767106,"59276","Textbook / inside","Textbook-inside-thumb-1.jpg",130,130,1);thumbnails[767074]=new thumbnail(767074,"59276","outside","Textbook-outside-thumb.jpg",130,130,1);thumbnails[1947707]=new thumbnail(1947707,"130240","VICE versa","web-DSCF0932 3sat_thumb.jpg",130,130,1);thumbnails[1950492]=new thumbnail(1950492,"130240","Vice VERSA","web DSCF09371_thumb.jpg",130,130,1);thumbnails[1950496]=new thumbnail(1950496,"130240","outside","web DSCF0972_thumb.jpg",130,130,1);thumbnails[1950499]=new thumbnail(1950499,"130240","page one","web-p-1-vice-cr_edited-1_thumb.jpg",130,130,1);thumbnails[1954163]=new thumbnail(1954163,"130240","page five","web-p-5-vice-cr_edited-11_thumb.jpg",130,130,1);thumbnails[1950511]=new thumbnail(1950511,"130240","page seven","web-p-7-vice-cr_edited-1_thumb.jpg",130,130,1);var galleries=new Object();galleries[18472]=new gallery(18472,"203793,203671,203670,203664,203657,203642,203363","AIRE - WAVE","gallery",[203363,203642,203657,203664,203671,203793,203662,203668,203670]);galleries[18498]=new gallery(18498,"203959,203947","ORGAN ","gallery",[203947,203951,203966,203959]);galleries[18511]=new gallery(18511,"205241","SALAMANDER","gallery",[205241,205245]);galleries[18499]=new gallery(18499,"203986,203977","NEST","gallery",[203977,203986]);galleries[18507]=new gallery(18507,"205910","PERMEABLE WALL","gallery",[205910,205924]);galleries[18504]=new gallery(18504,"203992","UNFOLDING","gallery",[203992,203994]);galleries[18506]=new gallery(18506,"205687,205678","TWILIGHT","gallery",[205678,205687,205684,205691,205695]);galleries[18500]=new gallery(18500,"205916,205908","POLLEN OF WORDS","gallery",[205912,205908,205916,340235]);galleries[59272]=new gallery(59272,"766865","CRADLE FOR THOUGHTS","gallery",[766865,766945]);galleries[18508]=new gallery(18508,"205926","VERTEBRAS","gallery",[204002,205927,205926]);galleries[166521]=new gallery(166521,"2656501,2647048,2646999,2623768","Wordscape","gallery",[2623768,2647048,2656501,2646999,2656504,2656505]);galleries[18509]=new gallery(18509,"205667,205659,205653","GLOBE","gallery",[205651,205653,205674,205659,205664,205667]);galleries[197592]=new gallery(197592,"3856090,3855796,3855791,3855772,3699400","Fr-Agile [On Spurn]","section274494",[3699372,3699377,3699400,3855952,3855791,3855796,3855856,3855833,3855815,3855820,3856090,3855772,3717991,3699443,3699441,3699446]);galleries[326222]=new gallery(326222,"5795591","Video [Fr-Agile]","section274494",[5795591,5757636]);galleries[310824]=new gallery(310824,"5550092,5550025","Seascape          [Fr-Agile]","section274494",[5550025,5550082,5550087,5550092,5550094,5550041,5550079,5550097]);galleries[314538]=new gallery(314538,"5558813,5558808"," Buoy [Fr-Agile]","section274494",[5558805,5558808,5558810,5558813,5558816,5558387]);galleries[59470]=new gallery(59470,"205932,205930","STREAM","section243392",[205930,205932]);galleries[59469]=new gallery(59469,"783160,205928","SILENT WATERS","section243392",[205928,783160]);galleries[59468]=new gallery(59468,"768644","PLUNGE","section243392",[768644]);galleries[59467]=new gallery(59467,"768642,767117","SHIFTS","section243392",[767117,768640,768642]);galleries[59276]=new gallery(59276,"767106,767081","TEXTBOOK","section243392",[767081,767106,767074]);galleries[130240]=new gallery(130240,"1954163,1950499,1950496,1947707","Vice Versa","section243392",[1947707,1950492,1950496,1950499,1954163,1950511]);var imageSets=new Object();imageSets[1]="5558816,5550092,5550025,3855791,2646999,1947707,205916,205910,205687,205667,205659,203992,203793,203671,203657,203642";imageSets[2]="5795591,5558813,5558808,5550092,5550025,3856090,3855796,3855791,3855772,3699400,2656501,2647048,2646999,2623768,1954163,1950499,1950496,1947707,783160,768644,768642,767117,767106,767081,766865,205932,205930,205928,205926,205916,205910,205908,205687,205678,205667,205659,205653,205241,203992,203986,203977,203959,203947,203793,203671,203670,203664,203657,203642,203363";imageSets[3]="5558816,5558813,5558810,5558808,5558805,5558387,5550097,5550094,5550092,5550087,5550082,5550079,5550041,5550025,3856090,3855952,3855856,3855833,3855820,3855815,3855796,3855791,3855772,3717991,3699446,3699443,3699441,3699400,3699377,3699372,2656505,2656504,2656501,2647048,2646999,2623768,1954163,1950511,1950499,1950496,1950492,1947707,783160,768644,768642,768640,767117,767106";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/jeanne/images";break}switch(a){case 1:b="http://www1.clikpic.com/jeanne/images";break}switch(a){case 2:b="http://admin.clikpic.com/jeanne/images";break}switch(a){case 24:b="http://tpc15/clikpic/jeanne/images";break}switch(a){case 4:b="http://www.clikchurch.com/jeanne/images";break}switch(a){case 5:b="http://www2.clikpic.com/jeanne/images";break}switch(a){case 22:b="http://tpc5/clikpic/jeanne/images";break}switch(a){case 23:b="http://tpc10/clikpic/jeanne/images";break}switch(a){case 25:b="http://tpc16/clikpic/jeanne/images";break}switch(a){case 15:b="http://www3.clikpic.com/jeanne/images";break}switch(a){case 18:b="http://www4.clikpic.com/jeanne/images";break}switch(a){case 19:b="http://www5.clikpic.com/jeanne/images";break}switch(a){case 31:b="http://www7.clikpic.com/jeanne/images";break}switch(a){case 32:b="http://admin2.clikpic.com/jeanne/images";break}switch(a){case 33:b="http://www8.clikpic.com/jeanne/images";break}switch(a){case 34:b="http://www9.clikpic.com/jeanne/images";break}switch(a){case 35:b="http://admin3.clikpic.com/jeanne/images";break}switch(a){case 37:b="http://admin4.clikpic.com/jeanne/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="Sabine Jeanne Bieli: "+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> 				&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="sabinejbieli@gmail.com">';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="sabinejbieli@gmail.com">';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+'")'})}}};