window.thumbnails = new Object();
												thumbnails[878205] = new thumbnail(878205,'','','img514_thumb.jpg',130, 181,18,'															#');
												thumbnails[7098422] = new thumbnail(7098422,'','Waiting for Courbet','_DSC4388ed1_thumb.jpg',130, 155,18,'															#');
												thumbnails[878075] = new thumbnail(878075,'66186','','img496_thumb.jpg',130, 92,18,'																			photo_878075.html');
												thumbnails[878076] = new thumbnail(878076,'66186','','img505_thumb.jpg',130, 184,18,'																			photo_878076.html');
												thumbnails[878078] = new thumbnail(878078,'66186','','img509_thumb.jpg',130, 92,18,'																			photo_878078.html');
												thumbnails[878084] = new thumbnail(878084,'66186','','Youghal1_thumb.jpg',130, 185,18,'																			photo_878084.html');
												thumbnails[878085] = new thumbnail(878085,'66186','','img527_thumb.jpg',130, 184,18,'																			photo_878085.html');
												thumbnails[878086] = new thumbnail(878086,'66186','','img534_thumb.jpg',130, 190,18,'																			photo_878086.html');
												thumbnails[878105] = new thumbnail(878105,'67326','Conte Ddawing','_DSC1483_thumb.jpg',130, 167,18,'																			photo_878105.html');
												thumbnails[2360612] = new thumbnail(2360612,'153620','Dungarvan Harbour - Oil on Canvas - 45x61 cm<br>\r\n€550','img591_thumb.jpg',130, 171,18,'																			photo_2360612.html');
												thumbnails[2360629] = new thumbnail(2360629,'153620','Florida Jungle - Gouache - 29x42 cm<br>\r\n€295','img594_thumb.jpg',130, 187,18,'																			photo_2360629.html');
												thumbnails[2360635] = new thumbnail(2360635,'153620','Ardmore Harbour - Gouache - 29x42 cm<br>\r\nSOLD','img595_thumb.jpg',130, 91,18,'																			photo_2360635.html');
												thumbnails[2878046] = new thumbnail(2878046,'178730','bronze','_DSC3201l_thumb.JPG',129, 193,18,'																			photo_2878046.html');
												thumbnails[2878061] = new thumbnail(2878061,'178730','bronze','_DSC3162l_thumb.JPG',129, 193,18,'																			photo_2878061.html');
												thumbnails[2878480] = new thumbnail(2878480,'178730','bronze resin','_DSC3228l_thumb.JPG',129, 193,18,'																			photo_2878480.html');
												thumbnails[2882988] = new thumbnail(2882988,'178730','bronze','_DSC3178l_thumb.JPG',130, 159,18,'																			photo_2882988.html');
												thumbnails[2890688] = new thumbnail(2890688,'178730','bronze','_DSC3152l_thumb.JPG',129, 193,18,'																			photo_2890688.html');
												thumbnails[2893531] = new thumbnail(2893531,'178730','bronze','_DSC3224l_thumb.JPG',129, 193,18,'																			photo_2893531.html');
												thumbnails[2893605] = new thumbnail(2893605,'178730','bronze','_DSC3231l_thumb.JPG',129, 87,18,'																			photo_2893605.html');
												thumbnails[3003110] = new thumbnail(3003110,'184948','Whiting Bay','DSC_3018_thumb.JPG',130, 86,18,'																			photo_3003110.html');
												thumbnails[3003188] = new thumbnail(3003188,'184948','Ballycroneen South','DSC_3021_thumb.JPG',130, 79,18,'																			photo_3003188.html');
												thumbnails[3003198] = new thumbnail(3003198,'184948','Inch Bay','DSC_3029_thumb.JPG',130, 90,18,'																			photo_3003198.html');
												thumbnails[3003202] = new thumbnail(3003202,'184948','Castle Gatehouse Lismore','DSC_3033_thumb.JPG',130, 94,18,'																			photo_3003202.html');
												thumbnails[3924100] = new thumbnail(3924100,'238118','','_DSC3237_thumb.JPG',130, 179,18,'																			photo_3924100.html');
												thumbnails[4743739] = new thumbnail(4743739,'272176','','1_thumb.jpg',130, 178,18,'																			photo_4743739.html');
												thumbnails[4743841] = new thumbnail(4743841,'272176','','2_thumb.jpg',130, 183,18,'																			photo_4743841.html');
												thumbnails[4743845] = new thumbnail(4743845,'272176','','3_thumb.jpg',130, 155,18,'																			photo_4743845.html');
												thumbnails[4743848] = new thumbnail(4743848,'272176','','4_thumb.jpg',130, 155,18,'																			photo_4743848.html');
												thumbnails[4743853] = new thumbnail(4743853,'272176','','5_thumb.jpg',130, 129,18,'																			photo_4743853.html');
												thumbnails[4743861] = new thumbnail(4743861,'272176','','7_thumb.jpg',130, 183,18,'																			photo_4743861.html');
												thumbnails[4743862] = new thumbnail(4743862,'272176','','8_thumb.jpg',130, 129,18,'																			photo_4743862.html');
												thumbnails[4743864] = new thumbnail(4743864,'272176','','9_thumb.jpg',130, 131,18,'																			photo_4743864.html');
												thumbnails[4743866] = new thumbnail(4743866,'272176','','10_thumb.jpg',130, 127,18,'																			photo_4743866.html');
												thumbnails[5095210] = new thumbnail(5095210,'153620','','_DSC22111_thumb.JPG',130, 90,18,'																			photo_5095210.html');
												thumbnails[5095211] = new thumbnail(5095211,'153620','','_DSC2215_thumb.JPG',130, 90,18,'																			photo_5095211.html');
												thumbnails[5095215] = new thumbnail(5095215,'153620','','_DSC22201_thumb.JPG',130, 181,18,'																			photo_5095215.html');
												thumbnails[5095218] = new thumbnail(5095218,'153620','','_ed3DSC2208_thumb.jpg',130, 184,18,'																			photo_5095218.html');
												thumbnails[5095219] = new thumbnail(5095219,'153620','','edps_DSC2221_thumb.jpg',130, 94,18,'																			photo_5095219.html');
												thumbnails[5095449] = new thumbnail(5095449,'184948','','_DSC9906_pic_ed_2_thumb.jpg',130, 89,18,'																			photo_5095449.html');
												thumbnails[5095454] = new thumbnail(5095454,'184948','','_DSC9910_thumb.JPG',130, 85,18,'																			photo_5095454.html');
												thumbnails[5095460] = new thumbnail(5095460,'184948','','_DSC9926_thumb.JPG',130, 92,18,'																			photo_5095460.html');
												thumbnails[5095463] = new thumbnail(5095463,'184948','','_DSC9930_thumb.JPG',130, 90,18,'																			photo_5095463.html');
												thumbnails[5095466] = new thumbnail(5095466,'184948','','_DSC99361_thumb.JPG',130, 92,18,'																			photo_5095466.html');
												thumbnails[5095469] = new thumbnail(5095469,'184948','','DSC_3035_thumb.JPG',130, 98,18,'																			photo_5095469.html');
												thumbnails[6173908] = new thumbnail(6173908,'344974','Mall Dock','_DSC3945mall_dock_thumb.jpg',130, 111,18,'																			photo_6173908.html');
												thumbnails[6173910] = new thumbnail(6173910,'344974','Goat Island','_DSC3944goat_island_thumb.jpg',130, 103,18,'																			photo_6173910.html');
												thumbnails[6173912] = new thumbnail(6173912,'344974','Buttimer\'s Dock','_DSC3947buttimers_dock_thumb.jpg',130, 92,18,'																			photo_6173912.html');
												thumbnails[6173973] = new thumbnail(6173973,'344974','Mall Strand','w_v_prts_mall_strand_thumb.jpg',130, 96,18,'																			photo_6173973.html');
												thumbnails[7076365] = new thumbnail(7076365,'67326','Conte drawing','_DSC6093_64196E39-1EC9-D45B-1CFAB5CF84A10F46_thumb.JPG',130, 171,18,'																			photo_7076365.html');
												thumbnails[7076367] = new thumbnail(7076367,'67326','Conte Drawing','_DSC7221_thumb.JPG',130, 196,18,'																			photo_7076367.html');
												thumbnails[7099620] = new thumbnail(7099620,'384123','Waiting for Courbet','_DSC4388ed11_thumb.jpg',130, 155,18,'																			photo_7099620.html');
												thumbnails[7099626] = new thumbnail(7099626,'384123','Cut Field','_DSC4396_ed2_thumb.jpg',130, 109,18,'																			photo_7099626.html');
												thumbnails[7102210] = new thumbnail(7102210,'344974','','_DSC2657mall_dock_thumb.jpg',130, 96,18,'																			photo_7102210.html');
												thumbnails[4873285] = new thumbnail(4873285,'278006','','_DSC4467_thumb.JPG',130, 87,18,'																			photo_4873285.html');
												thumbnails[4873313] = new thumbnail(4873313,'278006','','_DSC4545newcrop_thumb.jpg',130, 195,18,'																			photo_4873313.html');
												thumbnails[4873331] = new thumbnail(4873331,'278006','','_DSC8174j_copy_thumb.jpg',130, 188,18,'																			photo_4873331.html');
												thumbnails[4873334] = new thumbnail(4873334,'278006','','_DSC8446_copy_thumb.jpg',130, 168,18,'																			photo_4873334.html');
												thumbnails[4873364] = new thumbnail(4873364,'278006','','_DSC9072_Riann_ed_thumb.jpg',130, 142,18,'																			photo_4873364.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[272176] = new gallery(272176,'4743848','April Joanna Curtin','gallery',[4743739,4743841,4743845,4743848,4743853,4743861,4743862,4743864,4743866],0, 0, '', '																																																																																																							gallery_272176.html',0,0);
				  					galleries[178730] = new gallery(178730,'2878480','Diarmuid Byron O Connor','gallery',[2878046,2878061,2878480,2882988,2890688,2893531,2893605],0, 0, '', '																																																																																																							gallery_178730.html',0,0);
				  					galleries[67326] = new gallery(67326,'7076367,7076365,878105','Eileen Healy','gallery',[878105,7076365,7076367],0, 0, '', '																																																																																																							gallery_67326.html',0,0);
				  					galleries[278006] = new gallery(278006,'4873364,4873334,4873331,4873313,4873285','family and children','section332760',[4873285,4873313,4873331,4873334,4873364],0, 0, '', '																																																																																																																																	section332760.html',0,1);
				  					galleries[238118] = new gallery(238118,'3924100','Lorraine Cook','gallery',[3924100],0, 0, '', '																																																																																																							gallery_238118.html',0,0);
				  					galleries[153620] = new gallery(153620,'5095219,5095218,5095215,5095211,5095210,2360635,2360629,2360612','Martine Finucane ','gallery',[2360612,2360629,2360635,5095210,5095211,5095215,5095218,5095219],0, 0, '', '																																																																																																							gallery_153620.html',0,0);
				  					galleries[184948] = new gallery(184948,'5095469,5095466,5095463,5095460,5095454,5095449,3003202,3003198,3003188,3003110','Patricia Greenwell','gallery',[3003110,3003188,3003198,3003202,5095449,5095454,5095460,5095463,5095466,5095469],0, 0, '', '																																																																																																							gallery_184948.html',0,0);
				  					galleries[344974] = new gallery(344974,'7102210,6173973,6173912,6173910,6173908','Walter Verling','gallery',[6173908,6173910,6173912,6173973,7102210],0, 0, '', '																																																																																																							gallery_344974.html',0,0);
				  					galleries[384123] = new gallery(384123,'7099626,7099620','Barbara Dempsey','gallery',[7099620,7099626],0, 0, '', '																																																																																																							gallery_384123.html',0,0);
				  					galleries[66186] = new gallery(66186,'878086,878085,878084,878078,878076,878075','giclee prints','gallery',[878075,878076,878078,878084,878085,878086],0, 0, '', '																																																																																																							gallery_66186.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '5095219';
imageSets[2] = '4743848,2878480';
imageSets[3] = '4873364,4873334,4873331,4873313,4873285,4743866,4743864,4743862,4743861,4743853,4743848';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/eamonnob/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/eamonnob/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:'',
                    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 (!basic) {
    if (op.updateHash && clik.getIDInUrl(location.href,'photo') != op.nextPhoto.id) {
		clik.changeHash('photos_id=' + op.nextPhoto.id, true);
    }
				
    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.$title.length > 0) {
  		op.$title.fadeGalleryDetails(photoCaption, op.speed);
    }
        if (op.updateDocumentTitle) {
						  document.title = 'Gallery 126: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {photoinfominwidth:200};	    		options.photoinfoadjacent = true;			      	      resizePhotoInfo(options);
        if (typeof(backgrounds) != 'undefined' && op.nextPhoto == backgrounds[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(backgrounds);
  	    } else if (typeof(photos) != 'undefined' && op.nextPhoto == photos[op.nextPhoto.id]) {
  	      toggleAddToCartConfirm(photos);
  	    }
	    });
    }
        if (!op.speed) {      clik.doColumnResize(false, op.$photo.add(op.$detail).add(op.$title));    }        
    return html;			}
	else {
				
		window.location = 'photo_' + nextPhoto.id + '.html';
	}
		
}

/***************************************************************************
* Toggle add to cart confirmation element and set up the click event for   *
* the 'Add to cart' button.                                                *
***************************************************************************/
function toggleAddToCartConfirm(array){
  if (typeof(array) !== 'object') {
    array = 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,array,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();
			}
		});
	}
}
/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetImageDetails = function(){
	var temp = '';
	if (this.description != '') {
		temp = temp +  '<p id="imageDescription">' + this.description + '</p>';
	}
		if (this.photo_ref != '') {
		temp = temp + '<p class="imageinfo" id="imageRef"><strong>Ref: </strong>' + this.photo_ref + '</p>';
	}
		if (this.takendate != '') {
				
		temp = temp + '<p class="imageinfo" id="imageDate"><strong>Date: </strong>' + this.takendate + '</p>';
	}
	
	if (this.location != '') {
				
		temp = temp + '<p class="imageinfo" id="imageLocation"><strong>Location: </strong>' +  this.location + '</p>';
	}
	
	if (this.photographer != '') {
				
		temp = temp + '<p class="imageinfo" id="imagePhotographer"><strong>Photographer: </strong>' + this.photographer + '</p>';
	}
					
				if (temp != '') {
		temp = temp + '<div class="spacer"></div>';
	}
	return temp;
};

/***************************************************************************
* Get payment info for image - add as 'method' to photo object             *
***************************************************************************/
photo.prototype.fnGetPaymentInfo = function(){
	var temp = '';
	if (this.item_price !== '') {
				temp = temp + '<p>Order this print:</p>';
				temp = temp + '<p class="imageinfo" id="imagePrice"><strong>' + this.purchase_instruction + '</strong> 							' + (this.item_price).toFixed(2) + '</p>';
		var item_name  = this.purchase_instruction;
		var amount = (this.item_price).toFixed(2);
		var item_option  = 0;
	}
	else if (this.payment_groups_id !== '') {
		temp = temp + '<p>Buy this print online:</p>';
				temp = temp + '<form id="paymentOptions" style="margin:0px;border:0px;" name="paymentOptions">';
											temp = temp + '<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);">';
				
		temp = temp + getPaymentOptions(this.payment_groups_id);
		temp = temp + '</select>';
		temp = 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 = 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 + ' | ';
				}
				temp = temp + '<a href="' + galleries[i].section_code + '_' + galleries[i].id + '.html">' + galleries[i].title + '</a>';
			}
		}
		document.all.galleryLinks.innerHTML = 'Other galleries: ' + temp;
	}
}

		

