window.thumbnails = {};
															thumbnails[6770615] = clik.newPhoto({"id":6770615,"src":"IMG_0003_thumb.jpg","galleries_id":368537,"server_id":15,"link":"photo_6770615.html","width":130,"caption":"","height":87});
															thumbnails[6770617] = clik.newPhoto({"id":6770617,"src":"IMG_0006_thumb.jpg","galleries_id":368537,"server_id":15,"link":"photo_6770617.html","width":130,"caption":"","height":143});
															thumbnails[5788573] = clik.newPhoto({"id":5788573,"src":"_MG_0846_thumb.jpg","galleries_id":207448,"server_id":15,"link":"photo_5788573.html","width":130,"caption":"","height":87});
															thumbnails[6770630] = clik.newPhoto({"id":6770630,"src":"IMG_0013_thumb.jpg","galleries_id":368537,"server_id":15,"link":"photo_6770630.html","width":130,"caption":"","height":87});
															thumbnails[5788590] = clik.newPhoto({"id":5788590,"src":"_MG_08452_thumb.jpg","galleries_id":207448,"server_id":15,"link":"photo_5788590.html","width":130,"caption":"","height":87});
															thumbnails[5788642] = clik.newPhoto({"id":5788642,"src":"_MG_08442_thumb.jpg","galleries_id":207448,"server_id":15,"link":"photo_5788642.html","width":130,"caption":"","height":87});
															thumbnails[6770642] = clik.newPhoto({"id":6770642,"src":"IMG_0020_thumb.jpg","galleries_id":368537,"server_id":15,"link":"photo_6770642.html","width":130,"caption":"","height":195});
															thumbnails[5788593] = clik.newPhoto({"id":5788593,"src":"_MG_0848_thumb.jpg","galleries_id":207448,"server_id":15,"link":"photo_5788593.html","width":130,"caption":"","height":87});
															thumbnails[6784950] = clik.newPhoto({"id":6784950,"src":"IMG_0087_thumb.jpg","galleries_id":368537,"server_id":15,"link":"photo_6784950.html","width":130,"caption":"","height":87});
															thumbnails[5788597] = clik.newPhoto({"id":5788597,"src":"_MG_0888_thumb.jpg","galleries_id":207448,"server_id":15,"link":"photo_5788597.html","width":130,"caption":"","height":87});
															thumbnails[6784951] = clik.newPhoto({"id":6784951,"src":"IMG_0088_thumb.jpg","galleries_id":368537,"server_id":15,"link":"photo_6784951.html","width":130,"caption":"","height":195});
															thumbnails[5788603] = clik.newPhoto({"id":5788603,"src":"_MG_0890_thumb.jpg","galleries_id":207448,"server_id":15,"link":"photo_5788603.html","width":130,"caption":"","height":87});
															thumbnails[5788605] = clik.newPhoto({"id":5788605,"src":"_MG_0894_thumb.jpg","galleries_id":207448,"server_id":15,"link":"photo_5788605.html","width":130,"caption":"","height":87});
															thumbnails[6784957] = clik.newPhoto({"id":6784957,"src":"IMG_0090_thumb.jpg","galleries_id":368537,"server_id":15,"link":"photo_6784957.html","width":130,"caption":"","height":195});
															thumbnails[5788609] = clik.newPhoto({"id":5788609,"src":"_MG_0899_thumb.jpg","galleries_id":207448,"server_id":15,"link":"photo_5788609.html","width":130,"caption":"","height":87});
															thumbnails[6784959] = clik.newPhoto({"id":6784959,"src":"IMG_0091_thumb.jpg","galleries_id":368537,"server_id":15,"link":"photo_6784959.html","width":130,"caption":"","height":195});
															thumbnails[5788615] = clik.newPhoto({"id":5788615,"src":"_MG_0917_thumb.jpg","galleries_id":207448,"server_id":15,"link":"photo_5788615.html","width":130,"caption":"","height":87});
															thumbnails[6784961] = clik.newPhoto({"id":6784961,"src":"IMG_0093_thumb.jpg","galleries_id":368537,"server_id":15,"link":"photo_6784961.html","width":130,"caption":"","height":195});
															thumbnails[5788618] = clik.newPhoto({"id":5788618,"src":"_MG_0918_thumb.jpg","galleries_id":207448,"server_id":15,"link":"photo_5788618.html","width":130,"caption":"","height":87});
															thumbnails[6784962] = clik.newPhoto({"id":6784962,"src":"IMG_0095_thumb.jpg","galleries_id":368537,"server_id":15,"link":"photo_6784962.html","width":130,"caption":"","height":87});
															thumbnails[5831032] = clik.newPhoto({"id":5831032,"src":"IMG_0016aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831032.html","width":130,"caption":"","height":87});
															thumbnails[6784964] = clik.newPhoto({"id":6784964,"src":"IMG_0102_thumb.jpg","galleries_id":368537,"server_id":15,"link":"photo_6784964.html","width":130,"caption":"","height":195});
															thumbnails[5831398] = clik.newPhoto({"id":5831398,"src":"3aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831398.html","width":130,"caption":"","height":87});
															thumbnails[5831403] = clik.newPhoto({"id":5831403,"src":"IMG_0010aweb1_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831403.html","width":130,"caption":"","height":80});
															thumbnails[5831399] = clik.newPhoto({"id":5831399,"src":"IMG_0011aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831399.html","width":130,"caption":"","height":87});
															thumbnails[6784984] = clik.newPhoto({"id":6784984,"src":"IMG_0131_thumb.jpg","galleries_id":368537,"server_id":15,"link":"photo_6784984.html","width":130,"caption":"","height":87});
															thumbnails[5831405] = clik.newPhoto({"id":5831405,"src":"IMG_0012aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831405.html","width":130,"caption":"","height":87});
															thumbnails[5831462] = clik.newPhoto({"id":5831462,"src":"IMG_0013aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831462.html","width":130,"caption":"","height":87});
															thumbnails[5831473] = clik.newPhoto({"id":5831473,"src":"IMG_0017aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831473.html","width":130,"caption":"","height":87});
															thumbnails[5831520] = clik.newPhoto({"id":5831520,"src":"IMG_0018aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831520.html","width":130,"caption":"","height":87});
															thumbnails[5831526] = clik.newPhoto({"id":5831526,"src":"IMG_0023aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831526.html","width":130,"caption":"","height":87});
															thumbnails[5831530] = clik.newPhoto({"id":5831530,"src":"IMG_0024aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831530.html","width":130,"caption":"","height":87});
															thumbnails[5831550] = clik.newPhoto({"id":5831550,"src":"IMG_0025aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831550.html","width":130,"caption":"","height":87});
															thumbnails[5831561] = clik.newPhoto({"id":5831561,"src":"IMG_0033aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831561.html","width":130,"caption":"","height":87});
															thumbnails[5831564] = clik.newPhoto({"id":5831564,"src":"IMG_0037aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831564.html","width":130,"caption":"","height":195});
															thumbnails[5831571] = clik.newPhoto({"id":5831571,"src":"IMG_0041aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831571.html","width":130,"caption":"","height":195});
															thumbnails[5831573] = clik.newPhoto({"id":5831573,"src":"IMG_0042aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831573.html","width":130,"caption":"","height":195});
															thumbnails[5831575] = clik.newPhoto({"id":5831575,"src":"IMG_0044aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831575.html","width":130,"caption":"","height":195});
															thumbnails[5831647] = clik.newPhoto({"id":5831647,"src":"IMG_0045_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831647.html","width":130,"caption":"","height":87});
															thumbnails[5831649] = clik.newPhoto({"id":5831649,"src":"IMG_0047aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831649.html","width":130,"caption":"","height":87});
															thumbnails[5831665] = clik.newPhoto({"id":5831665,"src":"IMG_0049aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831665.html","width":130,"caption":"","height":87});
															thumbnails[5831676] = clik.newPhoto({"id":5831676,"src":"IMG_0050aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831676.html","width":130,"caption":"","height":87});
															thumbnails[5831684] = clik.newPhoto({"id":5831684,"src":"IMG_0051aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831684.html","width":130,"caption":"","height":195});
															thumbnails[5831692] = clik.newPhoto({"id":5831692,"src":"IMG_0052aweb_thumb.jpg","galleries_id":207447,"server_id":15,"link":"photo_5831692.html","width":130,"caption":"","height":195});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[207447] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Dance Class and Showcase","link":"gallery_207447.html","maxRecords":0.0,"photoIDs":[5831032.0,5831398.0,5831403.0,5831399.0,5831405.0,5831462.0,5831473.0,5831520.0,5831526.0,5831530.0,5831550.0,5831561.0,5831564.0,5831571.0,5831573.0,5831575.0,5831647.0,5831649.0,5831665.0,5831676.0,5831684.0,5831692.0],"skipIndex":0,"section_code":"gallery","featured_images":5831032.0,"id":207447,"singleSection":false});				  						galleries[207448] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Pretty Woman Show","link":"gallery_207448.html","maxRecords":0.0,"photoIDs":[5788573.0,5788590.0,5788642.0,5788593.0,5788597.0,5788603.0,5788605.0,5788609.0,5788615.0,5788618.0],"skipIndex":0,"section_code":"gallery","featured_images":5788573.0,"id":207448,"singleSection":false});				  						galleries[368537] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"Jean Genie Charity Show","link":"gallery_368537.html","maxRecords":0.0,"photoIDs":[6770615.0,6770617.0,6770630.0,6770642.0,6784950.0,6784951.0,6784957.0,6784959.0,6784961.0,6784962.0,6784964.0,6784984.0],"skipIndex":0,"section_code":"gallery","featured_images":"6784984,6784964,6784962,6784961,6784959,6784957,6784951,6784950,6770642,6770630","id":368537,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '5788573,5788597,5788609,5831564,5831573,5831684';
imageSets[2] = '5788573,5831032';
imageSets[3] = '5788573,5831032';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 51:
		val = 'http://www12.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 0:
		val = 'http://www.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/michelet/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/michelet/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/michelet/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/michelet/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/michelet/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://www8.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 53:
		val = 'http://images.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 52:
		val = 'http://tpc22/clikpic/michelet/images';
		break;
	}
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/michelet/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/michelet/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 || photos || {})[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 = 'Cabalesque: ' + 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.item_price !== '') {
			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({					title: galleries[gallery_id].title				}).filter(function(){return this.href;}).attr({					href: thumbnails[imageID].fnGalleryLink(gallery_id)				});
			}
		}
	}
}

/***************************************************************************
* 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;
	}
}

			

