Post by Ron White on Mar 31, 2006 1:09:04 GMT -5
Goes in the Global Footer
-+-Win32##Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 (VAUSSU03)##1280 × 768##1-+-
<script>
//Google It v1.0 [CB]
//Copyright 01-25-2005 ~Wonder
//May be reposted anywhere as long as this header remains in tact
//In loving memory of Tess, the best dog in the world. I'll miss you :'(
//Place in Global Footer
//URL to Google Icon
googleIcon="http://img218.imageshack.us/img218/5996/googleicon5xs.gif";
//Google Safe Search on or off
safeSearch="off";
if(document.postForm && document.postForm.color)
{
document.postForm.color.parentNode.innerHTML+="<a href=javascript:add(\"[google]\",\"[/google]\")><img src=\""+googleIcon+"\" alt=\"Google It\" border=\"0\"></a>";
}
if(location.href.match(/action\=(display|pmview|recent|userrecentposts|gotopost|search|calendarview)/) || (!location.href.match(/action\=/) && document.postForm))
{
td=document.getElementsByTagName("td");
for(i=0;i<td.length;i++)
{
if(td[i].width=="20%" && td[i].className.match(/windowbg/))
{
r=td[i].nextSibling.innerHTML.match(/\[google\](.+?)\[\/google\]/i);
if(r!=null)
{
q=RegExp.$1;
td[i].nextSibling.innerHTML=td[i].nextSibling.innerHTML.replace(r[0],"<font style=\"font-family: 'Book Antiqua'\"><font color=0033CC>G</font><font color=CC3300>o</font><font color=DDAA00>o</font><font color=0033CC>g</font><font color=009900>l</font><font color=CC3300>e</font>:</font><a href=\"http://www.google.com/search?hl=en&safe="+safeSearch+"&q="+escape(q.replace(/<\/?.+?>/ig,""))+"\" target=\"_blank\">"+q+"</a>");
i--;
}
}
}
}
</script>
-+-Win32##Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 (VAUSSU03)##1280 × 768##1-+-