window.thumbnails = new Object();
												thumbnails[5024108] = new thumbnail(5024108,'','','XmasCard1_thumb.jpg',130, 73,18,'															#');
												thumbnails[5024124] = new thumbnail(5024124,'','','XmasCard2_thumb.jpg',130, 85,18,'															#');
												thumbnails[5024135] = new thumbnail(5024135,'','','wall_classic_thumb.jpg',130, 63,18,'															#');
												thumbnails[7317432] = new thumbnail(7317432,'','','Portrait70_thumb.jpg',130, 199,18,'															#');
												thumbnails[7317451] = new thumbnail(7317451,'','','Portrait80_thumb.jpg',130, 87,18,'															#');
												thumbnails[7317376] = new thumbnail(7317376,'258149','','Portrait50_thumb.jpg',130, 195,18,'																			photo_7317376.html');
												thumbnails[7317386] = new thumbnail(7317386,'258149','','Portrait55_thumb.jpg',130, 195,18,'																			photo_7317386.html');
												thumbnails[4405879] = new thumbnail(4405879,'258149','','PORTRAIT_1_thumb.jpg',130, 195,18,'																			photo_4405879.html');
												thumbnails[4513327] = new thumbnail(4513327,'258150','','Commercial_1_thumb.jpg',130, 195,18,'																			photo_4513327.html');
												thumbnails[4518535] = new thumbnail(4518535,'258188','','Event_1_thumb.jpg',130, 195,18,'																			photo_4518535.html');
												thumbnails[4513476] = new thumbnail(4513476,'258189','','Stock_1_thumb.jpg',130, 200,18,'																			photo_4513476.html');
												thumbnails[5589166] = new thumbnail(5589166,'258149','','portrait37_thumb.jpg',130, 195,18,'																			photo_5589166.html');
												thumbnails[4513503] = new thumbnail(4513503,'258189','','Stock_2_thumb.jpg',130, 86,18,'																			photo_4513503.html');
												thumbnails[4513388] = new thumbnail(4513388,'258150','','Commercial_2_thumb.jpg',130, 195,18,'																			photo_4513388.html');
												thumbnails[4609267] = new thumbnail(4609267,'258188','','Event_3_thumb.jpg',130, 197,18,'																			photo_4609267.html');
												thumbnails[4515438] = new thumbnail(4515438,'258189','','Stock_3_thumb.jpg',130, 200,18,'																			photo_4515438.html');
												thumbnails[4609615] = new thumbnail(4609615,'258188','','Event_4_thumb.jpg',130, 196,18,'																			photo_4609615.html');
												thumbnails[4515460] = new thumbnail(4515460,'258189','','Stock_4_thumb.jpg',130, 200,18,'																			photo_4515460.html');
												thumbnails[4486277] = new thumbnail(4486277,'258149','','portrait_4_thumb.jpg',130, 195,18,'																			photo_4486277.html');
												thumbnails[5589165] = new thumbnail(5589165,'258149','','portrait34_thumb.jpg',130, 195,18,'																			photo_5589165.html');
												thumbnails[5589169] = new thumbnail(5589169,'258149','','portrait38_thumb.jpg',130, 195,18,'																			photo_5589169.html');
												thumbnails[4602159] = new thumbnail(4602159,'258150','','Commercial_51_thumb.jpg',130, 195,18,'																			photo_4602159.html');
												thumbnails[4517269] = new thumbnail(4517269,'258150','','Commercial_5_thumb.jpg',130, 195,18,'																			photo_4517269.html');
												thumbnails[4609475] = new thumbnail(4609475,'258188','','Event_5_thumb.jpg',130, 194,18,'																			photo_4609475.html');
												thumbnails[4515515] = new thumbnail(4515515,'258189','','Stock_5_thumb.jpg',130, 200,18,'																			photo_4515515.html');
												thumbnails[7317358] = new thumbnail(7317358,'258149','','portrait39_thumb.jpg',130, 195,18,'																			photo_7317358.html');
												thumbnails[7317396] = new thumbnail(7317396,'258149','','portrait60_thumb.jpg',130, 195,18,'																			photo_7317396.html');
												thumbnails[4602165] = new thumbnail(4602165,'258150','','Commercial_6_thumb.jpg',130, 87,18,'																			photo_4602165.html');
												thumbnails[4515534] = new thumbnail(4515534,'258189','','Stock_6_thumb.jpg',130, 200,18,'																			photo_4515534.html');
												thumbnails[7317410] = new thumbnail(7317410,'258149','','Portrait65_thumb.jpg',130, 195,18,'																			photo_7317410.html');
												thumbnails[4602343] = new thumbnail(4602343,'258150','','Commercial_7_thumb.jpg',130, 87,18,'																			photo_4602343.html');
												thumbnails[4517272] = new thumbnail(4517272,'258189','','Stock_7_thumb.jpg',130, 85,18,'																			photo_4517272.html');
												thumbnails[4602409] = new thumbnail(4602409,'258150','','Commercial_8_thumb.jpg',130, 87,18,'																			photo_4602409.html');
												thumbnails[4517288] = new thumbnail(4517288,'258189','','Stock_8_thumb.jpg',130, 85,18,'																			photo_4517288.html');
												thumbnails[7317456] = new thumbnail(7317456,'258189','','Portrait85_thumb.jpg',130, 195,18,'																			photo_7317456.html');
												thumbnails[4499314] = new thumbnail(4499314,'258149','','portrait_9_thumb.jpg',130, 195,18,'																			photo_4499314.html');
												thumbnails[4602415] = new thumbnail(4602415,'258150','','Commercial_9_thumb.jpg',130, 87,18,'																			photo_4602415.html');
												thumbnails[4517295] = new thumbnail(4517295,'258189','','Stock_9_thumb.jpg',130, 85,18,'																			photo_4517295.html');
												thumbnails[4515488] = new thumbnail(4515488,'258149','','PORTRAIT_21_thumb.jpg',130, 173,18,'																			photo_4515488.html');
												thumbnails[4602428] = new thumbnail(4602428,'258150','','Commercial_10_thumb.jpg',130, 195,18,'																			photo_4602428.html');
												thumbnails[4609452] = new thumbnail(4609452,'258188','','Event_10_thumb.jpg',130, 87,18,'																			photo_4609452.html');
												thumbnails[4517303] = new thumbnail(4517303,'258189','','Stock_10_thumb.jpg',130, 85,18,'																			photo_4517303.html');
												thumbnails[4602446] = new thumbnail(4602446,'258150','','Commercial_11_thumb.jpg',130, 87,18,'																			photo_4602446.html');
												thumbnails[4609462] = new thumbnail(4609462,'258188','','Event_11_thumb.jpg',130, 95,18,'																			photo_4609462.html');
												thumbnails[4555773] = new thumbnail(4555773,'258189','','Stock_11_thumb.jpg',130, 85,18,'																			photo_4555773.html');
												thumbnails[4602453] = new thumbnail(4602453,'258150','','Commercial_14_thumb.jpg',130, 87,18,'																			photo_4602453.html');
												thumbnails[4609483] = new thumbnail(4609483,'258188','','Event_12_thumb.jpg',130, 200,18,'																			photo_4609483.html');
												thumbnails[4555844] = new thumbnail(4555844,'258189','','Stock_12_thumb.jpg',130, 96,18,'																			photo_4555844.html');
												thumbnails[4602478] = new thumbnail(4602478,'258150','','Commercial_12_thumb.jpg',130, 195,18,'																			photo_4602478.html');
												thumbnails[4609749] = new thumbnail(4609749,'258188','','Event_13_thumb.jpg',130, 94,18,'																			photo_4609749.html');
												thumbnails[4555855] = new thumbnail(4555855,'258189','','Stock_13_thumb.jpg',130, 85,18,'																			photo_4555855.html');
												thumbnails[4602498] = new thumbnail(4602498,'258150','','Commercial_13_thumb.jpg',130, 204,18,'																			photo_4602498.html');
												thumbnails[4609750] = new thumbnail(4609750,'258188','','Event_14_thumb.jpg',130, 195,18,'																			photo_4609750.html');
												thumbnails[4555868] = new thumbnail(4555868,'258189','','Stock_14_thumb.jpg',130, 85,18,'																			photo_4555868.html');
												thumbnails[4609752] = new thumbnail(4609752,'258188','','Event_15_thumb.jpg',130, 203,18,'																			photo_4609752.html');
												thumbnails[4555875] = new thumbnail(4555875,'258189','','Stock_15_thumb.jpg',130, 85,18,'																			photo_4555875.html');
												thumbnails[4576583] = new thumbnail(4576583,'258189','','Stock_161_thumb.jpg',130, 200,18,'																			photo_4576583.html');
												thumbnails[4576413] = new thumbnail(4576413,'258189','','Stock_18_thumb.jpg',130, 191,18,'																			photo_4576413.html');
												thumbnails[4897253] = new thumbnail(4897253,'258149','','PORTRAIT_20_thumb.jpg',130, 195,18,'																			photo_4897253.html');
												thumbnails[4897262] = new thumbnail(4897262,'258149','','PORTRAIT_22_thumb.jpg',130, 195,18,'																			photo_4897262.html');
												thumbnails[5589151] = new thumbnail(5589151,'258149','','portrait30_thumb.jpg',130, 90,18,'																			photo_5589151.html');
												thumbnails[5589154] = new thumbnail(5589154,'258149','','Portrait31_thumb.jpg',130, 89,18,'																			photo_5589154.html');
												thumbnails[5589156] = new thumbnail(5589156,'258149','','Portrait32_thumb.jpg',130, 195,18,'																			photo_5589156.html');
												thumbnails[5589163] = new thumbnail(5589163,'258149','','portrait33_thumb.jpg',130, 195,18,'																			photo_5589163.html');
												thumbnails[5589191] = new thumbnail(5589191,'258149','','portrait41_thumb.jpg',130, 195,18,'																			photo_5589191.html');

/***************************************************************************
* Create the array of Gallery objects                                      *
***************************************************************************/
var galleries = new Object();
				  					galleries[258149] = new gallery(258149,'7317410,7317396,7317386,7317376,7317358,5589191,5589169,5589166,5589163,5589156,4897262,4897253,4499314,4486277,4405879','Portraits','gallery',[7317376,7317386,4405879,5589166,4486277,5589165,5589169,7317358,7317396,7317410,4499314,4515488,4897253,4897262,5589151,5589154,5589156,5589163,5589191],0, 0, '', '																																																																																																							gallery_258149.html',0,0);
				  					galleries[258150] = new gallery(258150,'4513327','Commercial','gallery',[4513327,4513388,4602159,4517269,4602165,4602343,4602409,4602415,4602428,4602446,4602453,4602478,4602498],0, 0, '', '																																																																																																							gallery_258150.html',0,0);
				  					galleries[258188] = new gallery(258188,'4609752,4609750,4518535','Event','gallery',[4518535,4609267,4609615,4609475,4609452,4609462,4609483,4609749,4609750,4609752],0, 0, '', '																																																																																																							gallery_258188.html',0,0);
				  					galleries[258189] = new gallery(258189,'7317456,4515534,4515515,4515460,4515438,4513476','Stock','gallery',[4513476,4513503,4515438,4515460,4515515,4515534,4517272,4517288,7317456,4517295,4517303,4555773,4555844,4555855,4555868,4555875,4576583,4576413],0, 0, '', '																																																																																																							gallery_258189.html',0,0);
/***************************************************************************
* Create the array of image sets                                           *
***************************************************************************/
var imageSets = new Object();
imageSets[1] = '7317456,7317432,7317410,7317396,7317386,7317376,7317358,5589169,5589166,5589163,5589156,4897262,4897253,4499314,4405879';
imageSets[2] = '7317456,7317432,7317410,7317396,7317386,7317376,7317358,5589191,5589169,5589166,5589163,5589156,4897262,4897253,4609752,4609750,4518535,4515534,4515515,4515460,4515438,4513476,4513327,4499314,4486277,4405879';
imageSets[3] = '7317456,7317451,7317432,7317410,7317396,7317386,7317376,7317358,5589191,5589169,5589166,5589165,5589163,5589156,5589154,5589151,5024135,5024124,5024108,4897262,4897253,4609752,4609750,4609749,4609615,4609483,4609475,4609462,4609452,4609267,4602498,4602478,4602453,4602446,4602428,4602415,4602409,4602343,4602165,4602159,4576583,4576413,4555875,4555868,4555855,4555844,4555773,4518535,4517303,4517295';
 /***************************************************************************
* Get a server path given an ID                                            *
***************************************************************************/
function getServerPath(server_id) {
	var val = -1;
		switch (server_id) {
		case 21:
		val = 'http://www6.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 1:
		val = 'http://www1.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 2:
		val = 'http://admin.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 24:
		val = 'http://tpc15/clikpic/Clairej/images';
		break;
	}
		switch (server_id) {
		case 4:
		val = 'http://clikchurch.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 5:
		val = 'http://www2.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 22:
		val = 'http://tpc5/clikpic/Clairej/images';
		break;
	}
		switch (server_id) {
		case 23:
		val = 'http://tpc10/clikpic/Clairej/images';
		break;
	}
		switch (server_id) {
		case 25:
		val = 'http://tpc16/clikpic/Clairej/images';
		break;
	}
		switch (server_id) {
		case 40:
		val = 'http://www11.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 42:
		val = 'db2.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 15:
		val = 'http://www3.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 18:
		val = 'http://www4.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 19:
		val = 'http://www5.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 31:
		val = 'http://www7.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 32:
		val = 'http://admin2.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 33:
		val = 'http://www8.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 34:
		val = 'http://www9.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 35:
		val = 'http://admin3.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 37:
		val = 'http://admin4.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 38:
		val = 'http://admin5.clikpic.com/Clairej/images';
		break;
	}
		switch (server_id) {
		case 39:
		val = 'http://www10.clikpic.com/Clairej/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 = 'Claire John Photography: ' + photoCaption;
			    }
        if (op.$detail.length > 0) {
      temp = op.nextPhoto.fnGetImageDetails();
	    op.$detail.fadeGalleryDetails(temp, op.speed, function(){
	    var options = {};	    	      	      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;
	}
}

			

