window.thumbnails = {};
															thumbnails[4597010] = clik.newPhoto({"id":4597010,"src":"IMAGE0018_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4597010.html","width":130,"caption":"","height":198});
															thumbnails[4597791] = clik.newPhoto({"id":4597791,"src":"IMAGE0103a_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4597791.html","width":130,"caption":"","height":197});
															thumbnails[4597015] = clik.newPhoto({"id":4597015,"src":"IMAGE0021_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4597015.html","width":130,"caption":"","height":96});
															thumbnails[4597019] = clik.newPhoto({"id":4597019,"src":"IMAGE0029_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4597019.html","width":130,"caption":"","height":198});
															thumbnails[4581836] = clik.newPhoto({"id":4581836,"src":"IMAGE0012_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4581836.html","width":130,"caption":"","height":107});
															thumbnails[4581966] = clik.newPhoto({"id":4581966,"src":"IMAGE0078_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4581966.html","width":130,"caption":"","height":150});
															thumbnails[4597024] = clik.newPhoto({"id":4597024,"src":"IMAGE0050_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4597024.html","width":130,"caption":"","height":194});
															thumbnails[4582085] = clik.newPhoto({"id":4582085,"src":"IMAGE0062_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4582085.html","width":130,"caption":"","height":171});
															thumbnails[4582056] = clik.newPhoto({"id":4582056,"src":"IMAGE0065_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4582056.html","width":130,"caption":"","height":192});
															thumbnails[4581967] = clik.newPhoto({"id":4581967,"src":"IMAGE0070_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4581967.html","width":130,"caption":"","height":187});
															thumbnails[4581937] = clik.newPhoto({"id":4581937,"src":"IMAGE0083_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4581937.html","width":130,"caption":"","height":187});
															thumbnails[4581906] = clik.newPhoto({"id":4581906,"src":"IMAGE0084_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4581906.html","width":130,"caption":"","height":130});
															thumbnails[4581871] = clik.newPhoto({"id":4581871,"src":"IMAGE0085_thumb.jpg","galleries_id":261455,"server_id":18,"link":"photo_4581871.html","width":130,"caption":"","height":105});
															thumbnails[4722278] = clik.newPhoto({"id":4722278,"src":"_DSC2174_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722278.html","width":130,"caption":"","height":163});
															thumbnails[4722280] = clik.newPhoto({"id":4722280,"src":"_DSC2211_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722280.html","width":130,"caption":"","height":104});
															thumbnails[4722281] = clik.newPhoto({"id":4722281,"src":"_DSC2212_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722281.html","width":130,"caption":"","height":86});
															thumbnails[4722282] = clik.newPhoto({"id":4722282,"src":"_DSC2215_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722282.html","width":130,"caption":"","height":163});
															thumbnails[4722285] = clik.newPhoto({"id":4722285,"src":"_DSC2224_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722285.html","width":130,"caption":"","height":86});
															thumbnails[4722288] = clik.newPhoto({"id":4722288,"src":"_DSC2238_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722288.html","width":130,"caption":"","height":182});
															thumbnails[4722290] = clik.newPhoto({"id":4722290,"src":"_DSC2245_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722290.html","width":130,"caption":"","height":182});
															thumbnails[4722292] = clik.newPhoto({"id":4722292,"src":"_DSC2247_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722292.html","width":130,"caption":"","height":93});
															thumbnails[4722293] = clik.newPhoto({"id":4722293,"src":"_DSC2279_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722293.html","width":130,"caption":"","height":93});
															thumbnails[4722297] = clik.newPhoto({"id":4722297,"src":"_DSC2284_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722297.html","width":130,"caption":"","height":86});
															thumbnails[4722299] = clik.newPhoto({"id":4722299,"src":"_DSC2292_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722299.html","width":130,"caption":"","height":182});
															thumbnails[4722301] = clik.newPhoto({"id":4722301,"src":"_DSC2293_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722301.html","width":130,"caption":"","height":182});
															thumbnails[4722302] = clik.newPhoto({"id":4722302,"src":"_DSC2294_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722302.html","width":130,"caption":"","height":86});
															thumbnails[4722304] = clik.newPhoto({"id":4722304,"src":"_DSC2296_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722304.html","width":130,"caption":"","height":93});
															thumbnails[4722306] = clik.newPhoto({"id":4722306,"src":"_DSC2298_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722306.html","width":130,"caption":"","height":93});
															thumbnails[4722308] = clik.newPhoto({"id":4722308,"src":"_DSC2301_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722308.html","width":130,"caption":"","height":93});
															thumbnails[4722309] = clik.newPhoto({"id":4722309,"src":"_DSC2333_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722309.html","width":130,"caption":"","height":93});
															thumbnails[4722311] = clik.newPhoto({"id":4722311,"src":"_DSC2334_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722311.html","width":130,"caption":"","height":182});
															thumbnails[4722312] = clik.newPhoto({"id":4722312,"src":"_DSC2339_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722312.html","width":130,"caption":"","height":101});
															thumbnails[4722313] = clik.newPhoto({"id":4722313,"src":"_DSC2347_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722313.html","width":130,"caption":"","height":196});
															thumbnails[4722316] = clik.newPhoto({"id":4722316,"src":"_DSC2349_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_4722316.html","width":130,"caption":"","height":196});
															thumbnails[5039299] = clik.newPhoto({"id":5039299,"src":"_DSC2592_1_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_5039299.html","width":130,"caption":"","height":181});
															thumbnails[5039300] = clik.newPhoto({"id":5039300,"src":"_DSC2605_1_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_5039300.html","width":130,"caption":"","height":172});
															thumbnails[5039301] = clik.newPhoto({"id":5039301,"src":"_DSC2608_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_5039301.html","width":130,"caption":"","height":174});
															thumbnails[5039304] = clik.newPhoto({"id":5039304,"src":"_DSC2638_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_5039304.html","width":130,"caption":"","height":165});
															thumbnails[5039306] = clik.newPhoto({"id":5039306,"src":"_DSC2652_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_5039306.html","width":130,"caption":"","height":182});
															thumbnails[5039309] = clik.newPhoto({"id":5039309,"src":"_DSC2681_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_5039309.html","width":130,"caption":"","height":161});
															thumbnails[5039310] = clik.newPhoto({"id":5039310,"src":"_DSC2701_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_5039310.html","width":130,"caption":"","height":93});
															thumbnails[5039313] = clik.newPhoto({"id":5039313,"src":"_DSC2725_thumb.jpg","galleries_id":261456,"server_id":18,"link":"photo_5039313.html","width":130,"caption":"","height":92});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[261455] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"wedding photography","link":"gallery.html","maxRecords":0.0,"photoIDs":[4597010.0,4597791.0,4597015.0,4597019.0,4581836.0,4581966.0,4597024.0,4582085.0,4582056.0,4581967.0,4581937.0,4581906.0,4581871.0],"skipIndex":0,"section_code":"gallery","featured_images":"4597791,4597024,4597019,4597015,4597010,4582085,4582056,4581967,4581966,4581937","id":261455,"singleSection":false});				  						galleries[261456] = clik.newGallery({"parentGallery":"","usePopups":true,"title":"lifestyle portrait photography","link":"section363419.html","maxRecords":0.0,"photoIDs":[4722278.0,4722280.0,4722281.0,4722282.0,4722285.0,4722288.0,4722290.0,4722292.0,4722293.0,4722297.0,4722299.0,4722301.0,4722302.0,4722304.0,4722306.0,4722308.0,4722309.0,4722311.0,4722312.0,4722313.0,4722316.0,5039299.0,5039300.0,5039301.0,5039304.0,5039306.0,5039309.0,5039310.0,5039313.0],"skipIndex":0,"section_code":"section363419","featured_images":5039310.0,"id":261456,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '5039313,5039310,4722313,4722309,4722304,4722299,4722292,4722288,4722285,4722278,4597791,4597019,4581906,4581871';
imageSets[2] = '5039310';
imageSets[3] = '5039310';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/blacksilverphoto/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/blacksilverphoto/images';
		break;
	}
		return val;
}

/***************************************************************************
* img = reference to image object in which to show image                   *
***************************************************************************/
function showHomeImage(img) {
	imageID = randomListVal('');
	if (!basic) {
		img.src = photos[imageID].src;
		img.width = photos[imageID].width;
		img.height = photos[imageID].height;
		img.parentNode.title = img.alt = photos[imageID].caption;
	} else {
		newImage = new Image(photos[imageID].width,photos[imageID].height);
		newImage.src = photos[imageID].src;
		document.images[img.name] = newImage;
		
	}
}

function getHomeImageLink(imageID) {
  	var href='', photo = backgrounds && backgrounds[imageID];
	if(photo){
		if (photo && photo.galleries_id != '') {
  			href = photo.fnGalleryLink();
  		}
  		  		else {
  				href += 'gallery.html';
  	  		}
	}
    return href;
}

/***************************************************************************
* Show a random image on home page from featured images                    *
***************************************************************************/
function showHomeImageInline(el, image_sets_id, href) {
	
	var css = {}, imageID,
	    imageSetsId = 1;
	if(image_sets_id){
		imageSetsId = image_sets_id;
	}
	imageID = randomListVal(imageSets[imageSetsId]);
	if (href == null && 'gallery' != '') {
					href = getHomeImageLink(imageID);
	}
	
	updateImage({nextPhoto: backgrounds[imageID], img:el.find('img')[0],
                $photo:el, $title:$('#homeimageTitleContainer'), $detail:$('#homeimageDetailsContainer'),                speed:0, href:href, css:css, onAfter: function(){                  this.closest('.contentsection').doManualAlign({				    inner: 'img',				    crop: 'a'				  });                }              });
}

/***************************************************************************
* Set 'img' to be a new image given its photo() object                     *
***************************************************************************/
function updateImage (options) {
	var defaults = {nextPhoto:'',field:'',img:'',$photo:'',$title:'',$detail:'',$detailContainer:'',
                    updateDocumentTitle:false,speed:0,href:false,css:false,updateHash:false,onAfter:null,onBefore:null},
		op = $.extend({},defaults,options),
		html = '', temp = '',
		photoId = op.nextPhoto.id,
		photoCaption = ''+op.nextPhoto.caption,
		photoSrc = op.nextPhoto.src;
	
	if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
	}
		
	    if (op.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Blacksilver Photography, Leicester Photographer: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      	temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
			if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
				toggleAddToCartConfirm(backgrounds, op.$detail);
			} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
				toggleAddToCartConfirm(photos, op.$detail);
			}
			$('body').trigger('clikUpdate.popup');
	    });
    }
        $(op.$detailContainer).find('.replaceable[class*=replaceable_photo-]').each(function(){
    	var field = clik.getPrefixedClass(this.className, 'replaceable_photo-');
    	if (field in op.nextPhoto) {
    		$(this).fadeGalleryDetails(op.nextPhoto[field], op.speed);
    	}
    }).end().find('.replaceable.photoPayment').fadeGalleryDetails(op.nextPhoto.fnGetPaymentInfo(), op.speed, function(){
		if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
			toggleAddToCartConfirm(backgrounds, op.$detailContainer);
		} else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
			toggleAddToCartConfirm(photos, op.$detailContainer);
		}
		$('body').trigger('clikUpdate.popup');
	});
		if (op.$photo.length > 0) {
		html = $('<img/>',{
			'class': 'mainphoto photo',
			src: photoSrc,
			id: 'mainPic',
			name: 'mainPic',
			width: op.nextPhoto.width,
			height: op.nextPhoto.height,
			alt: photoCaption,
			css: op.css || {}
		});
		if (op.href) {
			if (op.href.match(/<a/)) {
				html = $(op.href).append(html);
			} else {
				html = $('<a/>', {
					href: op.href,
					title: photoCaption
				}).append(html);
			}
		} else {
			html = $('<a/>', {
				title: photoCaption
			}).append(html);
		}
		if (op.speed == 0) {			op.$photo.html(html);			if (op.onBefore) {			  	op.onBefore.apply(op.$photo);			}			if (op.onAfter) {			  	op.onAfter.apply(op.$photo);			}		} else {			op.$photo.stop(true,true).fadeReplaceWith(html,op.speed,'',function(){  				if (op.onAfter) {				  	op.onAfter.apply(this);				}				clik.doColumnResize(false, $(this).add(op.$detail).add(op.$title));			}, op.onBefore);
		}	}
    if (op.field) {
		op.field.value = photoId;
	} else {
		op.$photo.data('image_id', photoId);
    }
        if (!op.speed) {
      	clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));
    }
        
    return html;
	}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array, root){
	if (typeof(array) !== 'object' || array === null) {
	  	array = photos;
	}
	if (!$(root).length) {		root = $('body');	}	if($('#paymentConfirm', root).length > 0){
		$('#paymentConfirm', root).hide();
		$('#paymentAddButton', root)
		.unbind()
		.click(function(){
						form = $('#paymentForm', root)[0];
			option_id = 0;
			if(form.item_option.value){
				option_id = form.item_option.value;
			}
			if(addItemToBasket(form.item_number.value,array,form.site.value,parseInt(form.quantity.value, 10),option_id)){
				if($.browser.msie){$('#paymentConfirm', root).text('Item added to cart').show();}
				else{
					$('#paymentConfirm', root).text('Item added to cart').fadeIn();
					dspOrderDetails(form.site.value);
				}
			}
			else{
				$('#paymentConfirm', root).text('Item not added - check cookies are enabled in your browser.').fadeIn();
			}
		});
	}
}

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp +=  '<div id="imageDescription">' + this.description + '</div>';
	}
		if (this.photo_ref != '') {
		temp += '<div class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</div>';
	}
		if (this.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</div>';
	}
	
	if (this.photographer != '') {
		
		temp += '<div class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</div>';
	}
				
				if (temp != '') {
		temp += '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
clik.photo.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp += '<p>Order this print:</p>';
				temp += '<div class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> ' + (this.item_price).toFixed(2) + '</div>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp += '<p>Buy this print online:</p>';
				temp += '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp += '<select class="paymentlink" name="payment_options_id" onchange="updateItemValues($(this.form).next(\'#paymentForm\')[0],this.form.payment_options_id.options[this.form.payment_options_id.options.selectedIndex].value);">';
		
		temp += getPaymentOptions(this.payment_groups_id);
		temp += '</select>';
		temp += '</form>';
				var item_option  = paymentGroups[this.payment_groups_id].options[0];
		if(paymentOptions[item_option]){
			var item_name  = paymentOptions[item_option].payment_option;
			var amount =  paymentOptions[item_option].price;
		}
			}
	else {
		
	}
	if (this.item_price !== '' || this.payment_groups_id !== '') {
			temp += '<div class="clearing">&nbsp;</div>';
	}
	return temp;};

/***************************************************************************
* Pick a photo at random from the featured images of a gallery.            *
* Gallery_id = id of gallery to choose,                                    *
* img = reference to html image in                                         *
* which to show image                                                      *
***************************************************************************/
function showGalleryImage(gallery_id, img, updateLink) {
	
	if(img){
		if (location.hash.match('galleries_id=' + gallery_id) && (imageID = location.hash.match('.*photos_id=(.+)$'))) {
		  	imageID = imageID[1];
		} else {
		  	imageID = randomListVal(galleries[gallery_id].featured_images);
		}
		
		if (imageID != 0) {
			img.src = thumbnails[imageID].src;
			img.width = thumbnails[imageID].width;
			img.height = thumbnails[imageID].height;
			img.alt = galleries[gallery_id].title;
			if (updateLink) {
				$(img).parent().attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id),					title: galleries[gallery_id].title				});
			}
		}
	}
}

/***************************************************************************
* If we have dynamic HTML, replace the galleries link with a list that     *
* doesn't include thecurrent gallery                                       *
***************************************************************************/
function showGalleries(gallery_id) {
		
	
	if (!basic) {
		temp = '';
		for (i = 0; i < galleries.length; i++) {
						
			
			if (galleries[i].id != gallery_id) {
								
				if (temp != '') {
					temp += ' | ';
				}
								temp += '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
							}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

			

