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_13211 = []; var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/_h80GjsJ2RZD2EQRHZ3OZZlGZueGbK7gChYCHrIciZ0/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzEvMS8xLzEwNjI1MjExMS9kZThlZDhkY2VkMmNmNDNlZmM2MjBmNWE4MDI4NDkzNC53ZWJw"; item["url"] = "recip-106252111.property"; item["desc"] = "$2,840,000 : 1058 Isabella Avenue Coronado"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); item["current"] = true; var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/SEKvEwGnU5OByYTodhyBVEtUtrLUtw8NFVqcGg9gc5Y/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzUvOS8yLzEwODY4MTI5NS9kNGM1YTQ3YWQxNGM5MWJiYjBiZDYzNGJmM2E4Zjc0ZC53ZWJw"; item["url"] = "recip-108681295.property"; item["desc"] = "$3,999,000 : 1054 Isabella Avenue Coronado"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/Z85UqbemkL_WDf06_XVcRn4wrnAEeefivqXl9pxLD3M/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzkvMC85LzEwODkwODkwOS8zOGJkMDdhYzU3NTc2MzU1MzUzNzk5ODdkZWY2YzcwYi53ZWJw"; item["url"] = "recip-108908909.property"; item["desc"] = "$4,999,999 : 950-958 B Avenue Coronado"; item["banner"] = "//res.myrealpage.com/wps/rest/16092/l/showcase/108908909/img/ribbon/new-banner"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/_0HUAkjz-emVMtpnPRdj4AD50ynoxvldRc5nFCCKrZ0/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzAvMi82LzEwOTAwOTYyMC8yZGJhYjg0M2JlNjU1NmEzZjAyYWY1NDI3ZDFiZjY5Yy53ZWJw"; item["url"] = "recip-109009620.property"; item["desc"] = "$2,995,000 : 473 D Avenue Coronado"; item["banner"] = "//res.myrealpage.com/wps/rest/16092/l/showcase/109009620/img/ribbon/new-banner"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/ygH6N7fK4YBkrQpfh0jSlPXGUjLh9As7u4arffKMnf4/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzQvMy8yLzEwODY4MzIzNC8xODY2NzdjNTgzZmUyYzBlZDVhYjMxZmViODA1MjJlZS53ZWJw"; item["url"] = "recip-108683234.property"; item["desc"] = "$3,999,000 : 1056 Isabella Avenue Coronado"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/JoertuKTr0mEnDoV983Y15gWTFE0lMDEFiTR7AHiisw/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzYvNC8wLzEwODQxOTA0Ni84ZWMyYzAwNjJiYmMxYTI3YTYzNjM5YWQ2ZDI2NmFkNy53ZWJw"; item["url"] = "recip-108419046.property"; item["desc"] = "$2,450,000 : 141 Orange Avenue # 306 Coronado"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/jG6G6jBAQkjwaAttjIqmAdNrkD6dCMNuFcUTbDoqHi4/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzkvMy82LzEwODc3MzYzOS9kZTAxMjBjNWFmZGM4MDI5OWNkZWNhZjg5MDAwMzAwNC53ZWJw"; item["url"] = "recip-108773639.property"; item["desc"] = "$2,100,000 : 1411 1st Street Coronado"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/pbmzf-JNqHNnmwNb1AMCpccgZqTDFzZcUWsEtt9mRWg/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzQvMy8yLzEwOTAxNzIzNC80ZjA4M2M5Y2Y3YmVkMTRhOTJhZjcyY2RlYjI2OWUzYi53ZWJw"; item["url"] = "recip-109017234.property"; item["desc"] = "$1,025,000 : 933 D Avenue Coronado"; item["banner"] = "//res.myrealpage.com/wps/rest/16092/l/showcase/109017234/img/ribbon/new-banner"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/o5CaaaQ8_j0txhWhbm_oktnonNjQjHdYzyp6SACP34w/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzAvNi8zLzEwODYwMjM2MC9hMGIwN2Q0ZTQ4YzAzOTk4OTliYjkzZjIyZGY3ZWM0NS53ZWJw"; item["url"] = "recip-108602360.property"; item["desc"] = "$5,950,000 : 640 Coronado Avenue Coronado"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/bsTrBh6XFVzUdyhgUTPHxXqrGooW5RvhGaEtCarRn40/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzgvNy8zLzEwODkxMTM3OC81MDZkYWIzNzk5YjliOGFlYTJiNThlN2ZlOTQ5ZWMxOC53ZWJw"; item["url"] = "recip-108911378.property"; item["desc"] = "$6,000,000 : 1099 1st Street # 112 Coronado"; item["banner"] = "//res.myrealpage.com/wps/rest/16092/l/showcase/108911378/img/ribbon/new-banner"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/QFCLjGlOUtwCJnhZajg-rQxP-iuhhKMSZJOrGWTJoEY/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzQvMi82LzEwODgwOTYyNC9lYjZkMjI1MzAwNTViNjhlMGFkZDBmZjcxZGE1MTgzOS53ZWJw"; item["url"] = "recip-108809624.property"; item["desc"] = "$2,700,000 : 1760 Avenida del Mundo # 510 Coronado"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/gftHQ9w4yeaDx1AITYOw0SwMUlBjLODaFTZ5RqaUpw0/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzYvMy8wLzEwODM0NjAzNi81MmRjYjJhODI5MTIxYjRiYmJkODliZTY0NjY5Y2JlMi53ZWJw"; item["url"] = "recip-108346036.property"; item["desc"] = "$1,799,000 : 106 Antigua Court Coronado"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/LskZ_0ic2U4IP_jdVHbFhVXLRAcg5m_Pj-cKIThAsOY/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzQvMS85LzEwODU0MTkxNC9kZTU3NDRkNGYzMzM3ODExZTFmZTM3ZWJmOWVkNDY4YS53ZWJw"; item["url"] = "recip-108541914.property"; item["desc"] = "$4,995,000 : 531 J Avenue Coronado"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/LsW_SlQ1CzbHHRoqsmlYbbAQzmJQxa3zLYVAUoUmuFU/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzkvMi81LzEwODUwODUyOS84NGZjMGVlY2U2N2I0MTI1NjU5MTgxOTVmMzk4YTU1OC53ZWJw"; item["url"] = "recip-108508529.property"; item["desc"] = "$1,295,000 : 333 Orange Avenue # 16 Coronado"; item["banner"] = "//res.myrealpage.com/wps/img/pixel.gif"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); var item = {}; item["img"] = new Image(); item["img"].src = "https://iss-cdn.myrealpage.com/civdDGvyk17YKeGxyUv1DorjpGpj0CQcT1_2A90y1z8/rs:auto:0:0:0/g:sm/aHR0cDovL3MzLmFtYXpvbmF3cy5jb20vbXJwLWxpc3RpbmdzLzQvMS8wLzEwODk4OTAxNC9mNWUyYWYwNjlmYjcwN2QwODFjZGRlNzZiNWUyYzAzNS53ZWJw"; item["url"] = "recip-108989014.property"; item["desc"] = "$4,200,000 : 736-38 I Coronado"; item["banner"] = "//res.myrealpage.com/wps/rest/16092/l/showcase/108989014/img/ribbon/new-banner"; item["recipLogo"] = "\"Data"; item["attribution"] = "Listed by Berkshire Hathaway HomeServices California Properties"; mrp_slideroll_images_13211.push( item ); document.write( "" + "" ); document.write( "\n
\n\t\n\t
\n\t\t\n\t\t\t