Thanks to David Cumps I added a google search to my blog. It did take a little tweeking though :) Be sure to change “pmenefee“ to your blog directory.
<SCRIPT type=text/javascript>
function blogSearch(event, oInput) {
var keyCode = (event) ? event.keyCode : keyStroke.which;
if (keyCode == 13) {
top.location = 'http://www.google.com/search?q=' + oInput.value + '+inurl%3Apmenefee+%3Ageekswithblogs.net';
return false;
}
return true;
}
function blogSearch2(oInputId) { <BR>var oInput = document.getElementById(oInputId);
top.location = 'http://www.google.com/search?q=' + oInput.value + '+inurl%3Apmenefee+%3Ageekswithblogs.net';
return false;
}
</SCRIPT>
UPDATE: Given the legal ramifications of placing this search script on your page; I'm pulling it off of mine.