<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<style> input {border:#565656 1px solid;height:20px;line-height:19px;vertical-align:middle;font-size:12px;color:#565656;}
</style>
<script>
function fEvent(sType,oInput){
switch (sType){
case "focus" :
oInput.isfocus = true;
case "mouseover" :
oInput.style.borderColor = '#f00';
break;
case "blur" :
oInput.isfocus = false;
case "mouseout" :
if(!oInput.isfocus){
oInput.style.borderColor='#565656';
}
break;
}
}
</script>
<form name="form1" method="post" action="search.asp" target="_blank">
搜索:<br/>
名称:
<input type="text" name="name" onmouseover="fEvent('mouseover',this)" onfocus="fEvent('focus',this)" onblur="fEvent('blur',this)" onmouseout="fEvent('mouseout',this)"><br/>
编号:
<input type="text" name="num" onmouseover="fEvent('mouseover',this)" onfocus="fEvent('focus',this)" onblur="fEvent('blur',this)" onmouseout="fEvent('mouseout',this)"><br/>
<br/>