<form name="jksearch" action="http://www.google.com/search" method="get" onSubmit="jksitesearch(this)">
<p>Mencari Sesuatu :<br /><br />
<input id="hiddenquery" type="hidden" name="q" />
<input name="qfront" type="text" style="width: 200px" value="Carilah disini" /> <input type="submit" value="Cari" /><br />
<div style="font: bold 11px Verdana;">Google:<input name="se" type="radio" checked> Yahoo:<input name="se" type="radio"> MSN:<input name="se" type="radio">
</div>
<script type="text/javascript">
//masukkan nama domain kalian diantara tanda " (kutip dua) itu jikalau kepengen
var domainroot=""
var searchaction=[ //ini dia 3 search enginenya
"http://www.google.com/search",
"http://search.yahoo.com/search",
"http://search.msn.com/results.aspx"
]
var queryfieldname=["q","p","q"] //nama hidden query form untuk 3 search engine
function switchaction(cur, index){
cur.form.action=searchaction[index]
document.getElementById("hiddenquery".name=queryfieldname[index]
}
function jksitesearch(curobj){
for (i=0; i< document.jksearch.se.length; i++){
if (document.jksearch.se[i].checked==true)
switchaction(document.jksearch.se[i], i)
}
document.getElementById("hiddenquery".value=""+domainroot+" "+curobj.qfront.value
}
</script>
</p>
</form>