var openWidget = function() { document.getElementById('fc_frame').style.visibility = 'visible'; window.fcWidget.open(); };