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"; } } var mrp_slideroll_images_50893 = []; var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/BRXjyjvKfkDbO-3NfxkaHPZC7x3s80RXl4BAY1RKK4M/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzYvMC85LzExMDM0NDkwNi9iNDU2NDZmM2VmYjAxY2UxZTM2NmIzMmQyNzEyOWRkOS5qcGVn"; item["url"] = "mylistings-110344906.property"; item["desc"] = "$1,198,000 : 124 1777 W 7th Avenue Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/110344906/img/ribbon/new-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by Sutton Group-West Coast Realty"; mrp_slideroll_images_50893.push( item ); item["current"] = true; var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/Z-YPLiSHvTNWMslE9aOniF4mn8K23WMURBXMPCjmN3Y/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzAvMS8wLzExMDIwNzAxMC9kNWJkOWIwYTBmZjAyNzkxODAyNGQ0YjE0OTgxZTc3MS5qcGc"; item["url"] = "mylistings-110207010.property"; item["desc"] = "$2,250 /mth : 19xx 5665 BOUNDARY ROAD Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/110207010/img/ribbon/custom-banner?txt=For+Rent&c=#1f993b"; item["recipLogo"] = ""; item["attribution"] = "Listed by Sutton Group - West Coast Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/LxZDhBiHwPLx5KvOti2NPhGjWfPkgs4r4jKLQGwWzxU/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzEvMy83LzExMDE4MTczMS8zNDExMGQzMjlhMmNlYmU2ODc2Yjg0OWM1ZmFhMjk1My5qcGc"; item["url"] = "mylistings-110181731.property"; item["desc"] = "$1,545,000 : 1xx, 1333 W 11th Avenue Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/110181731/img/ribbon/custom-banner?txt=EXLUSIVE+LISTING+-+SOLD&c=#d0021b"; item["recipLogo"] = ""; item["attribution"] = "Listed by Sutton Group - West Coast Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/HQi3btZFWrj3H6nz-0Z8nXl5X2cO0yAv6BfdDOO_XY8/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzgvMi81LzExMDIzNTUyOC8wOTJiZDEyY2EwN2UyOGE4MTAxYjA5N2ExNWJjNjJiMS5qcGVn"; item["url"] = "mylistings-110235528.property"; item["desc"] = "$718,000 : 103 700 KLAHANIE DRIVE, Port Moody BC V3H 5L3 Port Moody"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/110235528/img/ribbon/custom-banner?txt=Sold&c=#d0021b"; item["recipLogo"] = ""; item["attribution"] = "Listed by: Sharene Shuster, Heller Murch Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/LA__ejCvWVTlECD9ShQV9E9-2nVtqkQwNakasewj5MM/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzYvNC83LzEwNzY4NTc0Ni84ZDBjYjFmOTViMjFmMWFkNjhmNDc4NDI2NzY1ZjdhNi5qcGVn"; item["url"] = "mylistings-107685746.property"; item["desc"] = "$[***] : 64 777 BURRARD STREET, Vancouver BC V6Z 1X7 Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/107685746/img/ribbon/sold-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by: Emily Zhu PREC*, RE/MAX Crest Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/uwOj-j8kT4H9mnbSd8WKfejQ6tudT9QlA0oh-OVlQ3U/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzMvMS82LzEwNjk1NzYxMy83MDU1OGFkMzFiMTczMDJhN2NmNzBmMThkZmJkMTczMy5qcGVn"; item["url"] = "mylistings-106957613.property"; item["desc"] = " : 1102 1333 W 11th Avenue Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/106957613/img/ribbon/sold-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by Sutton Group-West Coast Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/sVqgnyYWkIzi_yhGQgLWyUlUuoJsK77OC9LxS5oIRyw/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzkvMC8zLzEwMTI1NTMwOS83MTRkOGMxZjkxNGFkMjhlMjYyNzZmMmVjMzMzMGQ1OS5qcGc"; item["url"] = "mylistings-101255309.property"; item["desc"] = "$[***] /mth : 6xx 1010 Howe Street Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/101255309/img/ribbon/custom-banner?txt=RENTED&c=#d0021b"; item["recipLogo"] = ""; item["attribution"] = "Sutton Group - West Coast Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/vta-0624p7gKRbSNI_q1FgA_OugyKMARjAvtwtP7sbM/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzkvOS80LzEwNDk0MjQ5OS8yZDU4N2U4MThjYmFiNDY4NjRkOTc3MjlhNDUzMGQ1My5qcGVn"; item["url"] = "mylistings-104942499.property"; item["desc"] = "$2,395,000 : 1201 1835 MORTON AVENUE Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/104942499/img/ribbon/custom-banner?txt=Sold&c=0xF80000"; item["recipLogo"] = ""; item["attribution"] = "Listed by Sutton Group-West Coast Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/rFRPVgtTh-2HzDvTNHarxVOp_VreO5rHdW8sRWkNFmo/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzQvNC84LzEwNzk2MDg0NC9lOGUyOWY2Y2ZmNWQzMGJjN2RlZDljODY0ZjZhM2Y0ZS5qcGVn"; item["url"] = "mylistings-107960844.property"; item["desc"] = "$[***] /mth : xxx 988 W 21 AVENUE, Vancouver BC V5Z 1Z1 Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/107960844/img/ribbon/rented-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by: Kyle Roman, Sutton Group-West Coast Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/ZE5SGrlaDmg-6bUH0PQHTgd25yFkf5vqZPYs7YjLThA/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzkvNC85LzEwNTc3MTk0OS9kNDBkNjg5ODJiMDA1MWU4NWE3OTQxYTVhN2NiN2U3Ny5qcGVn"; item["url"] = "mylistings-105771949.property"; item["desc"] = " : 505 4675 Cambie Street Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/105771949/img/ribbon/sold-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by Sutton Group-West Coast Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/XI0V7Vxw_o0SVBPArjOR67XyoPocSWHz78PKBqMufEE/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzYvMC85LzEwMDM1NzkwNi9jMTM4NmYxY2QxOGI4M2EzNTcwZmIwMDQwM2NjN2U3My5qcGc"; item["url"] = "mylistings-100357906.property"; item["desc"] = "$[***] /mth : 345 Water Street Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/100357906/img/ribbon/rented-banner"; item["recipLogo"] = ""; item["attribution"] = "Sutton Group - WestCoast Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/UpczuzfnJkYYNRGD3j8pUZA0EWOLFf7PWRqxo9Nm-HY/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzEvNy8zLzEwNjkyMTM3MS9mZTc4MmI0Zjc4NTM3ZTY4NDUxZDkyOGYxMTJhYzM4Zi5qcGVn"; item["url"] = "mylistings-106921371.property"; item["desc"] = " : 201 736 W 14th Avenue Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/106921371/img/ribbon/sold-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by Sutton Group-West Coast Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/ZZETyjEBWVn6wPundBh8XRE0y-jPSaVqOVVhw2RJIPo/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzQvNy8wLzgwODg1MDc0LzUwNjMwODhkZGYwNzVjZWU1YTI0ZmZhOTRmMjhhZjM5LkpQRw"; item["url"] = "mylistings-80885074.property"; item["desc"] = "$[***] / mth : Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/80885074/img/ribbon/custom-banner?txt=Rented&c=0xF80000"; item["recipLogo"] = ""; item["attribution"] = "Listed by RE/MAX CREST WESTSIDE (VANW7)"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/K0KtBYnaVtzesUqdz44cb6uubzgGOgr8q_GlSiwbqZc/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzUvNi8yLzEwNjI0OTI2NS82M2NkMTA4YzY5NjdmMjc3Mjc1OWExZjE0Y2FmYjVmMi5qcGVn"; item["url"] = "mylistings-106249265.property"; item["desc"] = " : 2610 63 Keefer Place Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/106249265/img/ribbon/sold-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by Sutton Group-West Coast Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/aoe9PCKrB5pae4eXHBDdCOSX2sBA6aB7YD1RGZPcvrw/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzcvMi8yLzEwNjI1MjIyNy9mODg5MjU0ZmM5N2M0NzA0ZTdjY2RjYzAzOTYzM2Q0Ny5qcGc"; item["url"] = "mylistings-106252227.property"; item["desc"] = "$[***] /month : xxx 2288 West Broadway Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/106252227/img/ribbon/rented-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by RE/MAX CREST WESTSIDE (VANW7)"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/byG0r_tTpSsT293dNZewrFjN-aX7y3TymJdGS9Rk2Jw/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzAvMS8yLzEwNDk3NTIxMC8zNjZmMDlmNTA1ZWVjN2YyY2Q3Yzc1NDI0YjY5ODY0OS5qcGVn"; item["url"] = "mylistings-104975210.property"; item["desc"] = "$928,000 : 511 7169 14TH AVENUE, Burnaby BC V3N 0H6 Burnaby"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/104975210/img/ribbon/sold-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by: Sutton Group-West Coast Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/rmPmcSdWP2OYreqAheO5MjN1aIyosm9Ro27Xssb1NyI/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzEvNi8yLzEwMDk4NzI2MS8zMjkxOWE0ZmM4NjRhODgzZDZhMGFhOTI1YjA5NmJiOC5qcGVn"; item["url"] = "mylistings-100987261.property"; item["desc"] = "$4,498,000 : 868 YOUNETTE DRIVE West Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/100987261/img/ribbon/sold-banner"; item["recipLogo"] = ""; item["attribution"] = "Rennie & Associates Realty - Jason Soprovich"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/qfk4FHLPSjc6NtAib1kK_SvWYPJDK0SIkTAMcJouTYs/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzQvMi85Lzc4OTE4OTI0LzE1ZTA3NjIyMmM4OTcyMzIyOWU0YjFhZDdmNjMzZDU4LmpwZw"; item["url"] = "mylistings-78918924.property"; item["desc"] = "$[***] /mth : 555 W 14TH AV Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/78918924/img/ribbon/custom-banner?txt=Rented&c=0xF80000"; item["recipLogo"] = ""; item["attribution"] = "RE/MAX All Points Realty Grp."; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/agcJqkSOTO-8vnnJtOWTak1xaHaOtFCKOPZhz7ydP48/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzUvMC81LzEwNDk0MjUwNS8xNjQ2NDkxMjUzMzE2OWMxNTkwNDUwNDI3OWVhZTcyMy5qcGVn"; item["url"] = "mylistings-104942505.property"; item["desc"] = "$924,000 : 902 1165 BURNABY STREET Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/104942505/img/ribbon/sold-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by RE/MAX Crest Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/C-Sz0Zb6LCwyhYarIahCMHXM75RUUAJ97qa6dDQelh0/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzcvNC83LzEwNzAzMTc0Ny9iNWY3NGE1ZDcxYTU0MDc2MTI1NTllY2VjNDlhOWZhNS5qcGVn"; item["url"] = "mylistings-107031747.property"; item["desc"] = "$[***] : 3xx 238 W BROADWAY, Vancouver BC V5Y 0L2 Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/107031747/img/ribbon/rented-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by: Kyle Roman, Sutton Group-West Coast Realty"; mrp_slideroll_images_50893.push( item ); document.write( "" + "" ); document.write( "\n
\n\t\n\t
\n\t\t\n\t\t\t