function resizeIframe(frame) { if (frame == null) { return true; } var docEl = null; var isFirefox = navigator.userAgent.search("Firefox") >= 0; if (isFirefox && frame.contentDocument != null) { docEl = frame.contentDocument.documentElement; } else if (frame.contentWindow != null) { docEl = frame.contentWindow.document.body; } if (docEl == null) { return; } frame.style.height="0px"; var maxWidth = docEl.scrollWidth; var maxHeight = (isFirefox ? (docEl.offsetHeight) : (docEl.scrollHeight)); frame.width = maxWidth; frame.height = maxHeight; frame.style.width = frame.width + "px"; frame.style.height = frame.height + "px"; if (maxHeight > 20) { frame.height = maxHeight; frame.style.height = frame.height + "px"; } else { frame.style.height = "100%"; } if (maxWidth > 0) { frame.width = maxWidth; frame.style.width = frame.width + "px"; } else { frame.style.width = "100%"; } } (function () { var id = "df1b921c4f011706266909d176d8e27c0e3f9010", wHTML = '', baseURL = 'https://www.fisioterapia-online.it/', imgsPath = 'images/legacy_js_widget', canonical = 'https://www.fisioterapia-online.it/fisioterapista/enricomaria-mattia.html'; maxWidth = '200'; widgetVd = '1'; skinType = 'light'; wD = {"value":"91","label":"Dott. Enricomaria Mattia","text":"Dott. Enricomaria Mattia","linkTo":"profile","image":"logo.png","extra":{"type":null,"data":{"title":null,"image":null,"url":null}},"starsvalue":5,"starscount":7,"stars":5,"profile_image":{"style":"position: absolute; left: 50%; margin-left: -40px; top: 50%; margin-top: -40px;","src":"https:\/\/cdn.fisioterapia-online.it\/uploads\/2023\/03\/24\/thumb\/s_w80_h80\/relatore-e-formatore-1122.png","bigsrc":null,"width":50,"height":50,"didascalia":null,"ori":null}}; wTarget = "_blank"; var init = function () { var wHTML = '
'; for(i = 1; i <= 5; i++){ if(wD.starsvalue >= i || wD.starsvalue > i+0.5){ headText += ''; } else if(wD.stars >= i-0.5) { headText += ''; } else { headText += ''; } } headText += ' ('+wD.starscount+')
'; } wHTML+= ''; /*if (wD.value == "91") { wHTML+= ' '; }*/ wHTML+='