
function getForm() {
        var YEAR = document.f1.year.options[document.f1.year.selectedIndex].value;
        var SECTOR = document.f1.sector.options[document.f1.sector.selectedIndex].value;
        var CODE = document.f1.ncode.options[document.f1.ncode.selectedIndex].value;
        if (SECTOR == "") {
                alert("A sector must be selected!");
                document.f1.sector.focus();
                return false;
        } else if (CODE == "") {
                alert("A NAICS Code must be selected!");
                document.f1.ncode.focus();
                return false;
        } else if (YEAR == "2008" && SECTOR == "22")  {
                alert("This form is not available for the year you have selected.");
                document.f1.year.focus();
                return false;
		 } else if (YEAR == "2007" && SECTOR == "22")  {
                alert("This form is not available for the year you have selected.");
                document.f1.year.focus();
                return false;
		 } else if (YEAR == "2006" && SECTOR == "22")  {
                alert("This form is not available for the year you have selected.");
                document.f1.year.focus();
                return false;
		 } else if (YEAR == "2005" && SECTOR == "22")  {
                alert("This form is not available for the year you have selected.");
                document.f1.year.focus();
                return false;
		 } else if (YEAR == "2008" && SECTOR == "61")  {
                alert("This form is not available for the year you have selected.");
                document.f1.year.focus();
                return false;
		 } else if (YEAR == "2007" && SECTOR == "61")  {
                alert("This form is not available for the year you have selected.");
                document.f1.year.focus();
                return false;
	   } else if (YEAR == "2006" && SECTOR == "61") {
                alert("This form is not available for the year you have selected.");
                document.f1.year.focus();
                return false;
	   } else if (YEAR == "2005" && SECTOR == "61") {
                alert("This form is not available for the year you have selected.");
                document.f1.year.focus();
                return false;
	   } else if (YEAR == "") {
                alert("A Year must be selected !");
                document.f1.year.focus();
                return false;
        }

        location.href="http://www2.census.gov/services/sas/forms/" + YEAR + "/" + SECTOR + "/" + CODE + "." + "pdf";
        
}


function refreshCode() {
        var codeLength = document.f1.ncode.length;
        for (i=0; i<codeLength; i++) {
                document.f1.ncode.options[0] = null;
        }

        switch (document.f1.sector.options[document.f1.sector.selectedIndex].value) {

        /****************************************************************************/
        /**************THIS SECTION SETS THE NAICS CODE SELECT BOX*******************/
        /****************************************************************************/

				case "22" :
                        document.f1.ncode.options[0] = new Option('', '', false, false);
						document.f1.ncode.options[1] = new Option('NAICS 221111 - Hydroelectric Power Generation (SA-22010)', '221111', false, false);
                        document.f1.ncode.options[2] = new Option('NAICS 221112 - Fossil Fuel Electric Power Generation (SA-22010)', '221112', false, false);
                        document.f1.ncode.options[3] = new Option('NAICS 221113 - Nuclear Electric Power Generation (SA-22010)', '221113', false, false);
                        document.f1.ncode.options[4] = new Option('NAICS 221119 - Other Electric Power Generation (SA-22010)', '221119', false, false);
                        document.f1.ncode.options[5] = new Option('NAICS 221121 - Electric Bulk Power Transmission and Control (SA-22010)', '221121', false, false);
                        document.f1.ncode.options[6] = new Option('NAICS 221122 - Electric Power Distribution (SA-22010)', '221122', false, false);
                        document.f1.ncode.options[7] = new Option('NAICS 221210 - Natural Gas Distribution (SA-22010)', '221210', false, false);
						document.f1.ncode.options[8] = new Option('NAICS 221310 - Water Supply and Irrigation Systems (SA-22130)', '221310', false, false);
                        document.f1.ncode.options[9] = new Option('NAICS 221320 - Sewage Treatment Facilities (SA-22130)', '221320', false, false);
                        document.f1.ncode.options[10] = new Option('NAICS 221330 - Steam and Air-Conditioning Supply (SA-22130)', '221330', false, false);
                        break;
				case "48" :
                        document.f1.ncode.options[0] = new Option('', '', false, false);
						document.f1.ncode.options[1] = new Option('NAICS 481111 - Scheduled Passenger Air Transportation (SA-48100)', '481111', false, false);
                        document.f1.ncode.options[2] = new Option('NAICS 481112 - Scheduled Freight Air Transportation (SA-48100)', '481112', false, false);
                        document.f1.ncode.options[3] = new Option('NAICS 481211 - Nonscheduled Chartered Passenger Air Transportation (SA-48100)', '481211', false, false);
                        document.f1.ncode.options[4] = new Option('NAICS 481212 - Nonscheduled Chartered Freight Air Transportation (SA-48100)', '481212', false, false);
                        document.f1.ncode.options[5] = new Option('NAICS 481219 - Other Nonscheduled Air Transportation (SA-48100)', '481219', false, false);
                        document.f1.ncode.options[6] = new Option('NAICS 483111 - Deep Sea Freight Transportation (SA-48300)', '483111', false, false);
                        document.f1.ncode.options[7] = new Option('NAICS 483112 - Deep Sea Passenger Transportation (SA-48300)', '483112', false, false);
						document.f1.ncode.options[8] = new Option('NAICS 483113 - Coastal and Great Lakes Freight Transportation (SA-48300)', '483113', false, false);
                        document.f1.ncode.options[9] = new Option('NAICS 483114 - Coastal and Great Lakes Passenger Transportation (SA-48300)', '483114', false, false);
                        document.f1.ncode.options[10] = new Option('NAICS 483211 - Inland Water Freight Transportation (SA-48300)', '483211', false, false);
                        document.f1.ncode.options[11] = new Option('NAICS 483212 - Inland Water Passenger Transportation (SA-48300)', '483212', false, false);
						document.f1.ncode.options[12] = new Option('NAICS 484110 - General Freight Trucking, Local (SA-48400)', '484110', false, false);
                        document.f1.ncode.options[13] = new Option('NAICS 484121 - General Freight Trucking, Long Distance, Truckload (SA-48400)', '484121', false, false);
                        document.f1.ncode.options[14] = new Option('NAICS 484122 - General Freight Trucking, Long Distance, Less Than Truckload (SA-48400)', '484122', false, false);
                        document.f1.ncode.options[15] = new Option('NAICS 484210 - Used Household and Office Goods Moving (SA-48400)', '484210', false, false);
                        document.f1.ncode.options[16] = new Option('NAICS 484220 - Specialized Freight (except Used Goods) Trucking, Local (SA-48400)', '484220', false, false);
                        document.f1.ncode.options[17] = new Option('NAICS 484230 - Specialized Freight (except Used Goods) Trucking, Long Distance (SA-48400)', '484230', false, false);
						document.f1.ncode.options[18] = new Option('NAICS 485111 - Mixed Mode Transit Systems (SA-48500)', '485111', false, false);
                        document.f1.ncode.options[19] = new Option('NAICS 485112 - Commuter Rail Systems (SA-48500)', '485112', false, false);
						document.f1.ncode.options[20] = new Option('NAICS 485113 - Bus and Other Motor Vehicle Transit Systems (SA-48500)', '485113', false, false);
                        document.f1.ncode.options[21] = new Option('NAICS 485119 - Other Urban Transit Systems (SA-48500)', '485119', false, false);
                        document.f1.ncode.options[22] = new Option('NAICS 485210 - Interurban and Rural Bus Transportation (SA-48500)', '485210', false, false);
                        document.f1.ncode.options[23] = new Option('NAICS 485310 - Taxi Service (SA-48500)', '485310', false, false);
  						document.f1.ncode.options[24] = new Option('NAICS 485320 - Limousine Service (SA-48500)', '485320', false, false);
						document.f1.ncode.options[25] = new Option('NAICS 485410 - School and Employee Bus Transportation (SA-48500)', '485410', false, false);
                        document.f1.ncode.options[26] = new Option('NAICS 485510 - Charter Bus Industry (SA-48500)', '485510', false, false);
                        document.f1.ncode.options[27] = new Option('NAICS 485991 - Special Needs Transportation (SA-48500)', '485991', false, false);
                        document.f1.ncode.options[28] = new Option('NAICS 485999 - All Other Transit and Ground Passenger Transportation (SA-48500)', '485999', false, false);
                        document.f1.ncode.options[29] = new Option('NAICS 486110 - Pipeline Transportation of Crude Oil (SA-48610)', '486110', false, false);
						document.f1.ncode.options[30] = new Option('NAICS 486210 - Pipeline Transportation of Natural Gas (SA-48610)', '486210', false, false);
                        document.f1.ncode.options[31] = new Option('NAICS 486910 - Pipeline Transportation of Refined Petroleum Products (SA-48610)', '486910', false, false);
                        document.f1.ncode.options[32] = new Option('NAICS 486990 - All Other Pipeline Transportation (SA-48610)', '486990', false, false);
                        document.f1.ncode.options[33] = new Option('NAICS 487110 - Scenic and Sightseeing Transportation, Land (SA-48000)', '487110', false, false);
                        document.f1.ncode.options[34] = new Option('NAICS 487210 - Scenic and Sightseeing Transportation, Water (SA-48000)', '487210', false, false);
                        document.f1.ncode.options[35] = new Option('NAICS 487990 - Scenic and Sightseeing Transportation, Other (SA-48000)', '487990', false, false);
                        document.f1.ncode.options[36] = new Option('NAICS 488111 - Air Traffic Control (SA-48000)', '488111', false, false);
  						document.f1.ncode.options[37] = new Option('NAICS 488119 - Other Airport Operations (SA-48000)', '488119', false, false);
  			            document.f1.ncode.options[38] = new Option('NAICS 488190 - Other Support Activities for Air Transportation (SA-48000)', '488190', false, false);
						document.f1.ncode.options[39] = new Option('NAICS 488210 - Support Activities for Rail Transportation (SA-48000)', '488210', false, false);
                        document.f1.ncode.options[40] = new Option('NAICS 488310 - Port and Harbor Operations (SA-48000)', '488310', false, false);
                        document.f1.ncode.options[41] = new Option('NAICS 488320 - Marine Cargo Handling (SA-48000)', '488320', false, false);
                        document.f1.ncode.options[42] = new Option('NAICS 488330 - Navigational Services to Shipping (SA-48000)', '488330', false, false);
                        document.f1.ncode.options[43] = new Option('NAICS 488390 - Other Support Activities for Water Transportation (SA-48000)', '488390', false, false);
						document.f1.ncode.options[44] = new Option('NAICS 488410 - Motor Vehicle Towing (SA-48000)', '488410', false, false);
                        document.f1.ncode.options[45] = new Option('NAICS 488490 - Other Support Activities for Road Transportation (SA-48000)', '488490', false, false);                     
                        document.f1.ncode.options[46] = new Option('NAICS 488510 - Freight Transportation Arrangement (SA-48000)', '488510', false, false);
                        document.f1.ncode.options[47] = new Option('NAICS 488991 - Packing and Crating (SA-48000)', '488991', false, false);
                        document.f1.ncode.options[48] = new Option('NAICS 488999 - All Other Support Activities for Transportation (SA-48000)', '488999', false, false);
						document.f1.ncode.options[49] = new Option('NAICS 492110 - Couriers (SA-49000)', '492110', false, false);
                        document.f1.ncode.options[50] = new Option('NAICS 492210 - Local Messengers and Local Delivery (SA-49000)', '492210', false, false);
                        document.f1.ncode.options[51] = new Option('NAICS 493110 - General Warehousing and Storage (SA-49000)', '493110', false, false);
                        document.f1.ncode.options[52] = new Option('NAICS 493120 - Refrigerated Warehousing and Storage (SA-49000)', '493120', false, false);
                        document.f1.ncode.options[53] = new Option('NAICS 493130 - Farm Product Warehousing and Storage (SA-49000)', '493130', false, false);
                        document.f1.ncode.options[54] = new Option('NAICS 493190 - Other Warehousing and Storage (SA-49000)', '493190', false, false);
                        break;
                case "51" :
                        document.f1.ncode.options[0] = new Option('', '', false, false);
                        document.f1.ncode.options[1] = new Option('NAICS 511110 - Newspaper Publishers (SA-51111)', '511110', false, false);
                        document.f1.ncode.options[2] = new Option('NAICS 511120 - Periodical Publishers (SA-51112)', '511120', false, false);
                        document.f1.ncode.options[3] = new Option('NAICS 511130 - Book Publishers (SA-51113)', '511130', false, false);
                        document.f1.ncode.options[4] = new Option('NAICS 511140 - Database and Directory Publishers (SA-51114)', '511140', false, false);
                        document.f1.ncode.options[5] = new Option('NAICS 511191 - Greeting Card Publishers (SA-51118)', '511191', false, false);
                        document.f1.ncode.options[6] = new Option('NAICS 511199 - All Other Publishers (SA-51119)', '511199', false, false);
                        document.f1.ncode.options[7] = new Option('NAICS 511210 - Software Publishers (SA-51120)', '511210', false, false);
                        document.f1.ncode.options[8] = new Option('NAICS 512110 - Motion Picture and Video Production (SA-51210)', '512110', false, false);
                        document.f1.ncode.options[9] = new Option('NAICS 512120 - Motion Picture and Video Distribution (SA-51210)', '512120', false, false);
                        document.f1.ncode.options[10] = new Option('NAICS 512131 - Motion Picture Theaters (except Drive-In) (SA-51213)', '512131', false, false);
                        document.f1.ncode.options[11] = new Option('NAICS 512132 - Drive-In Motion Picture Theaters (SA-51213)', '512132', false, false);
                        document.f1.ncode.options[12] = new Option('NAICS 512191 - Teleproduction and Other Postproduction Services (SA-51219)', '512191', false, false);
                        document.f1.ncode.options[13] = new Option('NAICS 512199 - Other Motion Picture and Video Industries (SA-51219)', '512199', false, false);
                        document.f1.ncode.options[14] = new Option('NAICS 512210 - Record Production (SA-51000)', '512210', false, false);
                        document.f1.ncode.options[15] = new Option('NAICS 512220 - Integrated Record Production/Distribution (SA-51222)', '512220', false, false);
                        document.f1.ncode.options[16] = new Option('NAICS 512230 - Music Publishers (SA-51223)', '512230', false, false);
                        document.f1.ncode.options[17] = new Option('NAICS 512240 - Sound Recording Studios (SA-51224)', '512240', false, false);
                        document.f1.ncode.options[18] = new Option('NAICS 512290 - Other Sound Recording Industries (SA-51000)', '512290', false, false);
                        document.f1.ncode.options[19] = new Option('NAICS 515111 - Radio Networks (SA-51510)', '515111', false, false);
                        document.f1.ncode.options[20] = new Option('NAICS 515112 - Radio Stations (SA-51510)', '515112', false, false);
                        document.f1.ncode.options[21] = new Option('NAICS 515120 - Television Broadcasting (SA-51510)', '515120', false, false);
                        document.f1.ncode.options[22] = new Option('NAICS 515210 - Cable and Other Subscription Programming (SA-51520)', '515210', false, false);
/*                        document.f1.ncode.options[23] = new Option('NAICS 516110 - Internet Publishing and Broadcasting (SA-516)', '516110', false, false); */
                        document.f1.ncode.options[23] = new Option('NAICS 517110 - Wired Telecommunications Carriers (SA-51710)', '517110', false, false);
                        document.f1.ncode.options[24] = new Option('NAICS 517211 - Paging (SA-51721)', '517211', false, false);
                        document.f1.ncode.options[25] = new Option('NAICS 517212 - Cellular and Other WIreless Telecommunications (SA-51721)', '517212', false, false);
/*                        document.f1.ncode.options[27] = new Option('NAICS 517310 - Telecommunications Resellers (SA-5173)', '517310', false, false); */
                        document.f1.ncode.options[26] = new Option('NAICS 517410 - Satellite Telecommunications (SA-51740)', '517410', false, false);
/*                        document.f1.ncode.options[29] = new Option('NAICS 517510 - Cable and Other Program Distribution (SA-5175)', '517510', false, false); */
/* added this NAICS */	document.f1.ncode.options[27] = new Option('NAICS 517911 - Telecommunications Resellers (SA-51730)', '517911', false, false);
/* updated Title */     document.f1.ncode.options[28] = new Option('NAICS 517919 - All Other Telecommunications (SA-51790)', '517919', false, false);
                        document.f1.ncode.options[29] = new Option('NAICS 518111 - Internet Service Providers (SA-51820)', '518111', false, false);
                        document.f1.ncode.options[30] = new Option('NAICS 518112 - Web Search Portals (SA-51820)', '518112', false, false);
                        document.f1.ncode.options[31] = new Option('NAICS 518210 - Data Processing, Hosting, and Related Services (SA-51820)', '518210', false, false);
                        document.f1.ncode.options[32] = new Option('NAICS 519110 - News Syndicates (SA-51911)', '519110', false, false);
                        document.f1.ncode.options[33] = new Option('NAICS 519120 - Libraries and Archives (SA-51912)', '519120', false, false);
/* added this NAICS */  document.f1.ncode.options[34] = new Option('NAICS 519130 - Internet Publishing and Broadcasting and Web Search Portals (SA-51919)', '519130', false, false);
                        document.f1.ncode.options[35] = new Option('NAICS 519190 - All Other Information Services (SA-51919)', '519190', false, false);
                        break;
          case "52" :
                        document.f1.ncode.options[0] = new Option('', '', false, false);
                        document.f1.ncode.options[1] = new Option('NAICS 521110 - Monetary Authorities-Central Bank (SA-52000)', '521110', false, false);
                        document.f1.ncode.options[2] = new Option('NAICS 522110 - Commercial Banking (SA-52200)', '522110', false, false);
                        document.f1.ncode.options[3] = new Option('NAICS 522120 - Savings Institutions (SA-52200)', '522120', false, false);
                        document.f1.ncode.options[4] = new Option('NAICS 522130 - Credit Unions (SA-52200)', '522130', false, false);
                        document.f1.ncode.options[5] = new Option('NAICS 522190 - Other Depository Credit Intermediation (SA-52200)', '522190', false, false);
                        document.f1.ncode.options[6] = new Option('NAICS 522210 - Credit Card Issuing (SA-52200)', '522210', false, false);
                        document.f1.ncode.options[7] = new Option('NAICS 522220 - Sales Financing (SA-52200)', '522220', false, false);
                        document.f1.ncode.options[8] = new Option('NAICS 522291 - Consumer Lending (SA-52200)', '522291', false, false);
                        document.f1.ncode.options[9] = new Option('NAICS 522292 - Real Estate Credit (SA-52200)', '522292', false, false);
                        document.f1.ncode.options[10] = new Option('NAICS 522293 - International Trade Financing (SA-52200)', '522293', false, false);
                        document.f1.ncode.options[11] = new Option('NAICS 522294 - Secondary Market Financing (SA-52200)', '522294', false, false);
                        document.f1.ncode.options[12] = new Option('NAICS 522298 - All Other Nondepository Credit Intermediation (SA-52200)', '522298', false, false);
                        document.f1.ncode.options[13] = new Option('NAICS 522310 - Mortgage and Nonmortgage Loan Brokers (SA-52200)', '522310', false, false);
                        document.f1.ncode.options[14] = new Option('NAICS 522320 - Financial Transactions Processing, Reserve, and Clearinghouse Activities (SA-52200)', '522320', false, false);
						document.f1.ncode.options[15] = new Option('NAICS 522390 - Other Activities Related to Credit Intermediation (SA-52200)', '522390', false, false);
						document.f1.ncode.options[16] = new Option('NAICS 523110 - Investment Banking and Securities Dealing (SA-52311)', '523110', false, false);
                        document.f1.ncode.options[17] = new Option('NAICS 523120 - Securities Brokerage (SA-52311)', '523120', false, false);
                        document.f1.ncode.options[18] = new Option('NAICS 523130 - Commodity Contracts Dealing (SA-52312)', '523130', false, false);
                        document.f1.ncode.options[19] = new Option('NAICS 523140 - Commodity Contracts Brokerage (SA-52312)', '523140', false, false);
						document.f1.ncode.options[20] = new Option('NAICS 523210 - Securities and Commodity Exchanges (SA-52000)', '523210', false, false);
                        document.f1.ncode.options[21] = new Option('NAICS 523910 - Miscellaneous Intermediation (SA-52000)', '523910', false, false);
                        document.f1.ncode.options[22] = new Option('NAICS 523920 - Portfolio Management (SA-52390)', '523920', false, false);
                        document.f1.ncode.options[23] = new Option('NAICS 523930 - Investment Advice (SA-52390)', '523930', false, false);
						document.f1.ncode.options[24] = new Option('NAICS 523991 - Trust, Fiduciary, and Custody Activities (SA-52000)', '523991', false, false);
                        document.f1.ncode.options[25] = new Option('NAICS 523999 - Miscellaneous Financial Investment Activities (SA-52000)', '523999', false, false);
                        document.f1.ncode.options[26] = new Option('NAICS 524113 - Direct Life Insurance Carriers (SA-52000)', '524113', false, false);
                        document.f1.ncode.options[27] = new Option('NAICS 524114 - Direct Health and Medical Insurance Carriers (SA-52400)', '524114', false, false);
                        document.f1.ncode.options[28] = new Option('NAICS 524126 - Direct Property and Casualty Insurance Carriers (SA-52000)', '524126', false, false);
                        document.f1.ncode.options[29] = new Option('NAICS 524127 - Direct Title Insurance Carriers (SA-52000)', '524127', false, false);
                        document.f1.ncode.options[30] = new Option('NAICS 524128 - Other Direct Insurance (except Life, Health, and Medical) Carriers (SA-52000)', '524128', false, false);
                        document.f1.ncode.options[31] = new Option('NAICS 524130 - Reinsurance Carriers (SA-52000)', '524130', false, false);
                        document.f1.ncode.options[32] = new Option('NAICS 524210 - Insurance Agencies and Brokerages (SA-52000)', '524210', false, false);
                        document.f1.ncode.options[33] = new Option('NAICS 524291 - Claims Adjusting (SA-52000)', '524291', false, false);
                        document.f1.ncode.options[34] = new Option('NAICS 524292 - Third Party Administration of Insurance and Pension Funds (SA-52000)', '524292', false, false);   
						document.f1.ncode.options[35] = new Option('NAICS 524298 - All Other Insurance Related Activities (SA-52000)', '524298', false, false);
                        break;
                case "53" :
                        document.f1.ncode.options[0] = new Option('', '', false, false);
						document.f1.ncode.options[1] = new Option('NAICS 531110 - Lessors of Residential Buildings and Dwellings (SA-53000)', '531110', false, false);
                        document.f1.ncode.options[2] = new Option('NAICS 531120 - Lessors of Nonresidential Buildings (except Miniwarehouses) (SA-53000)', '531120', false, false);
                        document.f1.ncode.options[3] = new Option('NAICS 531130 - Lessors of Miniwarehouses and Self-Storage Units (SA-53000)', '531130', false, false);
                        document.f1.ncode.options[4] = new Option('NAICS 531190 - Lessors of Other Real Estate Property (SA-53000)', '531190', false, false);
                        document.f1.ncode.options[5] = new Option('NAICS 531210 - Offices of Real Estate Agents and Brokers (SA-53000)', '531210', false, false);
                        document.f1.ncode.options[6] = new Option('NAICS 531311 - Residential Property Managers (SA-53000)', '531311', false, false);
                        document.f1.ncode.options[7] = new Option('NAICS 531312 - Nonresidential Property Managers (SA-53000)', '531312', false, false);
                        document.f1.ncode.options[8] = new Option('NAICS 531320 - Offices of Real Estate Appraisers (SA-53000)', '531320', false, false);
                        document.f1.ncode.options[9] = new Option('NAICS 531390 - Other Activities Related to Real Estate (SA-53000)', '531390', false, false);
                        document.f1.ncode.options[10] = new Option('NAICS 532111 - Passenger Car Rental (SA-53211)', '532111', false, false);
                        document.f1.ncode.options[11] = new Option('NAICS 532112 - Passenger Car Leasing (SA-53000)', '532112', false, false);
                        document.f1.ncode.options[12] = new Option('NAICS 532120 - Truck, Utility Trailer, and RV Rental and Leasing (SA-53000)', '532120', false, false);
                        document.f1.ncode.options[13] = new Option('NAICS 532210 - Consumer Electronics and Appliances Rental (SA-53000)', '532210', false, false);
                        document.f1.ncode.options[14] = new Option('NAICS 532220 - Formal Wear and Costume Rental (SA-53000)', '532220', false, false);
                        document.f1.ncode.options[15] = new Option('NAICS 532230 - Video Tape and Disc Rental (SA-53000)', '532230', false, false);
                        document.f1.ncode.options[16] = new Option('NAICS 532291 - Home Health Equipment Rental (SA-53000)', '532291', false, false);
                        document.f1.ncode.options[17] = new Option('NAICS 532292 - Recreational Goods Rental (SA-53000)', '532292', false, false);
                        document.f1.ncode.options[18] = new Option('NAICS 532299 - All Other Consumer Goods Rental (SA-53000)', '532299', false, false);
                        document.f1.ncode.options[19] = new Option('NAICS 532310 - General Rental Centers (SA-53000)', '532310', false, false);
                        document.f1.ncode.options[20] = new Option('NAICS 532411 - Commercial Air, Rail, and Water Transportation Equipment Rental and Leasing (SA-53000)', '532411', false, false);
                        document.f1.ncode.options[21] = new Option('NAICS 532412 - Construction, Mining, and Forestry Machinery and Equipment Rental and Leasing (SA-53000)', '532412', false, false);
                        document.f1.ncode.options[22] = new Option('NAICS 532420 - Office Machinery and Equipment Rental and Leasing (SA-53000)', '532420', false, false);
                        document.f1.ncode.options[23] = new Option('NAICS 532490 - Other Commercial and Industrial Machinery and Equipment Rental and Leasing (SA-53000)', '532490', false, false);
                        document.f1.ncode.options[24] = new Option('NAICS 533110 - Lessors of Nonfinancial Intangible Assets (except Copyrighted Works) (SA-53000)', '533110', false, false);
						break;
                 case "54" :
                        document.f1.ncode.options[0] = new Option('', '', false, false);
                        document.f1.ncode.options[1] = new Option('NAICS 541110 - Offices of Lawyers (SA-54011) ' , '541110', false, false);
                        document.f1.ncode.options[2] = new Option('NAICS 541191 - Title Abstract and Settlement Offices (SA-54011)', '541191', false, false);
                        document.f1.ncode.options[3] = new Option('NAICS 541199 - All Other Legal Services (SA-54011)', '541199', false, false);
                        document.f1.ncode.options[4] = new Option('NAICS 541211 - Offices of Certified Public Accountants (SA-54210)', '541211', false, false);
                        document.f1.ncode.options[5] = new Option('NAICS 541213 - Tax Preparation Services (SA-54210)', '541213', false, false);
                        document.f1.ncode.options[6] = new Option('NAICS 541214 - Payroll Services (SA-54210)', '541214', false, false);
                        document.f1.ncode.options[7] = new Option('NAICS 541219 - Other Accounting Services (SA-54210)', '541219', false, false);
                        document.f1.ncode.options[8] = new Option('NAICS 541310 - Architectural Services (SA-54131)', '541310', false, false);
                        document.f1.ncode.options[9] = new Option('NAICS 541320 - Landscape Architectural Services (SA-54000)', '541320', false, false);
                        document.f1.ncode.options[10] = new Option('NAICS 541330 - Engineering Services (SA-54133)', '541330', false, false);
                        document.f1.ncode.options[11] = new Option('NAICS 541340 - Drafting Services (SA-54000)', '541340', false, false);
                        document.f1.ncode.options[12] = new Option('NAICS 541350 - Building Inspection Services (SA-54000)', '541350', false, false);
                        document.f1.ncode.options[13] = new Option('NAICS 541360 - Geophysical Surveying and Mapping Services (SA-54000)', '541360', false, false);
                        document.f1.ncode.options[14] = new Option('NAICS 541370 - Surveying and Mapping (except Geophysical) Services (SA-54000)', '541370', false, false);
                        document.f1.ncode.options[15] = new Option('NAICS 541380 - Testing Laboratories (SA-54000)', '541380', false, false);
                        document.f1.ncode.options[16] = new Option('NAICS 541410 - Interior Design Services (SA-54002)', '541410', false, false);
                        document.f1.ncode.options[17] = new Option('NAICS 541420 - Industrial Design Services (SA-54002)', '541420', false, false);
                        document.f1.ncode.options[18] = new Option('NAICS 541430 - Graphic Design Services (SA-54002)', '541430', false, false);
                        document.f1.ncode.options[19] = new Option('NAICS 541490 - Other Specialized Design Services (SA-54002)', '541490', false, false);
                        document.f1.ncode.options[20] = new Option('NAICS 541511 - Custom Computer Programming Services (SA-54150)', '541511', false, false);
                        document.f1.ncode.options[21] = new Option('NAICS 541512 - Computer Systems Design Services (SA-54150)', '541512', false, false);
                        document.f1.ncode.options[22] = new Option('NAICS 541513 - Computer Facilities Management Services (SA-54150)', '541513', false, false);
                        document.f1.ncode.options[23] = new Option('NAICS 541519 - Other Computer Related Services (SA-54150)', '541519', false, false);
                        document.f1.ncode.options[24] = new Option('NAICS 541611 - Administrative Management and General Management Consulting Services (SA-54160)', '541611', false, false);
                        document.f1.ncode.options[25] = new Option('NAICS 541612 - Human Resources and Executive Search Consulting Services (SA-54160) ', '541612', false, false);
                        document.f1.ncode.options[26] = new Option('NAICS 541613 - Marketing Consulting Services (SA-54160)', '541613', false, false);
                        document.f1.ncode.options[27] = new Option('NAICS 541614 - Process, Physical Distribution, and Logistics Consulting Services (SA-54160)', '541614', false, false);
                        document.f1.ncode.options[28] = new Option('NAICS 541618 - Other Management Consulting Services (SA-54160)', '541618', false, false);
                        document.f1.ncode.options[29] = new Option('NAICS 541620 - Environmental Consulting Services (SA-54000)', '541620', false, false);
                        document.f1.ncode.options[30] = new Option('NAICS 541690 - Other Scientific and Technical Consulting Services (SA-54000)', '541690', false, false);
                        document.f1.ncode.options[31] = new Option('NAICS 541710 - Research and Development in the Physical, Engineering and Life Sciences (SA-54170)', '541710', false, false);
                        document.f1.ncode.options[32] = new Option('NAICS 541720 - Research and Development in the Social Sciences and Humanities (SA-54170)', '541720', false, false);
                        document.f1.ncode.options[33] = new Option('NAICS 541810 - Advertising Agencies (SA-54181)', '541810', false, false);
                        document.f1.ncode.options[34] = new Option('NAICS 541820 - Public Relations Agencies (SA-54182)', '541820', false, false);
                        document.f1.ncode.options[35] = new Option('NAICS 541830 - Media Buying Agencies (SA-54002)', '541830', false, false);
                        document.f1.ncode.options[36] = new Option('NAICS 541840 - Media Representatives (SA-54002)', '541840', false, false);
                        document.f1.ncode.options[37] = new Option('NAICS 541850 - Display Advertising (SA-54002)', '541850', false, false);
                        document.f1.ncode.options[38] = new Option('NAICS 541860 - Direct Mail Advertising (SA-54186)', '541860', false, false);
                        document.f1.ncode.options[39] = new Option('NAICS 541870 - Advertising Material Distribution Services (SA-54002)', '541870', false, false);
                        document.f1.ncode.options[40] = new Option('NAICS 541890 - Other Services Related to Advertising (SA-54002)', '541890', false, false);
                        document.f1.ncode.options[41] = new Option('NAICS 541910 - Marketing Research and Public Opinion Polling (SA-54002)', '541910', false, false);
                        document.f1.ncode.options[42] = new Option('NAICS 541921 - Photography Studios, Portrait (SA-54002)', '541921', false, false);
                        document.f1.ncode.options[43] = new Option('NAICS 541922 - Commercial Photography (SA-54002)', '541922', false, false);
                        document.f1.ncode.options[44] = new Option('NAICS 541930 - Translation and Interpretation Services (SA-54002)', '541930', false, false);
                        document.f1.ncode.options[45] = new Option('NAICS 541940 - Veterinary Services (SA-54002)', '541940', false, false);
                        document.f1.ncode.options[46] = new Option('NAICS 541990 - All Other Professional, Scientific and Technical Services (SA-54002)', '541990', false, false);
                        break;
                case "56" :
                        document.f1.ncode.options[0] = new Option('', '', false, false);
                        document.f1.ncode.options[1] = new Option('NAICS 561110 - Office Administrative Services (SA-56000)', '561110', false, false);
                        document.f1.ncode.options[2] = new Option('NAICS 561210 - Facilities Support Services (SA-56000)', '561210', false, false);
                        document.f1.ncode.options[3] = new Option('NAICS 561311 - Employment Placement Agencies (SA-56130)', '561311', false, false);
                        document.f1.ncode.options[3] = new Option('NAICS 561312 - Executive Search Services (SA-56132)', '561312', false, false);
						document.f1.ncode.options[4] = new Option('NAICS 561320 - Temporary Help Services (SA-56130)', '561320', false, false);
                        document.f1.ncode.options[5] = new Option('NAICS 561330 - Professional Employer Organizations (SA-56134)', '561330', false, false);
                        document.f1.ncode.options[6] = new Option('NAICS 561410 - Document Preparation Services (SA-56000)', '561410', false, false);
                        document.f1.ncode.options[7] = new Option('NAICS 561421 - Telephone Answering Services (SA-56000)', '561421', false, false);
                        document.f1.ncode.options[8] = new Option('NAICS 561422 - Telemarketing Bureaus (SA-56000)', '561422', false, false);
                        document.f1.ncode.options[9] = new Option('NAICS 561431 - Private Mail Centers (SA-56000)', '561431', false, false);
                        document.f1.ncode.options[10] = new Option('NAICS 561439 - Other Business Service Centers (including Copy Shops) (SA-56000)', '561439', false, false);
                        document.f1.ncode.options[11] = new Option('NAICS 561440 - Collection Agencies (SA-56000)', '561440', false, false);
                        document.f1.ncode.options[12] = new Option('NAICS 561450 - Credit Bureaus (SA-56000)', '561450', false, false);
                        document.f1.ncode.options[13] = new Option('NAICS 561491 - Repossession Services (SA-56000)', '561491', false, false);
                        document.f1.ncode.options[14] = new Option('NAICS 561492 - Court Reporting and Stenotype Services (SA-56000)', '561492', false, false);
                        document.f1.ncode.options[15] = new Option('NAICS 561499 - All Other Business Support Services (SA-56000)', '561499', false, false);
                        document.f1.ncode.options[16] = new Option('NAICS 561510 - Travel Agencies (SA-56150)', '561510', false, false);
                        document.f1.ncode.options[17] = new Option('NAICS 561520 - Tour Operators (SA-56152)', '561520', false, false);
                        document.f1.ncode.options[18] = new Option('NAICS 561591 - Convention and Visitors Bureaus (SA-56159)', '561591', false, false);
                        document.f1.ncode.options[19] = new Option('NAICS 561599 - All Other Travel Arrangement and Reservation Services (SA-56150)', '561599', false, false);
                        document.f1.ncode.options[20] = new Option('NAICS 561611 - Investigation Services (SA-56T)', '561611', false, false);
                        document.f1.ncode.options[21] = new Option('NAICS 561612 - Security Guards and Patrol Services (SA-56000)', '561612', false, false);
                        document.f1.ncode.options[22] = new Option('NAICS 561613 - Armored Car Services (SA-56000)', '561613', false, false);
                        document.f1.ncode.options[23] = new Option('NAICS 561621 - Security Systems Services (except Locksmiths) (SA-56000)', '561621', false, false);
                        document.f1.ncode.options[24] = new Option('NAICS 561622 - Locksmiths (SA-56000)', '561622', false, false);
                        document.f1.ncode.options[25] = new Option('NAICS 561710 - Exterminating and Pest Control Services (SA-56000)', '561710', false, false);
                        document.f1.ncode.options[26] = new Option('NAICS 561720 - Janitorial Services (SA-56000)', '561720', false, false);
                        document.f1.ncode.options[27] = new Option('NAICS 561730 - Landscaping Services (SA-56000)', '561730', false, false);
                        document.f1.ncode.options[28] = new Option('NAICS 561740 - Carpet and Upholstery Cleaning Services (SA-56000)', '561740', false, false);
                        document.f1.ncode.options[29] = new Option('NAICS 561790 - Other Services to Buildings and Dwellings (SA-56000)', '561790', false, false);
                        document.f1.ncode.options[30] = new Option('NAICS 561910 - Packaging and Labeling Services (SA-56000)', '561910', false, false);
                        document.f1.ncode.options[31] = new Option('NAICS 561920 - Convention and Trade Show Organizers (SA-56000)', '561920', false, false);
                        document.f1.ncode.options[32] = new Option('NAICS 561990 - All Other Support Services (SA-56000)', '561990', false, false);
                        document.f1.ncode.options[33] = new Option('NAICS 562111 - Solid Waste Collection (SA-56210)', '562111', false, false);
                        document.f1.ncode.options[34] = new Option('NAICS 562112 - Hazardous Waste Collection (SA-56210)', '562112', false, false);
                        document.f1.ncode.options[35] = new Option('NAICS 562119 - Other Waste Collection (SA-56210)', '562119', false, false);
                        document.f1.ncode.options[36] = new Option('NAICS 562211 - Hazardous Waste Treatment and Disposal (SA-56220)', '562211', false, false);
                        document.f1.ncode.options[37] = new Option('NAICS 562212 - Solid Waste Landfill (SA-56220)', '562212', false, false);
                        document.f1.ncode.options[38] = new Option('NAICS 562213 - Solid Waste Combustors and Incinerators (SA-56220)', '562213', false, false);
                        document.f1.ncode.options[39] = new Option('NAICS 562219 - Other Nonhazardous Waste Treatment and Disposal (SA-56220)', '562219', false, false);
                        document.f1.ncode.options[40] = new Option('NAICS 562910 - Remediation Services (SA-56000)', '562910', false, false);
                        document.f1.ncode.options[41] = new Option('NAICS 562920 - Materials Recovery Facilities (SA-56291)', '562920', false, false);
                        document.f1.ncode.options[42] = new Option('NAICS 562991 - Septic Tank and Related Services (SA-56291)', '562991', false, false);
                        document.f1.ncode.options[43] = new Option('NAICS 562998 - All Other Miscellaneous Waste Management Services (SA-56291)', '562998', false, false);
                        break;
				case "61" :
                        document.f1.ncode.options[0] = new Option('', '', false, false);
                        document.f1.ncode.options[1] = new Option('NAICS 611410 - Business and Secretarial Schools (SA-61000)', '611410', false, false);
                        document.f1.ncode.options[2] = new Option('NAICS 611420 - Computer Training (SA-61000)', '611420', false, false);
                        document.f1.ncode.options[3] = new Option('NAICS 611430 - Professional and Management Development Training (SA-61000)', '611430', false, false);
                        document.f1.ncode.options[4] = new Option('NAICS 611511 - Cosmetology and Barber Schools (SA-61000)', '611511', false, false);
                        document.f1.ncode.options[5] = new Option('NAICS 611512 - Flight Training (SA-61000)', '611512', false, false);
                        document.f1.ncode.options[6] = new Option('NAICS 611513 - Apprenticeship Training (SA-61000)', '611513', false, false);
                        document.f1.ncode.options[7] = new Option('NAICS 611519 - Other Technical and Trade Schools (SA-61000)', '611519', false, false);
                        document.f1.ncode.options[8] = new Option('NAICS 611610 - Fine Arts Schools (SA-61000)', '611610', false, false);
                        document.f1.ncode.options[9] = new Option('NAICS 611620 - Sports and Recreation Instruction (SA-61000)', '611620', false, false);
                        document.f1.ncode.options[10] = new Option('NAICS 611630 - Language Schools (SA-61000)', '611630', false, false);
                        document.f1.ncode.options[11] = new Option('NAICS 611691 - Exam Preparation and Tutoring (SA-61000)', '611691', false, false);
                        document.f1.ncode.options[12] = new Option('NAICS 611692 - Automobile Driving Schools (SA-61T000)', '611692', false, false);
                        document.f1.ncode.options[13] = new Option('NAICS 611699 - All Other Miscellaneous Schools and Instruction (SA-61000)', '611699', false, false);
                        document.f1.ncode.options[14] = new Option('NAICS 611710 - Educational Support Services (SA-61000)', '611710', false, false);
                        break;
                case "62" :
                        document.f1.ncode.options[0] = new Option('', '', false, false);
                        document.f1.ncode.options[1] = new Option('NAICS 621111 - Offices of Physicians, (except Mental Health Specialists) (SA-62000)', '621111', false, false);
                        document.f1.ncode.options[2] = new Option('NAICS 621112 - Offices of Physicians, Mental Health Specialists (SA-62000)', '621112', false, false);
                        document.f1.ncode.options[3] = new Option('NAICS 621210 - Offices of Dentists (SA-62000)', '621210', false, false);
                        document.f1.ncode.options[4] = new Option('NAICS 621310 - Offices of Chiropractors (SA-62000)', '621310', false, false);
                        document.f1.ncode.options[5] = new Option('NAICS 621320 - Offices of Optometrists (SA-62000)', '621320', false, false);
                        document.f1.ncode.options[6] = new Option('NAICS 621330 - Offices of Mental Health Practitioners, (except Physicians) (SA-62000)', '621330', false, false);
                        document.f1.ncode.options[7] = new Option('NAICS 621340 - Offices of Physical, Occupational and Speech Therapists, and Audiologists (SA-62000)', '621340', false, false);
                        document.f1.ncode.options[8] = new Option('NAICS 621391 - Offices of Podiatrists (SA-62000)', '621391', false, false);
                        document.f1.ncode.options[9] = new Option('NAICS 621399 - Offices of All Other Miscellaneous Health Practitioners (SA-62000)', '621399', false, false);
                        document.f1.ncode.options[10] = new Option('NAICS 621410 - Family Planning Centers (SA-62000)', '621410', false, false);
                        document.f1.ncode.options[11] = new Option('NAICS 621420 - Outpatient Mental Health and Substance Abuse Centers (SA-62000)', '621420', false, false);
                        document.f1.ncode.options[12] = new Option('NAICS 621491 - HMO Medical Centers (SA-62000)', '621491', false, false);
                        document.f1.ncode.options[13] = new Option('NAICS 621492 - Kidney Dialysis Centers (SA-62000)', '621492', false, false);
                        document.f1.ncode.options[14] = new Option('NAICS 621493 - Freestanding Ambulatory Surgical and Emergency Centers (SA-62000)', '621493', false, false);
                        document.f1.ncode.options[15] = new Option('NAICS 621498 - All Other Outpatient Care Centers (SA-62000)', '621498', false, false);
                        document.f1.ncode.options[16] = new Option('NAICS 621511 - Medical Laboratories (SA-62150)', '621511', false, false);
                        document.f1.ncode.options[17] = new Option('NAICS 621512 - Diagnostic Imaging Centers (SA-62150)', '621512', false, false);
                        document.f1.ncode.options[18] = new Option('NAICS 621610 - Home Health Care Services (SA-62000)', '621610', false, false);
                        document.f1.ncode.options[19] = new Option('NAICS 621910 - Ambulance Services (SA-62000)', '621910', false, false);
                        document.f1.ncode.options[20] = new Option('NAICS 621991 - Blood and Organ Banks (SA-62000)', '621991', false, false);
                        document.f1.ncode.options[21] = new Option('NAICS 621999 - All Other Miscellaneous Ambulatory Health Care Services (SA-62000)', '621999', false, false);
                        document.f1.ncode.options[22] = new Option('NAICS 622118 - General Medical and Surgical Hospitals, Govt. (SA-62000)', '622118', false, false);
                        document.f1.ncode.options[23] = new Option('NAICS 622119 - General Medical and Surgical Hospitals, Private (SA-62000)', '622119', false, false);
						document.f1.ncode.options[24] = new Option('NAICS 622218 - Psychiatric and Substance Abuse Hospitals, Govt. (SA-62000)', '622218', false, false);
                        document.f1.ncode.options[25] = new Option('NAICS 622219 - Psychiatric and Substance Abuse Hospitals, Private (SA-62000)', '622219', false, false);
						document.f1.ncode.options[26] = new Option('NAICS 622318 - Specialty Hospitals,(except Psychiatric and Substance Abuse), Govt. (SA-62000)', '622318', false, false);
                       	document.f1.ncode.options[27] = new Option('NAICS 622319 - Specialty Hospitals,(except Psychiatric and Substance Abuse), Private (SA-62000)', '622319', false, false);
						document.f1.ncode.options[28] = new Option('NAICS 623110 - Nursing Care Facilities (SA-62000)', '623110', false, false);
                        document.f1.ncode.options[29] = new Option('NAICS 623210 - Residential Mental Retardation Facilities (SA-62000)', '623210', false, false);
                        document.f1.ncode.options[30] = new Option('NAICS 623220 - Residential Mental Health and Substance Abuse Facilities (SA-62000)', '623220', false, false);
                        document.f1.ncode.options[31] = new Option('NAICS 623311 - Continuing Care Retirement Communities (SA-62000)', '623311', false, false);
                        document.f1.ncode.options[32] = new Option('NAICS 623312 - Homes for the Elderly (SA-62000)', '623312', false, false);
                        document.f1.ncode.options[33] = new Option('NAICS 623990 - Other Residential Care Facilities (SA-62000)', '623990', false, false);
                        document.f1.ncode.options[34] = new Option('NAICS 624110 - Child and Youth Services (SA-62400)', '624110', false, false);
                        document.f1.ncode.options[35] = new Option('NAICS 624120 - Services for the Elderly and Persons with Disabilities (SA-62400)', '624120', false, false);
                        document.f1.ncode.options[36] = new Option('NAICS 624190 - Other Individual and Family Services (SA-62400)', '624190', false, false);
                        document.f1.ncode.options[37] = new Option('NAICS 624210 - Community Food Services (SA-62400)', '624210', false, false);
                        document.f1.ncode.options[38] = new Option('NAICS 624221 - Temporary Shelters (SA-62400)', '624221', false, false);
                        document.f1.ncode.options[39] = new Option('NAICS 624229 - Other Community Housing Services (SA-62400)', '624229', false, false);
                        document.f1.ncode.options[40] = new Option('NAICS 624230 - Emergency and Other Relief Services (SA-62400)', '624230', false, false);
                        document.f1.ncode.options[41] = new Option('NAICS 624310 - Vocational Rehabilitation Services (SA-62400)', '624310', false, false);
                        document.f1.ncode.options[42] = new Option('NAICS 624410 - Child Day Care Services (SA-62400)', '624410', false, false);
                        break;
                case "71" :
                        document.f1.ncode.options[0] = new Option('', '', false, false);
                        document.f1.ncode.options[1] = new Option('NAICS 711110 - Theater Companies and Dinner Theaters (SA-71110)', '711110', false, false);
                        document.f1.ncode.options[2] = new Option('NAICS 711120 - Dance Companies (SA-71110)', '711120', false, false);
                        document.f1.ncode.options[3] = new Option('NAICS 711130 - Musical Groups and Artists (SA-71110)', '711130', false, false);
                        document.f1.ncode.options[4] = new Option('NAICS 711190 - Other Performing Arts Companies (SA-71110)', '711190', false, false);
                        document.f1.ncode.options[5] = new Option('NAICS 711211 - Sports Teams and Clubs (SA-71120)', '711211', false, false);
                        document.f1.ncode.options[6] = new Option('NAICS 711212 - Racetracks (SA-71120)', '711212', false, false);
                        document.f1.ncode.options[7] = new Option('NAICS 711219 - Other Spectator Sports (SA-71120)', '711219', false, false);
                        document.f1.ncode.options[8] = new Option('NAICS 711310 - Promoters of Performing Arts, Sports and Similar Events with Facilities (SA-71002)', '711310', false, false);
                        document.f1.ncode.options[9] = new Option('NAICS 711320 - Promoters of Performing Arts, Sports and Similar Events without Facilities (SA-71002)', '711320', false, false);
                        document.f1.ncode.options[10] = new Option('NAICS 711410 - Agents and Managers for Artists, Athletes, Entertainers, and Other Public Figures (SA-71000)', '711410', false, false);
                        document.f1.ncode.options[11] = new Option('NAICS 711510 - Independent Artists, Writers, and Performers (SA-71150)', '711510', false, false);
                        document.f1.ncode.options[12] = new Option('NAICS 712110 - Museums (SA-71002)', '712110', false, false);
                        document.f1.ncode.options[13] = new Option('NAICS 712120 - Historical Sites (SA-71002)', '712120', false, false);
                        document.f1.ncode.options[14] = new Option('NAICS 712130 - Zoos and Botanical Gardens (SA-71002)', '712130', false, false);
                        document.f1.ncode.options[15] = new Option('NAICS 712190 - Nature Parks and Other Similar Institutions (SA-71002)', '712190', false, false);
                        document.f1.ncode.options[16] = new Option('NAICS 713110 - Amusement and Theme Parks (SA-71311)', '713110', false, false);
                        document.f1.ncode.options[17] = new Option('NAICS 713120 - Amusement Arcades (SA-71000)', '713120', false, false);
                        document.f1.ncode.options[18] = new Option('NAICS 713210 - Casinos (except Casino Hotels) (SA-71000)', '713210', false, false);
                        document.f1.ncode.options[19] = new Option('NAICS 713290 - Other Gambling Industries (SA-71000)', '713290', false, false);
                        document.f1.ncode.options[20] = new Option('NAICS 713910 - Golf Courses and Country Clubs (SA-71002)', '713910', false, false);
                        document.f1.ncode.options[21] = new Option('NAICS 713920 - Skiing Facilities (SA-71002)', '713920', false, false);
                        document.f1.ncode.options[22] = new Option('NAICS 713930 - Marinas (SA-71002)', '713930', false, false);
                        document.f1.ncode.options[23] = new Option('NAICS 713940 - Fitness and Recreational Sports Centers (SA-71002)', '713940', false, false);
                        document.f1.ncode.options[24] = new Option('NAICS 713950 - Bowling Centers (SA-71002)', '713950', false, false);
                        document.f1.ncode.options[25] = new Option('NAICS 713990 - All Other Amusement and Recreation Industries (SA-71002)', '713990', false, false);
                        break;
                case "81" :
                        document.f1.ncode.options[0] = new Option('', '', false, false);
                        document.f1.ncode.options[1] = new Option('NAICS 811111 - General Automotive Repair (SA-81000)', '811111', false, false);
                        document.f1.ncode.options[2] = new Option('NAICS 811112 - Automotive Exhaust System Repair (SA-81000)', '811112', false, false);
                        document.f1.ncode.options[3] = new Option('NAICS 811113 - Automotive Transmission Repair (SA-81000)', '811113', false, false);
                        document.f1.ncode.options[4] = new Option('NAICS 811118 - Other Automotive Mechanical and Electrical Repair and Maintenance (SA-81000)', '811118', false, false);
                        document.f1.ncode.options[5] = new Option('NAICS 811121 - Automotive Body, Paint, Interior Repair and Maintenance (SA-81000)', '811121', false, false);
                        document.f1.ncode.options[6] = new Option('NAICS 811122 - Automotive Glass Replacement Shops (SA-81000)', '811122', false, false);
                        document.f1.ncode.options[7] = new Option('NAICS 811191 - Automotive Oil Change and Lubrication Shops (SA-81000)', '811191', false, false);
                        document.f1.ncode.options[8] = new Option('NAICS 811192 - Car Washes (SA-81000)', '811192', false, false);
                        document.f1.ncode.options[9] = new Option('NAICS 811198 - All Other Automotive Repair and Maintenance (SA-81000)', '811198', false, false);
                        document.f1.ncode.options[10] = new Option('NAICS 811211 - Consumer Electronics Repair and Maintenance (SA-81000)', '811211', false, false);
                        document.f1.ncode.options[11] = new Option('NAICS 811212 - Computer and Office Machine Repair and Maintenance (SA-81000)', '811212', false, false);
                        document.f1.ncode.options[12] = new Option('NAICS 811213 - Communication Equipment Repair and Maintenance (SA-81000)', '811213', false, false);
                        document.f1.ncode.options[13] = new Option('NAICS 811219 - Other Electronic and Precision Equipment Repair and Maintenance (SA-81000)', '811219', false, false);
                        document.f1.ncode.options[14] = new Option('NAICS 811310 - Commercial and Industrial Machinery and Equipment Repair and Maintenance (SA-81000)', '811310', false, false);
                        document.f1.ncode.options[15] = new Option('NAICS 811411 - Home and Garden Equipment Repair and Maintenance (SA-81000)', '811411', false, false);
                        document.f1.ncode.options[16] = new Option('NAICS 811412 - Appliance Repair and Maintenance (SA-81000)', '811412', false, false);
                        document.f1.ncode.options[17] = new Option('NAICS 811420 - Reupholstery and Furniture Repair (SA-81000)', '811420', false, false);
                        document.f1.ncode.options[18] = new Option('NAICS 811430 - Footwear and Leather Goods Repair (SA-81000)', '811430', false, false);
                        document.f1.ncode.options[19] = new Option('NAICS 811490 - Other Personal and Household Goods and Repair and Maintenance (SA-81000)', '811490', false, false);
                        document.f1.ncode.options[20] = new Option('NAICS 812111 - Barber Shops (SA-81000)', '812111', false, false);
                        document.f1.ncode.options[21] = new Option('NAICS 812112 - Beauty Salons (SA-81000)', '812112', false, false);
                        document.f1.ncode.options[22] = new Option('NAICS 812113 - Nail Salons (SA-81000)', '812113', false, false);
                        document.f1.ncode.options[23] = new Option('NAICS 812191 - Diet and Weight Reducing Centers (SA-81000)', '812191', false, false);
                        document.f1.ncode.options[24] = new Option('NAICS 812199 - Other Personal Care Services (SA-81000)', '812199', false, false);
                        document.f1.ncode.options[25] = new Option('NAICS 812210 - Funeral Homes and Funeral Services (SA-81000)', '812210', false, false);
                        document.f1.ncode.options[26] = new Option('NAICS 812220 - Cemeteries and Crematories (SA-81000)', '812220', false, false);
                        document.f1.ncode.options[27] = new Option('NAICS 812310 - Coin-Operated Laundries and Drycleaners (SA-81000)', '812310', false, false);
                        document.f1.ncode.options[28] = new Option('NAICS 812320 - Drycleaning and Laundry Services (except Coin-Operated) (SA-81000)', '812320', false, false);
                        document.f1.ncode.options[29] = new Option('NAICS 812331 - Linen Supply (SA-81000)', '812331', false, false);
                        document.f1.ncode.options[30] = new Option('NAICS 812332 - Industrial Launderers (SA-81000)', '812332', false, false);
                        document.f1.ncode.options[31] = new Option('NAICS 812910 - Pet Care (except Veterinary) Services (SA-81000)', '812910', false, false);
                        document.f1.ncode.options[32] = new Option('NAICS 812921 - Photofinishing Laboratories (except One-Hour) (SA-81000)', '812921', false, false);
                        document.f1.ncode.options[33] = new Option('NAICS 812922 - One-Hour Photofinishing (SA-81000)', '812922', false, false);
                        document.f1.ncode.options[34] = new Option('NAICS 812930 - Parking Lots and Garages (SA-81000)', '812930', false, false);
                        document.f1.ncode.options[35] = new Option('NAICS 812990 - All Other Personal Services (SA-81000)', '812990', false, false);
                        document.f1.ncode.options[36] = new Option('NAICS 813211 - Grantmaking Foundations (SA-813000)', '813211', false, false);
                        document.f1.ncode.options[37] = new Option('NAICS 813212 - Volunteer Health Organizations (SA-813000)', '813212', false, false);
                        document.f1.ncode.options[38] = new Option('NAICS 813219 - Other Grantmaking and Giving Services (SA-813000)', '813219', false, false);
                        document.f1.ncode.options[39] = new Option('NAICS 813311 - Human Rights Organizations (SA-813000)', '813311', false, false);
                        document.f1.ncode.options[40] = new Option('NAICS 813312 - Environment, Conservation and Wildlife Organizations (SA-813000)', '813312', false, false);
                        document.f1.ncode.options[41] = new Option('NAICS 813319 - Other Social Advocacy Organizations (SA-813000)', '813319', false, false);
                        document.f1.ncode.options[42] = new Option('NAICS 813410 - Civic and Social Organizations (SA-813000)', '813410', false, false);
                        document.f1.ncode.options[43] = new Option('NAICS 813910 - Business Associations (SA-813000)', '813910', false, false);
                        document.f1.ncode.options[44] = new Option('NAICS 813920 - Professional Organizations (SA-813000)', '813920', false, false);
                        document.f1.ncode.options[45] = new Option('NAICS 813990 - Other Similar Organizations (SA-813000)', '813990', false, false);               
                        break;
                case "" :

                        break;
                default :

                        break;
        }


  }



