// do not try to convert afftrack cookie if it looks like we are in an iframe if (window.top !== window.self) { setTimeout(function() { document.body.innerHTML = '' }, 1); window.self.onload = function() { document.body.innerHTML = '' }; } else { /*! * $script.js v2.5.8 JS loader & dependency manager * https://github.com/ded/script.js * (c) Dustin Diaz 2014 | License MIT */ (function (name, definition) { if (typeof module != 'undefined' && module.exports) module.exports = definition() else if (typeof define == 'function' && define.amd) define(definition) else this[name] = definition() })('$script', function () { var doc = document , head = doc.getElementsByTagName('head')[0] , s = 'string' , f = false , push = 'push' , readyState = 'readyState' , onreadystatechange = 'onreadystatechange' , list = {} , ids = {} , delay = {} , scripts = {} , scriptpath , urlArgs function every(ar, fn) { for (var i = 0, j = ar.length; i < j; ++i) if (!fn(ar[i])) return f return 1 } function each(ar, fn) { every(ar, function (el) { return !fn(el) }) } function $script(paths, idOrDone, optDone) { paths = paths[push] ? paths : [paths] var idOrDoneIsDone = idOrDone && idOrDone.call , done = idOrDoneIsDone ? idOrDone : optDone , id = idOrDoneIsDone ? paths.join('') : idOrDone , queue = paths.length function loopFn(item) { return item.call ? item() : list[item] } function callback() { if (!--queue) { list[id] = 1 done && done() for (var dset in delay) { every(dset.split('|'), loopFn) && !each(delay[dset], loopFn) && (delay[dset] = []) } } } setTimeout(function () { each(paths, function loading(path, force) { if (path === null) return callback() if (!force && !/^https?:\/\//.test(path) && scriptpath) { path = (path.indexOf('.js') === -1) ? scriptpath + path + '.js' : scriptpath + path; } if (scripts[path]) { if (id) ids[id] = 1 return (scripts[path] == 2) ? callback() : setTimeout(function () { loading(path, true) }, 0) } scripts[path] = 1 if (id) ids[id] = 1 create(path, callback) }) }, 0) return $script } function create(path, fn) { var el = doc.createElement('script'), loaded el.onload = el.onerror = el[onreadystatechange] = function () { if ((el[readyState] && !(/^c|loade/.test(el[readyState]))) || loaded) return; el.onload = el[onreadystatechange] = null loaded = 1 scripts[path] = 2 fn() } el.async = 1 el.src = urlArgs ? path + (path.indexOf('?') === -1 ? '?' : '&') + urlArgs : path; head.insertBefore(el, head.lastChild) } $script.get = create $script.order = function (scripts, id, done) { (function callback(s) { s = scripts.shift() !scripts.length ? $script(s, id, done) : $script(s, callback) }()) } $script.path = function (p) { scriptpath = p } $script.urlArgs = function (str) { urlArgs = str; } $script.ready = function (deps, ready, req) { deps = deps[push] ? deps : [deps] var missing = []; !each(deps, function (dep) { list[dep] || missing[push](dep); }) && every(deps, function (dep) {return list[dep]}) ? ready() : !function (key) { delay[key] = delay[key] || [] delay[key][push](ready) req && req(missing) }(deps.join('|')) return $script } $script.done = function (idOrDone) { $script([null], idOrDone) } return $script }); $script(["//bluehost-cdn.com/media/shared/general/ajax.js", "//bluehost-cdn.com/media/shared/general/plugindetect.js", "//bluehost-cdn.com/media/shared/general/swfobject.js", "//www.bluehost.com/hosting/flash/J/"], function() { var body = document.getElementsByTagName('body')[0]; var trackrDiv = document.createElement('div'); trackrDiv.setAttribute('id', 'trackr'); trackrDiv.innerHTML = '
' + ''; body.appendChild(trackrDiv); (function() { function pricing_flash(c) { if (window.top !== window.self) return; var pscript = document.createElement('script'); pscript.src = '//www.bluehost.com/cgi/price/flash?r=' + escape(document.referrer) + '&c=' + c; pscript.id = 'pscript'; (document.head || document.getElementsByTagName('head')[0]).appendChild(pscript); } function pricing_etag() { if (window.top !== window.self) return; var pscript = document.createElement('script'); pscript.src = '//www.bluehost.com/cgi/price/etag'; pscript.id = 'pscript_etag'; (document.head || document.getElementsByTagName('head')[0]).appendChild(pscript); } function pricing_script() { if (window.top !== window.self) return; var pscript = document.createElement('script'); pscript.src = '//www.bluehost.com/cgi/price/script'; pscript.id = 'pscript_script'; (document.head || document.getElementsByTagName('head')[0]).appendChild(pscript); } function pricing_fingerprint() { if (window.top !== window.self) return; var fp = {}; try { fp.screen = window.screen.width + 'x' + window.screen.height + 'x' + window.screen.colorDepth; } catch(e) {} try { fp.tz = (new Date()).getTimezoneOffset() / 60; } catch(e) {} try { fp.fonts = (window.system_fonts || []).join(); } catch(e) {} try { var plugins = []; for (var i = 0; i < window.navigator.plugins.length; ++i) { var plugin = window.navigator.plugins[i]; var p = [plugin.name, plugin.description, plugin.filename].join(';'); var mimetypes = []; for (var j = 0; j < plugin.length; ++j) { var mimetype = plugin[j]; var m = [mimetype.type, mimetype.suffixes, mimetype.description].join('~'); mimetypes.push(m); } mimetypes.sort(); p += ';' + mimetypes.join('|'); plugins.push(p); } if (plugins.length === 0) { var p = ['activex', 'adobereader', 'devalvr', 'flash', 'iecomponent', 'quicktime', 'realplayer', 'shockwave', 'silverlight', 'vlc', 'windowsmediaplayer']; for (var i = 0; i < p.length; ++i) { var version = PluginDetect.getVersion(p[i]); if (version) { plugins.push(p[i] + '-' + version); } } } plugins.sort(); fp.plugins = plugins.join(); } catch(e) {} (function() { var storage = []; try { sessionStorage.setItem('trackr', 'trackr'); sessionStorage.removeItem('trackr'); storage.push(1); } catch(e) { storage.push(0) } try { localStorage.setItem('trackr', 'trackr'); localStorage.removeItem('trackr'); storage.push(1); } catch(e) { storage.push(0) } try { ieUserDataElement.setAttribute('trackr', 'trackr'); ieUserDataElement.save('oXMLStore'); ieUserDataElement.setAttribute('trackr', 'foo'); ieUserDataElement.load('oXMLStore'); storage.push(ieUserDataElement.getAttribute('trackr') == 'trackr' ? 1 : 0); } catch(e) { storage.push(0) } fp.storage = storage.join(); })(); var keyval = []; for (var prop in fp) { if (fp.hasOwnProperty(prop)) { keyval.push(prop); keyval.push(fp[prop]); } } ajax_post({ url: '//www.bluehost.com/cgi/price/fp', handler: function(r) { eval_script(r.responseText) }, keyval: keyval, withCredentials: true }); } var trackr_record_fonts_timer = window.setTimeout(pricing_fingerprint, 2500); function record_fonts(f) { if (trackr_record_fonts_timer) { window.clearTimeout(trackr_record_fonts_timer); trackr_record_fonts_timer = undefined; } window.system_fonts = f; pricing_fingerprint(); } pricing_etag(); pricing_script(); window.trackr_pricing_flash = pricing_flash; })(); swfobject.embedSWF("//www.bluehost.com/media/shared/general/trackr.swf", "trackr_flash", "1", "1", "4.0.0", false, {"browser_custid":"","post_js":"trackr_pricing_flash"}); var t = new Date(); t = t.getTime(); var url = "//www.bluehost.com/hosting/aff_land?referrer="+escape(document.referrer)+"&rand="+encodeURI(t); $script(url, 'aff_land'); }); } // if window.top !== window.self