function searchSubmit(a){url=a.url.value;query=a.q.value.replace("?","%3F");query=escape(query);query=query.replace(/ /g,"-");query=query.replace(/%20/g,"-");query=query.replace(/%3A/g,":");query=query.replace("--","-");query=query.replace(/\//g,"");RubicusFrontendIns.location=url+"/"+query;return false}function defineLinkMenuBarra(a,b,c,d){var e=document.createElement("li");var f=document.createElement("a");f.setAttribute("href",d);f.setAttribute("class",c);f.innerHTML=a;e.appendChild(f);elmt___ul.appendChild(e)}var divnojs=document.getElementById("GPBarNoJS");if(divnojs){divnojs.parentNode.removeChild(divnojs)}var newelementLINK=document.createElement("link");newelementLINK.setAttribute("href","https://assets.gospelprime.com.br/barra/barraGP.css?v2");newelementLINK.setAttribute("rel","stylesheet");newelementLINK.setAttribute("type","text/css");newelementLINK.setAttribute("media","screen");var tagHead=document.getElementsByTagName("head")[0];tagHead.appendChild(newelementLINK);var tagBody=document.getElementsByTagName("body")[0];tagBody.style.paddingTop="42px";var elmt_topo=document.createElement("div");elmt_topo.setAttribute("id","PlugBarGP-topo");elmt_topo.setAttribute("style","display:none;");var elmt_head=document.createElement("div");elmt_head.setAttribute("id","PlugBarGP-head");var elmt___h1=document.createElement("h1");var elmt__h1a=document.createElement("a");elmt__h1a.setAttribute("href","https://www.gospelprime.com.br/");elmt__h1a.setAttribute("title","Gospel Prime");elmt__h1a.innerHTML="noticias gospel";var elmt___ul=document.createElement("ul");elmt___ul.setAttribute("id","JSgppluginBarraLists");defineLinkMenuBarra("notícias","noticias","noticias","https://noticias.gospelprime.com.br/");defineLinkMenuBarra("música","musica gospel","musica","https://musica.gospelprime.com.br/");defineLinkMenuBarra("vídeos","videos gospel","videos","https://videos.gospelprime.com.br/");defineLinkMenuBarra("estudos","estudos biblicos","estudos","https://estudos.gospelprime.com.br/");defineLinkMenuBarra("artigos","artigos gospel","artigos","https://artigos.gospelprime.com.br/");defineLinkMenuBarra("letras","letras gospel","letras","https://letras.gospelprime.com.br/");defineLinkMenuBarra("cifras","cifras gospel","cifras","https://cifras.gospelprime.com.br/");defineLinkMenuBarra("jogos","jogos gospel","jogos","https://jogos.gospelprime.com.br/");defineLinkMenuBarra("bíblia","biblia on-line","biblia","https://www.bibliapedia.com.br/");var elmt_form=document.createElement("form");elmt_form.setAttribute("method","get");elmt_form.setAttribute("name","search");elmt_form.setAttribute("action","");elmt_form.setAttribute("onsubmit","return searchSubmit(this);");var elmt_inpt=document.createElement("input");elmt_inpt.setAttribute("type","text");elmt_inpt.setAttribute("class","busca");elmt_inpt.setAttribute("name","q");elmt_inpt.setAttribute("id","q");elmt_inpt.setAttribute("size","60");elmt_inpt.setAttribute("onblur","if(this.value == '') { this.value='digite sua busca...' }");elmt_inpt.setAttribute("onfocus","if(this.value == 'digite sua busca...') { this.value = ''; }");elmt_inpt.setAttribute("value","digite sua busca...");elmt_form.appendChild(elmt_inpt);var elmt_inpt=document.createElement("input");elmt_inpt.setAttribute("type","submit");elmt_inpt.setAttribute("class","busca-bt");elmt_inpt.setAttribute("name","sa");elmt_inpt.setAttribute("size","30");elmt_inpt.setAttribute("value","OK");elmt_inpt.setAttribute("title","Buscar Gospel");elmt_form.appendChild(elmt_inpt);var elmt_inpt=document.createElement("input");elmt_inpt.setAttribute("type","hidden");elmt_inpt.setAttribute("name","url");elmt_inpt.setAttribute("value","https://busca.gospelprime.com.br");elmt_form.appendChild(elmt_inpt);var elmt_ifrm=document.createElement("iframe");elmt_ifrm.setAttribute("id","PlugBarGP-GA");elmt_ifrm.setAttribute("src","https://assets.gospelprime.com.br/barra/estatistica.php");elmt_ifrm.setAttribute("width","1");elmt_ifrm.setAttribute("height","1");elmt_ifrm.setAttribute("style","display:none; border:none;");elmt___h1.appendChild(elmt__h1a);elmt_head.appendChild(elmt___h1);elmt_head.appendChild(elmt___ul);elmt_head.appendChild(elmt_form);elmt_head.appendChild(elmt_ifrm);elmt_topo.appendChild(elmt_head);tagBody.appendChild(elmt_topo);GPpluginBarraLists=function(){if(document.all&&document.getElementById){navRoot=document.getElementById("JSgppluginBarraLists");for(i=0;i