function displayBigAd(seconds, hideId){
        document.write('<style>#'+hideId+'{display:none;} body{height:100%;}</style>');
        document.write('<div id="'+adElementId+'">');
        document.write('<div class="topLeft">Mainos</div>')
        document.write('<div class="topRight"><a onClick="closeAd();" href="javascript:void(0);">Sulje</a></div>')
        EAS_2153();
        document.write('</div>');
        hideIdVar = hideId; //hideId needs to be put to global var, so setTimer can use it as argument.
        setTimeout("hideBigAd(hideIdVar)", seconds * 1000);
}
function hideBigAd(showId,container){
    if (container == null) container = document;
    var ad = container.getElementById(adElementId);
    ad.style.display = 'none';
    var content = container.getElementById(showId);
    content.style.display = 'block';
}
