

				//	Track our page info:
				var pageSize4958dd98b85b4777a0883a15b59dd505 = 6;
				
				//	Constructor for 'photoWebImage'
				function photoWebImage(src, link, title, description) 
				{
				  this.imgSrc = src;
				  this.imgLink = link;
				  this.imgTitle = title;
				  this.imgDescription = description;
				}

				//	Displays a given page:
				function displayPage4958dd98b85b4777a0883a15b59dd505(pageNumber)
				{
					//	Our string that we'll eventually write:
					var txtToWrite = "";
					
					//	If paging is not enabled, then just make our pagesize = image count
					if(!pagingEnabled4958dd98b85b4777a0883a15b59dd505)
					{
						pageSize4958dd98b85b4777a0883a15b59dd505 = imgs4958dd98b85b4777a0883a15b59dd505.length;
					}

					//	Get our slice start and end
					sliceStart = pageNumber * pageSize4958dd98b85b4777a0883a15b59dd505;
					sliceEnd = sliceStart + pageSize4958dd98b85b4777a0883a15b59dd505;
				
					//	Slice the array:
					tempArr = imgs4958dd98b85b4777a0883a15b59dd505.slice(sliceStart, sliceEnd);
					
					//	Rip through the array slice:
					for (i=0;i<tempArr.length;i++)
					{
                        txtToWrite = txtToWrite + "<div style='display: block; float: left; margin: 15px; width: 150px;'>";
                        txtToWrite = txtToWrite + "<div style='height:97px; text-align:center;'><a href='" + tempArr[i].imgLink + "' target='_blank'><img src='" + tempArr[i].imgSrc + "' border=0/></a></div>";
						txtToWrite = txtToWrite + "<div style='margin:15px 0 10px; text-align: center;'><strong>" + tempArr[i].imgTitle + "</strong></div>";
                        txtToWrite = txtToWrite + "<div>" + tempArr[i].imgDescription + "</div>";
                        txtToWrite = txtToWrite + "</div>";
					}

                    //  Add our 'clear div':
                    txtToWrite = txtToWrite + "<div style='clear: left;'></div>";
					
					var txtNavigation = "";

					if(pagingEnabled4958dd98b85b4777a0883a15b59dd505)
					{
                        //  Start the list:
                        txtNavigation = txtNavigation + "<ul style='float: right; margin: 6px 15px 0 0; padding: 0; list-style: none;'>";

						//	Add our previous navigation:
						if(sliceStart > 0)
						{
                            txtNavigation = txtNavigation + "<li style='margin: 0 8px; display: block; float: left;'> <a style='background: url(http://images.onlinephotofiler.com/arrow-prev.gif) left center no-repeat; padding: 0 0 0 9px;' href='javascript:displayPage4958dd98b85b4777a0883a15b59dd505(" + (pageNumber - 1) + ");'>Previous</a> </li>";
						}

                        //  Add the middle information:
                        txtNavigation = txtNavigation + "<li style='margin: 0 8px; display: block; float: left;'> <strong>" + (sliceStart + 1) + " to " + (sliceStart + tempArr.length) + "</strong> of <strong>" + imgs4958dd98b85b4777a0883a15b59dd505.length + "</strong> </li>";
						
                        //  Add our next navigation:
						if(imgs4958dd98b85b4777a0883a15b59dd505.length > sliceEnd)
						{
                            txtNavigation = txtNavigation + "<li style='margin: 0 8px; display: block; float: left;'> <a style='background: url(http://images.onlinephotofiler.com/arrow-next.gif) right center no-repeat;	padding: 0 9px 0 0;' href='javascript:displayPage4958dd98b85b4777a0883a15b59dd505(" + (pageNumber + 1) + ");'>Next</a> </li>";
						}					
					}
					
					//	Get a reference to the place we're writing images to:
					var divWrapper = document.getElementById('imgsWrapper4958dd98b85b4777a0883a15b59dd505');
					
					//	Clear out what's currently displayed:
					divWrapper.innerHTML = "";
					
					//	Write our text:
					divWrapper.innerHTML = txtToWrite;

                    //	Get a reference to the place we're writing navigation to:
					var navWrapper = document.getElementById('navWrapper4958dd98b85b4777a0883a15b59dd505');
					
					//	Clear out what's currently displayed:
					navWrapper.innerHTML = "";
					
					//	Write our text:
					navWrapper.innerHTML = txtNavigation;
				}

				//	Create our array:
				var imgs4958dd98b85b4777a0883a15b59dd505 = new Array();

				
					//	The title:
					var photowebTitle4958dd98b85b4777a0883a15b59dd505;
					photowebTitle4958dd98b85b4777a0883a15b59dd505 = 'Hotel Puerto Viejo';
					
					var boolDisplayTitle4958dd98b85b4777a0883a15b59dd505;
					boolDisplayTitle4958dd98b85b4777a0883a15b59dd505 = true;
					
					var badgeLayout4958dd98b85b4777a0883a15b59dd505;
					badgeLayout4958dd98b85b4777a0883a15b59dd505 = 'Vertical';
					
					var pagingEnabled4958dd98b85b4777a0883a15b59dd505;
					pagingEnabled4958dd98b85b4777a0883a15b59dd505 = false;
						
					//	Add items to the array:
					
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_108_1da45.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534179&mt=Photo', 'Hotel Puerto Viejo', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_102_90a13.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534177&mt=Photo', 'Hotel Puerto Viejo 2', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_114_f5948.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534180&mt=Photo', 'Hotel Entrance', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_018_61d24.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534169&mt=Photo', 'Wood Art', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_123_f48da.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534181&mt=Photo', 'Hotel Stairs', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_082_f7d53.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534176&mt=Photo', 'Hotel Garden', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_124_de7f5.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534182&mt=Photo', 'Hotel Cabins', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_127_1a57e.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534184&mt=Photo', 'Hotel Garden', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_142_d6d5c.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534188&mt=Photo', 'Hotel Cabins', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_143_d675c.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534189&mt=Photo', 'Hotel Garden', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_131_ae987.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534185&mt=Photo', 'Hotel Garden', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_138_12fae.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534186&mt=Photo', 'Hotel Garden', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_141_0f04c.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534187&mt=Photo', 'Hotel Garden', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_126_00419.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534183&mt=Photo', 'Hotel Garden', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_065_8cfc3.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534173&mt=Photo', 'Hotel Garden By Night', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_069_10ed8.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534175&mt=Photo', 'Cabins by Night', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_067_8f886.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534174&mt=Photo', 'Cabins By Night', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_026_25c30.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534170&mt=Photo', 'Hotel Kitchen Entrance', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Mounting_Camera_197_3f62a.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534190&mt=Photo', 'Hotel Reception', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_033_e67d3.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534171&mt=Photo', 'Internet', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Mounting_Camera_218_156c7.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534191&mt=Photo', 'Backpackers', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Viajeros_7f11d.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534167&mt=Photo', 'Have some Drinks', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_041_dfd9c.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534172&mt=Photo', 'Beauty', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_105_235ec.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534178&mt=Photo', 'Hotel Puerto Viejo', ''));
						imgs4958dd98b85b4777a0883a15b59dd505.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_1/8/8/3/73881/Hotel_006_6ad85.Thumbnail.jpg', 'http://photos.hotelpuertoviejocr.com/GalleryFilmstrip.aspx?gallery=225170&page=1&mid=7534168&mt=Photo', 'Backpackers', ''));

                //  Gallery Holder
				document.write("<div style='margin: 10px; padding: 0;'>");

                //  Navigation 
				document.write("<div id='navWrapper4958dd98b85b4777a0883a15b59dd505' style='margin: 0; padding: 0; height: 28px; background: #DEDEDE url(http://images.onlinephotofiler.com/header-bg.gif) left top repeat-x; border: 1px solid #A0A0A0;'></div>");

                //  Inner wrapper:
                document.write("<div style='padding: 0 0 20px 0; margin: 0; background: #; width: 100%;'>");

                //  Gallery Title
				document.write("<div id='titleWrapper4958dd98b85b4777a0883a15b59dd505' style=\"font: 25px Georgia, 'Times New Roman', Times, serif; text-align: center; padding: 20px 0 5px; width: 100%;\"></div>");

                //  Pictures
				document.write("<div id='imgsWrapper4958dd98b85b4777a0883a15b59dd505'></div>");
				
				
				//	Display the title if we're supposed to:
				if(boolDisplayTitle4958dd98b85b4777a0883a15b59dd505)
				{
					//	Get a reference to the place we're writing to:
					var divTitleWrapper = document.getElementById('titleWrapper4958dd98b85b4777a0883a15b59dd505');
					
					//	Clear out what's currently displayed:
					divTitleWrapper.innerHTML = "";
					
					//	Write our text:
					divTitleWrapper.innerHTML = "<strong>" + photowebTitle4958dd98b85b4777a0883a15b59dd505 + "</strong>";
				}
				

			    document.write("<div style='margin:10px auto 10px auto;text-align:center;'><a href='https://www.godaddy.com/gdshop/photo/landing.asp?isc=OPFpowby' title='Learn more about online photo hosting' target='_blank'>Online Photo Hosting</a></div>");

			    

                //  End inner wrapper
				document.write("</div>");

                //  End Gallery Holder
				document.write("</div>");

				//	Display images from the first page:
				displayPage4958dd98b85b4777a0883a15b59dd505(0);

				