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[3774551]=new thumbnail(3774551,"","","WEB_Home_Page_thumb.jpg",130,108,18);thumbnails[4728824]=new thumbnail(4728824,"","","Welcome_Page_thumb.jpg",130,130,18);thumbnails[6070665]=new thumbnail(6070665,"340812","Sage & Bridge Reflections","Sized_Alex_Sage__Bridge_16x12_Colour_thumb.JPG",130,98,18);thumbnails[6070741]=new thumbnail(6070741,"340812","Tyne Bridges","Sized_Bridges_Over_the_Tyne_12x16_thumb.JPG",130,173,18);thumbnails[6070024]=new thumbnail(6070024,"340812","The Side","Sized_Bridge_from_Side_16x20_BW1_thumb.JPG",130,163,18);thumbnails[6070700]=new thumbnail(6070700,"340812","Foggy Bridge","Sized_Foggy_Bridge_16x12_thumb.JPG",130,98,18);thumbnails[6070769]=new thumbnail(6070769,"340812","Tyne Bridge Lights","Sized_Tyne_Bridge_Lights_16x12_thumb.JPG",130,173,18);thumbnails[6070837]=new thumbnail(6070837,"340812","Sage & Bridge","Sized_Sage_and_Bridge_BW_16x12_thumb.JPG",130,98,18);thumbnails[6103993]=new thumbnail(6103993,"340770","Baltic Flour Mills","Baltic_Flour_Mills__16x12_Sized_thumb.jpg",130,98,18);thumbnails[6106680]=new thumbnail(6106680,"340770","Tyne View","Sized_Tyne_Pano_16x5_thumb.JPG",130,41,18);thumbnails[6252832]=new thumbnail(6252832,"340770","27 Queen Street","Sized_37_Queen_Street_16x12_thumb.JPG",130,173,18);thumbnails[6066151]=new thumbnail(6066151,"340770","Greys Monument","Sized_Greys_Monument_thumb.JPG",130,173,18);thumbnails[6069977]=new thumbnail(6069977,"340770","The Side","Sized_Bridge_from_Side_16x20_BW_thumb.JPG",130,163,18);thumbnails[6169665]=new thumbnail(6169665,"340770","Armstong Bridge","Sized_Armstrong_Bridge_16x12_thumb.JPG",130,98,18);thumbnails[6070066]=new thumbnail(6070066,"340770","River God","Sized_River_God_16x12_thumb.JPG",130,173,18);thumbnails[6069694]=new thumbnail(6069694,"340767","Rockpools, St. Marys","Sized_Rockpools_16x12_thumb.jpg",130,173,18);thumbnails[6069688]=new thumbnail(6069688,"340767","St Marys","Sized_Bait_Island_16x12_thumb.jpg",130,173,18);thumbnails[6069689]=new thumbnail(6069689,"340767","Incoming Tide","Sized_Incoming_Tide_16x12_thumb.jpg",130,173,18);thumbnails[6069695]=new thumbnail(6069695,"340767","St Marys Reflection","Sized_St_Marys_Reflection_16x12_thumb.jpg",130,173,18);thumbnails[6069693]=new thumbnail(6069693,"340767","St Marys Posts","Sized_Posts_16x12_thumb.jpg",130,173,18);thumbnails[6069691]=new thumbnail(6069691,"340767","Sunrise, St Marys","Sized_Orange_Sunrise_16x12_thumb.jpg",130,98,18);thumbnails[6069690]=new thumbnail(6069690,"340767","St. Marys","Sized_Lighthouse_2_16x12_thumb.jpg",130,98,18);thumbnails[6069696]=new thumbnail(6069696,"340767","Storm, St Marys","Sized_Stormy_16x10_thumb.jpg",130,81,18);thumbnails[6069697]=new thumbnail(6069697,"340767","Stormy Skies","Sized_Stormy_BW_16x12_thumb.jpg",130,98,18);thumbnails[6069692]=new thumbnail(6069692,"340767","St Marys Winter Light","Sized_Post__Lighthouse_16x10_thumb.jpg",130,81,18);thumbnails[6065757]=new thumbnail(6065757,"340634","The Angel","Sized_Coloured_Angel_16x12_thumb.jpg",130,173,18);thumbnails[6065753]=new thumbnail(6065753,"340634","Angled angel","Sized_Angel_at_an_Angle_16x12_thumb.jpg",130,173,18);thumbnails[6065754]=new thumbnail(6065754,"340634","Angel","Sized_Angel_Close_Up_16x12_thumb.jpg",130,173,18);thumbnails[6065756]=new thumbnail(6065756,"340634","Angel ","Sized_Coloured_Angel__BW_16x12_thumb.jpg",130,173,18);thumbnails[6066060]=new thumbnail(6066060,"340634","Angel in Profile","Sized_Angel_Side_16x5_thumb.JPG",130,415,18);thumbnails[6065755]=new thumbnail(6065755,"340634","Side Angel","Sized_Angel_Side_View_Colour_16x6_thumb.jpg",130,346,18);thumbnails[6084648]=new thumbnail(6084648,"341560","Tynemouth Pier","Sized_Pier_BW_16x12_thumb.JPG",130,173,18);thumbnails[6309522]=new thumbnail(6309522,"341560","Tynmouth Lido Rail","Sized_Bathing_Pool_12x10_Framed_thumb.JPG",130,157,18);thumbnails[6309551]=new thumbnail(6309551,"341560","Tynmouth Lido Steps","Sized_Bathing_Pool_2_10x12_Framed_thumb.JPG",130,158,18);thumbnails[6309896]=new thumbnail(6309896,"341560","Tynemouth Lido, No Swimming","Sized_Bathing_Pool_3_14x11_Framed_thumb.JPG",130,107,18);thumbnails[6330137]=new thumbnail(6330137,"341560","The Priory","Sized_The_Priory_16x12_Framed_thumb.JPG",130,168,18);thumbnails[6071121]=new thumbnail(6071121,"340872","Dunstanburgh","Sized_Dunstanburgh_Portrait_16x12_thumb.jpg",130,173,18);thumbnails[6071122]=new thumbnail(6071122,"340872","Lilburn Tower Sunrise","Sized_Lilburn_Tower_Sunrise_16x12_thumb.jpg",130,173,18);thumbnails[6071119]=new thumbnail(6071119,"340872","Dunstanburgh","Sized_Dunstanburgh_Landscape_16x12_thumb.jpg",130,98,18);thumbnails[6071118]=new thumbnail(6071118,"340872","Dunstanburgh Panorama","Sized_Dunst_Pano_16x6_thumb.jpg",130,49,18);thumbnails[6071120]=new thumbnail(6071120,"340872","Dunstanburgh","Sized_Dunstanburgh_Pano_Col_16x6_thumb.jpg",130,49,18);thumbnails[6169981]=new thumbnail(6169981,"344892","Sky Cafe","Sized_Sky_16x12_thumb.jpg",130,173,18);thumbnails[6169982]=new thumbnail(6169982,"344892","Trinity Square - Get Carter","Sized_Trinity_Square_16x8_thumb.jpg",130,65,18);thumbnails[6102219]=new thumbnail(6102219,"342232","","Sized_South_Groyne_16x20_Colour_thumb.JPG",130,104,18);thumbnails[6159373]=new thumbnail(6159373,"344493","Cathedral View","Sized_Durham_BW_16x12_thumb.JPG",130,98,18);thumbnails[6064172]=new thumbnail(6064172,"340572","Bamburgh Beach","Sized_Bamburgh_Beach_16x12_thumb.jpg",130,98,18);thumbnails[6064175]=new thumbnail(6064175,"340572","Bamburgh Beach Hut","Sized_Bamburgh_Beach_Hut_16x121_thumb.jpg",130,173,18);thumbnails[6064177]=new thumbnail(6064177,"340572","Bamburgh Rocks","Sized_Bamburgh_Rocks_16x121_thumb.jpg",130,98,18);thumbnails[6064178]=new thumbnail(6064178,"340572","Bamburgh Sunrise","Sized_Bamburgh_Sunrise_16x12_thumb.jpg",130,98,18);thumbnails[6072006]=new thumbnail(6072006,"340989","Steel Rigg","Sized_Steel_Rigg_16x12_thumb.JPG",130,98,18);thumbnails[6071912]=new thumbnail(6071912,"340989","Sycamore Gap","Sized_Sycamore_Gap_Sunrise_Pano_16x6_thumb.JPG",130,49,18);thumbnails[6069511]=new thumbnail(6069511,"340599","Bandstand","Sized_Bandstand_16x12_thumb.JPG",130,173,18);thumbnails[6103149]=new thumbnail(6103149,"340599","","Sized_Wind_Turbine_Blyth_16x12_thumb.JPG",130,173,18);thumbnails[6064821]=new thumbnail(6064821,"340599","Beach Huts, Blyth","Sized_Beach_Huts_Blyth_20x9_thumb.jpg",130,58,18);thumbnails[6100423]=new thumbnail(6100423,"340599","Beach Huts","beach_huts_12x4_sized_thumb.jpg",130,43,18);thumbnails[6064822]=new thumbnail(6064822,"340599","Dave Stephens Centre, Blyth","Sized_Dave_Stephens_Centre_Blyth_16x9_thumb.jpg",130,69,18);thumbnails[6064823]=new thumbnail(6064823,"340599","Winter Lifebuoy","Sized_LifeRing_Blyth_20x16_Colour_thumb.jpg",130,104,18);thumbnails[6255693]=new thumbnail(6255693,"347762","Driftwood","Driftwood_thumb.jpg",130,130,18);thumbnails[6254441]=new thumbnail(6254441,"347762","Black","Frm_BLK_thumb.jpg",130,130,18);thumbnails[6254407]=new thumbnail(6254407,"347762","Black Silver","Blk_Sil_thumb.jpg",130,130,18);thumbnails[6254447]=new thumbnail(6254447,"347762","Maroon / Silver","Mar_Sil_thumb.jpg",130,130,18);thumbnails[6254453]=new thumbnail(6254453,"347762","Silver Silver","Sil_Sil_thumb.jpg",130,130,18);thumbnails[6255686]=new thumbnail(6255686,"347762","Beech","Beech_thumb.jpg",130,130,18);thumbnails[6255699]=new thumbnail(6255699,"347762","Oak","Oak_thumb.jpg",130,130,18);thumbnails[6255702]=new thumbnail(6255702,"347762","Limed Oak effect","Limed_Oak_thumb.jpg",130,130,18);var galleries=new Object();galleries[340812]=new gallery(340812,"6070024","Newcastle Bridges","section185255",[6070665,6070741,6070024,6070700,6070769,6070837]);galleries[340770]=new gallery(340770,"6066151","Newcastle","section185255",[6103993,6106680,6252832,6066151,6069977,6169665,6070066]);galleries[340767]=new gallery(340767,"6069694","St. Marys Lighthouse","section185255",[6069694,6069688,6069689,6069695,6069693,6069691,6069690,6069696,6069697,6069692]);galleries[340634]=new gallery(340634,"6065757","Angel of the North","section185255",[6065757,6065753,6065754,6065756,6066060,6065755]);galleries[341560]=new gallery(341560,"6084648","Tynemouth","section185255",[6084648,6309522,6309551,6309896,6330137]);galleries[340872]=new gallery(340872,"6071121","Dunstanburgh","section185255",[6071121,6071122,6071119,6071118,6071120]);galleries[344892]=new gallery(344892,"6169981","Get Carter - Trinity Square","section185255",[6169981,6169982]);galleries[342232]=new gallery(342232,"6102219","South Shields","section185255",[6102219]);galleries[344493]=new gallery(344493,"6159373","Durham","section185255",[6159373]);galleries[340572]=new gallery(340572,"6064178,6064177,6064175,6064172","Bamburgh","section185255",[6064172,6064175,6064177,6064178]);galleries[340989]=new gallery(340989,"6072006,6071912","Hadrians wall","section185255",[6072006,6071912]);galleries[340599]=new gallery(340599,"6100423,6069511","Blyth","section185255",[6069511,6103149,6064821,6100423,6064822,6064823]);galleries[347762]=new gallery(347762,"6255702,6255699,6255693,6255686,6254453,6254447,6254441,6254407","Framing Options","section185255",[6255693,6254441,6254407,6254447,6254453,6255686,6255699,6255702]);var imageSets=new Object();imageSets[1]="4728824";imageSets[2]="6169981,6159373,6102219,6100423,6084648,6072006,6071912,6071121,6070024,6069694,6069511,6066151,6065757";imageSets[3]="6330137,6309896,6309551,6309522,6255702,6255699,6255693,6255686,6254453,6254447,6254441,6254407,6252832,6169982,6169981,6169665,6159373,6106680,6103993,6103149,6102219,6100423,6084648,6072006,6071912,6071122,6071121,6071120,6071119,6071118,6070837,6070769,6070741,6070700,6070665,6070066,6070024,6069977,6069697,6069696,6069695,6069694,6069693,6069692,6069691,6069690,6069689,6069688,6069511,6066151";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/image_northumbria/images";break}switch(a){case 1:b="http://www1.clikpic.com/image_northumbria/images";break}switch(a){case 2:b="http://admin.clikpic.com/image_northumbria/images";break}switch(a){case 24:b="http://tpc15/clikpic/image_northumbria/images";break}switch(a){case 4:b="http://www.clikchurch.com/image_northumbria/images";break}switch(a){case 5:b="http://www2.clikpic.com/image_northumbria/images";break}switch(a){case 22:b="http://tpc5/clikpic/image_northumbria/images";break}switch(a){case 23:b="http://tpc10/clikpic/image_northumbria/images";break}switch(a){case 25:b="http://tpc16/clikpic/image_northumbria/images";break}switch(a){case 15:b="http://www3.clikpic.com/image_northumbria/images";break}switch(a){case 18:b="http://www4.clikpic.com/image_northumbria/images";break}switch(a){case 19:b="http://www5.clikpic.com/image_northumbria/images";break}switch(a){case 31:b="http://www7.clikpic.com/image_northumbria/images";break}switch(a){case 32:b="http://admin2.clikpic.com/image_northumbria/images";break}switch(a){case 33:b="http://www8.clikpic.com/image_northumbria/images";break}switch(a){case 34:b="http://www9.clikpic.com/image_northumbria/images";break}switch(a){case 35:b="http://admin3.clikpic.com/image_northumbria/images";break}switch(a){case 37:b="http://admin4.clikpic.com/image_northumbria/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("section185255"!=""){if(backgrounds[imageID].galleries_id!=""){html+='<a href="'+backgrounds[imageID].section_code+"_"+backgrounds[imageID].galleries_id+'.html">'}else{html+='<a href="section185255.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("section185255"!=""){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="Image Northumbria Photography: "+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>"}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="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="image.northumbria@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="image.northumbria@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+'")'})}}};