window.thumbnails=new Object();thumbnails[1059950]=new thumbnail(1059950,"78456","Woolacombe bay after the evening rain.","Devon116_thumb.jpg",130,87,15,"							photo_1059950.html");thumbnails[1056819]=new thumbnail(1056819,"78456","Into the blue","Devon122_thumb.jpg",130,95,15,"							photo_1056819.html");thumbnails[2246183]=new thumbnail(2246183,"78456","Tranquility","tranquility_thumb.jpg",130,87,15,"							photo_2246183.html");thumbnails[1056273]=new thumbnail(1056273,"78456","Evening light.","Devon106_thumb.jpg",130,87,15,"							photo_1056273.html");thumbnails[1056816]=new thumbnail(1056816,"78456","Woolacombe bay at sunset","Devon011_thumb.jpg",130,87,15,"							photo_1056816.html");thumbnails[2082859]=new thumbnail(2082859,"78456","Life on the beach.","Wales Easter 2008 0251_thumb.jpg",130,131,15,"							photo_2082859.html");thumbnails[1056067]=new thumbnail(1056067,"78419","","duckling2_thumb.jpg",130,145,15,"							photo_1056067.html");thumbnails[1056071]=new thumbnail(1056071,"78419","","Heron1_thumb.jpg",130,146,15,"							photo_1056071.html");thumbnails[1068806]=new thumbnail(1068806,"78419","Red Squirrel","shy_red_thumb.jpg",130,128,15,"							photo_1068806.html");thumbnails[1056076]=new thumbnail(1056076,"78419","","IMG_0080_thumb.jpg",130,87,15,"							photo_1056076.html");thumbnails[2188803]=new thumbnail(2188803,"78419","Butterfly at rest","buttefly resting_thumb.jpg",130,105,15,"							photo_2188803.html");thumbnails[2188807]=new thumbnail(2188807,"78419","Starling with iridescent feathers","Starling 2_thumb.jpg",130,173,15,"							photo_2188807.html");thumbnails[3364078]=new thumbnail(3364078,"78419","Carnation Heart","2008-06-07 katy's flowers_0019_thumb.jpg",130,87,15,"							photo_3364078.html");thumbnails[2188805]=new thumbnail(2188805,"78419","Leader of the gang.","Starling_1_thumb.jpg",130,195,15,"							photo_2188805.html");thumbnails[2246185]=new thumbnail(2246185,"78419","","Tiger1_thumb.jpg",130,165,15,"							photo_2246185.html");thumbnails[2246186]=new thumbnail(2246186,"78419","He really IS a pretty boy!","Parrot_thumb.jpg",130,129,15,"							photo_2246186.html");thumbnails[2246187]=new thumbnail(2246187,"78419","A sad seal?","Sad seal_thumb.jpg",130,87,15,"							photo_2246187.html");thumbnails[2298930]=new thumbnail(2298930,"78419","Light Carnation","2008-06-07 Katy's flowers_0036_thumb.jpg",130,195,15,"							photo_2298930.html");thumbnails[3415640]=new thumbnail(3415640,"208738","Evening on Ullswater","2008-09-26_29 Lakes 003_thumb.jpg",130,195,15,"							photo_3415640.html");thumbnails[3415719]=new thumbnail(3415719,"208738","Late summer at Buttermere","2008-09-26_29 Lakes 104_thumb.jpg",130,195,15,"							photo_3415719.html");thumbnails[3415940]=new thumbnail(3415940,"208738","Buttermere","2008-09-26_29 Lakes 127_thumb.jpg",130,87,15,"							photo_3415940.html");thumbnails[3416044]=new thumbnail(3416044,"208738","Winter ice on Derwent Water","2009-02-07 Lakes_0039_thumb.jpg",130,87,15,"							photo_3416044.html");thumbnails[3415975]=new thumbnail(3415975,"208738","Winter Flight","2009-02-07 Lakes_0017_thumb.jpg",130,195,15,"							photo_3415975.html");thumbnails[3416049]=new thumbnail(3416049,"208738","Winter Freeze","2009-02-07 Lakes_0054_thumb.jpg",130,195,15,"							photo_3416049.html");thumbnails[3416108]=new thumbnail(3416108,"208738","Derwent Ice","2009-02-07 Lakes_0078_2_thumb.jpg",130,195,15,"							photo_3416108.html");thumbnails[3415957]=new thumbnail(3415957,"208738","Winter on Derwent Water","2009-02-07 Lakes_0003_thumb.jpg",130,87,15,"							photo_3415957.html");thumbnails[1056126]=new thumbnail(1056126,"78440","Revelation.","Chatsworth014_thumb.jpg",130,195,15,"							photo_1056126.html");thumbnails[1056199]=new thumbnail(1056199,"78440","The House and great cascade","Chatsworth015_thumb.jpg",130,87,15,"							photo_1056199.html");thumbnails[1056195]=new thumbnail(1056195,"78440","The walking Madonna","IMG_0763_thumb.jpg",130,195,15,"							photo_1056195.html");thumbnails[1076720]=new thumbnail(1076720,"79595","Lyme Hall","2002-02-07Hallpoolorangery_thumb.jpg",130,67,15,"							photo_1076720.html");thumbnails[1076721]=new thumbnail(1076721,"79595","Lyme Hall ","2002-02-16_thumb.jpg",130,91,15,"							photo_1076721.html");thumbnails[1076724]=new thumbnail(1076724,"79595","The Facade of Lyme Hall reflected in the lake","2002-02-18hallreflection_thumb.jpg",130,195,15,"							photo_1076724.html");thumbnails[1076728]=new thumbnail(1076728,"79595","Lyme Moorland","2002-02-25Cagetree_thumb.jpg",130,197,15,"							photo_1076728.html");thumbnails[1076729]=new thumbnail(1076729,"79595","Lyme Cage","2002-02-29cage_thumb.jpg",130,85,15,"							photo_1076729.html");thumbnails[3351463]=new thumbnail(3351463,"204551","Conwy Castle and Harbour","2008-08 Wales 008_thumb.jpg",130,87,15,"							photo_3351463.html");thumbnails[3351469]=new thumbnail(3351469,"204551","Sailing in the Conwy estuary.","2008-08 Wales 056_thumb.jpg",130,88,15,"							photo_3351469.html");thumbnails[3351769]=new thumbnail(3351769,"204551","Mountain Stream","2008-08 Wales 635 grad_thumb.jpg",130,195,15,"							photo_3351769.html");thumbnails[3352556]=new thumbnail(3352556,"204551","Caernarfon Castle","Wales Easter 2008 301_thumb.jpg",130,195,15,"							photo_3352556.html");thumbnails[3352529]=new thumbnail(3352529,"204551","Tranquility","Wales Easter 2008 237_thumb.jpg",130,87,15,"							photo_3352529.html");thumbnails[3351615]=new thumbnail(3351615,"204551","The walled town of Conwy","2008-08 Wales 343-3_2_1_thumb.jpg",130,87,15,"							photo_3351615.html");thumbnails[3351584]=new thumbnail(3351584,"204551","Castle Street, Conwy","2008-08 Wales 166_thumb.jpg",130,195,15,"							photo_3351584.html");thumbnails[3352500]=new thumbnail(3352500,"204551","The Menai Suspension Bridge & snow capped Snowdonia","Wales Easter 2008 0891_thumb.jpg",130,87,15,"							photo_3352500.html");thumbnails[3351635]=new thumbnail(3351635,"204551","Welsh Mountain Valley","2008-08 Wales 631_thumb.jpg",130,195,15,"							photo_3351635.html");thumbnails[3352542]=new thumbnail(3352542,"204551","Penmon Lighthouse, Anglesey","Lighthouse_thumb.jpg",130,184,15,"							photo_3352542.html");thumbnails[3363986]=new thumbnail(3363986,"204551","Vinatage sail.","2008-08 Wales 064_thumb.jpg",130,195,15,"							photo_3363986.html");thumbnails[1549991]=new thumbnail(1549991,"106245","The war memorial, werneth Low","Werneth Low Nov 06-43_thumb.jpg",130,195,15,"							photo_1549991.html");thumbnails[1550027]=new thumbnail(1550027,"106245","Werneth Low","Werneth Low Nov 06-32_thumb.jpg",130,121,15,"							photo_1550027.html");thumbnails[3244436]=new thumbnail(3244436,"106245","Winter Colour, Werneth Low","Werneth Low Nov 06-28_thumb.jpg",130,87,15,"							photo_3244436.html");var galleries=new Object();galleries[78456]=new gallery(78456,"1056819","Beach Life","gallery",[1059950,1056819,2246183,1056273,1056816,2082859],0,0,"","																																																																																																							gallery_78456.html",0,0);galleries[78419]=new gallery(78419,"3364078,2298930,2246187,2246186,2246185,2188807,2188805,2188803,1068806,1056076","Birds, Bees & Flowers","gallery",[1056067,1056071,1068806,1056076,2188803,2188807,3364078,2188805,2246185,2246186,2246187,2298930],0,0,"","																																																																																																							gallery_78419.html",0,0);galleries[208738]=new gallery(208738,"3416108,3416049,3416044,3415975,3415957,3415940,3415719,3415640","The Lake District","gallery",[3415640,3415719,3415940,3416044,3415975,3416049,3416108,3415957],0,0,"","																																																																																																							gallery_208738.html",0,0);galleries[78440]=new gallery(78440,"1056199,1056195,1056126","Chatsworth","gallery",[1056126,1056199,1056195],0,0,"","																																																																																																							gallery_78440.html",0,0);galleries[79595]=new gallery(79595,"1076721","Lyme Park","gallery",[1076720,1076721,1076724,1076728,1076729],0,0,"","																																																																																																							gallery_79595.html",0,0);galleries[204551]=new gallery(204551,"3363986,3352556,3352542,3352529,3352500,3351769,3351635,3351615,3351584,3351469","North Wales","gallery",[3351463,3351469,3351769,3352556,3352529,3351615,3351584,3352500,3351635,3352542,3363986],0,0,"","																																																																																																							gallery_204551.html",0,0);galleries[106245]=new gallery(106245,"3244436,1550027,1549991","Werneth Low","gallery",[1549991,1550027,3244436],0,0,"","																																																																																																							gallery_106245.html",0,0);var imageSets=new Object();imageSets[1]="3416108,3416044,3415957,3415940,3364078,3352542,3352529,3352500,3351615,2246187,2246186,2246183,2188803,1076721,1056819,1056816,1056273,1056199,1056076,1056067";imageSets[2]="1076721,1056819";imageSets[3]="3416108,3416049,3416044,3415975,3415957,3415940,3415719,3415640,3364078,3363986,3352556,3352542,3352529,3352500,3351769,3351635,3351615,3351584,3351469,3351463,3244436,2298930,2246187,2246186,2246185,2246183,2188807,2188805,2188803,2082859,1550027,1549991,1076729,1076728,1076724,1076721,1076720,1068806,1059950,1056819,1056816,1056273,1056199,1056195,1056126,1056076,1056071,1056067";function getServerPath(a){var b=-1;switch(a){case 21:b="http://www6.clikpic.com/Argonaut/images";break}switch(a){case 1:b="http://www1.clikpic.com/Argonaut/images";break}switch(a){case 2:b="http://admin.clikpic.com/Argonaut/images";break}switch(a){case 24:b="http://tpc15/clikpic/Argonaut/images";break}switch(a){case 4:b="http://www.clikchurch.com/Argonaut/images";break}switch(a){case 5:b="http://www2.clikpic.com/Argonaut/images";break}switch(a){case 22:b="http://tpc5/clikpic/Argonaut/images";break}switch(a){case 23:b="http://tpc10/clikpic/Argonaut/images";break}switch(a){case 25:b="http://tpc16/clikpic/Argonaut/images";break}switch(a){case 15:b="http://www3.clikpic.com/Argonaut/images";break}switch(a){case 18:b="http://www4.clikpic.com/Argonaut/images";break}switch(a){case 19:b="http://www5.clikpic.com/Argonaut/images";break}switch(a){case 31:b="http://www7.clikpic.com/Argonaut/images";break}switch(a){case 32:b="http://admin2.clikpic.com/Argonaut/images";break}switch(a){case 33:b="http://www8.clikpic.com/Argonaut/images";break}switch(a){case 34:b="http://www9.clikpic.com/Argonaut/images";break}switch(a){case 35:b="http://admin3.clikpic.com/Argonaut/images";break}switch(a){case 37:b="http://admin4.clikpic.com/Argonaut/images";break}switch(a){case 38:b="http://admin5.clikpic.com/Argonaut/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;a.parentNode.title=a.alt=photos[imageID].caption}else{newImage=new Image(photos[imageID].width,photos[imageID].height);newImage.src=photos[imageID].src;document.images[a.name]=newImage}}function getHomeImageLink(c){var a="",b=backgrounds&&backgrounds[c];if(b){if(b&&b.galleries_id!=""){a=b.fnGalleryLink()}else{a+="gallery.html"}}return a}function showHomeImageInline(e,c,a){var d={},b,f=1;if(c){f=c}b=randomListVal(imageSets[f]);if(a==null&&"gallery"!=""){a=getHomeImageLink(b)}updateImage({nextPhoto:backgrounds[b],img:e.find("img")[0],$photo:e,$title:$("#homeimageTitleContainer"),$detail:$("#homeimageDetailsContainer"),speed:0,href:a,css:d,onAfter:function(){this.closest(".contentsection").doManualAlign({inner:"img",crop:"a"})}})}function updateImage(c){var g={nextPhoto:"",field:"",img:"",$photo:"",$title:"",$detail:"",updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},h=$.extend({},g,c),d="",b="",a=h.nextPhoto.id,f=h.nextPhoto.caption,e=h.nextPhoto.src;if(!basic){if(h.updateHash&&clik.getIDInUrl(location.href,"photo")!=h.nextPhoto.id){clik.changeHash("photos_id="+h.nextPhoto.id,true)}if(h.$photo.length>0){d=$("<img/>",{"class":"mainphoto photo",src:e,id:"mainPic",name:"mainPic",width:h.nextPhoto.width,height:h.nextPhoto.height,alt:f,css:h.css||{}});if(h.href){if(h.href.match(/<a/)){d=$(h.href).append(d)}else{d=$("<a/>",{href:h.href,title:f}).append(d)}}else{d=$("<a/>",{title:f}).append(d)}if(h.speed==0){h.$photo.html(d);if(h.onBefore){h.onBefore.apply(h.$photo)}if(h.onAfter){h.onAfter.apply(h.$photo)}}else{h.$photo.stop(true,true).fadeReplaceWith(d,h.speed,"",function(){if(h.onAfter){h.onAfter.apply(this)}clik.doColumnResize(false,$(this).add(h.$detail).add(h.$title))},h.onBefore)}}if(h.field){h.field.value=a}else{h.$photo.data("image_id",a)}if(h.$title.length>0){h.$title.fadeGalleryDetails(f,h.speed)}if(h.updateDocumentTitle){document.title="Argus Images: "+f}if(h.$detail.length>0){b=h.nextPhoto.fnGetImageDetails();h.$detail.fadeGalleryDetails(b,h.speed,function(){var j={};resizePhotoInfo(j);if(typeof(backgrounds)!="undefined"&&h.nextPhoto==backgrounds[h.nextPhoto.id]){toggleAddToCartConfirm(backgrounds)}else{if(typeof(photos)!="undefined"&&h.nextPhoto==photos[h.nextPhoto.id]){toggleAddToCartConfirm(photos)}}})}if(!h.speed){clik.doColumnResize(false,h.$photo.add(h.$detail).add(h.$title))}return d}else{window.location="photo_"+nextPhoto.id+".html"}}function toggleAddToCartConfirm(a){if(typeof(a)!=="object"){a=photos}if($("#paymentConfirm").length>0){$("#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,a,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();dspOrderDetails(form.site.value)}}else{$("#paymentConfirm").text("Item not added - check cookies are enabled in your browser.").fadeIn()}})}}photo.prototype.fnGetImageDetails=function(){var a="";if(this.description!=""){a=a+'<p id="imageDescription">'+this.description+"</p>"}if(this.photo_ref!=""){a=a+'<p class="imageinfo" id="imageRef"><strong>Ref: </strong>'+this.photo_ref+"</p>"}if(this.takendate!=""){a=a+'<p class="imageinfo" id="imageDate"><strong>Date: </strong>'+this.takendate+"</p>"}if(this.location!=""){a=a+'<p class="imageinfo" id="imageLocation"><strong>Location: </strong>'+this.location+"</p>"}if(this.photographer!=""){a=a+'<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>'+this.photographer+"</p>"}a=a+this.fnGetPaymentInfo();if(a!=""){a=a+'<div class="spacer"></div>'}return a};photo.prototype.fnGetPaymentInfo=function(){var b="";if(this.item_price!==""){b=b+"<p>Buy now using PayPal:</p>";b=b+'<p class="imageinfo" id="imagePrice"><strong>'+this.purchase_instruction+"</strong> 				&pound;"+(this.item_price).toFixed(2)+"</p>";var d=this.purchase_instruction;var c=(this.item_price).toFixed(2);var a=0}else{if(this.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(this.payment_groups_id);b=b+"</select>";b=b+"</form>";var a=paymentGroups[this.payment_groups_id].options[0];if(paymentOptions[a]){var d=paymentOptions[a].payment_option;var c=paymentOptions[a].price}}else{}}if(this.item_price!==""||this.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="'+d+'">';ref="";if(this.photo_ref!=""){ref=this.photo_ref+" - "+this.caption}else{ref=this.id+" - "+this.caption}price=c;b=b+'<input type="hidden" name="cmd" value="_cart">';b=b+'<input type="hidden" name="business" value="john@hibbs13.freeserve.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="'+c+'">';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="john@hibbs13.freeserve.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 showGalleryImage(c,b,a){if(b){if(location.hash.match("galleries_id="+c)&&(imageID=location.hash.match(".*photos_id=(.+)$"))){imageID=imageID[1]}else{imageID=randomListVal(galleries[c].featured_images)}if(imageID!=0){b.src=thumbnails[imageID].src;b.width=thumbnails[imageID].width;b.height=thumbnails[imageID].height;b.alt=galleries[c].title;if(a){$(b).parent().attr({href:thumbnails[imageID].fnGalleryLink(c),title:galleries[c].title})}}}}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="'+galleries[i].section_code+"_"+galleries[i].id+'.html">'+galleries[i].title+"</a>"}}document.all.galleryLinks.innerHTML="Other galleries: "+temp}};
