   //-----------------------------------------------------------------------------------------------
    function ChangeOn(obj,title)
    {
      obj.src="/images/titles/" + "title_" + title + ".gif";
    }     
  //------------------------------------------------------------------------------------------------------------------------------------
  function run_search (el)
  //       ~~~~~~~~~~
  {
    if ( el == 'text1')
		  window.open ('http://www.google.com/search?q=' + document.form1.text1.value);
    else if ( el == 'text2')
	  {
		  window.open ('http://www.netex.co.il/search.ntx?uid=121&searchstring=' +  document.form1.text2.value)
	  }
    else if ( el == 'q')
	  {		
		  //action="http://www2.cet.ac.il/morfix/matar.asp" method="get"
		  window.location="http://www2.cet.ac.il/morfix/matar.asp?q=" +  document.form1.q.value + "&num=" + document.form1.num.value + "&sub="+ document.form1.sub.value + "&start=" + document.form1.start.value +"&max=" +  document.form1.max.value
	  }				
  }
  //------------------------------------------------------------------------------------------------------------------------------------
  function button1_onclick () 
  //       ~~~~~~~~~~~~~~~
  {		
	  if (window.event.keyCode == 13 )
	  {		
		  run_search ('text1')
	  }	
  }
  //------------------------------------------------------------------------------------------------------------------------------------
  function button2_onclick () 
  //       ~~~~~~~~~~~~~~~
  {	
	  if (window.event.keyCode == 13 )
	  {		
		  window.event.cancelBubble = true
		  run_search ('text2')
	  }
  }
  //------------------------------------------------------------------------------------------------------------------------------------
  function button3_onclick () 
  //       ~~~~~~~~~~~~~~~
  {		
	  if (window.event.keyCode == 13 )
	  {			
		  run_search ('q');
	  }	
  }
  //------------------------------------------------------------------------------------------------------------------------------------
        function opt(file,width,height)
        {
          def = open(file, "", "scrollbars=0,width=" + width + ",height=" + height + ",status=0,titlebar=no")
          
        } 
 //----------------------------------------------------------------------------
      function op(file,width,height)
      {
        def = open(file, "noname", "scrollbars=1,width=" + width + ",height=" + height + ",status=0,titlebar=no")
        
      }
 //----------------------------------------------------------------------------

