<form dir="rtl" align="right" name="jksearch" action="http://www.google.com/search" method="get" target="_blank" onSubmit="jksitesearch(this)">جستجو در این وب:<br />
<input id="hiddenquery" type="hidden" name="q" />
<input name="qfront" type="text" style="width: 200px" value="" /> <input type="submit" value="جستجو" /><br />
<div style="font: bold 11px Verdana;direction:ltr;text-align:right">Google<input name="se" type="radio" checked> Yahoo<input name="se" type="radio"> MSN<input name="se" type="radio">
</div>
<script type="text/javascript">
//Enter domain of site to search.
var domainroot="www.moisrex.r98.ir"
var searchaction=[
"http://www.google.com/search",
"http://search.yahoo.com/search",
"http://search.msn.com/results.aspx"
]
var queryfieldname=["q","p","q"]
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.checked==true)
switchaction(document.jksearch.se, i)
}
document.getElementById("hiddenquery").value="site:"+domainroot+" "+curobj.qfront.value
}
</script>
<a href="http://moisrex.r98.ir/" style="display:none">کد متن افکت دار</a></form>