function showdata(ndx){
if(ndx == 'homes'){
getData = new Array(13)
getData[0] = new data('9242','','Great little hunting/fishing camp with beautiful building sites for your new house/vacation cabin. Nice view of Mt. Redoubt framed nicely for you in the trees. Privacy in this treed lot. Most of the dead trees have been taken out. Driveway has been put in with typar and mucho gravel. Seller finance with 50% down, balance 3 years.','$38,000','4.85 Acres','169-134-03','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[1] = new data('9234','','Large 2000 Sq Ft. House in View Country on E Hill. Large tiled family room in basement has a wet bar and laundry room. 2 Car Carport has big deck above. House is dated, but seller has completed major amount of repairs. Move in ready.','$179,500','0.44 Acres','174-010-12','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[2] = new data('9229','','Cute, adorable and affordable! Newly remodelled with all new windows, doors, light fixtures, floor coverings, fresh paint. Monitor heat with large oil tank.','$119,000','2.46 Acres','159-450-07','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[3] = new data('9227','','Small and adorable. EZ to heat! on 5 Acres. Close to the North Fork of Anchor River approx 1/2 mile from downtown Anchor Pt. Spring water is gravity flow.','$23,750','4.90 Acres','169-101-34','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[4] = new data('9221','','Cozy and Affordable! Log Home with a Forever View! Kitchen and bath with all appliances. Some furniture stays with sale. Septic is installed. Well is shared with neighbor.','$120,000','2.15 Acres','171-330-69','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[5] = new data('9216','','Small Home, nicely done, with a HUGE insulated Shop! Commercial Potential with Highway frontage! For all your toys, boat, RV and more with a big driveway. Guest cabin! Treed 2+ Acre lot that has privacy and a road to the back country for hunting this fall!','$119,000','2.35 Acres','165-730-30','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[6] = new data('9215','','Views from the top of the long driveway at the end of the Cul de Sac gives the feeling of privacy while still being in town. Views of Kachemak Bay and Mtns. Bath has jetted tub plus shower off the master bedroom, complete with his and hers walkin closet. Energy efficient, 5-Star+ home has hardly been lived in since it was built! Heated 2 Car garage! Flower garden and Raspberry patch top it off!','$258,000','0.57 Acres','175-260-18','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[7] = new data('9194','','Large log Cabin, EZ to get to, on 9.6 Acres. Creek on property has salmon. Near Stariski Creek. Dead trees have been cleared. Generator goes with property. Woodstove and Propane heat. Comfortable Alaskan living. Would qualify for FNBA recreational cabin loan.','$105,000','9.63 Acers','159-290-27','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;')
getData[8] = new data('9187','','Cutest Trailer in the campground, on the nicest lot. Own your own small piece of Alaska. Less than 1 mile from Ocean and River. Big deck & Sunroom looks toward the river. Storage shed comes with to store all your fishing poles, raingear, outboard motors,extra bait, oars etc. Park your boat and leave it safely behind in this gated community. Pole barn. Room for one more RV. Community Rest Rooms.','$36,000','0.08 Acres','169-290-64','')
getData[9] = new data('9183','','Cute, well planned small house/large cabin in the woods you&#39;ve all been looking for!  Cement foundation, well is in, septic is brand new.  View to the West and privacy in the woods.  Wood fired banya with changing area.  Two storage sheds.  Large gravel pad developed for a shop.  House is completely finished and recently remodelled.','$144,500.','3.29 Acres','165-560-09','9183.jpg;9183banya.jpg;9183side.jpg;9183partial_view.jpg;9183view.jpg;')
getData[10] = new data('9150','','Comfortable, solid cabin is almost finished. Fully insulated with cistern in loft, is replenished from well. Off the grid but comes with generator. Electric hot water heater. Private setting in the trees, yet with open views. Gravel road is maintained by neighbors.','$72,000','19.61 Acres','159-290-20','Image01.jpg;Image02.jpg;Image03.jpg;Image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[11] = new data('9137','','Starter home in the village with view of Mt. Illiamna. House is on Village Water with new septic in 2004. Toyo heat. Bathroom has been redone. Still under remodel so the paint is still fresh. Full basement is dirt floor and approx. 7 feet of headroom. Great big area for garden.','$112,500','.63 Arces','165-660-06','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;')
getData[12] = new data('9132','','Great View Lot! Views of Cook Inlet and Mtns. Slightly sloping meadow with wooded area in back. Cabin is nice and qualifies for FNBA cabin loan. Drilled well has good water as per seller. Electric adjacent. Great horse property. Solar system is staying and was used to power the well pump. Tenant in cabin. give at least 24 hours to show please.','$75,000','4.62 Acres','165-203-09','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
ReadList(ndx)
}

if(ndx == 'lots'){
getData = new Array(31)
getData[0] = new data('7117','','Taxi your airplane onto your own lot. Private flat lot located at the end of the Cul de Sac next to the West end of the Ninilchik airstrip. Spruce trees ring this lot for privacy. Driveway and building pad are in. Electric is adjacent. Fire pit and open pit privy for your camping convenience. Fly into your own hideaway in the middle of some of Alaska&#39;s greatest fishing.','$19,900','1.01 Acres','159-610-29','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[1] = new data('7114','','Cook Inlet View Lot!! 250 Feet of Sterling Highway frontage. Driveway is in and accessed off Greenfield Dr. Building sites are cleared and this lot is ready for building. Electric adjacent. Nice gentle slope to the west gives the building site a good view of Mt Redoubt and Mt Illiamna. Alder trees offer privacy screen. Meadow will make nice lawn areas.','$42,900','2.21 Acres','159-440-22','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[2] = new data('7100','','Estate signed parcel at a reasonable price. Already 4 lots with a 2100&#39; airstrip. Roads in the area have been made from this gravel. Panoramic views from the high ground.','$349,000','90.55 acres','159-530-20,21,22,23','038.jpg;041.jpg;046.jpg;042.jpg;048.jpg;')
getData[3] = new data('6338','','High Ground in front of property, then slopes to creek in the back. Dead trees have been removed. State of Alaska has planted young trees in the NW quadrant. Would make a good mini-farm. view of the tops of Mt Redoubt and Illiamna.','$29,000','18.66 Acres','159-200-80','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[4] = new data('6337','','Level lot next to Happy Valley Airstrip. Partially treed with gravel pad. Home Owner&#39;s Association Bylaws are being written. Your chance to get in on the ground floor.','$14,400','1.19 Acres','159-360-19','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[5] = new data('6336','','Flat ground that has been cleared. Ready to start your mini-farm. Electricity is 300 feet away.','$19,500','9.11 Acres','165-390-02','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[6] = new data('6335','','Level lot is treed with some open area. Water table is not too deep and would be easy to irrigate. 1200 feet from Sary Su St in moose and bear hunting country. You can drive to this lot. Storage shed on property.','$29,000','20 Acres','165-760-02','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[7] = new data('6334','','Highway frontage north of Anchor Point. Driveway is stubbed in. About half treed with mixture of Birch and Spruce. Your chance to have a home base and develop a commercial haven. No value is given to old cabin.','$64,750','13 Acres','165-162-03','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[8] = new data('6332','','Your hunting paradise awaits. West of Nikolaevsk, east of Anchor Pt. Nearly 200 acres of wilderness. Some logging has been done. Brown bear and moose habitat. Several areas of high ground. Has already been subdivided.','$94,500','190 Acres','165-380-30','image01.jpg;image02.jpg;image03.jpg;')
getData[9] = new data('6317','','Riverfront and highway frontage lots! Buy one or all three! Salmon and trout will swim by your door. High ground above river is treed as well as the river valley next to the Anchor River. Build your own private Shangrila. Call for prices of individual lots.','$59,000','3.47 Acers','169-220-19,20,21','image007.jpg;image003.jpg;image004.jpg;image005.jpg;image006.jpg;')
getData[10] = new data('6306','','Room to Roam! Big Chunk of Alaska has the acreage for your horses, Toys, or just for the privacy. Electricity and Maintained road is to the corner of the property. Property was logged many years ago so there are lots of young live trees. Gorgeous!','$85,000','42.50 Acres','165-102-11','image01.jpg;imgae02.jpg;')
getData[11] = new data('6305','','Room to Roam! Big Chunk of Alaska has the acreage for your horses, Toys, or just for the privacy. Electricity and Maintained road is to the corner of the property. Property was logged many years ago so there are lots of young live trees. Gorgeous!','$66,000','33.30 Acres','165-102-08','image01.jpg;image02.jpg;image03.jpg;image04.jpg;')
getData[12] = new data('6304','','Room to Roam! Big Chunk of Alaska has the acreage for your horses, Toys, or just for the privacy. Electricity and Maintained road is to the corner of the property. Property was logged many years ago so there are lots of young live trees. Gorgeous!','$48,000','23.90 Acres','165-102-07','image01.jpg;image02.jpg;image03.jpg;')
getData[13] = 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.','$27,900','6.85 acres','165-203-47','image01.jpg;image02.jpg;image03.jpg;image04.jpg;')
getData[14] = new data('5368','','Large Western sloping meadow filled with fireweed. A few alders for variety. Ready to build. Driveway stubbed in on lower side. Electric adjacent. 2 adjacent lots also available. Seller will discount if buy all 3 lots.','$34,000;$33,000;$29,000','2.5 Acres each','73-490-32, 33, 34','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;')
getData[15] = new data('5367','','High rolling hill country with a mixture of trees and meadows. Year round creek is available for irrigation. This is ready for you to build your mini-farm. Electric is adjacent. Owner will finance.','$35,000','8.82 Acres','173-680-01','image01.jpg;')
getData[16] = new data('5363','','North of Diamond Ridge just outside Homer. Views to Cook Inlet. Mature Spruce for firewood and also open meadow. Grow a garden or watch the Fireweed turn red. Your chance to create the Alaskan experience.','$40,000','9.16 Acres','171-253-09','image01.jpg;image02.jpg;image03.jpg;')
getData[17] = new data('4157','','A nice building lot with paved road access. Driveway is in. High ground above small lake gives privacy to the building site screened from the road by trees. Seller is willing to carry note with 5 year payoff.','$24,900','2 Acres','169-270-01','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;')
getData[18] = new data('4139','','Partly wooded homesite cleared, perc testedlot on Old Sterling Hwy, north of Homer 13 miles. Nice building knoll. Power line across back of lot.','$34,000','2.43 acres','169-135-02','4139.jpg;drive.jpg;land.jpg;road.jpg;trail.jpg;')
getData[19] = new data('4135','','Nearly 10 acres of open ground with spruce forest and creek. Hunters paradise. Open feelong with views ot Epperson Knob. Buyer to verify wetland.','$19,000','9.78','171-270-06','4135.JPG;PICT5036.JPG;PICT5037.JPG;PICT5038.JPG;')
getData[20] = new data('4121','','Highway Frontage, Commercial Potential, with a lake. Two large lots totaling over 10 acres. South sloping, treed, and open. Needs driveway. Two points of access. &#34;Motivated seller, bring offer.&#34;','$34,900','5.91 & 4.31 acres','171-033-16','4121-1.jpg;4121-2.jpg;4121-3.jpg;4121.jpg;')
getData[21] = new data('3333','','Nearly 12 Acres Beachfront Lot. Located just 2.5 miles north of Homer. This lot is all southern exposure with 320 feet of beach frontage. Kachemak Bay view of ocean, mountains and glaciers can&#39;t be beat. Multiple building sites on 8.5 acres of upland ground lends itself to your choice of private homesites, not to mention commercial cabin or lodge potential. Think of the solar and wind potential.','$249,000','11.7 acres','175-070-13','5404748-3.JPG;5404748-5.JPG;5404748-4.JPG;5404748-2.JPG;')
getData[22] = new data('3312','','Level Treed parcel convienint to town. Priced right and ready for a home.','$42,000','1.48 acres','173-240-30','3312.jpg;3312-1.jpg;3312-2.jpg;3312-3.jpg;')
getData[23] = new data('2475','','The View and Privacy you keep asking for. Driveway is in to the building site. Electric is adjacent. Perk test is done. Driveway is plowed by neighbor.','$79,000','3.22 Acres','172-311-33','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;')
getData[24] = new data('2472','','Beautiful World Class View Lot!! 10+ Hillside Acres 5 miles E End Rd. Backed up against the hillside it is the perfect solar,wind power and grow your garden area of Homer.','$99,000','10.30 Acres','172-190-14','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[25] = new data('2467','','Remarkable Views of Glaciers with Privacy! Open meadow ringed with mature young spruce trees. Voznesenka village safe water adjacent to property corner. Electricity less than 300 feet away','$125,000','3.23 Acres','185-210-04','image01.jpg;image02.jpg;image03.jpg;image04.jpg;')
getData[26] = new data('2466','','Eastern facing View lot with open meadow, mixed with young spruce trees, alders, and birch. Borough maintained road and electric pole next to NW corner.','$24,000','1.11 Acres','185-470-03','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;')
getData[27] = new data('2461','','View acres, very near to McNeil Canyon School & ski trails. A variety of terrain suitable for building on private acres with spruce trees or hang ten view lot overloking glaciers and ice field.','$45,000;$45,000;$62,000;$','1.76/1.76/3.91/1.46/1.66 Acres','172-311-67-71','Bay2461.jpg;Bayview2461.jpg;Mountains2461.jpg;Trees_mountains.jpg;Road2461.jpg;')
getData[28] = new data('2444','','South sloping treed lot on quiet cul de sac. 15 miles east of Homer. View through trees of glaciers & mtn. across Kachemak Bay','$49,900','1.18 Acres','172-270-18','image01.jpg;image02.jpg;image03.jpg;')
getData[29] = new data('2443','','View Lot near golf course. Nearly level meadow with views of Bay & glaciers. Electric adjacent.','$58,000','1.00  Acres','172-320-17','image01.jpg;image02.jpg;image03.jpg;image04.jpg;image05.jpg;image06.jpg;image07.jpg;image08.jpg;')
getData[30] = new data('2430','','Large view property, seven miles east of Homer encompassing both sides of Fritz Creek. Treed and secluded. Build your Shangrila or subdivide. Small sand pit on west side of property.','$134,000','9.40 Acres','172-200-31','image01.jpg;image02.jpg;image03.jpg;')
ReadList(ndx)
}

if(ndx == 'commercial'){
getData = new Array(0)
ReadList(ndx)
}

if(ndx == ''){
setPage()
}
}

