var myArray=new Array(31)
for (i=0; i <32; i++)
myArray[i]=new Array(3)

//var myArray = new Array();
myArray[0][0] = "Law Firm";
myArray[0][1] = "Default Management";
myArray[0][2] = "mortgagesolutions.html#defaultmanagement";

myArray[1][0] = "Law Firm";
myArray[1][1] = "Title Services";
myArray[1][2] = "mortgagesolutions.html#titleservices";

myArray[2][0] = "";
myArray[2][1] = "";
myArray[2][2] = "";

myArray[3][0] = "";
myArray[3][1] = "";
myArray[3][2] = "";

myArray[4][0] = "Law Firm";
myArray[4][1] = "Finance and Accounting Services";
myArray[4][2] = "financeAndAccounting.html#accountreconciliation";

myArray[5][0] = "";
myArray[5][1] = "";
myArray[5][2] = "";

myArray[6][0] = "Law Firm";
myArray[6][1] = "Technical Solutions";
myArray[6][2] = "technicalsolutions.html";

myArray[7][0] = "Life Sciences/Health Care";
myArray[7][1] = "Knowledge Services (Information & Research)";
myArray[7][2] = "knowledgeservices.html#knowledgeservices";

myArray[8][0] = "";
myArray[8][1] = "";
myArray[8][2] = "";

myArray[9][0] = "";
myArray[9][1] = "";
myArray[9][2] = "";

myArray[10][0] = "Life Sciences/Health Care";
myArray[10][1] = "Finance and Accounting Services";
myArray[10][2] = "financeAndAccounting.html#accountreconciliation";

myArray[11][0] = "Retailer";
myArray[11][1] = "Finance and Accounting Services";
myArray[11][2] = "financeAndAccounting.html#accountreconciliation";

myArray[12][0] = "Retailer";
myArray[12][1] = "Loan Origination and Servicing";
myArray[12][2] = "mortgagesolutions.html#origination";

myArray[13][0] = "Retailer";
myArray[13][1] = "Analytics and Risk Management";
myArray[13][2] = "riskmanagement.html#analytics";

myArray[14][0] = "Retailer";
myArray[14][1] = "Technical Solutions";
myArray[14][2] = "technicalsolutions.html";

myArray[15][0] = "";
myArray[15][1] = "";
myArray[15][2] = "";

myArray[16][0] = "Financial Institution";
myArray[16][1] = "Analytics and Risk Management Services";
myArray[16][2] = "riskmanagement.html#analytics";

myArray[17][0] = "";
myArray[17][1] = "";
myArray[17][2] = "";

myArray[18][0] = "Financial Institution";
myArray[18][1] = "Business and Investment Research Services";
myArray[18][2] = "knowledgeservices.html#researchservices";

myArray[19][0] = "";
myArray[19][1] = "";
myArray[19][2] = "";


myArray[20][0] = "Financial Institution";
myArray[20][1] = "Loan Origination and servicing";
myArray[20][2] = "mortgagesolutions.html#origination";

myArray[21][0] = "Financial Institution";
myArray[21][1] = "Specialized Customer Care Services";
myArray[21][2] = "mortgagesolutions.html#customercareservices";

myArray[22][0] = "Financial Institution";
myArray[22][1] = "Account Reconciliation";
myArray[22][2] = "financeAndAccounting.html#accountreconciliation";

myArray[23][0] = "Financial Institution";
myArray[23][1] = "Financial Planning and Analysis";
myArray[23][2] = "financeAndAccounting.html#accountreconciliation";

myArray[24][0] = "";
myArray[24][1] = "";
myArray[24][2] = "";

myArray[25][0] = "Corporations";
myArray[25][1] = "Finance and Accounting Services";
myArray[25][2] = "financeAndAccounting.html#accountreconciliation";

myArray[26][0] = "Corporations";
myArray[26][1] = "Knowledge and Business Research Services";
myArray[26][2] = "knowledgeservices.html#knowledgeservices";

myArray[27][0] = "Medical and Publishing";
myArray[27][1] = "Interactive Entertainment";
myArray[27][2] = "interactiveentertainment.html#publishing";

myArray[28][0] = "Medical and Publishing";
myArray[28][1] = "Knowledge and Business Research Services";
myArray[28][2] = "knowledgeservices.html#knowledgeservices";

myArray[29][0] = "Medical and Publishing";
myArray[29][1] = "Content and Data Base Services";
myArray[29][2] = "knowledgeservices.html#knowledgeservices";

myArray[30][0] = "";
myArray[30][1] = "";
myArray[30][2] = "";

myArray[31][0] = "";
myArray[31][1] = "";
myArray[31][2] = "";

//alert(myArray[0][1]);


function changeBusType(obj)
{
	if(obj.value == 0)
	{
		obj.form.service.options.length = 1;
	}
	else
	{
		obj.form.service.options.length = 1;
		var j=1;
		for(var i=0;i<myArray.length;i++)
		{
			if(myArray[i][0] == obj.value)
			{
				obj.form.service.options[j] = new Option(myArray[i][1],myArray[i][2]);
				j++;
			}
		}
	}
	
}

function searchClick()
{
	if(document.getElementById('service').value != 0)
	{
		document.location.href =  document.getElementById('service').value;
	}
	else
	{
		alert('Please select By Service Type');
		return false;
	}
}


function productsSearchClick()
{
	if(document.getElementById('products').value != 0)
	{
		document.location.href =  document.getElementById('products').value;
	}
	else
	{
		alert('Please select By products');
		return false;
	}
}

