<!--

function InputCheck(theForm) {

if (theForm.sSearchword.value.replace(/ /gi,"").length < 3) {
	alert("Please, You must input more than two characters !!");
	theForm.sSearchword.focus();
	return (false);
}
if(theForm.sSort.value==1){
 theForm.adcnt.value='2';
 theForm.action = "http://www.alldatasheet.com/view.jsp?Searchword=" + theForm.sSearchword.value.toUpperCase()+'&q='+ theForm.sSearchword.value.toUpperCase();  
//  theForm.action = "http://www.alldatasheet.com/view.jsp?Searchword=" + theForm.sSearchword.value.toUpperCase(); 
 }
 else theForm.action = "http://category.alldatasheet.com/index.jsp?Searchword=" + theForm.sSearchword.value.toUpperCase() + '&q=' + theForm.sSearchword.value.toUpperCase();
theForm.seekcls.value='ON';
return(true);
}

function sda(data,tmpfileld) {
frmSearch.sSearchword.value = data;
frmSearch.adcnt.value=1;
frmSearch.sSort.value = 1;
frmSearch.sField.value = tmpfileld;
frmSearch.action='http://www.alldatasheet.com/view.jsp?Searchword=' + frmSearch.sSearchword.value.toUpperCase();
frmSearch.submit();
}

function semicoductor(got1,data,tmpfileld,got2) {
frmSearch.sSearchword.value = data;
frmSearch.sSort.value = 1;
frmSearch.adcnt.value=1;
frmSearch.sField.value = tmpfileld;
frmSearch.action='http://www.alldatasheet.com/view.jsp?Searchword=' + frmSearch.sSearchword.value.toUpperCase();
frmSearch.submit();
}

function components(got1,data,tmpfileld,got2) {
frmSearch.sSearchword.value = data;
frmSearch.sSort.value = 1;
frmSearch.adcnt.value=1;
frmSearch.sField.value = tmpfileld;
frmSearch.action='http://www.alldatasheet.com/view.jsp?Searchword=' + frmSearch.sSearchword.value.toUpperCase();
frmSearch.submit();
}


//-->