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/_WQ0I7gazmVJHgf5R-PSNtNV28L3lBjWt1Jp-jICmhg/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzkvMS80LzEwNDQ2MjQxOS80OGMzNGQxNGQzMzBmODZiOWRjNmFmNWI0M2EwNGQ1Zi5qcGVn"; item["url"] = "mylistings-104462419.property"; item["desc"] = "$928,000 : 511 7169 14TH Avenue Burnaby"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/104462419/img/ribbon/custom-banner?txt=New+Listing&c=#1f993b"; 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/nEOCX7Fkt8wKZHiJDzmlE_vczIikSlHldAQLdiknt7s/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzcvNi81LzEwNDEzNTU2Ny9iNzg1MTEzY2ZjODAxY2RhYjM1MzY4OWJkMjM3YTRjMS5wbmc"; item["url"] = "mylistings-104135567.property"; item["desc"] = "$[***] /mth : 555 W 14TH AV Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/104135567/img/ribbon/custom-banner?txt=Rented&c=#d0021b"; 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/1W6SEKF7ixWZwS_oiJIJNA8e-ki5NRv4iFYiHNHafXw/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzAvNi8yLzEwMzAyNzI2MC9hNmRmNGQyYjgxZDlkNDYxN2ZjMDZhN2JlNDEyMzVjZi5qcGVn"; item["url"] = "mylistings-103027260.property"; item["desc"] = "$830,000 : 201 3530 CAMBIE STREET Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/103027260/img/ribbon/custom-banner?txt=Sold+CO-OP&c=#d0021b"; item["recipLogo"] = ""; item["attribution"] = "Listed by: Jennifer Ricci PREC*, Macdonald Realty"; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/P7dYYmGOjoU7PEUcilUGENdvYFJPclpB6yTBacO-hAw/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzgvNS8zLzEwMjkyMTM1OC80NGIwNWI3MWYzNWQ2OTA5MmNmYWExMjNlM2VhMDA4Mi5qcGc"; item["url"] = "mylistings-102921358.property"; item["desc"] = "$3,450 /mth : xxx 4675 Cambie Street Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/102921358/img/ribbon/custom-banner?txt=Rented+-+FURNISHED&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/VEk--eCIuN1sXJakk_Z5grfup_6u60efXbIf95Ivju4/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/lJx0gqacOOzleJb79WShh6Ivjixe10rgmZDcM-GDRGA/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzkvOS80Lzk4ODY4NDk5LzJkNTg3ZTgxOGNiYWI0Njg2NGQ5NzcyOWE0NTMwZDUzLmpwZWc"; item["url"] = "mylistings-98868499.property"; item["desc"] = "$2,395,000 : 1201 1835 MORTON Avenue Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/98868499/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/-cbb0wxU3bXHGzi5rfdLkfWLqMEaIZIHOdMRxaJRBPY/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzAvOS8zLzEwMjgzMDM5MC8wYzFhNTkwNTQ4MGE1Yzk0YjY2NGM5OTQ3NTI2NTk1NC5qcGVn"; item["url"] = "mylistings-102830390.property"; item["desc"] = "$2,800 /month : xxx 438 Seymour Street Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/102830390/img/ribbon/custom-banner?txt=Rented&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/qfLoncA-vUWXdwANhn15NdwxnT_zOscejWRX3vWBLKs/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzUvOS84LzkyMTA0ODk1L2NjYmQ4MzFhMWUzZjkyMWUxZGNhN2NmNWJmZmJhYTdmLmpwZw"; item["url"] = "mylistings-92104895.property"; item["desc"] = "$[***] /mth : 2xxx W 15 Avenue Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/92104895/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/KQstaE33QAFT1QC35a2JuP6N_FZEPHK1c5jps_dwvr4/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzUvMi81Lzk3MzI3NTI1LzE2NDY0OTEyNTMzMTY5YzE1OTA0NTA0Mjc5ZWFlNzIzLmpwZWc"; item["url"] = "mylistings-97327525.property"; item["desc"] = "$924,000 : 902 1165 BURNABY Street Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/97327525/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/6RS4mPncCOd2vyIRm08gWxb2XZXfZwr94bTxoStEHSo/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzgvNi8yLzEwMTg0MjI2OC9mNmE2M2U3YzgwMzNiNzQ4ZGRkZjNkMzIxNGFmNzY0MS5qcGc"; item["url"] = "mylistings-101842268.property"; item["desc"] = "$[***] /mth : 19xx 5665 BOUNDARY ROAD Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/101842268/img/ribbon/custom-banner?txt=Rented&c=#d0021b"; item["recipLogo"] = ""; item["attribution"] = "Rennie & Associates Realty Ltd."; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/XB5EQAoumCtaWkJIlLgoPm8j3BexeBQj8Kbwx4mVEl4/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzgvMS80LzEwMDMyMzQxOC83NTI4NmQ1ZDA2NDcwZDk2NmIwZmNiMjQ2MjFjOGEzMC5qcGc"; item["url"] = "mylistings-100323418.property"; item["desc"] = "$749,000 : 1504 1816 HARO STREET Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/100323418/img/ribbon/custom-banner?txt=Sold&c=0xF80000"; 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/yGEOSKdKddSfkGviNAkvabi4UFRjwYfyVRmZ7YzzlAY/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzkvMC8zLzEwMTI1NTMwOS8zMTk1MjMxZjRkOTU4OWE5MjBiNmM4NDk4MWFjY2NjZC5qcGVn"; item["url"] = "mylistings-101255309.property"; item["desc"] = "$2,300 /mth : 6xx 1010 Howe Street Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/101255309/img/ribbon/custom-banner?txt=Rented&c=0xF80000"; 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/ZdomrCfgzmpTnWJJ1pU7aRZW2c3UzVyipTekGT0Z5lI/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzYvMC85LzEwMDM1NzkwNi9jZDMxMDM1NjZmZjdkYzY4NWViNmI0NTY2Yzg4ZjY1YS5qcGc"; 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/custom-banner?txt=Rented&c=0xF80000"; item["recipLogo"] = ""; item["attribution"] = "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/88dyvM3fkDujDXRvigRCYPSfCy1fv63uYPLQH6Sla8M/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzcvMi8yLzkzODc4MjI3LzMyNWU3Mjg5NDE2NjkwZDYwNGVhZWM1MzZlNDE4OWEwLmpwZWc"; item["url"] = "mylistings-93878227.property"; item["desc"] = "$1,098,000 : 310 1485 W 6TH Avenue Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/93878227/img/ribbon/custom-banner?txt=Sold&c=0xF80000"; 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/4l--hFGnl98CuyXU40HGDYvw8EPLXIA7XVJE6AbNYhA/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzYvOC81Lzk5MTIxNTg2L2MxZTJkYmI1NzViYjljYzQwZWRkMGY0MzI0ZGVjNjIwLmpwZWc"; item["url"] = "mylistings-99121586.property"; item["desc"] = "$588,000 : 501 1315 CARDERO STREET Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/99121586/img/ribbon/custom-banner?txt=Sold&c=0xF80000"; 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/DcvdljUru6rv7GN0Aof1BFHzoRPFANB2EplTX6sd8Po/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzUvNi83Lzk4Mzg4NzY1LzcxOTdjYjM5MzVkNjBjNzI3YmFjZWJjZTdhM2MzNjI4LmpwZWc"; item["url"] = "mylistings-98388765.property"; item["desc"] = "$[***] /mth : 19xx 5665 BOUNDARY ROAD Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/98388765/img/ribbon/custom-banner?txt=Rented&c=0xF80000"; item["recipLogo"] = ""; item["attribution"] = "Rennie & Associates Realty Ltd."; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/S5P_UdteG1qfD0bYQEUa7DjVXmWcUdjbW6WdC2HhTKc/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzEvNi84Lzk3NjE2ODYxLzg2MzY5OTZiYmI4ODc3Yjg3MDhlYTZhMTJiOGQ4NmYxLmpwZWc"; item["url"] = "mylistings-97616861.property"; item["desc"] = "$799,000 : 412 155 E 3RD STREET North Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/97616861/img/ribbon/custom-banner?txt=Sold&c=0xF80000"; item["recipLogo"] = ""; item["attribution"] = "Oakwyn Realty Ltd."; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/zr_6XEtmnIsBjONfnvGfb12UqETuIcXypw0ytP6q67o/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzkvOS84Lzk4Mzg3ODk5LzcxOTdjYjM5MzVkNjBjNzI3YmFjZWJjZTdhM2MzNjI4LmpwZWc"; item["url"] = "mylistings-98387899.property"; item["desc"] = "$549,900 : 1910 5665 BOUNDARY ROAD Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/98387899/img/ribbon/custom-banner?txt=Sold&c=0xF80000"; item["recipLogo"] = ""; item["attribution"] = "Rennie & Associates Realty Ltd."; mrp_slideroll_images_50893.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/ZX8G77OfDJJB6yepS-eUb8_LYeLDQ8vty1C2hpms-Ko/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzMvMC8xLzk4Mzg4MTAzLzM4NmE4YmIxYmU4ODM5YzhmY2I5ODIyMTBkMGI3MTRjLmpwZWc"; item["url"] = "mylistings-98388103.property"; item["desc"] = "$624,800 : 306 155 E 3RD STREET North Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/98388103/img/ribbon/sold-banner"; 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/afZ-Zgb-H7odxeXSHwWOR59tSe7rR8hrfhwMIm7EJLE/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzcvMy8yLzg5OTY2MjM3L2Y3NmY3MmE5ZWVjYTVhOGIyNjU3NjQ1ODdkMTBjMjEyLmpwZw"; item["url"] = "mylistings-89966237.property"; item["desc"] = "$1,198,000 : 17 1250 W 6TH Avenue Vancouver"; item["banner"] = "//res.myrealpage.com/wps/rest/29049/l/showcase/89966237/img/ribbon/custom-banner?txt=Sold&c=0xF80000"; item["recipLogo"] = ""; item["attribution"] = "Listed by RE/MAX Crest Realty"; mrp_slideroll_images_50893.push( item ); document.write( "" + "" ); document.write( "\n
\n\t\n\t
\n\t\t\n\t\t\t