<?xml version="1.0" encoding="UTF-8" ?> 
<Module>
  <ModulePrefs title="Destination Hotels &amp; Resorts Booking Widget" description="Destination Hotels &amp; Resorts Booking Widget" screenshot="http://www.esiteinteractive.com/swamp/widget.gif"  thumbnail="http://www.esiteinteractive.com/swamp/widget.png" title_url="http://www.destinationhotels.com/" author="Destination Hotels &amp; Resorts"  author_email="engineering@esitemarketing.com" height="530" width="370" scaling="true" scrolling="false"> 
  	<Locale lang="en" country="us" />
	<Require feature="dynamic-height"/>
  </ModulePrefs>
  <Content type="html">
     <![CDATA[ 
<iframe id="widgetIFrameDHR" scrolling="no" frameborder="0" style="margin:-5px 0 -35px 0;width:100%;height:100%;border:0px" src="http://www.esiteinteractive.com/swamp/facebook.html"></iframe>
	<script type="text/javascript">
	
	function resizeToMax() 
	{
   
		var wdiv = document.getElementById('widgetIFrameDHR');
		wcontent = wdiv.parentNode;
		var wwidth = 390;
		if( document.body.clientWidth ) {
		wwidth = document.body.clientWidth;
		} else if( window.innerWidth ) {
		wwidth = window.innerWidth;
		}
		var newH = 1.4 * wwidth;
		newH = newH > 540 ? 540 : newH;
		wcontent.style.height = (parseInt(newH)-20) + 'px';
		_IG_AdjustIFrameHeight();
		
	}
	
	window.onresize = function(evt) 
	{
		resizeToMax();
	}

        window.onload = function (evt)
        {
                resizeToMax();
        }
    </script>
     ]]>
     
  </Content> 
</Module>
