var emsad = {};

emsad.close = function()
{
$('#emsad').hide();
}

emsad.str =     '
<div id="emsad" style="position: fixed; display: block; width: 100%; bottom: 0; left: 0; z-index: 99990">'
    + '<a href="javascript:void(0)" onclick="emsad.close();"
          style="display: block; height: 30px; width: 30px; background: url(http://static.e-monsite.com/ads/adclose.png) repeat scroll 0 -30px transparent; text-indent: -5000000px; margin: 55px 5px 0 5px; z-index: 1103; float: right">Close</a>'
    + '
    <div style="margin: 0 auto; width: 728px; height: 90px">'
        + '
        <iframe src="http://ads.e-monsite.com/autopromo/?lang=fr" border="0" frameborder="0" width="728" height="90"></iframe>
        '
        + '
    </div>
    '
    + '
</div>';

document.write(emsad.str);
