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_68514 = []; var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/XLeOFsF1j5plgag9Q72CB2Ge6mEu1ShmHWJXUCwQfO4/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzEvNy85LzEwNDEwMzk3MS82MGE5Mjc0MTUxNDdkZTk4NmYwZjhkMzIyMDM3N2ZhMS5qcGVn"; item["url"] = "recip-104103971.property"; item["desc"] = "$1,440,990 : 220 Mclaughlin Avenue Halton"; item["banner"] = "//res.myrealpage.com/wps/rest/36144/l/showcase/104103971/img/ribbon/new-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by RE/MAX REALTY SPECIALISTS INC."; mrp_slideroll_images_68514.push( item ); item["current"] = true; var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/1qnSmKU5YoN3PXssWo4tCinU40d_HxtKUswly2-wRCI/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzYvMC80LzEwMzk2NzQwNi8yOGIxMjViZDY4OTc0YzI0MDllOGNjZGU0Mzk3ZTRlNi5qcGVn"; item["url"] = "recip-103967406.property"; item["desc"] = "$1,399,000 : 897 Farmstead Drive Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by ROYAL LEPAGE SIGNATURE REALTY"; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/M4_vHr3LAwBVlYWg-4zP2u22SlCITgbNgHMIOunLcoo/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzQvNi83LzEwMzkwNzc2NC9iYTVhYTcxN2NkYWJkYTdhOTI2OGUwYjFkYjQxY2UzZi5qcGVn"; item["url"] = "recip-103907764.property"; item["desc"] = "$1,309,900 : 171 Leiterman Drive Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by RE/MAX REALTY SPECIALISTS INC."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/-T_1FkZHUsBhfX0tWHU-JsRFyhr5AJu8JGPDbc40gOY/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzgvMy81LzEwNDAxMTUzOC8xNDE2YTFhNTQ0Y2FlMTJkZDY4OTI1YTJiODM1M2JjYi5qcGVn"; item["url"] = "recip-104011538.property"; item["desc"] = "$1,279,900 : 421 Leiterman Drive Halton"; item["banner"] = "//res.myrealpage.com/wps/rest/36144/l/showcase/104011538/img/ribbon/new-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by HOMELIFE/CIMERMAN REAL ESTATE LIMITED"; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/pXiJUoVKKjJir1AvfrQnlK6lj7q99C9rfllUIeTTu6c/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzQvMS81LzEwMzkyMTUxNC8yYjY0Y2Y1NDhiYTk2MThlMGMzNzIzZmQ3ZTY3N2FkYS5qcGVn"; item["url"] = "recip-103921514.property"; item["desc"] = "$1,169,000 : 307 Leiterman Drive Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by RE/MAX REALTY SPECIALISTS INC."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/B-MNRgGugXgnTeY5L2A13T8RVbrrGo2e863nE24dmEY/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzEvNS85LzEwMzg1OTk1MS8zYzNkY2FlMzRkMzk1YmQ0YTVhODMzYzU4Njg2ZmY0ZC5qcGVn"; item["url"] = "recip-103859951.property"; item["desc"] = "$1,150,000 : 436 Tyrone Crescent Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by CENTURY 21 BEST SELLERS LTD."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/vX9BCXeA1tV-258y3ip8tujtvZKBdvVlpvTQ4pS8ElQ/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzkvNS83LzEwMzg4Nzc1OS9mODk1YjVhYzIyMjc1NzE2NzQ0Njc2YzJjZWYzNjU5NC5qcGVn"; item["url"] = "recip-103887759.property"; item["desc"] = "$1,099,000 : 1115 Solomon Court Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by KELLER WILLIAMS REAL ESTATE ASSOCIATES"; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/6WSVh7ghsD6chaE0C0ysN0n3ufWFv8o_N8EFeo8XwLs/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzIvMC83LzEwMzYxNDcwMi9lMjYxMGQ2NDY3NzNjOTRmMzE5NDA3YTM4NWIwZGI0NC5qcGVn"; item["url"] = "recip-103614702.property"; item["desc"] = "$1,060,000 : 856 Miltonbrook Crescent Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by RE/MAX REALTRON REALTY INC."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/XCvH0dtQhpkEG0iMf0JoeNNGfPkfwna5GDs_b1kQIQA/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzYvMi83LzEwMzExNzcyNi9kZWJiNjY0Y2E2ZGVlOWNlMTk4MTA1ZTU5NTVhMTJjMi5qcGVn"; item["url"] = "recip-103117726.property"; item["desc"] = "$1,050,000 : 825 Miltonbrook Crescent Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by IPRO REALTY LTD."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/sIg6sTAUycwZuNatyyP2iKYqW7nuwzGLsGBTdpouq6o/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzgvMy84LzEwMzkzNzgzOC8yYTJlYmVmYzhjMmIyYjBkNjA3MTI1NjBjNDdhZjM3NC5qcGVn"; item["url"] = "recip-103937838.property"; item["desc"] = "$999,000 : 933 Asleton Boulevard Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by RIGHT AT HOME REALTY"; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/g7QMDqaiADeiVHTewKQeX8mgQcnKeXgXwnB492u9mSk/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzcvMC83LzEwNDA3NDcwNy80OTBjZTE1OTFkOTNjYzg2NGRiOGFiNmM0NGRkNDJkYi5qcGVn"; item["url"] = "recip-104074707.property"; item["desc"] = "$949,000 : 127 1000 Asleton Boulevard Halton"; item["banner"] = "//res.myrealpage.com/wps/rest/36144/l/showcase/104074707/img/ribbon/new-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by RE/MAX REAL ESTATE CENTRE INC."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/ZJnCgYuxagR1LeeGhGjKIKM91bkcskbLulMy4uRV8oc/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzgvOS82LzEwMzgzNjY5OC84ZjlkNzRjNzQ5MzMyMzA5YjA4Yzg0Y2U2NzllMjRlYi5qcGVn"; item["url"] = "recip-103836698.property"; item["desc"] = "$948,800 : 39 1000 Asleton Boulevard Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by DANMAR EMPIRE REAL ESTATE CORP."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/qNF5PfqX-3HI2VbhzjRVsGKEQrEil2bRbvHzmrx7IzA/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzMvMS85LzEwNDAwMDkxMy82NDE1YmU4OWVkMDg1YmYzN2IwMGE0NWQ3NGM5ZWI2Ni5qcGVn"; item["url"] = "recip-104000913.property"; item["desc"] = "$899,900 : 47 651 Farmstead Drive Halton"; item["banner"] = "//res.myrealpage.com/wps/rest/36144/l/showcase/104000913/img/ribbon/new-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by RE/MAX REALTRON REALTY INC."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/QmejFLRUhN329FBc_ArHVWgEU4JBfsD5XJ-12a3RMcU/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzgvMC81LzEwMzY5MDUwOC80ZmZiOGJmMzVkYjc3YWQzM2ZmMDgzMmRkOWE5MDI3MS5qcGVn"; item["url"] = "recip-103690508.property"; item["desc"] = "$897,800 : 1052 Haxton Heights Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by MINMAXX REALTY INC."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/aK5vnrK9s7JsCAWePUuepXoF7AiZ5tNzLn75Lpinimg/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzMvMS8wLzEwNDA0NjAxMy81ODMwMDhjZjU4NzM0YWJmZmFmNDI5OTVmOTBiYTNhZS5qcGVn"; item["url"] = "recip-104046013.property"; item["desc"] = "$870,000 : 106 1000 Asleton Boulevard Halton"; item["banner"] = "//res.myrealpage.com/wps/rest/36144/l/showcase/104046013/img/ribbon/new-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by IPRO REALTY LTD."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/-ZoWru08hxkySIUmBg2RHbtVwEtcEtnTpb-e7wJpuW8/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzkvNi8yLzEwMzkwMDI2OS84NDg2NTIyZWRjMWFjYjE2NDhjMTJlN2JlMjRkZDRmNS5qcGVn"; item["url"] = "recip-103900269.property"; item["desc"] = "$864,900 : 85 1000 Asleton Boulevard Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by CITYSCAPE REAL ESTATE LTD."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/iM0EE1bnIgBK6mB51rwyRezdzL1-SN0uKx9YtUWfUAs/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzMvNi8wLzEwNDA1MTA2My84YjllYzNhMjNlYTNlYjZkM2JjZTllYjM4NzhjYmE3Ni5qcGVn"; item["url"] = "recip-104051063.property"; item["desc"] = "$829,000 : 471 Dalhousie Gate Halton"; item["banner"] = "//res.myrealpage.com/wps/rest/36144/l/showcase/104051063/img/ribbon/new-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by ROYAL LEPAGE TERREQUITY REALTY"; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/9I2aBXhEpvsHD3cbP75vd90E9aNXW-RW0g5aS1H95TA/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzgvNi85LzEwNDEwMzk2OC8zNWNhYTkzZDdhNjU5NDg2ZTYxNjk2OTI3NTlkOTc0OC5qcGVn"; item["url"] = "recip-104103968.property"; item["desc"] = "$820,800 : 267 Woodley Crescent Halton"; item["banner"] = "//res.myrealpage.com/wps/rest/36144/l/showcase/104103968/img/ribbon/new-banner"; item["recipLogo"] = ""; item["attribution"] = "Listed by IPRO REALTY LTD."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/LUBSJLqJDRocgWAHwi-8miTZMqQ1gCQV9b0aE5diZnU/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzgvOC8wLzEwMzkzNjA4OC9iMGJiZmUzOTJhY2RkNDlmNGI0ZjgwNGM2NzQ4ZWI3NS5qcGVn"; item["url"] = "recip-103936088.property"; item["desc"] = "$759,000 : 510 610 Farmstead Drive Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by EXECUTIVE HOMES REALTY INC."; mrp_slideroll_images_68514.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/EAkKSCA7fe2SvuECV1tyax5_qMKGfFZGc2iLHZ38PPM/rs:auto:320:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzYvOS85LzEwMzk3Mjk5Ni81MjE1NmQzMjY0YWNkZWZlZjc4YzM3MjhlMWUwMTc1Yi5qcGVn"; item["url"] = "recip-103972996.property"; item["desc"] = "$748,800 : 223 830 Megson Terrace Halton"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = ""; item["attribution"] = "Listed by MINMAXX REALTY INC."; mrp_slideroll_images_68514.push( item ); document.write( "" + "" ); document.write( "\n
\n\t\n\t
\n\t\t\n\t\t\t