Code
<!-- начало поиска -->
<style type="text/css">
#mail_ru_Suggest .sWrap table.sList {border-collapse: collapse;}
#mail_ru_Suggest .sWrap table.sList td {border: 0;}
#mail_ru_Suggest .sWrap table.sList td.squery div {width: 186px;}
#mail_ru_Suggest a.sClose {color:#0857A6; font-family: Arial; cursor:pointer; _cursor: hand; text-decoration:underline;}
#mail_ru_Suggest a.sClose:hover {text-decoration:none;}
.search form {padding: 0; margin: 0;}
.search td {vertical-align: top;}
.search input.field {background: url('http://img.imgsmail.ru/mail/ru/images/mail_field_bg.gif') left top repeat-x; height:23px; padding:4px 3px 2px 3px; min-width:100% !important; width:auto !important; width:100% !important; border:0; font:12px Tahoma, Verdana, Arial, Helvetica, sans-serif; color:#999;}
* html .search input.field {margin-top: -1px;}
.search .pt {padding-top:3px;}
</style>
<img src=http://img.imgsmail.ru/0.gif width=10 height=10><br>
<div class="search">
<form id="Msearch" action="http://go.mail.ru/search" method="get" target="_blank">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="37"><img src="http://img.imgsmail.ru/mail/ru/images/mail_loupe2.jpg" alt=""><br><img src=http://img.imgsmail.ru/0.gif width=37 height=1></td>
<td class="pt" width="3"><img src="http://img.imgsmail.ru/mail/ru/images/mail_field_l.gif" alt=""></td>
<td class="pt" width="100%"><input name="q" id="q" type="text" class="field" value="Искать в интернете" onFocus="if(this.value=='Искать в интернете') {this.value=''; document.getElementById('findButton').disabled = false;}" onBlur="if(this.value=='') {this.value='Искать в интернете'; document.getElementById('findButton').disabled = true;}"></td>
<td class="pt" width="11"><img src="http://img.imgsmail.ru/mail/ru/images/mail_field_r.gif" alt=""><br><img src=http://img.imgsmail.ru/0.gif width=11 height=1></td>
<td class="pt"><input name="" type="submit" disabled value="Найти" id="findButton"></td>
</tr>
</table>
</form>
</div>
<script type="text/javascript">
(function(){
if (typeof Suggest == "undefined" || !Suggest) {return;}
var q = document.getElementById("q"), qForm = document.getElementById("Msearch");
Suggest.prototype.fieldFocus = function(){ };
Suggest.prototype.suggestBlockPosCorrect = function(obj) {
var h = this.field.offsetHeight;
var pos = absPosition(this.field);
var x = pos.x;
var y = pos.y;
obj.style.left = (x-2) + "px";
obj.style.top = (y+h) + "px";
obj.style.width = 200 + "px";
return obj;
};
var suggest = new Suggest(
{
field: q,
form: qForm,
formSubmitFunc: function(){
if (suggest.fieldValueCheck()) {
if (suggest.submitType == "keydown" || suggest.submitType == "click") {
this.appendChild(createElement("input",{
type: "hidden",
name: "us",
value: suggest.fieldPrevValue.length
}));
}
qForm.submit();
}
} ,
formSubmitFuncAttr: [],
suggestBlockID: "mail_ru_Suggest",
sReqMethod: "GET",
sReqUrlHost: "",
sReqUrlScript: "/suggest",
sReqUrlParam: {
cp: ["fieldCurrentValueLength"],
q: ["fieldCurrentValueEncode"],
parseJSON: 1,
toJSONString: 1
}
}
);
})();
</script>
<!-- конец поиска -->