// JavaScript Document

function dropdownCity(listindex)
{
	// City Box Prepare
	document.crbSearch.c.options.length = 0; //Empty City Box
	document.crbSearch.c.disabled = false; //Show City Box
	document.crbSearch.c.options[0]=new Option("ALL","0"); //Insert ALL option as value '0'
	document.crbSearch.c.options[0].selected=true; //Select first Item
	document.crbSearch.c.focus(); // Focus form entry

	// Ward Box Prepare
	document.crbSearch.w.options.length = 0; //Empty Ward Box
	document.crbSearch.w.options[0]=new Option("Select City","0"); //Insert ALL option as value '0'
	document.crbSearch.w.disabled = true; //Hide Ward Box



	switch (listindex)
		{
		// Display City Options for Region Selected
		case "0":
			document.crbSearch.c.options[0]=new Option("Select Region","0"); //Insert ALL option as value '0'
			document.crbSearch.c.disabled = true; //Show City Box
			document.crbSearch.w.options[0]=new Option("Select City","0"); //Insert ALL option as value '0'
			document.crbSearch.r.focus(); // Focus form entry
		break;
        
		case "4":
			document.crbSearch.c.options[1]=new Option("Barrie","7");
			document.crbSearch.c.options[2]=new Option("Lindsay","27");
			document.crbSearch.c.options[3]=new Option("Midland","36");
			document.crbSearch.c.options[4]=new Option("Orillia","35");
		break;

		case "3":
			document.crbSearch.c.options[1]=new Option("Belleville","28");
			document.crbSearch.c.options[2]=new Option("Kingston","8");
		break;

		case "5":
			document.crbSearch.c.options[1]=new Option("Alton","26");
			document.crbSearch.c.options[2]=new Option("Aurora","30");
			document.crbSearch.c.options[3]=new Option("Bolton","24");
			document.crbSearch.c.options[4]=new Option("Brampton","9");
			document.crbSearch.c.options[5]=new Option("Caledon","25");
			document.crbSearch.c.options[6]=new Option("Milton","22");
			document.crbSearch.c.options[7]=new Option("Mississauga","5");
			document.crbSearch.c.options[8]=new Option("Oakville","6");
			document.crbSearch.c.options[9]=new Option("Orangeville","31");
			document.crbSearch.c.options[10]=new Option("Oshawa","29");
			document.crbSearch.c.options[11]=new Option("Thornhill","23");
			document.crbSearch.c.options[12]=new Option("Toronto","1");
		break;

		case "6":
			document.crbSearch.c.options[1]=new Option("Burlington","18");
			document.crbSearch.c.options[2]=new Option("Dundas","20");
			document.crbSearch.c.options[3]=new Option("Hamilton","10");
			document.crbSearch.c.options[4]=new Option("St Catherines","21");
			document.crbSearch.c.options[5]=new Option("Stoney Creek","19");
		break;

		case "1":
		break;

		case "2":
			document.crbSearch.c.options[1]=new Option("Ottawa","4");
		break;

		case "7":
			document.crbSearch.c.options[1]=new Option("Cambridge","15");
			document.crbSearch.c.options[2]=new Option("Elmira","34");
			document.crbSearch.c.options[3]=new Option("Elora","32");
			document.crbSearch.c.options[4]=new Option("Fergus","33");
			document.crbSearch.c.options[5]=new Option("Guelph","12");
			document.crbSearch.c.options[6]=new Option("Kitchener","14");
			document.crbSearch.c.options[7]=new Option("London","2");
			document.crbSearch.c.options[8]=new Option("Stratford","16");
			document.crbSearch.c.options[9]=new Option("Waterloo","13");
			document.crbSearch.c.options[10]=new Option("Windsor","11");
		break;

		}

	return true;
}


function dropdownWard(listindex)
{
	// Display Ward Items for City Selected
	// Prepare Ward Box
	document.crbSearch.w.options.length = 0; //Empty Ward Box on city change
	document.crbSearch.w.disabled = false; //Show if hidden
	document.crbSearch.w.options[0]=new Option("ALL","0"); // Insert ALL Option
	document.crbSearch.w.options[0].selected=true; //Select all function
	document.crbSearch.w.focus(); // Focus form Entry


	switch (listindex)
		{
		case "0":
		document.crbSearch.w.disabled = true; 
		document.crbSearch.w.options[0]=new Option("Select City","0");
		document.crbSearch.c.focus(); // Focus form entry
		break;

		case "26":
		break;

		case "30":
		break;

		case "7":
		break;

		case "28":
		break;

		case "24":
		break;

		case "9":
		break;

		case "18":
		break;

		case "25":
		break;

		case "15":
		break;

		case "20":
		break;

		case "34":
		break;

		case "32":
		break;

		case "33":
		break;

		case "12":
		break;

		case "10":
		break;

		case "8":
		break;

		case "14":
		break;

		case "27":
		break;

		case "2":
		break;

		case "36":
		break;

		case "22":
		break;

		case "5":
		break;

		case "6":
		break;

		case "31":
		break;

		case "35":
		break;

		case "29":
		break;

		case "4":
		break;

		case "21":
		break;

		case "19":
		break;

		case "16":
		break;

		case "23":
		break;

		case "1":
		document.crbSearch.w.options[1]=new Option("East York","7");
		document.crbSearch.w.options[2]=new Option("Etobicoke","5");
		document.crbSearch.w.options[3]=new Option("North York","3");
		document.crbSearch.w.options[4]=new Option("Scarborough","8");
		document.crbSearch.w.options[5]=new Option("Toronto","1");
		document.crbSearch.w.options[6]=new Option("Weston","6");
		break;

		case "13":
		break;

		case "11":
		break;

		}
return true;
}

function loadPM()
{document.crbSearch.p.options.length = 0; //Empty Box 
document.crbSearch.p.options[0]=new Option("(708) All Property Mangers","0"); // Insert ALL Option
document.crbSearch.p.options[1]=new Option("(17) Briarlane","14");
	document.crbSearch.p.options[2]=new Option("(3) Concert Properties","6");
	document.crbSearch.p.options[3]=new Option("(57) Effort Trust","11");
	document.crbSearch.p.options[4]=new Option("(2) Gold Seal Management Inc.","10");
	document.crbSearch.p.options[5]=new Option("(6) Greenrock Property Management Ltd","13");
	document.crbSearch.p.options[6]=new Option("(45) Greenwin","12");
	document.crbSearch.p.options[7]=new Option("(6) High Value Consulting","24");
	document.crbSearch.p.options[8]=new Option("(7) Hollyburn Properties Ltd.","26");
	document.crbSearch.p.options[9]=new Option("(12) McArthur Properties","22");
	document.crbSearch.p.options[10]=new Option("(6) MetCap Living","8");
	document.crbSearch.p.options[11]=new Option("(138) Minto Apartments Limited","1");
	document.crbSearch.p.options[12]=new Option("(23) Morguard Property Management","20");
	document.crbSearch.p.options[13]=new Option("(5) Nubury Properties Ltd.","23");
	document.crbSearch.p.options[14]=new Option("(42) Osgoode Properties","4");
	document.crbSearch.p.options[15]=new Option("(21) OShanter","18");
	document.crbSearch.p.options[16]=new Option("(6) Oxford Properties","7");
	document.crbSearch.p.options[17]=new Option("(69) Park Property Management Inc.","9");
	document.crbSearch.p.options[18]=new Option("(86) Peel Living","19");
	document.crbSearch.p.options[19]=new Option("(2) Regency Group Inc.","25");
	document.crbSearch.p.options[20]=new Option("(13) Robinwood Property Management Inc.","3");
	document.crbSearch.p.options[21]=new Option("(10) Sterling Karamar","5");
	document.crbSearch.p.options[22]=new Option("(3) Tandem Property Management","21");
	document.crbSearch.p.options[23]=new Option("(75) Timbercreek Asset Management","2");
	document.crbSearch.p.options[24]=new Option("(22) Vertica","15");
	document.crbSearch.p.options[25]=new Option("(32) Williams and McDaniel","27");
	}

function regionalPM(region)
{
switch (region)
	{
	case "0":
	document.crbSearch.p.options.length = 0; //Empty Box 
	document.crbSearch.p.options[0]=new Option("(708) All Property Mangers","0"); // Insert ALL Option
    document.crbSearch.p.options[1]=new Option("(17) Briarlane","14");
	document.crbSearch.p.options[2]=new Option("(3) Concert Properties","6");
	document.crbSearch.p.options[3]=new Option("(57) Effort Trust","11");
	document.crbSearch.p.options[4]=new Option("(2) Gold Seal Management Inc.","10");
	document.crbSearch.p.options[5]=new Option("(6) Greenrock Property Management Ltd","13");
	document.crbSearch.p.options[6]=new Option("(45) Greenwin","12");
	document.crbSearch.p.options[7]=new Option("(6) High Value Consulting","24");
	document.crbSearch.p.options[8]=new Option("(7) Hollyburn Properties Ltd.","26");
	document.crbSearch.p.options[9]=new Option("(12) McArthur Properties","22");
	document.crbSearch.p.options[10]=new Option("(6) MetCap Living","8");
	document.crbSearch.p.options[11]=new Option("(138) Minto Apartments Limited","1");
	document.crbSearch.p.options[12]=new Option("(23) Morguard Property Management","20");
	document.crbSearch.p.options[13]=new Option("(5) Nubury Properties Ltd.","23");
	document.crbSearch.p.options[14]=new Option("(42) Osgoode Properties","4");
	document.crbSearch.p.options[15]=new Option("(21) OShanter","18");
	document.crbSearch.p.options[16]=new Option("(6) Oxford Properties","7");
	document.crbSearch.p.options[17]=new Option("(69) Park Property Management Inc.","9");
	document.crbSearch.p.options[18]=new Option("(86) Peel Living","19");
	document.crbSearch.p.options[19]=new Option("(2) Regency Group Inc.","25");
	document.crbSearch.p.options[20]=new Option("(13) Robinwood Property Management Inc.","3");
	document.crbSearch.p.options[21]=new Option("(10) Sterling Karamar","5");
	document.crbSearch.p.options[22]=new Option("(3) Tandem Property Management","21");
	document.crbSearch.p.options[23]=new Option("(75) Timbercreek Asset Management","2");
	document.crbSearch.p.options[24]=new Option("(22) Vertica","15");
	document.crbSearch.p.options[25]=new Option("(32) Williams and McDaniel","27");
		document.crbSearch.c.options[0].selected=true; //Select all function
	break;
    
    	
    case "4":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(4) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) Robinwood Property Management Inc.","3");
		document.crbSearch.p.options[2]=new Option("(2) Williams and McDaniel","27");
	    	document.crbSearch.c.options[0].selected=true; //Select all function
    break;
		
    case "3":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(9) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) MetCap Living","8");
		document.crbSearch.p.options[2]=new Option("(8) Osgoode Properties","4");
	    	document.crbSearch.c.options[0].selected=true; //Select all function
    break;
		
    case "5":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(358) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(17) Briarlane","14");
		document.crbSearch.p.options[2]=new Option("(3) Concert Properties","6");
		document.crbSearch.p.options[3]=new Option("(2) Gold Seal Management Inc.","10");
		document.crbSearch.p.options[4]=new Option("(6) Greenrock Property Management Ltd","13");
		document.crbSearch.p.options[5]=new Option("(43) Greenwin","12");
		document.crbSearch.p.options[6]=new Option("(6) High Value Consulting","24");
		document.crbSearch.p.options[7]=new Option("(7) Hollyburn Properties Ltd.","26");
		document.crbSearch.p.options[8]=new Option("(10) McArthur Properties","22");
		document.crbSearch.p.options[9]=new Option("(4) MetCap Living","8");
		document.crbSearch.p.options[10]=new Option("(26) Minto Apartments Limited","1");
		document.crbSearch.p.options[11]=new Option("(18) Morguard Property Management","20");
		document.crbSearch.p.options[12]=new Option("(5) Nubury Properties Ltd.","23");
		document.crbSearch.p.options[13]=new Option("(21) OShanter","18");
		document.crbSearch.p.options[14]=new Option("(6) Oxford Properties","7");
		document.crbSearch.p.options[15]=new Option("(46) Park Property Management Inc.","9");
		document.crbSearch.p.options[16]=new Option("(86) Peel Living","19");
		document.crbSearch.p.options[17]=new Option("(11) Robinwood Property Management Inc.","3");
		document.crbSearch.p.options[18]=new Option("(10) Sterling Karamar","5");
		document.crbSearch.p.options[19]=new Option("(3) Tandem Property Management","21");
		document.crbSearch.p.options[20]=new Option("(10) Timbercreek Asset Management","2");
		document.crbSearch.p.options[21]=new Option("(16) Vertica","15");
		document.crbSearch.p.options[22]=new Option("(2) Williams and McDaniel","27");
	    	document.crbSearch.c.options[0].selected=true; //Select all function
    break;
		
    case "6":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(62) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(54) Effort Trust","11");
		document.crbSearch.p.options[2]=new Option("(2) McArthur Properties","22");
		document.crbSearch.p.options[3]=new Option("(4) Timbercreek Asset Management","2");
		document.crbSearch.p.options[4]=new Option("(2) Vertica","15");
	    	document.crbSearch.c.options[0].selected=true; //Select all function
    break;
		
    case "1":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(0) All Property Mangers","0"); // Insert ALL Option
    	    	document.crbSearch.c.options[0].selected=true; //Select all function
    break;
		
    case "2":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(170) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) Greenwin","12");
		document.crbSearch.p.options[2]=new Option("(112) Minto Apartments Limited","1");
		document.crbSearch.p.options[3]=new Option("(2) Morguard Property Management","20");
		document.crbSearch.p.options[4]=new Option("(34) Osgoode Properties","4");
		document.crbSearch.p.options[5]=new Option("(2) Regency Group Inc.","25");
		document.crbSearch.p.options[6]=new Option("(14) Timbercreek Asset Management","2");
		document.crbSearch.p.options[7]=new Option("(4) Vertica","15");
	    	document.crbSearch.c.options[0].selected=true; //Select all function
    break;
		
    case "7":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(105) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(3) Effort Trust","11");
		document.crbSearch.p.options[2]=new Option("(1) MetCap Living","8");
		document.crbSearch.p.options[3]=new Option("(3) Morguard Property Management","20");
		document.crbSearch.p.options[4]=new Option("(23) Park Property Management Inc.","9");
		document.crbSearch.p.options[5]=new Option("(47) Timbercreek Asset Management","2");
		document.crbSearch.p.options[6]=new Option("(28) Williams and McDaniel","27");
	    	document.crbSearch.c.options[0].selected=true; //Select all function
    break;
	    
		
	}

}

function cityPM(region,city)
{
	document.crbSearch.p.options.length = 0; //Empty Box 

switch (city)
	{
    case "0":
    regionalPM(region);
    document.crbSearch.w.options[0].selected=true;
    break;

	
    case "26":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(1) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Peel Living","19");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "30":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(2) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) OShanter","18");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "7":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(1) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Robinwood Property Management Inc.","3");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "28":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(1) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) MetCap Living","8");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "24":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(2) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) Peel Living","19");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "9":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(35) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) Minto Apartments Limited","1");
		document.crbSearch.p.options[2]=new Option("(1) Oxford Properties","7");
		document.crbSearch.p.options[3]=new Option("(28) Peel Living","19");
		document.crbSearch.p.options[4]=new Option("(1) Timbercreek Asset Management","2");
		document.crbSearch.p.options[5]=new Option("(3) Vertica","15");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "18":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(6) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Effort Trust","11");
		document.crbSearch.p.options[2]=new Option("(2) McArthur Properties","22");
		document.crbSearch.p.options[3]=new Option("(1) Timbercreek Asset Management","2");
		document.crbSearch.p.options[4]=new Option("(2) Vertica","15");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "25":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(3) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(3) Peel Living","19");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "15":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(5) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(3) Park Property Management Inc.","9");
		document.crbSearch.p.options[2]=new Option("(2) Williams and McDaniel","27");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "20":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(3) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(3) Effort Trust","11");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "34":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(2) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) Williams and McDaniel","27");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "32":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(2) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) Williams and McDaniel","27");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "33":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(3) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(3) Williams and McDaniel","27");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "12":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(16) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Park Property Management Inc.","9");
		document.crbSearch.p.options[2]=new Option("(15) Williams and McDaniel","27");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "10":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(37) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(36) Effort Trust","11");
		document.crbSearch.p.options[2]=new Option("(1) Timbercreek Asset Management","2");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "8":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(8) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(8) Osgoode Properties","4");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "14":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(9) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(3) Effort Trust","11");
		document.crbSearch.p.options[2]=new Option("(1) MetCap Living","8");
		document.crbSearch.p.options[3]=new Option("(2) Morguard Property Management","20");
		document.crbSearch.p.options[4]=new Option("(2) Park Property Management Inc.","9");
		document.crbSearch.p.options[5]=new Option("(1) Williams and McDaniel","27");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "27":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(1) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Robinwood Property Management Inc.","3");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "2":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(31) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(31) Timbercreek Asset Management","2");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "36":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(1) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Williams and McDaniel","27");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "22":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(1) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Vertica","15");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "5":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(73) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Greenwin","12");
		document.crbSearch.p.options[2]=new Option("(2) Minto Apartments Limited","1");
		document.crbSearch.p.options[3]=new Option("(9) Morguard Property Management","20");
		document.crbSearch.p.options[4]=new Option("(1) OShanter","18");
		document.crbSearch.p.options[5]=new Option("(1) Oxford Properties","7");
		document.crbSearch.p.options[6]=new Option("(3) Park Property Management Inc.","9");
		document.crbSearch.p.options[7]=new Option("(52) Peel Living","19");
		document.crbSearch.p.options[8]=new Option("(4) Timbercreek Asset Management","2");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "6":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(6) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Minto Apartments Limited","1");
		document.crbSearch.p.options[2]=new Option("(2) Park Property Management Inc.","9");
		document.crbSearch.p.options[3]=new Option("(2) Timbercreek Asset Management","2");
		document.crbSearch.p.options[4]=new Option("(1) Vertica","15");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "31":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(2) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) Williams and McDaniel","27");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "35":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(1) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Williams and McDaniel","27");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "29":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(2) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) Timbercreek Asset Management","2");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "4":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(170) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) Greenwin","12");
		document.crbSearch.p.options[2]=new Option("(112) Minto Apartments Limited","1");
		document.crbSearch.p.options[3]=new Option("(2) Morguard Property Management","20");
		document.crbSearch.p.options[4]=new Option("(34) Osgoode Properties","4");
		document.crbSearch.p.options[5]=new Option("(2) Regency Group Inc.","25");
		document.crbSearch.p.options[6]=new Option("(14) Timbercreek Asset Management","2");
		document.crbSearch.p.options[7]=new Option("(4) Vertica","15");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "21":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(4) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) Effort Trust","11");
		document.crbSearch.p.options[2]=new Option("(2) Timbercreek Asset Management","2");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "19":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(12) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(12) Effort Trust","11");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "16":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(13) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(11) Park Property Management Inc.","9");
		document.crbSearch.p.options[2]=new Option("(2) Williams and McDaniel","27");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "23":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(2) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) Briarlane","14");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "1":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(229) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(15) Briarlane","14");
		document.crbSearch.p.options[2]=new Option("(3) Concert Properties","6");
		document.crbSearch.p.options[3]=new Option("(2) Gold Seal Management Inc.","10");
		document.crbSearch.p.options[4]=new Option("(6) Greenrock Property Management Ltd","13");
		document.crbSearch.p.options[5]=new Option("(42) Greenwin","12");
		document.crbSearch.p.options[6]=new Option("(6) High Value Consulting","24");
		document.crbSearch.p.options[7]=new Option("(7) Hollyburn Properties Ltd.","26");
		document.crbSearch.p.options[8]=new Option("(10) McArthur Properties","22");
		document.crbSearch.p.options[9]=new Option("(4) MetCap Living","8");
		document.crbSearch.p.options[10]=new Option("(21) Minto Apartments Limited","1");
		document.crbSearch.p.options[11]=new Option("(9) Morguard Property Management","20");
		document.crbSearch.p.options[12]=new Option("(5) Nubury Properties Ltd.","23");
		document.crbSearch.p.options[13]=new Option("(18) OShanter","18");
		document.crbSearch.p.options[14]=new Option("(4) Oxford Properties","7");
		document.crbSearch.p.options[15]=new Option("(41) Park Property Management Inc.","9");
		document.crbSearch.p.options[16]=new Option("(11) Robinwood Property Management Inc.","3");
		document.crbSearch.p.options[17]=new Option("(10) Sterling Karamar","5");
		document.crbSearch.p.options[18]=new Option("(3) Tandem Property Management","21");
		document.crbSearch.p.options[19]=new Option("(1) Timbercreek Asset Management","2");
		document.crbSearch.p.options[20]=new Option("(11) Vertica","15");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "13":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(8) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Morguard Property Management","20");
		document.crbSearch.p.options[2]=new Option("(6) Park Property Management Inc.","9");
		document.crbSearch.p.options[3]=new Option("(1) Williams and McDaniel","27");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
		
    case "11":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(16) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(16) Timbercreek Asset Management","2");
	    	document.crbSearch.w.options[0].selected=true; //Select all function
    break;
	    
    } 	
}


function wardPM(region,city,ward)
{
	document.crbSearch.p.options.length = 0; //Empty Box 

switch (ward)
	{
    case "0":
    cityPM(region,city);
    break;

	
    case "0":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(479) All Property Mangers","0"); // Insert ALL Option
    	    break;
		
    case "7":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(15) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Greenwin","12");
		document.crbSearch.p.options[2]=new Option("(2) McArthur Properties","22");
		document.crbSearch.p.options[3]=new Option("(5) Morguard Property Management","20");
		document.crbSearch.p.options[4]=new Option("(7) Park Property Management Inc.","9");
	    break;
		
    case "5":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(14) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(1) Concert Properties","6");
		document.crbSearch.p.options[2]=new Option("(2) Greenwin","12");
		document.crbSearch.p.options[3]=new Option("(2) Hollyburn Properties Ltd.","26");
		document.crbSearch.p.options[4]=new Option("(3) Minto Apartments Limited","1");
		document.crbSearch.p.options[5]=new Option("(5) Park Property Management Inc.","9");
		document.crbSearch.p.options[6]=new Option("(1) Robinwood Property Management Inc.","3");
	    break;
		
    case "3":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(56) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(5) Briarlane","14");
		document.crbSearch.p.options[2]=new Option("(1) Concert Properties","6");
		document.crbSearch.p.options[3]=new Option("(1) Greenrock Property Management Ltd","13");
		document.crbSearch.p.options[4]=new Option("(8) Greenwin","12");
		document.crbSearch.p.options[5]=new Option("(4) High Value Consulting","24");
		document.crbSearch.p.options[6]=new Option("(4) McArthur Properties","22");
		document.crbSearch.p.options[7]=new Option("(5) Minto Apartments Limited","1");
		document.crbSearch.p.options[8]=new Option("(1) Nubury Properties Ltd.","23");
		document.crbSearch.p.options[9]=new Option("(12) OShanter","18");
		document.crbSearch.p.options[10]=new Option("(3) Oxford Properties","7");
		document.crbSearch.p.options[11]=new Option("(2) Park Property Management Inc.","9");
		document.crbSearch.p.options[12]=new Option("(2) Robinwood Property Management Inc.","3");
		document.crbSearch.p.options[13]=new Option("(6) Sterling Karamar","5");
		document.crbSearch.p.options[14]=new Option("(2) Vertica","15");
	    break;
		
    case "8":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(29) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(12) Greenwin","12");
		document.crbSearch.p.options[2]=new Option("(1) Morguard Property Management","20");
		document.crbSearch.p.options[3]=new Option("(1) OShanter","18");
		document.crbSearch.p.options[4]=new Option("(15) Park Property Management Inc.","9");
	    break;
		
    case "1":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(111) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(10) Briarlane","14");
		document.crbSearch.p.options[2]=new Option("(1) Concert Properties","6");
		document.crbSearch.p.options[3]=new Option("(5) Greenrock Property Management Ltd","13");
		document.crbSearch.p.options[4]=new Option("(19) Greenwin","12");
		document.crbSearch.p.options[5]=new Option("(2) High Value Consulting","24");
		document.crbSearch.p.options[6]=new Option("(5) Hollyburn Properties Ltd.","26");
		document.crbSearch.p.options[7]=new Option("(4) McArthur Properties","22");
		document.crbSearch.p.options[8]=new Option("(4) MetCap Living","8");
		document.crbSearch.p.options[9]=new Option("(13) Minto Apartments Limited","1");
		document.crbSearch.p.options[10]=new Option("(4) Morguard Property Management","20");
		document.crbSearch.p.options[11]=new Option("(4) Nubury Properties Ltd.","23");
		document.crbSearch.p.options[12]=new Option("(3) OShanter","18");
		document.crbSearch.p.options[13]=new Option("(1) Oxford Properties","7");
		document.crbSearch.p.options[14]=new Option("(12) Park Property Management Inc.","9");
		document.crbSearch.p.options[15]=new Option("(8) Robinwood Property Management Inc.","3");
		document.crbSearch.p.options[16]=new Option("(4) Sterling Karamar","5");
		document.crbSearch.p.options[17]=new Option("(3) Tandem Property Management","21");
		document.crbSearch.p.options[18]=new Option("(1) Timbercreek Asset Management","2");
		document.crbSearch.p.options[19]=new Option("(8) Vertica","15");
	    break;
		
    case "6":
		document.crbSearch.p.options.length = 0; //Empty Box 
		document.crbSearch.p.options[0]=new Option("(4) All Property Mangers","0"); // Insert ALL Option
    		document.crbSearch.p.options[1]=new Option("(2) Gold Seal Management Inc.","10");
		document.crbSearch.p.options[2]=new Option("(2) OShanter","18");
	    break;
	    
    } 	
}



