if(typeof Lijit=="undefined"){var Lijit=new Object();} if(typeof Lijit.Research=="undefined"){ Lijit.Research = function(dom_id, username, query, display_type, view_id, callback) { this.dom_id = dom_id; this.query = query; this.display_type = display_type; this.username = username; this.view_id = view_id; this.callback = callback; if(typeof Lijit.Tools == "undefined") { this.script('http://www.lijit.com/res/js/lijit.tools.js'); this.loadcheck("Lijit.Tools"); } else { this.display(); } }; Lijit.Research.prototype = { script:function(url) { try { var s = document.createElement('script'); s.src = url; s.type = 'text/javascript'; s.defer = true; var h = document.getElementsByTagName('head').item(0); h.appendChild(s); } catch(e) { } }, loadcheck:function(obj) { if(eval("typeof " + obj) == "undefined") { var __method = this.loadcheck; var args = arguments; var object = this; var tofunction = function() { return __method.apply(object, args); } setTimeout(tofunction, 1000); } else { this.display(); } }, display:function() { var target = Lijit.Tools.$(this.dom_id); var iframe = document.createElement('iframe'); iframe.src = 'http://www.lijit.com/research/' + encodeURIComponent(this.username) + '?blogMax=2&contentMax=2&netMax=2&q=' + encodeURIComponent(this.query) + (this.view_id ? ("&view_id=" + this.view_id) : "") + '&research_display_type=' + this.display_type; iframe.id = this.dom_id + '_research'; iframe.style.height = this.display_type == "top" ? "162px" : "292px"; iframe.style.width = '100%'; iframe.style.margin = '0'; iframe.style.padding = '0'; iframe.style.border = '0'; iframe.style.overflow = 'hidden'; iframe.style.background = '#fff'; iframe.scrolling = 'no'; iframe.frameborder = '0'; if(target.parentNode.firstChild) target.insertBefore(iframe, target.firstChild); else target.appendChild(iframe); if(typeof this.callback != "undefined") { this.callback(this.query); } } }; } new Lijit.Research('lwp_ri', 'GoodWords', 'baylor stein baylor marks', 'wijit', 'sftQ3ApkPBoAAAmfW14AAAAM',lwp.cb);