function showcasePositionImage( img, containerWidth, containerHeight, fill, autoHeight ) { var w = img.width; var h = img.height; var ratio = w/h; autoHeight = autoHeight || false; var imgW = 0; var imgH = 0; if( autoHeight || ratio >= 1 ) { // horizontal imgW = fill? containerWidth : Math.min( containerWidth, w ); //img.style.width = imgW + "px"; //img.style.height = "auto"; imgH = Math.floor( imgW / ratio ); } else { // vertical imgH = fill? containerHeight : Math.min( containerHeight, h ); //img.style.height = imgH + "px"; //img.style.width = "auto"; imgW = Math.floor( imgH * ratio ); } if( fill ) { if( autoHeight || imgW < containerWidth ) { imgW = containerWidth; imgH = Math.floor( imgW / ratio ); } if( imgH < containerHeight ) { imgH = containerHeight; imgW = Math.floor( imgH * ratio ); } } img.style.width = imgW + "px"; img.style.height = imgH + "px"; img.style.maxWidth = imgW + "px"; // counter-act some WP themes img.style.visibility = "visible"; // center it img.style.left = Math.floor( ( containerWidth - imgW ) / 2 ) + "px"; if( autoHeight ) { img.style.top = "0"; } else { img.style.top = Math.floor( ( containerHeight - imgH ) / 2 ) + "px"; } // special case for ddf if( img.closest('.region-DDF') ) { img.style.left = '0px'; img.style.top = '0px'; } } function showcaseAutoImage( img, margin, borderWidth, fill, autoHeight ) { if( img.parentNode.offsetWidth == 0 ) { setTimeout( function() { // f** IE showcaseAutoImage( img, margin, borderWidth, fill, autoHeight ); }, 100 ); return; } if( img.src && img.src.indexOf( "/progress" ) != -1 ) { return; } /* if( !img.width || !img.height ) { return; } */ /* // bill: in FF, the original "img" appears to have incorrect non-zero width // even though the image is not loaded var tempImage = new Image(); tempImage.src = img.src; if( tempImage.width == 0 || tempImage.height == 0 ) { if(img.onload ) { // already hooked up, no go? return; } img.onload = function() { showcaseAutoImage( this, margin, borderWidth, fill, autoHeight ); }; return; } */ img.style.margin = "0"; img.style.position = "absolute"; img.style.display = "block"; img.style.visibility = "visible"; var b = isNaN( borderWidth ) ? 1 : borderWidth; var inner = img.parentNode; var outer = img.parentNode.parentNode; var outerW = outer.offsetWidth; var outerH = outer.offsetHeight; var containerWidth = outerW - margin*2 - b*2; var containerHeight = outerH - margin*2 - b*2; inner.style.width = containerWidth + "px"; if( !autoHeight ) { inner.style.height = containerHeight + "px"; } inner.style.position = "absolute"; inner.style.left = margin + "px"; inner.style.top = margin + "px"; inner.style.overflow = "hidden"; // special case for ddf if( img.closest('.region-DDF') ) { img.style.left = '0px'; img.style.top = '0px'; } //inner.style.backgroundColor = "yellow"; if( outer.style.position != "absolute" ) { outer.style.position = "relative"; } if( img.src && img.src.indexOf( "/nophoto" ) != -1 ) { //img.onclick = null; //img.style.cursor = "default"; fill = false; } var progressElem = img.parentNode.querySelectorAll( ".progress" )[0]; if( progressElem ) { progressElem.parentNode.removeNode( progressElem ); } showcasePositionImage( img, containerWidth, containerHeight, fill, autoHeight ); if( autoHeight ) { var imgH = parseInt( img.style.height ); inner.style.height = imgH + "px"; outer.style.height = imgH + (margin*2) + "px"; } } document.write( "" ); document.write( "
" ); document.write( "
" ); document.write( "
" ); document.write( "" ); document.write( "
" ); document.write( "
Listed by Royal LePage Preferred Realty
" ); document.write( "
" ); document.write( "$359,900" ); document.write( "
" ); document.write( "
" ); document.write( "Welcome to the OASIS COUNTRY ESTATES. Home is in the most convenient spots in the complex and backing on to the fields. Watch the Eagles Soar in this Beautiful Country Living Atmosphere. Home features 2 bdrms/ 1 full bathroom. The main area is an open concept with your kitchen, dining and living areas. Central AC has been added to keep it nice and cool on hot days. There is a double sliding glass door that leads to the huge deck. Enjoy the peaceful setting right on your sundeck along with all the nature and view of the mountains surrounding the Park. Close to Hemlock Ski resort and Sandpiper golf course. Great community with location being 10 minutes away from Deroche elementary school. School bus right at front." ); document.write( "
" ); document.write( "
" ); document.write( "" ); document.write( "
" ); document.write( "
Listed by eXp Realty of Canada, Inc.
" ); document.write( "
" ); document.write( "$399,000" ); document.write( "
" ); document.write( "
" ); document.write( "Check out this amazing offer! This detached one-level home offers affordable living space for the whole family and pets on a raised corner lot, and includes a view of the river. It\'s located in the best spot in the park and boasts three spacious bedrooms. The main bedroom includes a walk-in closet and a newly renovated ensuite with a shower. The home features a large living space with many updates, a fully updated kitchen with ample cupboard space, a pantry, and an eating area, as well as two large decks and plenty of parking. You can enjoy your morning coffee on the side deck overlooking trees and a river or in your private backyard. This pet-friendly park has no size restrictions and is just minutes away from Maple Ridge & Mission. Act fast, because this home will go quickly!" ); document.write( "
" ); document.write( "
" ); document.write( "" ); document.write( "
" ); document.write( "
Listed by RE/MAX Real Estate Services
" ); document.write( "
" ); document.write( "$369,900" ); document.write( "
" ); document.write( "
" ); document.write( "The Affordable Option! 2 bed, 1 bath, 924 sqft mobile Large open plan kitchen with nook and living room and AIR Conditioning!! PLUS single detached garage, PLUS 12’ x 12’ detached workshop/studio with power and water, covered patio with F/P On a quiet lane in Triple Creek Estates, bring your cats n dogs, fenced yard. Quiet location 15 mins to Maple Ridge and Mission. Showings Sat & Sun noon – 4:00 pm, call your realtor and book an appointment" ); document.write( "
" ); document.write( "
" ); document.write( "" ); document.write( "
" ); document.write( "
Listed by Royal LePage - Brookside Realty
" ); document.write( "
" ); document.write( "$377,500" ); document.write( "
" ); document.write( "
" ); document.write( "Outstanding Value ! 1400 sq ft of living space! 3 bedrooms 2 full bathrooms. Quiet setting on a city sized 9600 sq ft lot! Many updates include flooring, New blinds, New fridge and Stove , fresh paint, new baseboards. Updated from original kitchen with island eating bar, 2 new covers for the multiple patio decks. Features include a sunken family room with stone propane fireplace. Vault ceilings, Big separate eating area or living room off the kitchen. Low maintenance fully fenced yard with outdoor living spaces and decks. Lots of parking right at your doorstep. Bonus detached workshop/shed. Low pad rent here at only $420.00 per month. Its move in ready!" ); document.write( "
" ); document.write( "
" ); document.write( "
" ); document.write( "
" ); document.write( "
" );