// Search function

function search()
{
	str=document.getElementById('Sch').value;
	if (str.toLowerCase()=='ic tester')	{ window.location.href('IC-Tester.html');}
		else if (str.toLowerCase()=='digital ic tester')	{ window.location.href('IC-Tester.html');}
			else if (str.toLowerCase()=='linear ic tester')	{ window.location.href('IC-Tester.html');}
				else if (str.toLowerCase()=='analog ic tester')	{ window.location.href('IC-Tester.html');}
					else if (str.toLowerCase()=='universal ic tester')	{ window.location.href('IC-Tester.html');}
						else if (str.toLowerCase()=='device tester')	{ window.location.href('IC-Tester.html');}
							else if (str.toLowerCase()=='component tester')	{ window.location.href('IC-Tester.html');}
		else if (str.toLowerCase()=='eprom programmer')	{ window.location.href('Eprom-Programmer.html');}
				else if (str.toLowerCase()=='pic programmer')	{ window.location.href('Eprom-Programmer.html');}
						else if (str.toLowerCase()=='universal programmer')	{ window.location.href('Eprom-Programmer.html');}
								else if (str.toLowerCase()=='device programmer')	{ window.location.href('Eprom-Programmer.html');}
										else if (str.toLowerCase()=='eprom')	{ window.location.href('Eprom-Programmer.html');}
								else if (str.toLowerCase()=='microcontroller programmer')	{ window.location.href('Eprom-Programmer.html');}
			    							else if (str.toLowerCase()=='mcu programmer')	{ window.location.href('Eprom-Programmer.html');}									
											else if (str.toLowerCase()=='microcontroller')	{ window.location.href('Eprom-Programmer.html');}
			else if (str.toLowerCase()=='8085 trainer kit')	{ window.location.href('microprocessor.html');}							
			else if (str.toLowerCase()=='8085 trainer')	{ window.location.href('microprocessor.html');}							
			else if (str.toLowerCase()=='8085 kit')	{ window.location.href('microprocessor.html');}							
			else if (str.toLowerCase()=='microprocessor')	{ window.location.href('microprocessor.html');}							
			else if (str.toLowerCase()=='8085 board')	{ window.location.href('microprocessor.html');}							
			else if (str.toLowerCase()=='8086 trainer kit')	{ window.location.href('microprocessor.html');}							
			else if (str.toLowerCase()=='8086 trainer')	{ window.location.href('microprocessor.html');}							
			else if (str.toLowerCase()=='8086 kit')	{ window.location.href('microprocessor.html');}							
			else if (str.toLowerCase()=='microprocessor')	{ window.location.href('microprocessor.html');}							
			else if (str.toLowerCase()=='8086 board')	{ window.location.href('microprocessor.html');}								
			else if (str.toLowerCase()=='8086')	{ window.location.href('microprocessor.html');}								
			else if (str.toLowerCase()=='8051 trainer kit')	{ window.location.href('microcontroller.html');}								
			else if (str.toLowerCase()=='8051 trainer')	{ window.location.href('microcontroller.html');}								
			else if (str.toLowerCase()=='8051 board')	{ window.location.href('microcontroller.html');}								
			else if (str.toLowerCase()=='80196 trainer kit')	{ window.location.href('microcontroller.html');}								
			else if (str.toLowerCase()=='80196 trainers')	{ window.location.href('microcontroller.html');}								
			else if (str.toLowerCase()=='80196 boards')	{ window.location.href('microcontroller.html');}								
			else if (str.toLowerCase()=='embedded kit')	{ window.location.href('microcontroller.html');}								
			else if (str.toLowerCase()=='pic trainer kit')	{ window.location.href('microcontroller.html');}								
			else if (str.toLowerCase()=='microcontroller')	{ window.location.href('microcontroller.html');}								
			else if (str.toLowerCase()=='pic kit')	{ window.location.href('microcontroller.html');}								
			else if (str.toLowerCase()=='pic board')	{ window.location.href('microcontroller.html');}								
			else if (str.toLowerCase()=='vlsi trainer kit')	{ window.location.href('FPGA-VLSI.html');}								
			else if (str.toLowerCase()=='vlsi board')	{ window.location.href('FPGA-VLSI.html');}								
			else if (str.toLowerCase()=='cpld kit')	{ window.location.href('FPGA-VLSI.html');}																
			else if (str.toLowerCase()=='cpld board')	{ window.location.href('FPGA-VLSI.html');}								
			else if (str.toLowerCase()=='fpga kit')	{ window.location.href('FPGA-VLSI.html');}								
			else if (str.toLowerCase()=='fpga board')	{ window.location.href('FPGA-VLSI.html');}								
			else if (str.toLowerCase()=='pld trainer kit')	{ window.location.href('FPGA-VLSI.html');}								
			else if (str.toLowerCase()=='pld kit')	{ window.location.href('FPGA-VLSI.html');}								
			else if (str.toLowerCase()=='pld')	{ window.location.href('FPGA-VLSI.html');}								
			else if (str.toLowerCase()=='pld board')	{ window.location.href('FPGA-VLSI.html');}
			else if (str.toLowerCase()=='application cards')	{ window.location.href('IF-Cards.html');}
			else if (str.toLowerCase()=='interface cards')	{ window.location.href('IF-Cards.html');}
			else if (str.toLowerCase()=='application modules')	{ window.location.href('IF-Cards.html');}
			else if (str.toLowerCase()=='study cards')	{ window.location.href('Study-Cards.html');}
			else if (str.toLowerCase()=='peripherals cards')	{ window.location.href('Study-Cards.html');}
			else if (str.toLowerCase()=='peripherals modules')	{ window.location.href('Study-Cards.html');}
			else if (str.toLowerCase()=='digital trainer')	{ window.location.href('Digital-Analog.html');}
			else if (str.toLowerCase()=='digital trainer kit')	{ window.location.href('Digital-Analog.html');}
			else if (str.toLowerCase()=='analog trainer kit')	{ window.location.href('Digital-Analog.html');}
			else if (str.toLowerCase()=='analog trainer')	{ window.location.href('Digital-Analog.html');}
			else if (str.toLowerCase()=='linear trainer')	{ window.location.href('Digital-Analog.html');}
			else if (str.toLowerCase()=='linear trainer kit')	{ window.location.href('Digital-Analog.html');}
			else if (str.toLowerCase()=='pam kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='pam')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='pwm kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='pwm')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='ppm kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='ppm')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='pcm kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='pcm')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='tdm kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='tdm')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='delta kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='delta')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='ask kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='ask')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='psk kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='psk')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='fsk kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='fsk')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='dpsk kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='dpsk')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='am kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='am')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='fm kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='fm')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='qpsk kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='qpsk')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='communication kit')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='communication')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='modulation')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='demodulation')	{ window.location.href('Basic-Communication.html');}
			else if (str.toLowerCase()=='analog sampling kit')	{ window.location.href('Digital-Communication.html');}
			else if (str.toLowerCase()=='analog sampling')	{ window.location.href('Digital-Communication.html');}
			else if (str.toLowerCase()=='delta adaptive delta kit')	{ window.location.href('Digital-Communication.html');}
			else if (str.toLowerCase()=='delta adaptive delta kit')	{ window.location.href('Digital-Communication.html');}
			else if (str.toLowerCase()=='line conditioning kit')	{ window.location.href('Digital-Communication.html');}
			else if (str.toLowerCase()=='line conditioning')	{ window.location.href('Digital-Communication.html');}
			else if (str.toLowerCase()=='fiber optics kit')	{ window.location.href('Fiber-optics.html');}
			else if (str.toLowerCase()=='digital fiber')	{ window.location.href('Fiber-optics.html');}
			else if (str.toLowerCase()=='digital fiber optics')	{ window.location.href('Fiber-optics.html');}
			else if (str.toLowerCase()=='fiber optics')	{ window.location.href('Fiber-optics.html');}
			else if (str.toLowerCase()=='fiber')	{ window.location.href('Fiber-optics.html');}
			else if (str.toLowerCase()=='analog fiber')	{ window.location.href('Fiber-optics.html');}
			else if (str.toLowerCase()=='analog fiber kit')	{ window.location.href('Fiber-optics.html');}
			else if (str.toLowerCase()=='laser fiber optics kit')	{ window.location.href('Fiber-optics.html');}
			else if (str.toLowerCase()=='laser fiber kit')	{ window.location.href('Fiber-optics.html');}
			else if (str.toLowerCase()=='laser fiber')	{ window.location.href('Fiber-optics.html');}
			else if (str.toLowerCase()=='data communication kit')	{ window.location.href('Data-Communication.html');}
			else if (str.toLowerCase()=='data communication')	{ window.location.href('Data-Communication.html');}
			else if (str.toLowerCase()=='protocol kit')	{ window.location.href('Data-Communication.html');}
			else if (str.toLowerCase()=='lan trainer')	{ window.location.href('Data-Communication.html');}
			else if (str.toLowerCase()=='lan kit')	{ window.location.href('Data-Communication.html');}
			else if (str.toLowerCase()=='lvdt kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='lvdt')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='pressure kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='pressure')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='load cell kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='load cell')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='temperature kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='temperature')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='rtd kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='thermocouple kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='thermocouple')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='thermistor kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='thermistor')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='speed measurement kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='speed kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='angular kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='angular measurement kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='level kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='level measurement kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='ldr kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='ldr')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='photo transistor kit')	{ window.location.href('instrumentation.html');}
			else if (str.toLowerCase()=='photo transistor')	{ window.location.href('instrumentation.html');}
			else {window.location.href('sitemap.html');}
	
}

function onEnter()
{
	
	str=document.getElementById('Sch').value;
	alert(str);
	if(str.tolowercase == 'search this site') {document.getElementById('Sch').innerHtml='';}	

}
function onLeave()
{
	str=document.getElementById('Sch').value;
	if(str=='') 
		{
		str='Search this site';	}	
}