// JavaScript Document
function inputstr(str) {
	return str.replace(/^\s*/,'').replace(/\s*$/,'');
}

function select_place(place)
{
document.getElementById('td_search_'+selected_place).style.background='#FFFFFF';
document.getElementById('td_search_'+selected_place).innerHTML='<div><a href="javascript: select_place(\''+selected_place+'\')">'+m_place[selected_place]+'</a></div>';
document.getElementById('td_search_'+place).style.background='#0070B7 no-repeat url(images/g/rb2w.gif) 100% 100%';
document.getElementById('td_search_'+place).innerHTML='<div><span style="color:#FFFFFF;">'+m_place[place]+'</span></div>';
document.searchformgoods.action=m_scriptsearch[place];
document.getElementById('SearchStr').name=m_scripttext[place];
selected_place=place;
}

(function() { var f = document.getElementById('searchbox_015605016412019076703:r00b7tjig-m'); if (!f) { f = document.getElementById('searchbox_demo'); } if (f && f.q) { var q = f.q; var n = navigator; var l = location; if (n.platform == 'Win32') { q.style.cssText = 'border: 1px solid #7e9db9; padding: 2px;'; } var b = function() {  }; var f = function() { q.style.background = '#ffffff'; }; q.onfocus = f; q.onblur = b; if (!/[&?]q=[^&]/.test(l.search)) { b(); } } })();