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[244182]=new thumbnail(244182,"160636","Guiding Services","Arian-009_thumb.jpg",130,173,1);thumbnails[1987035]=new thumbnail(1987035,"20658","Aberdovey","Aberdovey6_thumb.jpg",130,87,1);thumbnails[3275649]=new thumbnail(3275649,"20658","Moelwyn's","Moelwyns_thumb.jpg",130,51,1);thumbnails[233149]=new thumbnail(233149,"20658","Aran Fawddwy","Aran-Ffawdwy_thumb.jpg",130,98,1);thumbnails[233151]=new thumbnail(233151,"20658","Bishops & Clerks","Bishop's-&-Clerks_thumb.jpg",130,92,1);thumbnails[233155]=new thumbnail(233155,"20658","Cadair Idris","Cadair-Idris-Winter_thumb.jpg",130,98,1);thumbnails[235799]=new thumbnail(235799,"20658","Ynyslas","YnysLas_thumb.jpg",130,173,1);thumbnails[240676]=new thumbnail(240676,"20658","The Coppice","Maentwrog_thumb.jpg",130,195,1);thumbnails[235826]=new thumbnail(235826,"20658","Sunset on Aberystwth","Sunset-on-Aberyswyth_thumb.jpg",130,98,1);thumbnails[235812]=new thumbnail(235812,"20658","Y Garn","Y-Garn_thumb.jpg",130,98,1);thumbnails[244183]=new thumbnail(244183,"20658","Mynydd Mawr","Moel-Hebog_thumb.jpg",130,98,1);thumbnails[265842]=new thumbnail(265842,"20658","Ffrwd Fawr near Dylife, Mid Wales.","Ffrwd-Fawr2_thumb.jpg",130,184,1);thumbnails[235808]=new thumbnail(235808,"20658","Strata Florida","Strata-Florida_thumb.jpg",130,172,1);thumbnails[235822]=new thumbnail(235822,"20658","Ynyslas","Sea-View_thumb.jpg",130,173,1);thumbnails[235835]=new thumbnail(235835,"20658","Frozen Wire","Frozen-Fence_thumb.jpg",130,98,1);thumbnails[236172]=new thumbnail(236172,"20658","Icicles","Icicles_thumb.jpg",130,173,1);thumbnails[235837]=new thumbnail(235837,"20658","Garden","Winter-Trees_thumb.jpg",130,98,1);thumbnails[235840]=new thumbnail(235840,"20658","Walk out.","Walk-out_thumb.jpg",130,98,1);thumbnails[347416]=new thumbnail(347416,"20658","Marram Grass","Reeds-at-Ynyslas_thumb.jpg",130,173,1);thumbnails[744894]=new thumbnail(744894,"20658","My Garden","MyGarden_thumb.jpg",130,177,1);thumbnails[235942]=new thumbnail(235942,"20658","Coed Trallwm","Coed-Trallwm_thumb.jpg",130,173,1);thumbnails[890677]=new thumbnail(890677,"20658","Craig Cau (Cadair Idris)","Cadair_thumb.jpg",130,87,1);thumbnails[1660586]=new thumbnail(1660586,"20658","Crib Goch, Mnt. Snowdon","SnowdonPana_thumb.jpg",130,29,1);thumbnails[512564]=new thumbnail(512564,"31694","Boundary Stone","Sourcewww_thumb.jpg",130,92,1);thumbnails[390913]=new thumbnail(390913,"31694","Hill Farm","WaenGitten_thumb.jpg",130,87,1);thumbnails[338266]=new thumbnail(338266,"31694","Llanidloes Timbered Market Hall","MarketHall2_thumb.jpg",130,92,1);thumbnails[390895]=new thumbnail(390895,"31694","Dol-llys Hall","Dol-llys_thumb.jpg",130,98,1);thumbnails[390898]=new thumbnail(390898,"31694","Dol-llys Hall","Dol-llys-2_thumb.jpg",130,98,1);thumbnails[723738]=new thumbnail(723738,"31694","Misty Llyn Clywedog","ClywedogMist_thumb.jpg",130,95,1);thumbnails[755027]=new thumbnail(755027,"31694","Technicolour Sheep","Sheep-Trail_thumb.jpg",130,26,1);thumbnails[369363]=new thumbnail(369363,"31694","Llyn Clywedog","LlynFullPana_thumb.jpg",130,44,1);thumbnails[845331]=new thumbnail(845331,"65165","Pokhara","LakenearPokhara_thumb.jpg",130,87,1);thumbnails[845583]=new thumbnail(845583,"65165","Jharkot","Jarkhot_thumb.jpg",130,87,1);thumbnails[845587]=new thumbnail(845587,"65165","Monkey Temple","Monkey-Temple_thumb.jpg",130,196,1);thumbnails[845591]=new thumbnail(845591,"65165","My Hat","Like-my-hat_thumb.jpg",130,98,1);thumbnails[845595]=new thumbnail(845595,"65165","Manang Stupa","Part-of-shrine_thumb.jpg",130,87,1);thumbnails[845600]=new thumbnail(845600,"65165","Prayer Stone","Praher-Stones-at-Chame_thumb.jpg",130,87,1);thumbnails[845610]=new thumbnail(845610,"65165","Lower Pisang","Prayer-flag-with-annapurna_thumb.jpg",130,196,1);thumbnails[845620]=new thumbnail(845620,"65165","Prayer Flag","PrayerFlags-over-Kathmandu_thumb.jpg",130,87,1);thumbnails[845627]=new thumbnail(845627,"65165","Prayer Wheels","PrayerWheels_thumb.jpg",130,96,1);thumbnails[845630]=new thumbnail(845630,"65165","Morning sun over Manang","Shrine-above-Manang_thumb.jpg",130,196,1);thumbnails[347391]=new thumbnail(347391,"21645","Aiguille du Chardonnay","Aiguille-du-Chardonnay_thumb.jpg",130,98,1);thumbnails[347398]=new thumbnail(347398,"21645","Mulhacen, Sierra Nevada","Climbers-Returning_thumb.jpg",130,98,1);thumbnails[235973]=new thumbnail(235973,"21645","Aiguille du Midi","Aiguille-du-Midi_thumb.jpg",130,98,1);thumbnails[235985]=new thumbnail(235985,"21645","Mont Blanc","Mont-Blanc-in-Cloud_thumb.jpg",130,98,1);thumbnails[235988]=new thumbnail(235988,"21645","Mont Blanc","Mont-Blanc_thumb.jpg",130,98,1);thumbnails[236011]=new thumbnail(236011,"21645","Sierrra Nevada.","Sierra-Nevada_thumb.jpg",130,98,1);thumbnails[236034]=new thumbnail(236034,"21645","Table Rock","Table-Rock-&-Glacier_thumb.jpg",130,98,1);thumbnails[236047]=new thumbnail(236047,"21645","Aiguille du Chardonnay","Walk-in-to-Chardonnay_thumb.jpg",130,98,1);thumbnails[746746]=new thumbnail(746746,"21646","Snowdon Descent","MadogSnowdon_thumb.jpg",130,95,1);thumbnails[845653]=new thumbnail(845653,"21646","Throwing a Prayer","Throwing-Prayer-Flags_thumb.jpg",130,88,1);thumbnails[845660]=new thumbnail(845660,"21646","Rob Jarman","Rob-Jarman_thumb.jpg",130,87,1);thumbnails[845665]=new thumbnail(845665,"21646","Dhaulagiri","Dhauigiri_thumb.jpg",130,87,1);thumbnails[847965]=new thumbnail(847965,"21646","Chame Bridge","ChameBridge_thumb.jpg",130,87,1);thumbnails[847967]=new thumbnail(847967,"21646","Carry on!","Carry_thumb.jpg",130,87,1);thumbnails[847969]=new thumbnail(847969,"21646","Bahundanda Flyer","JarmanBahundanda_thumb.jpg",130,178,1);thumbnails[908993]=new thumbnail(908993,"21646","Going,Going,Gone!","MarcFlyer_thumb.jpg",130,184,1);thumbnails[909475]=new thumbnail(909475,"21646","Marc Beaumont","MarcCorner_thumb.jpg",130,92,1);thumbnails[909523]=new thumbnail(909523,"21646","Beaumont Air","MarcAir_thumb.jpg",130,184,1);thumbnails[4601426]=new thumbnail(4601426,"21646","High above Briancon","Briancon1_thumb.jpg",130,87,1);thumbnails[4601428]=new thumbnail(4601428,"21646","Ride it like you stole it!","Briancon2_thumb.jpg",130,195,1);thumbnails[235946]=new thumbnail(235946,"21646","Paraglider","Paragliding_thumb.jpg",130,98,1);thumbnails[235951]=new thumbnail(235951,"21646","Paraglider 2","Paragliding-1_thumb.jpg",130,98,1);thumbnails[235965]=new thumbnail(235965,"21646","Climbing at Tremadog","Climbing-at-Tremadog_thumb.jpg",130,98,1);thumbnails[983917]=new thumbnail(983917,"21646","Beaumont","MarcMtn-Ash_thumb.jpg",130,92,1);thumbnails[1375034]=new thumbnail(1375034,"69286","Yak Attack 2007","MBK214a_thumb.jpg",130,176,1);thumbnails[1375042]=new thumbnail(1375042,"69286","Yak Attack","MBK214b_thumb.jpg",130,176,1);thumbnails[1375047]=new thumbnail(1375047,"69286","Yak Attack","MBK214c_thumb.jpg",130,176,1);thumbnails[1375053]=new thumbnail(1375053,"69286","Yak Attack","MBK214d_thumb.jpg",130,176,1);thumbnails[1375058]=new thumbnail(1375058,"69286","Yak Attack","MBK214e_thumb.jpg",130,176,1);thumbnails[1375062]=new thumbnail(1375062,"69286","Yak Attack","MBK214f_thumb.jpg",130,176,1);thumbnails[1375063]=new thumbnail(1375063,"69286","Yak Attack","MBK214_thumb.jpg",130,176,1);thumbnails[1375065]=new thumbnail(1375065,"69286","MBUK Zoom","MBK213a_thumb.jpg",130,176,1);thumbnails[1375068]=new thumbnail(1375068,"69286","MBUK Zoom","MBK213_thumb.jpg",130,176,1);thumbnails[1375075]=new thumbnail(1375075,"69286","MBUK Zoom Section","MBK217_thumb.jpg",130,176,1);thumbnails[1375077]=new thumbnail(1375077,"69286","MBUK Zoom Section","mbukPicture-1_thumb.jpg",130,172,1);thumbnails[1375087]=new thumbnail(1375087,"69286","MBUK Zoom Section","mbukPicture-2_thumb.jpg",130,171,1);thumbnails[1611945]=new thumbnail(1611945,"69286","Zoom Section of MBUK Magazine","MBK218_thumb.jpg",130,176,1);thumbnails[1611947]=new thumbnail(1611947,"69286","Zoom Section of MBUK Magazine","MBK219_thumb.jpg",130,176,1);thumbnails[4598892]=new thumbnail(4598892,"69286","Outer Edge Magazine","Outeredge1_thumb.jpg",130,91,1);thumbnails[4598906]=new thumbnail(4598906,"69286","Outer Edge Magazine","Outeredge2_thumb.jpg",130,92,1);thumbnails[4598913]=new thumbnail(4598913,"69286","Outer Edge Magazine","Outeredge3_thumb.jpg",130,92,1);thumbnails[5370206]=new thumbnail(5370206,"69286","Singletrack 2010 Calendar","Calendar2010_thumb.jpg",130,46,1);var galleries=new Object();galleries[160636]=new gallery(160636,"244182","Guiding","section203051",[244182]);galleries[160637]=new gallery(160637,"","Weekend Breaks","section203051",[]);galleries[20658]=new gallery(20658,"3275649,1987035,1660586,890677,744894,347416,265842,244183,240676,236172","Landscapes","gallery",[1987035,3275649,233149,233151,233155,235799,240676,235826,235812,244183,265842,235808,235822,235835,236172,235837,235840,347416,744894,235942,890677,1660586]);galleries[31694]=new gallery(31694,"755027,723738,512564,390913,390898,390895,369363,338266","Llanidloes & Area","gallery",[512564,390913,338266,390895,390898,723738,755027,369363]);galleries[65165]=new gallery(65165,"845630,845627,845620,845610,845600,845595,845591,845587,845583,845331","Nepal","gallery",[845331,845583,845587,845591,845595,845600,845610,845620,845627,845630]);galleries[21645]=new gallery(21645,"347398,347391,236047,236034,236011,235988,235985,235973","Alps","gallery",[347391,347398,235973,235985,235988,236011,236034,236047]);galleries[21646]=new gallery(21646,"4601428,4601426,983917,909523,909475,908993,847969,847967,847965,845665","Mountain Biking & Extreme Sports","gallery",[746746,845653,845660,845665,847965,847967,847969,908993,909475,909523,4601426,4601428,235946,235951,235965,983917]);galleries[69286]=new gallery(69286,"5370206,4598913,4598906,4598892,1611947,1611945,1375087,1375077,1375075,1375068","Portfolio","gallery",[1375034,1375042,1375047,1375053,1375058,1375062,1375063,1375065,1375068,1375075,1375077,1375087,1611945,1611947,4598892,4598906,4598913,5370206]);var imageSets=new Object();imageSets[1]="755027,744894,369363,347416,338266,265842,235808,235799,233149";imageSets[3]="5370206,4601428,4601426,4598913,4598906,4598892,3275649,1987035,1660586,1611947,1611945,1375087,1375077,1375075,1375068,1375065,1375063,1375062,1375058,1375053,1375047,1375042,1375034,983917,909523,909475,908993,890677,847969,847967,847965,845665,845660,845653,845630,845627,845620,845610,845600,845595,845591,845587,845583,845331,755027,746746,744894,723738,512564,390913";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 34:b="http://www9.clikpic.com/photowales/images";break}switch(a){case 1:b="http://www1.clikpic.com/photowales/images";break}switch(a){case 2:b="http://admin.clikpic.com/photowales/images";break}switch(a){case 4:b="http://www.clikchurch.com/photowales/images";break}switch(a){case 5:b="http://www2.clikpic.com/photowales/images";break}switch(a){case 15:b="http://www3.clikpic.com/photowales/images";break}switch(a){case 21:b="http://www6.clikpic.com/photowales/images";break}switch(a){case 18:b="http://www4.clikpic.com/photowales/images";break}switch(a){case 19:b="http://www5.clikpic.com/photowales/images";break}switch(a){case 22:b="http://tpc5/clikpic/photowales/images";break}switch(a){case 23:b="http://tpc10/clikpic/photowales/images";break}switch(a){case 24:b="http://tpc15/clikpic/photowales/images";break}switch(a){case 25:b="http://tpc16/clikpic/photowales/images";break}switch(a){case 31:b="http://www7.clikpic.com/photowales/images";break}switch(a){case 32:b="http://admin2.clikpic.com/photowales/images";break}switch(a){case 33:b="http://www8.clikpic.com/photowales/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="photowales: "+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>"}a=a+fnGetPaymentInfo(photos[b]);if(a!=""){a=a+'<div class="spacer"></div>'}return a}function fnGetPaymentInfo(c){var b="";if(c.item_price!==""){b=b+"<p>Buy now using PayPal:</p>";b=b+'<p class="imageinfo" id="imagePrice"><strong>'+c.purchase_instruction+"</strong> 				&pound;"+(c.item_price).toFixed(2)+"</p>";var e=c.purchase_instruction;var d=(c.item_price).toFixed(2);var a=0}else{if(c.payment_groups_id!==""){b=b+"<p>Buy this print online:</p>";b=b+'<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';b=b+'<select class="paymentlink" name="payment_options_id" onchange="updateCartValue(document.forms.paymentForm,this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value); if(divShowing(\'paymentConfirm\')){fadeOut(\'paymentConfirm\', 3)};">';b=b+getPaymentOptions(c.payment_groups_id);b=b+"</select>";b=b+"</form>";var a=paymentGroups[c.payment_groups_id].options[0];if(paymentOptions[a]){var e=paymentOptions[a].payment_option;var d=paymentOptions[a].price}}else{}}if(c.item_price!==""||c.payment_groups_id!==""){b=b+'<form id="paymentForm" style="margin:0px;border:0px;" name="paymentForm">';b=b+'	<input type="hidden" name="item_option" value="'+a+'">';b=b+'	<input type="hidden" name="site" value="PHOTOWALES">';b=b+'	<input type="hidden" name="item_number" value="'+c.id+'">';b=b+'	<input type="hidden" name="quantity" value="1">';b=b+'	<input value="Add to cart" id="paymentAddButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button">';b=b+'	<input value="View cart" id="paymentViewButton" class="button" onmouseover="this.className=\'buttonHi\';" onmouseout="this.className=\'button\';" type="Button" onclick="javascript:window.location=\'cart.html\'">';b=b+"</form>";b=b+'<div class="clearing">&nbsp;</div>';b=b+'<div id="confirmContainer">';b=b+'<div id="paymentConfirm">Item added to cart</div>';b=b+"</div>";b=b+'<div class="clearing">&nbsp;</div>'}return b}function previous(d,b){var c=d.value;var a=galleries[photos[c].galleries_id].photoIDs;nextImg=getNextId(c,a,1);if(nextImg!=-1){updateImage(nextImg,d,b)}}function showGalleryImage(c,b){imageID=randomListVal(galleries[c].featured_images);if(imageID!=0){b.src=thumbnails[imageID].src;b.width=thumbnails[imageID].width;b.height=thumbnails[imageID].height;if(b.width<130){var f=$("img#gallery"+c);f.parents(".thumbWrap").width(b.width);var a=f.siblings("h3").size()==1?f.siblings("h3"):f.parent(".thumbWrap").siblings("h3");var g=parseInt(a.css("padding-left"))+parseInt(a.css("padding-right"));var d=parseInt(a.css("border-left-width"))+parseInt(a.css("border-right-width"));var e=parseInt(f.parents(".thumbWrap").css("border-left-width"))+parseInt(f.parents(".thumbWrap").css("border-right-width"));a.width(f.outerWidth(true)-g-d+e)}}}function showGalleries(a){if(!basic){temp="";for(i=0;i<galleries.length;i++){if(galleries[i].id!=a){if(temp!=""){temp=temp+" | "}temp=temp+'<a href="gallery_'+galleries[i].id+'.html">'+galleries[i].title+"</a>"}}document.all.galleryLinks.innerHTML="Other galleries: "+temp}}function resizePhotoInfo(n){var b=$.extend({centre:false},n||{});var d=3;$("div#photoPanelOuter").height("auto");$("div#infoWrap").width(200);$("div#photoDetail").css("width","auto");var h=$("div#maincolContent").width();var j=$("div#photoWrap").outerWidth(true);var m=$("div#infoWrap").outerWidth(true);var k=$("div#photoWrap").outerHeight();var f=$("div#infoWrap").outerHeight();var c=$("div#infoWrap").hasClass("empty");floatDrop=0;var g=j;if(!c){if(h<(j+m)){floatDrop=1}if(!floatDrop){var a=$("div#infoWrap").innerWidth();$("div#infoWrap").width(a+(h-j-m-d));m=$("div#infoWrap").outerWidth(true);g=j+m;if(k>f){var e=$("div#photoPanelOuter").height();$("div#photoPanelOuter").height(e+(k-f));var f=$("div#infoWrap").outerHeight()}}else{var l=$("div#photoWrap").outerWidth();$("div#infoWrap").width(l)}}if(b.centre){$("div#photoDetail").width(g);$("div#photoDetail").css("margin-left","auto");$("div#photoDetail").css("margin-right","auto")}else{$("div#photoDetail").css("margin-left","0");$("div#photoDetail").css("margin-right","0")}}function getArrayPos(c,b){for(var a=0;a<c.length;a++){if(c[a]==b){return a}}return -1}function changeBgImg(a,e){var c=randomListVal(imageSets[e]);var d=backgrounds[c].src;var b=$(a);if(b.size()>0){if(/\bimg$/.test(a)){b.attr({src:d})}else{b.css({"background-image":'url("'+d+'")'})}}};