<script>
var Ad_widget = {
ad_unit : "sa_ads47",
zone : 0,
num_ads : 1,
ad_rotation : 1,
ad_rotation_delay : 15,
no_rand : 1
};
</script>
<div id="sa_ads47"></div>
<script type="text/javascript" src="https://communitymarketplace.ca/media/com_sa/js/sawidget.min.js?b3c70a640f39373ddd1f665a4c9d96d5&ifseamless=1"></script>
<script type="text/javascript" >
// browser compatibility: get method for event 
// addEventListener(FF, Webkit, Opera, IE9+) and attachEvent(IE5-8) 
var myEventMethod = window.addEventListener ? "addEventListener" : "attachEvent" 
// create event listener
 var myEventListener = window[myEventMethod]; 
// browser compatibility: attach event uses onmessage
var myEventMessage = myEventMethod == "attachEvent" ? "onmessage" : "message"; 
// register callback function on incoming message
myEventListener(myEventMessage, function (e) { 
	// we will get a string (better browser support) and validate 
	// if it is an int - set the height of the iframe #my-iframe-id 
	if (e.data === parseInt(e.data)) 
		document.getElementById("idIframe_sa_ads47").height = e.data + "px"; 
}, false); 
</script>