function showSignin() { if (document.getElementById('oid_hidden') !== undefined) { document.getElementById('oid_hidden').id = 'oid_wrapper'; } } function hideSignin() { if (document.getElementById('oid_wrapper') !== undefined) { document.getElementById('oid_wrapper').id = 'oid_hidden'; } } function createSignin() { var div = document.createElement('div'); var content = '
'; div.innerHTML = content; document.body.appendChild(div.firstChild); } //Make unselectable elements unselectable (hack for IE 9.0 and below, which doesn't support our CSS) $(document).ready(function() { if ($.browser.msie && $.browser.version < 10) { $('.unselectable').find(':not(input)').attr('unselectable', 'on'); } });