//
//   propertyList
//
//   This file contains controls for the property list page.
//
//
    //
    //    Property
    //
    //    Create a database entry with information needed for a property.
    //
    function Property (MLSid, longitude, latitude, price, street, city, state, bed_bath, picture, size, link, vlink, comment, oview, ofront, rview, rfront, land, home, mob, commercial) {
        this.MLSid = MLSid 			;    
        this.longitude  = longitude	        ;
        this.latitude   = latitude		;
        this.price      = price		        ;
        this.street     = street		;
        this.city       = city			;	
        this.state      = state		        ;
        this.comment    = comment		;
        this.bed_bath   = bed_bath		;
        this.picture    = picture		;
        this.size       = size			;
        this.link       = link                  ;
        this.virtualLink = vlink                ;
        this.oceanview  = oview      	        ; //  1 = oview
        this.oceanfront = ofront		; // 1 = ofront
        this.riverview  = rview           	; // 1 = rview
        this.riverfront = rfront		; // 1 = rfront
        this.landOnly   = land			; // 1 = land
        this.home       = home       	        ; // 1 = home
        this.mob        = mob			; // 1 = mob
        this.comm       = commercial	        ; // 1= commercial
    }
    //
    //    Property.infoBlock
    //
    //    Create a block of information about the property to be displayed.
    Property.prototype.infoBlock = function() {
        var str = '<font size="1"><table width="350"><tr><td><b>' + this.price + '</b></td></tr><tr><td>' + this.street + '</td></tr><tr><td> </td></tr><tr><td>' + this.city + ', ' + this.state + '</td></tr><tr><td>'+ this.comment + '</td></tr><tr><td><img border="0" src="' + this.picture + '" width="83" height="54"></td></tr></table></font>' ;     
        return (str) ;
     }
    //   on the maps. 
    var propertyList = new Array() ;
    var base = "http://www.OceanFrontRE.net/" ;
    //var base = "c:/Documents and Settings/Dave/My Documents/Webmaker/Jacobs/" ;

// ################ oview, ofront, rview, rfront, land, home, mob, commercial                                                                                                    
                                                
    propertyList[1]      = new Property(60224, -123.8439, 41.875850, "1,075,000", "13950 Highway 199",                  "Gasquet",       "CA", "",    "properties/13950Hwy199-60224/images/small/Img0890E400x300.gif", "6.9 Acres",  base+"properties/13950Hwy199-60224/index.htm",    "virtual", "<b>HISTORIC PATRICK CREEK LODGE</b> - Just a short drive from the Pacific Ocean on beautiful Hwy 199.  Nestled in the Six Rivers National Forest on approximately 6.9 Acres.   Motel and lodge include a 11 room lodge, 6 room motel, one 2 bedroom cabin and owners private quarters behind the lodge on Patrick Creek.    For more information, check www.patrickcreeklodge.net.",0,0,0,0,0,1,0,1) ;
    propertyList[2]      = new Property(60347, -124.198207, 41.782656, "910,000", "2051 Northcrest Drive", "Crescent City",                 "CA", ".",   "properties/2051Northcrest-60347/Img0997.jpg",                              "11.10 Acres",  base+"properties/2051Northcrest-60347/index.htm",           "virtual", "Mobile home park on over 11 acres on Northcrest Drive. &nbsp;  39 filled spaces that are currently renting at $235.00 per space.  Great oppotunity for an operator or developer..",0,0,0,0,0,0,0,1) ;
    propertyList[3]      = new Property(60140, -124.219665, 41.758203, "649,000", "1533 Pacific Avenue", "Crescent City", "CA", "3/2.5","properties/1533PacificAve-60140/images/small/PacificHouse400x300A.gif",    ".34 Acres",   base+"properties/1533PacificAve-60140/index.htm", "virtual", "Exterior and staircase 2 x 6 construction - nautical theme includes decorative tile, and captain\'s bar - double pane bay windows - solid block constructed three car garage - enchanting stone garden includes enclosed hot tub and small bridge over pond plus R. V. parking and private sun deck.  Installed dumb-waiter, 2 monitor heaters, lots of storage, lots of room, not quite ocean front ... but,very, very close.  Priced to sell.",0,0,0,0,0,1,0,0) ;      
    propertyList[4]      = new Property(60131, -123.96833, 41.845556, "264,900", "175 Miners Camp Road", "Gasquet",       "CA", "3/2", "properties/mobilehome/images/small/AirportAcre1sm.gif",                     "1.23 Acres",  base+"properties/mobilehome/index.htm",           "virtual", "<b>Gasquet manufactured home for sale on the Gasquet Airport, 1+ acres. Very nice almost new manufactured home right onthe sir strip.  Fly in and trek around Smith River area, hiking, fishing, swiming, boating ... a summer get-away big enough for the whole family or just for romantic weekends.",0,0,0,0,0,1,0,0) ;
    propertyList[5]      = new Property(60343, -124.145532, 41.789207, "185,000", "2450 Elk Valley Cross Road", "Crescent City",            "CA", "2/2", "properties/2450ElkValleyCross-60343/Img0990.jpg",                           ".95 Acre",    base+"properties/2450ElkValleyCross-60343/index.htm",           "virtual", "900 square foot manufactured home on .95 acre.    Built in 1987, this 2 bedroom, 2 bath can be yours.   Inside, you will find washer/dryer, range, oven, refrigeratior and security features.  Outside, you will find electricity service available, public water service, septic sewer system storage/out-building and fencing.   The lot is irregular. ",0,0,0,0,0,0,0,1) ;


// ################ oview, ofront, rview, rfront, land, home, mob, commercial







