<!--
function InputCheck(theForm,tmpChk) {
if (theForm.sSearchword.value.replace(/ /gi,"").length < 3) {
alert("Please, You must input more than two characters !!");
theForm.sSearchword.focus();
return (false);
}

if (hanchk(theForm.sSearchword.value) == 2 ) {
alert("Invalid search word! \nPlease use the alphabet, numbers, symbols(+,-,_./...).");
theForm.sSearchword.focus();
return (false);
}
if(tmpChk==1) 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();
theForm.seekcls.value='ON';
return(true);
}
function semicoductor(got1,data,tmpfileld,got2) {
frmSearch.sSearchword.value = data;
frmSearch.sField.value = tmpfileld;
frmSearch.action='http://www.alldatasheet.com/view.jsp?Searchword=' + frmSearch.sSearchword.value.toUpperCase();
frmSearch.submit();
}
function addbookmark(){
if ((navigator.appVersion.indexOf("MSIE") > 0)&&(parseInt(navigator.appVersion)>= 4))
if(document.all)window.external.AddFavorite("http://www.alldatasheet.com","Alldatasheet.com - Electronic Component's Datasheet Search Site")
}
function hanchk(str){
for(i = 0 ; i < str.length ;i++){
var code = str.charCodeAt(i);
var ch= str.substr(i,1).toUpperCase();
code= parseInt(code);
if((ch < "0" || ch > "9") && (ch <"A" || ch >"Z") && ((code >255) || (code < 0)))
return 2;
}
return 1;
}

function jumpPage(j1) {
ff.sPage.value = j1;
ff.submit();
}
function myColorClick(num) {
if (document.all) {
eval('document.all.cell'+num+'.style.background = "#ddf3f3"');
}
}
function checkAll(){
 var fForm = window.document.ff;
 if (fForm.chkAll.checked) for (var i=0;i<fForm.list.length;i++) fForm.list[i].checked = false;
  else for (var i=0;i<fForm.list.length;i++) fForm.list[i].checked = true;
fForm.submit();
DP_Select.innerHTML="<table border=\"0\" cellpadding=\"0\" width=\"95%\" class=\"main\" align=\"center\"><tr><td align=\"center\"><b>Now loading ...      Please wait.</b></td></table>"; 
}
function onCheckBoxClick(){
var fForm = window.document.ff;
var nChecked = 0;
for (var i=0;i<fForm.list.length;i++){
if (fForm.list[i].checked) nChecked++;
}
if (nChecked == fForm.list.length){
for (var i=0;i<fForm.list.length;i++) fForm.list[i].checked = false;
fForm.chkAll.checked = true;
}else{
 fForm.chkAll.checked = false;
}
fForm.submit();
DP_Select.innerHTML="<table border=\"0\" cellpadding=\"0\" width=\"95%\" class=\"main\" align=\"center\"><tr><td align=\"center\"><b>Now loading ...      Please wait.</b></td></table>"; 
}
//-->
