function javasearch(id)
{
	a=document.getElementById(id).value;	
	window.location="search.html?stext="+a;
}

function SubmitInputByEnter(e,input)
{
	if ((e.which==13)||(e.keyCode==13))
		javasearch(input);
}