

				//	Track our page info:
				var pageSize70510f1f768b4378a3d0eaae3139e9dc = 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 displayPage70510f1f768b4378a3d0eaae3139e9dc(pageNumber)
				{
					//	Our string that we'll eventually write:
					var txtToWrite = "";
					
					//	If paging is not enabled, then just make our pagesize = image count
					if(!pagingEnabled70510f1f768b4378a3d0eaae3139e9dc)
					{
						pageSize70510f1f768b4378a3d0eaae3139e9dc = imgs70510f1f768b4378a3d0eaae3139e9dc.length;
					}

					//	Get our slice start and end
					sliceStart = pageNumber * pageSize70510f1f768b4378a3d0eaae3139e9dc;
					sliceEnd = sliceStart + pageSize70510f1f768b4378a3d0eaae3139e9dc;
				
					//	Slice the array:
					tempArr = imgs70510f1f768b4378a3d0eaae3139e9dc.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(pagingEnabled70510f1f768b4378a3d0eaae3139e9dc)
					{
                        //  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:displayPage70510f1f768b4378a3d0eaae3139e9dc(" + (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>" + imgs70510f1f768b4378a3d0eaae3139e9dc.length + "</strong> </li>";
						
                        //  Add our next navigation:
						if(imgs70510f1f768b4378a3d0eaae3139e9dc.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:displayPage70510f1f768b4378a3d0eaae3139e9dc(" + (pageNumber + 1) + ");'>Next</a> </li>";
						}					
					}
					
					//	Get a reference to the place we're writing images to:
					var divWrapper = document.getElementById('imgsWrapper70510f1f768b4378a3d0eaae3139e9dc');
					
					//	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('navWrapper70510f1f768b4378a3d0eaae3139e9dc');
					
					//	Clear out what's currently displayed:
					navWrapper.innerHTML = "";
					
					//	Write our text:
					navWrapper.innerHTML = txtNavigation;
				}

				//	Create our array:
				var imgs70510f1f768b4378a3d0eaae3139e9dc = new Array();

				
					//	The title:
					var photowebTitle70510f1f768b4378a3d0eaae3139e9dc;
					photowebTitle70510f1f768b4378a3d0eaae3139e9dc = 'Team Photos';
					
					var boolDisplayTitle70510f1f768b4378a3d0eaae3139e9dc;
					boolDisplayTitle70510f1f768b4378a3d0eaae3139e9dc = false;
					
					var badgeLayout70510f1f768b4378a3d0eaae3139e9dc;
					badgeLayout70510f1f768b4378a3d0eaae3139e9dc = 'Vertical';
					
					var pagingEnabled70510f1f768b4378a3d0eaae3139e9dc;
					pagingEnabled70510f1f768b4378a3d0eaae3139e9dc = true;
						
					//	Add items to the array:
					
						imgs70510f1f768b4378a3d0eaae3139e9dc.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_3/0/7/8/28703/thegirls_72dce.Thumbnail.jpg', 'http://photos.kiwisalsa.co.nz/GalleryFilmstrip.aspx?gallery=83821&page=1&mid=2729378&mt=Photo', 'The Girls', ''));
						imgs70510f1f768b4378a3d0eaae3139e9dc.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_3/0/7/8/28703/theguys_3c60f.Thumbnail.jpg', 'http://photos.kiwisalsa.co.nz/GalleryFilmstrip.aspx?gallery=83821&page=1&mid=2729379&mt=Photo', 'The Guys', ''));
						imgs70510f1f768b4378a3d0eaae3139e9dc.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_3/0/7/8/28703/Girls_and_boys2_72ea8.Thumbnail.jpg', 'http://photos.kiwisalsa.co.nz/GalleryFilmstrip.aspx?gallery=83821&page=1&mid=2729377&mt=Photo', 'The Team 2007', '2007 NZ Pacific Salsa Congress'));
						imgs70510f1f768b4378a3d0eaae3139e9dc.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_3/0/7/8/28703/couples_6b50d.Thumbnail.jpg', 'http://photos.kiwisalsa.co.nz/GalleryFilmstrip.aspx?gallery=83821&page=1&mid=2729633&mt=Photo', '.', ''));
						imgs70510f1f768b4378a3d0eaae3139e9dc.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_3/0/7/8/28703/couples2_d0222.Thumbnail.jpg', 'http://photos.kiwisalsa.co.nz/GalleryFilmstrip.aspx?gallery=83821&page=1&mid=2729634&mt=Photo', '.', ''));
						imgs70510f1f768b4378a3d0eaae3139e9dc.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_3/0/7/8/28703/couples3_26ec9.Thumbnail.jpg', 'http://photos.kiwisalsa.co.nz/GalleryFilmstrip.aspx?gallery=83821&page=1&mid=2729635&mt=Photo', '.', ''));
						imgs70510f1f768b4378a3d0eaae3139e9dc.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_3/0/7/8/28703/Dion___Nikki_07d87.Thumbnail.jpg', 'http://photos.kiwisalsa.co.nz/GalleryFilmstrip.aspx?gallery=83821&page=1&mid=2729636&mt=Photo', '.', ''));
						imgs70510f1f768b4378a3d0eaae3139e9dc.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_3/0/7/8/28703/Jaffa___Kristy_7fe65.Thumbnail.jpg', 'http://photos.kiwisalsa.co.nz/GalleryFilmstrip.aspx?gallery=83821&page=1&mid=2729637&mt=Photo', '.', ''));
						imgs70510f1f768b4378a3d0eaae3139e9dc.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_3/0/7/8/28703/Kanaka___Keren_e9354.Thumbnail.jpg', 'http://photos.kiwisalsa.co.nz/GalleryFilmstrip.aspx?gallery=83821&page=1&mid=2729638&mt=Photo', '.', ''));
						imgs70510f1f768b4378a3d0eaae3139e9dc.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_3/0/7/8/28703/o_a_16bb3.Thumbnail.jpg', 'http://photos.kiwisalsa.co.nz/GalleryFilmstrip.aspx?gallery=83821&page=1&mid=2729639&mt=Photo', '.', ''));
						imgs70510f1f768b4378a3d0eaae3139e9dc.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_3/0/7/8/28703/rafa___cindy_bc83e.Thumbnail.jpg', 'http://photos.kiwisalsa.co.nz/GalleryFilmstrip.aspx?gallery=83821&page=1&mid=2729640&mt=Photo', '.', ''));
						imgs70510f1f768b4378a3d0eaae3139e9dc.push(new photoWebImage('http://app.onlinephotofiler.com/Images/A_3/0/7/8/28703/Steve___Claire_a2231.Thumbnail.jpg', 'http://photos.kiwisalsa.co.nz/GalleryFilmstrip.aspx?gallery=83821&page=1&mid=2729641&mt=Photo', '.', ''));

                //  Gallery Holder
				document.write("<div style='margin: 10px; padding: 0;'>");

                //  Navigation 
				document.write("<div id='navWrapper70510f1f768b4378a3d0eaae3139e9dc' 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='titleWrapper70510f1f768b4378a3d0eaae3139e9dc' style=\"font: 25px Georgia, 'Times New Roman', Times, serif; text-align: center; padding: 20px 0 5px; width: 100%;\"></div>");

                //  Pictures
				document.write("<div id='imgsWrapper70510f1f768b4378a3d0eaae3139e9dc'></div>");
				
				
				//	Display the title if we're supposed to:
				if(boolDisplayTitle70510f1f768b4378a3d0eaae3139e9dc)
				{
					//	Get a reference to the place we're writing to:
					var divTitleWrapper = document.getElementById('titleWrapper70510f1f768b4378a3d0eaae3139e9dc');
					
					//	Clear out what's currently displayed:
					divTitleWrapper.innerHTML = "";
					
					//	Write our text:
					divTitleWrapper.innerHTML = "<strong>" + photowebTitle70510f1f768b4378a3d0eaae3139e9dc + "</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:
				displayPage70510f1f768b4378a3d0eaae3139e9dc(0);

				