function searchForm()
{
	var url = document.Search.strselect.options[document.Search.strselect.selectedIndex].value;
	var strtype= document.Search.strcategories.options[document.Search.strcategories.selectedIndex].value;
	var keyword = document.Search.SearchKeyword.value;
	if (keyword =="" )
	{
		alert("* Please input and search the key word!");
		document.Search.SearchKeyword.focus();
		return false;
	}
	else
	{
	//location.href =url+"?SearchKeyword="+escape(keyword);
	//location.href =url+"?wstype="+strtype+"&SearchKeyword="+keyword;
	location.href =url+"?wstype="+escape(strtype)+"&SearchKeyword="+escape(keyword);
	}
}
function keyDown(e){
  if(event.keyCode==13){
	var url = document.Search.strselect.options[document.Search.strselect.selectedIndex].value;
	var strtype= document.Search.strcategories.options[document.Search.strcategories.selectedIndex].value;
	var keyword = document.Search.SearchKeyword.value;
	if (keyword =="" )
	{
		alert("* Please input and search the key word!");
		document.Search.SearchKeyword.focus();
		return false;
	}
	else
	{
	//location.href =url+"?SearchKeyword="+escape(keyword);
	//location.href =url+"?SearchKeyword="+keyword;
	//document.all.Search.action=url+"?wstype="+strtype+"&SearchKeyword="+keyword;
	document.all.Search.action=url+"?wstype="+escape(strtype)+"&SearchKeyword="+escape(keyword);
	document.all.Search.submit();
	}
  }
}
function scroll(n)
{temp=n;
Out1.scrollTop=Out1.scrollTop+temp;
if (temp==0) return;
setTimeout("scroll(temp)",80);
}
function scroll2(s)
{temp2=s;
Out2.scrollTop=Out2.scrollTop+temp2;
if (temp2==0) return;
setTimeout("scroll2(temp2)",80);
}
function scroll3(s)
{temp3=s;
Out3.scrollTop=Out3.scrollTop+temp3;
if (temp3==0) return;
setTimeout("scroll3(temp3)",80);
}
function scroll4(s)
{temp4=s;
Out4.scrollTop=Out4.scrollTop+temp4;
if (temp4==0) return;
setTimeout("scroll4(temp4)",80);
}
function scroll5(s)
{temp5=s;
Out5.scrollTop=Out5.scrollTop+temp5;
if (temp5==0) return;
setTimeout("scroll5(temp5)",80);
}
function scroll6(s)
{temp6=s;
Out6.scrollTop=Out6.scrollTop+temp6;
if (temp6==0) return;
setTimeout("scroll6(temp6)",80);
}
function scroll7(s)
{temp7=s;
Out7.scrollTop=Out7.scrollTop+temp7;
if (temp7==0) return;
setTimeout("scroll7(temp7)",80);
}
