function showdata(ndx){
if(ndx == 'homes'){
getData = new Array(6)
getData[0] = 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[1] = new data('9131','','Love and laughter echo through this house from the Pioneer Homesteaders who lived here for nearly 50 years. Imagine yourself living in a home with lots of history and unique detailing. Be connected to a prior era and put back something more in the home&#39;s spirit. Now is a perfect time to reap the rewarding benefits of owning and restoring a Gem. What could be Greener than restoring a treasure?','$247,000','1.13 Acres','179-020-96','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[2] = new data('9122','','Great Investment Opportunity on nearly one acre with a view only minutes from town. Live upstairs while you rent the downstairs to supplement your mortgage!','$159,000','0.96 Acres','179-020-89','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;')
getData[3] = 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[4] = 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[5] = 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(6)
getData[0] = new data('6308','','Very affordable nice building site with some views of the volcano&#39;s. Seller is related to the Listing Licensee.','$38,900','15.47 Acres','165-183-08','image01.jpg;')
getData[1] = new data('6307','','Affordable lot excellent for building with nice view of the volcano&#39;s. Seller is related to the Listing Licensee.','$24,000','5.31 Acres','165-183-10','image01.jpg;')
getData[2] = 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','')
getData[3] = new data('5331','','Cook Inlet and the volcanoes will fill your view every day from this Diamond Ridge lot. Great sunsets. Driveway and well are already developed.','$59,000','2.59 acres','173-471-08','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;')
getData[4] = 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[5] = 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()
}
}
