// JavaScript Document

function pagesearch()
{
	var str=document.getElementById("ddlsearch").value;

	if(str=="")
	{
		alert("Please enter a string to search");
	}
	else if(str=="EMC" || str=="ARM" || str=="FPGA" || str=="CAN" || str=="DSP")
	{
		window.location='hardware_design.html';
	}
	else if(str=="HDL" || str=="Cadence" || str=="ORCAD" || str=="CADSTAR" || str=="Mentor Graphics" || str=="pcb design"|| str=="Hyper Lynx" || str=="Flo Therm" || str=="PADS")
	{
		window.location="pcb_layout_design.html";
	}
	else if(str=="RFID")
	{
		window.location="software.html";
	}
	else if(str=="GSM" || str=="WIFI" || str=="GPRS")
	{
		window.location="product_realization.html";
	}
	else if(str=="LED" || str=="PCM" || str=="LCD")
	{
		window.location="software.html";
	}
	else if(str=="BREW" || str=="UMTS" || str=="2G GSM, 3G" || str=="3G" || str=="MOST" || str=="Drivers" || str=="VHDL")
	{
		window.location="software.html";
	}
	else if(str=="CDMA" || str=="VOIP" || str=="Bluetooth" || str=="Multimedia" || str=="UMTS")
	{
		window.location="software.html";
	}
	else
	{
		alert("Your search did not yield any results, Please try another string");
	}
}
