ddoffsety = 208;
ddoffsetx = -15;

function loadPage(countyID)
{
	
	var counties = new Array(4);

	for(i=0;i<4;i++)
	{
		counties[i] = new Array(12);
	}
		
	counties[0][0]="carlow";
	counties[0][1]="dublin";
	counties[0][2]="kildare";
	counties[0][3]="kilkenny";
	counties[0][4]="laois";
	counties[0][5]="longford";
	counties[0][6]="louth";
	counties[0][7]="meath";
	counties[0][8]="offaly";
	counties[0][9]="westmeath";
	counties[0][10]="wexford";
	counties[0][11]="wicklow";
	
	counties[1][0]="clare";
	counties[1][1]="cork";
	counties[1][2]="kerry";
	counties[1][3]="limerick";
	counties[1][4]="tipperary";
	counties[1][5]="waterford";
	
	counties[2][0]="cavan";
	counties[2][1]="donegal";
	counties[2][2]="monaghan";

	counties[3][0]="galway";
	counties[3][1]="leitrim";
	counties[3][2]="mayo";
	counties[3][3]="roscommon";
	counties[3][4]="sligo";
	
	var province = ['leinster', 'munster', 'ulster', 'connacht'];

	for(i=0; i<counties.length; i++)
	{
		
		 for(j=0; j<counties[i].length; j++)
		 {
		 	
			
		 	if(counties[i][j] == countyID)
			{
				
				var provinceID = province[i];
				
			}
		 
		 }
		 
	}	
			
	var ID = "/" + provinceID + "/" + countyID;
	window.open("/our-services/locate-a-physical-therapist" + ID, "_self") ;
	

}//end of function