//document.writeln("");
document.writeln("");
document.writeln("
");
$(function() {
$('#hotwords').keypress(
function(event) {
var keycode = (event.keyCode ? event.keyCode : event.which);
if (keycode == '13') {
hello();
}
});
$('#zoom img').removeAttr('title');
})
function hello() {
var query = $("#hotwords").val();
if (query == '请输入关键字' || query == '') {
//alert('请输入关键字!');
layer.open({
title: '提示消息'
//,btn: ['确定']
,content: '请输入关键字!'
});
return false;
} else {
//$("#category").val($("#hot_search").text());
return true;
}
}
function jrobotFocus(){
var qVal = $("#hotwords").val();
if (qVal == '请输入关键字'){
$("#hotwords").val('');
}
}
function jrobotBlur(){
var qVal = $("#hotwords").val();
if (qVal == ''){
$("#hotwords").val('请输入关键字');
}
}