(function() { var nodes = document.getElementsByTagName('head'); var length = nodes.length; if(nodes.length > 0) { var iframe = document.createElement('iframe'); var is_https = ('https:' == document.location.protocol); var server = (is_https ? 'https://ssl.socdm.com' : 'http://tg.socdm.com'); iframe.src = server + "/aux/sosync"; iframe.width = 1; iframe.height = 1; (iframe.frameElement || iframe).style.cssText = 'position:absolute;border:none;padding:0;margin:0;display:none;visibility:hidden'; nodes[0].appendChild(iframe); } })();