function showdata(ndx){
if(ndx == 'homes'){
getData = new Array(7)
getData[0] = new data('9164','','A Home Where you#&39;ll Have time to play. This home Demands very little of you but gives you so much. 3 bedrooms, 1.75 baths. Little upkeep needed so you have time to enjoy the corner lot, view of the Spit, spacious lawn complete with crab apples, apple trees and raspberries! Brand new laminate floors, new fixtures, new windows and updates all make this home a very special place to call home!','$216,000','0.22 Acres','177-320-29','DSCN0144.JPG;DSC00499.JPG;DSC00507.JPG;Picture006.jpg;DSC00517.JPG;DSC00532.JPG;DSC00520.JPG;DSC00509.JPG;')
getData[1] = new data('9158','','Perfect recreational cabin or live here year round! Located outside of Homer with some privacy.','$125,000','2.44 Acres','169-141-06','image01.jpg;')
getData[2] = new data('9155','','On Top of the World! VIEW VIEW VIEW! Darling Home with Star like Qualities! Hot Tub, Sauna, Greenhouse, Fort and drop Dead Gorgeous VIEW! Come see this Charming Home with Killer View!','$199,999','0.92 Acres','172-106-12','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[3] = new data('9134','','Great Investment opportunity 1/4 mile from the Beach & the Anchor River. Many Possibilities. There are two apartments that while rented will help pay your monthly mortgage payments. This home features a recessed living room, 9&#39; walls, vaulted ceilings, Jacuzzi tub and a beautiful spacious kitchen for you to enjoy.','$225,000','0.00 acres','165-170-66','image01.jpg;image02.jpg;image03.jpg;')
getData[4] = new data('9114','','Newly constructed designed for family style living 12 miles from Homer with a view! Offers large open kitchen, vaulted ceilings, spacious family room, two bedrooms have private bathrooms & lots more! Relax on the private decks and enjoy the sunsets looking out over Cook Inlet and the volcano&#39;s. Your family&#39;s dream house can be a reality. Look no further you just found your new home!','$279,000','1.36 Acres','171-330-79','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;')
getData[5] = new data('9101','','Great investment income opportunity... Or live in one unit while the other unit makes your monthly payment with this detached duplex. Each unit is 1257 sq ft with 4 bedrooms and 1 1/2 bath&#39;s per unit.','$179,000','0.24 Acres','179-202-17','image01.jpg;image02.jpg;image03.jpg;image04.jpg;')
getData[6] = new data('9042','','Beautiful View Estates!  Million Dollar Sweeping View of Cook Inlet and the Entire Aleutian Volcano Mountain Range! Cozy Home with Warm Mahogany, Pine and Oak Woodwork Throughout! Private Multi level home offers master suite with deck for sunsets and Northern lights!! Full Basement for office, Den and Laundry. Huge Shop for Toys and Projects! Makes this Home A True Value for You!  Motivated Seller, Bring All Offers!!','$237,500','2.48 acres','171-380-21','IMG4820.jpg;IMG4815.jpg;IMG4798.jpg;IMG4781.jpg;IMG4770.jpg;057.JPG;house_aug.JPG;063-2.JPG;')
ReadList(ndx)
}

if(ndx == 'lots'){
getData = new Array(5)
getData[0] = new data('6315','',' Live on the edge of the wilderness, property adjacent to thousands of acres of Borough and State land. Great Hunting, Snowmachining and Quiet Country Living! Seller reports freshwater springs on property.','$69,000','10.00 Acres','165-210-18','image01.jpg;image02.jpg;image03jpg;image04.jpg;image05.jpg;image06.jpg;')
getData[1] = new data('6281','','Open meadow sloping to the South East, Electric is adjacent.  Neighbers maintain road.  Driveway is installed. Culvert well has been installed.Creek on the property. Reasonable offers will be considered.','$29,900','6.85 acres','165-203-47','image01.jpg;image02.jpg;image03.jpg;image04.jpg;')
getData[2] = new data('3327','','Sunny, affordable lot just the right distance out of town. Level Topography, good southern exposure, and a great price make this one of the best deals in our market.','$26,500 /$29,500','1.09 & 1.19 acres','173-480-24,26','3327.jpg;3327-2.jpg;3327-3.jpg;3327-4.jpg;')
getData[3] = new data('2411','','Great East End Parcel at a Great Price! Big view of Kachemak Bay and lots of elbow room.','$125,000','9.55 Acres','172-290-03','DSC06010.JPG;DSC06009.JPG;')
getData[4] = new data('2348','','This Property is a remote agricultural parcel, southern sloping with scattered groups of Alders and Spruce trees. -Motivated Seller- Bring All Offers.  With owner financing, at 1/4 down payment.','$90,000','160 acres','165-150-09','008.jpg;003.jpg;010.jpg;012.jpg;021.jpg;019.jpg;020.jpg;00000001.JPG;')
ReadList(ndx)
}

if(ndx == 'commercial'){
getData = new Array(0)
ReadList(ndx)
}

if(ndx == ''){
setPage()
}
}
