_rtAddLoadEvent720(_rtResolveBadge720); function _rtAddLoadEvent720(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); } } } function _rtResolveBadge720() { _rtAddCSS720('https://www.responsibletravel.com/badge/css.asp?sid=100001&i=720'); _rtBuildBadge720(); } function _rtGetElement720(pID) { if(document.all) {return document.all[pID];} else{return document.getElementById(pID);} } function _rtBuildBadge720() { _rtGetElement720("_rtBadge720").innerHTML = 'responsibletravel.com recommends Homestays Morocco' + ''; } function _rtAddCSS720(pUrl) { if(document.createStyleSheet) { document.createStyleSheet(pUrl); } else { var styles = "@import url(' " + pUrl + " ');"; var newSS=document.createElement('link'); newSS.rel='stylesheet'; newSS.href='data:text/css,'+escape(styles); document.getElementsByTagName("head")[0].appendChild(newSS); } }