function ctlSearch_OnClick () 
{ 
 var url; 
 var theform = document.frmSearchBox; 

 if (theform.keyword.value.length < 2) 
 { 
  alert('Please enter at least two characters.'); 
  theform.keyword.focus(); 
 } 
 else 
 { 
   var iIndex = theform.ddlSearchType.value; 
   var sSearchType = theform.ddlSearchType.value; 
// Version 2.7 release 
// 1. using default Domain, like "orientalmotor.thomasnet.com" in our sample  
// 2. using root category shortName, like "all-categories" in our sample 
  url = "http://press-sensitive-tapes-labels.nadcotapes.com/keyword/?&plpver=1001&key=all&keycateg=100" 
  url = url + "&SchType=" + sSearchType; 
  url = url + "&keyword=" + encodeURI(theform.keyword.value); 
  url = url + "&refer=" + encodeURI("http://" + document.location.hostname); 

  document.location.href = url; 
 } 
//alert (url);                                                         
}  
