function outputButton(left, top, language)
{   
    
    var is_ie6 = (
        window.external &&
        typeof window.XMLHttpRequest == "undefined"
    );
    
    var flashContainer = document.getElementById("OTMPVoken");
    var alternativeContent = document.createElement('span');
        
    alternativeContent.style.position = 'absolute';
    alternativeContent.style.height = 180;
    alternativeContent.style.width = 180;
    alternativeContent.style.top = top;
    alternativeContent.style.left = left;

    var alternativeContentImageFileName = '';
    var alternativeContentLongDescription = '';
    var alternativeContentURL  = '';

    if (language == 'en')
    {
        if (is_ie6)
        {
            alternativeContentImageFileName = 'swf/noFlashEN_ie6.png';
        }
        else
        {
            alternativeContentImageFileName = 'swf/noFlashEN.png';
        }
        
        alternativeContentLongDescription = 'Click here to explore Ontario\'s provincial attractions';       
        alternativeContentURL = 'http://www.ontariotourismpublications.com/log.aspx?vok=www.ontariotravel.net/attractions';
    }
    else
    {
        if (is_ie6)
        {
            alternativeContentImageFileName = 'swf/noFlashFR_ie6.png';
        }
        else
        {
            alternativeContentImageFileName = 'swf/noFlashFR.png';
        }
        
        alternativeContentLongDescription = 'Cliquez ici pour explorer les attractions provinciales de l\'Ontario.';   
        alternativeContentURL = 'http://www.ontariotourismpublications.com/log.aspx?vok=www.ontariotravel.net/TcisCtrl?site=consumers&amp;key1=experiences&amp;key2=FeatureAttractions&amp;language=FR&amp;linkType=I';                
    }
    
    alternativeContent.innerHTML = '<a href="' + alternativeContentURL + '"><img border="0" src="' + alternativeContentImageFileName + '" width="180" height="180" alt="Advertisement" longdesc="' + alternativeContentLongDescription  + '" /></a>';
    
    flashContainer.appendChild(alternativeContent);
        
    var flashvars = {languageID: language};
    var params = 
        {
      menu: "false",
      scale: "noscale",
      salign: "tl",
      wmode: "transparent",
      allowfullscreen: "false"
        };
    var attributes = 
        {
      style: 'position: absolute; height: 180px; width: 180px; top: ' + top + 'px; left: ' + left + 'px; visibility: visible;'
    };

    swfobject.embedSWF("http://ontariotourismpublications.com/OTMPVoken.swf", "OTMPVoken", "180", "180", "9.0.115", null, flashvars , params, attributes);    
}
