window.thumbnails = {};
															thumbnails[2767764] = clik.newPhoto({"id":2767764,"src":"MockADweb_thumb.jpg","galleries_id":"","server_id":1,"link":"#","width":130,"caption":"","height":98});
															thumbnails[6397620] = clik.newPhoto({"id":6397620,"src":"anglewall1_thumb.JPG","galleries_id":302469,"server_id":1,"link":"photo_6397620.html","width":130,"caption":"\"I Don't Make Perfect Wool\"<br>\r\nInstallation with spun wool and panel pins","height":174});
															thumbnails[3347532] = clik.newPhoto({"id":3347532,"src":"Copy of SMurphy2_thumb.JPG","galleries_id":203383,"server_id":1,"link":"photo_3347532.html","width":130,"caption":"<em>Notebook series, #1<\/em>","height":111});
															thumbnails[5366896] = clik.newPhoto({"id":5366896,"src":"web41_thumb.JPG","galleries_id":174629,"server_id":1,"link":"photo_5366896.html","width":130,"caption":"<em>Corner Ladder Drawing<\/em> fishing line, acrylic paint and ladder","height":173});
															thumbnails[6401279] = clik.newPhoto({"id":6401279,"src":"EMc_thumb.jpg","galleries_id":302470,"server_id":1,"link":"photo_6401279.html","width":130,"caption":"Video Installation by Elaine McCague","height":87});
															thumbnails[8346748] = clik.newPhoto({"id":8346748,"src":"street_view_small_thumb.jpg","galleries_id":443980,"server_id":37,"link":"photo_8346748.html","width":130,"caption":"<i>Liberties<\/i>  Photographic Montage (reproduction shown here)","height":272});
															thumbnails[8349815] = clik.newPhoto({"id":8349815,"src":"small_image_1_thumb.JPG","galleries_id":389895,"server_id":37,"link":"photo_8349815.html","width":130,"caption":"Installation view at Triskel Arts Centre","height":173});
															thumbnails[8361570] = clik.newPhoto({"id":8361570,"src":"still_for_website_canal11_thumb.jpg","galleries_id":443583,"server_id":35,"link":"photo_8361570.html","width":130,"caption":"video still from <i>untitled 1<\/i>","height":98});
															thumbnails[3347530] = clik.newPhoto({"id":3347530,"src":"Copy of SMurphy1_thumb.jpg","galleries_id":203383,"server_id":1,"link":"photo_3347530.html","width":130,"caption":"<em>Stack ii<\/em>","height":98});
															thumbnails[5366900] = clik.newPhoto({"id":5366900,"src":"web11_thumb.JPG","galleries_id":174629,"server_id":1,"link":"photo_5366900.html","width":130,"caption":"<em>Corner Ladder Drawing<\/em> Installation view at PLANE\/ SITE Galleries","height":98});
															thumbnails[6401265] = clik.newPhoto({"id":6401265,"src":"EB_I_am_not_content_thumb.jpg","galleries_id":302470,"server_id":1,"link":"photo_6401265.html","width":130,"caption":"Installation by Ella Burke","height":87});
															thumbnails[8349813] = clik.newPhoto({"id":8349813,"src":"PALLASADES_Publication_cd__textSMALL_thumb.jpg","galleries_id":389895,"server_id":19,"link":"photo_8349813.html","width":130,"caption":"<i>Score for 51°57'N 08°40'W<\/i> publication         ","height":98});
															thumbnails[8361603] = clik.newPhoto({"id":8361603,"src":"still_for_website_canal_2_thumb.jpg","galleries_id":443583,"server_id":35,"link":"photo_8361603.html","width":130,"caption":"video still from <i>Untitled 1<\/i>","height":98});
															thumbnails[1669807] = clik.newPhoto({"id":1669807,"src":"071201_9851_thumb.jpg","galleries_id":203383,"server_id":1,"link":"photo_1669807.html","width":130,"caption":"<em>Woven Descent<\/em><br>\r\nink on wall surface<br>\r\n","height":234});
															thumbnails[4876669] = clik.newPhoto({"id":4876669,"src":"web2_thumb.JPG","galleries_id":174629,"server_id":1,"link":"photo_4876669.html","width":130,"caption":"<em>Polyc(h)ord<\/em>  Installation view at Stargaze Arts Festival,  D-Light Studios","height":173});
															thumbnails[1669813] = clik.newPhoto({"id":1669813,"src":"071201_9879_thumb.jpg","galleries_id":203383,"server_id":1,"link":"photo_1669813.html","width":130,"caption":"<em>Weave 1 &2<\/em>  Wire Drawings","height":142});
															thumbnails[3849026] = clik.newPhoto({"id":3849026,"src":"2_thumb.jpg","galleries_id":174629,"server_id":1,"link":"photo_3849026.html","width":130,"caption":"Installing <em>Flemming II<\/em> in window of Renunion Gallery","height":98});
															thumbnails[6401330] = clik.newPhoto({"id":6401330,"src":"PG_7_thumb.jpg","galleries_id":302469,"server_id":1,"link":"photo_6401330.html","width":130,"caption":"Spinning tutorials at The LAB (Part of Public Gesture: Pirate Capital","height":183});
															thumbnails[3849034] = clik.newPhoto({"id":3849034,"src":"7_thumb.jpg","galleries_id":174629,"server_id":1,"link":"photo_3849034.html","width":130,"caption":"Inside view of <em>Flemming II<\/em>","height":173});
															thumbnails[6401272] = clik.newPhoto({"id":6401272,"src":"house_and_Univers_elaine_V_thumb.jpg","galleries_id":302470,"server_id":1,"link":"photo_6401272.html","width":130,"caption":"Work by Nicky Teegan (left) and Elaine Hurley (right)","height":87});
															thumbnails[6401347] = clik.newPhoto({"id":6401347,"src":"spin1_thumb.jpg","galleries_id":302469,"server_id":1,"link":"photo_6401347.html","width":130,"caption":"Spinning tutorials at The LAB (Part of Public Gesture: Pirate Capital MAVIS event)","height":173});
															thumbnails[8349816] = clik.newPhoto({"id":8349816,"src":"small_image_2_thumb.JPG","galleries_id":389895,"server_id":37,"link":"photo_8349816.html","width":130,"caption":"Installation view at Triskel Arts Centre","height":173});
															thumbnails[5366772] = clik.newPhoto({"id":5366772,"src":"WEB1_thumb.JPG","galleries_id":174629,"server_id":1,"link":"photo_5366772.html","width":130,"caption":"<em>After Agnes<\/em>  installation view, part of<em> Bouvard et Pechuchet <\/em>exhibition","height":173});
															thumbnails[6401278] = clik.newPhoto({"id":6401278,"src":"grand_can1_thumb.jpg","galleries_id":302470,"server_id":1,"link":"photo_6401278.html","width":130,"caption":"2-channel projection, series of timelapse photography by Fionnuala Mahon & Elaine McHugh","height":87});
															thumbnails[5366777] = clik.newPhoto({"id":5366777,"src":"web2_29FBBFD7-2219-B5B5-4C9C531CF2B493C4_thumb.JPG","galleries_id":174629,"server_id":1,"link":"photo_5366777.html","width":130,"caption":"<em>After Agnes<\/em>  Installation with fishing line, bamboo and twine","height":173});
															thumbnails[1669819] = clik.newPhoto({"id":1669819,"src":"phibsfrontme21_thumb.jpg","galleries_id":203383,"server_id":1,"link":"photo_1669819.html","width":130,"caption":"Phibbs shopfont Project, Ferbane, Offaly (2007)","height":98});
															thumbnails[3758360] = clik.newPhoto({"id":3758360,"src":"SM5_thumb.jpg","galleries_id":174629,"server_id":1,"link":"photo_3758360.html","width":130,"caption":"<em>Bottle Green Mbira<\/em>  thread and paint on cork board","height":173});
															thumbnails[3849043] = clik.newPhoto({"id":3849043,"src":"13_thumb.jpg","galleries_id":174629,"server_id":1,"link":"photo_3849043.html","width":130,"caption":"<em>Kalimbawimba<\/em>  thread and paint on cork board","height":173});
															thumbnails[5207901] = clik.newPhoto({"id":5207901,"src":"1641img_thumb.jpg","galleries_id":302470,"server_id":1,"link":"photo_5207901.html","width":130,"caption":"<i>16.4.1<\/i> image","height":195});

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  						galleries[443583] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"2011 Video Work","link":"gallery_443583.html","maxRecords":0.0,"photoIDs":[8361570.0,8361603.0],"skipIndex":0,"section_code":"gallery","featured_images":8361570.0,"id":443583,"singleSection":false});				  						galleries[443980] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"2011 Photography","link":"gallery_443980.html","maxRecords":0.0,"photoIDs":[8346748.0],"skipIndex":0,"section_code":"gallery","featured_images":8346748.0,"id":443980,"singleSection":false});				  						galleries[389895] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"2011 Pallasades Collaboration","link":"gallery_389895.html","maxRecords":0.0,"photoIDs":[8349815.0,8349813.0,8349816.0],"skipIndex":0,"section_code":"gallery","featured_images":8349813.0,"id":389895,"singleSection":false});				  						galleries[302469] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"2010 Work","link":"gallery_302469.html","maxRecords":0.0,"photoIDs":[6397620.0,6401330.0,6401347.0],"skipIndex":0,"section_code":"gallery","featured_images":6397620.0,"id":302469,"singleSection":false});				  						galleries[302470] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"2010 curation","link":"gallery_302470.html","maxRecords":0.0,"photoIDs":[6401279.0,6401265.0,6401272.0,6401278.0,5207901.0],"skipIndex":0,"section_code":"gallery","featured_images":5207901.0,"id":302470,"singleSection":false});				  						galleries[174629] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"2009 Work","link":"gallery_174629.html","maxRecords":0.0,"photoIDs":[5366896.0,5366900.0,4876669.0,3849026.0,3849034.0,5366772.0,5366777.0,3758360.0,3849043.0],"skipIndex":0,"section_code":"gallery","featured_images":5366896.0,"id":174629,"singleSection":false});				  						galleries[203383] = clik.newGallery({"parentGallery":"","usePopups":false,"title":"2008-2007 Work","link":"gallery_203383.html","maxRecords":0.0,"photoIDs":[3347532.0,3347530.0,1669807.0,1669813.0,1669819.0],"skipIndex":0,"section_code":"gallery","featured_images":3347532.0,"id":203383,"singleSection":false});/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = {};
imageSets[1] = '8361570';
imageSets[2] = '8361570,8349813,8346748,6397620,5366896,5207901,3347532';
imageSets[3] = '8361603,8361570,8349816,8349815,8349813,8346748,6401347,6401330,6401279,6401278,6401272,6401265,6397620,5366900,5366896,5366777,5366772,5207901,4876669,3849043,3849034,3849026,3758360,3347532,3347530,2767764,1669819,1669813,1669807';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 26:
		val = 'http://tpc20/clikpic/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/sharonmurphy/images';
		break;
	}
		switch (server_id) {
		case 50:
		val = '[cliktext value=article.servers_id type=servers_id]/sharonmurphy/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 = 'Sharon Murphy: ' + 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.takendate != '') {
		
		temp += '<div class="imageinfo" id="imageDate"><strong>2007 </strong>' + this.takendate + '</div>';
	}
	
	if (this.location != '') {
		
		temp += '<div class="imageinfo" id="imageLocation"><strong>Dublin, Ireland </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;
	}
}

			

