var buildCatRef = 0
function buildCatRef(theForm)
	{
	if (buildCatRef == 0)
		{
		buildCatRef = 1
		option0 = new Option("Maak a.u.b. uw keus","1")
		option1 = new Option("WebsitesZoekmachines","WebsitesZoekmachines")
		option2 = new Option("DagWeekMaand bladen","DagWeekMaand bladen")
		option3 = new Option("Radio","Radio")
		option4 = new Option("Anders","Anders")
	
		theForm.slcCatRef.options[0] = option0
		theForm.slcCatRef.options[1] = option1
		theForm.slcCatRef.options[2] = option2
		theForm.slcCatRef.options[3] = option3
		theForm.slcCatRef.options[4] = option4
		}
	}

function buildItemRef(theForm, x)
	{
	if (x == "0") // Maak a.u.b. uw keuze
		{ 
		option0 = new Option("",0)
		option1 = new Option("",0)
		option2 = new Option("",0)
		option3 = new Option("",0)
		option4 = new Option("",0)
		option5 = new Option("",0)
		option6 = new Option("",0)
		option7 = new Option("",0)
		option8 = new Option("",0)
		option9 = new Option("",0)
		option10 = new Option("",0)
		option11 = new Option("",0)
		option12 = new Option("",0)
		option13 = new Option("",0)
		option14 = new Option("",0)
		option15 = new Option("",0)
		option16 = new Option("",0)
		option17 = new Option("",0)
		option18 = new Option("",0)
		option19 = new Option("",0)
		option20 = new Option("",0)

		theForm.slcItemRef.options[0] = option0
		theForm.slcItemRef.options[1] = option1
		theForm.slcItemRef.options[2] = option2
		theForm.slcItemRef.options[3] = option3
		theForm.slcItemRef.options[4] = option4
		theForm.slcItemRef.options[5] = option5
		theForm.slcItemRef.options[6] = option6
		theForm.slcItemRef.options[7] = option7
		theForm.slcItemRef.options[8] = option8
		theForm.slcItemRef.options[9] = option9
		theForm.slcItemRef.options[10] = option10
		theForm.slcItemRef.options[11] = option11
		theForm.slcItemRef.options[12] = option12
		theForm.slcItemRef.options[13] = option13
		theForm.slcItemRef.options[14] = option14
		theForm.slcItemRef.options[15] = option15
		theForm.slcItemRef.options[16] = option16
		theForm.slcItemRef.options[17] = option17
		theForm.slcItemRef.options[18] = option18
		theForm.slcItemRef.options[19] = option19
		theForm.slcItemRef.disabled = true
		}
		
	if (x == "1") //Websites/Zoekmachines
		{ 
		option0 = new Option("Maak a.u.b. uw keus",0)
		option1 = new Option("via Hosting.nl","via Hosting.nl")
		option2 = new Option("via De Telefoongids","via De Telefoongids")
		option3 = new Option("via Google","via Google")
		option4 = new Option("via Gouden Gids","via Gouden Gids")
		option5 = new Option("via Ilse","via Ilse")
		option6 = new Option("via MSN","via MSN")  
		option7 = new Option("via Zoek","via Zoek") 
		option8 = new Option("via Jong MKB","via Jong MKB")
		option9 = new Option("via backup.pagina.nl","via backup.pagina.nl")
		option10 = new Option("via De Zaak.nl","via De Zaak.nl")
		option11 = new Option("via FC Zwolle.nl","via FC Zwolle.nl")
		option12 = new Option("via Softwaregids.nl","via Softwaregids.nl")
		option13 = new Option("via backup.verzamelgids.nl","via backup.verzamelgids.nl")
		option14 = new Option("via computerbeveiliging.pagina.nl","via computerbeveiliging.pagina.nl")
		option15 = new Option("via datamanagement.pagina.nl","via datamanagement.pagina.nl")
		option16 = new Option("via ict.pagina.nl","via ict.pagina.nl")
		option17 = new Option("via laptop.pagina.nl","via laptop.pagina.nl")
		option18 = new Option("via linux.pagina.nl","via linux.pagina.nl")
		option19 = new Option("via software.pagina.nl","via software.pagina.nl")

		if (theForm.slcItemRef.disabled == true) { theForm.slcItemRef.disabled = false }
		theForm.slcItemRef.options[0] = option0
		theForm.slcItemRef.options[1] = option1
		theForm.slcItemRef.options[2] = option2
		theForm.slcItemRef.options[3] = option3
		theForm.slcItemRef.options[4] = option4
		theForm.slcItemRef.options[5] = option5
		theForm.slcItemRef.options[6] = option6
		theForm.slcItemRef.options[7] = option7
		theForm.slcItemRef.options[8] = option8
		theForm.slcItemRef.options[9] = option9
		theForm.slcItemRef.options[10] = option10
		theForm.slcItemRef.options[11] = option11
		theForm.slcItemRef.options[12] = option12
		theForm.slcItemRef.options[13] = option13
		theForm.slcItemRef.options[14] = option14
		theForm.slcItemRef.options[15] = option15
		theForm.slcItemRef.options[16] = option16
		theForm.slcItemRef.options[17] = option17
		theForm.slcItemRef.options[18] = option18
		theForm.slcItemRef.options[19] = option19
		theForm.slcItemRef.focus()
		return;
		}

	if (x == "2") // Dag-/Week-/Maand bladen
		{ 
		option0 = new Option("Maak a.u.b. uw keus",0)
		option1 = new Option("via Accountant Adviseur","via Accountant Adviseur")
		option2 = new Option("via Business Noord Holland","via Business Noord Holland")
		option3 = new Option("via Business Gooi- en Eemland","via Business Gooi- en Eemland")
		option4 = new Option("via Computable","via Computable")
		option5 = new Option("via Bizz","via Bizz")
		option6 = new Option("via De Zaak","via De Zaak")
		option7 = new Option("via MKB Ondernemen","via MKB Ondernemen")
		option8 = new Option("via Gouden Gids","via Gouden Gids")  
		option9 = new Option("via Lan Vision","via Lan Vision") 
		option10 = new Option("via Kamerkrant","via Kamerkrant")
		option11 = new Option("via Ondernemersbelang","via Kamerkrant")
		option12 = new Option("via Register Expert","via Ondernemersbelang")
		option13 = new Option("via MKB RegiOpinie ","via MKB RegiOpinie")
		option14 = new Option("via Stad in Bedrijf","via Stad in Bedrijf")
		option15 = new Option("",0)
		option16 = new Option("",0)
		option17 = new Option("",0)
		option18 = new Option("",0)
		option19 = new Option("",0)

		if (theForm.slcItemRef.disabled == true) { theForm.slcItemRef.disabled = false }
		theForm.slcItemRef.options[0] = option0
		theForm.slcItemRef.options[1] = option1
		theForm.slcItemRef.options[2] = option2
		theForm.slcItemRef.options[3] = option3
		theForm.slcItemRef.options[4] = option4
		theForm.slcItemRef.options[5] = option5
		theForm.slcItemRef.options[6] = option6
		theForm.slcItemRef.options[7] = option7
		theForm.slcItemRef.options[8] = option8
		theForm.slcItemRef.options[9] = option9
		theForm.slcItemRef.options[10] = option10
		theForm.slcItemRef.options[11] = option11
		theForm.slcItemRef.options[12] = option12
		theForm.slcItemRef.options[13] = option13
		theForm.slcItemRef.options[14] = option14
		theForm.slcItemRef.options[15] = option15
		theForm.slcItemRef.options[16] = option16
		theForm.slcItemRef.options[17] = option17
		theForm.slcItemRef.options[18] = option18
		theForm.slcItemRef.options[19] = option19
		theForm.slcItemRef.focus()
		return;
		}

	if (x == "3") // Radio
		{ 
		option0 = new Option("Maak a.u.b. uw keus",0)
		option1 = new Option("via Happy Radio","via Happy Radio")
		option2 = new Option("via Nederpop FM","via Nederpop FM")
		option3 = new Option("",0)
		option4 = new Option("",0)
		option5 = new Option("",0)
		option6 = new Option("",0)  
		option7 = new Option("",0) 
		option8 = new Option("",0)
		option9 = new Option("",0)
		option10 = new Option("",0)
		option11 = new Option("",0)
		option12 = new Option("",0)
		option13 = new Option("",0)
		option14 = new Option("",0)
		option15 = new Option("",0)
		option16 = new Option("",0)
		option17 = new Option("",0)
		option18 = new Option("",0)
		option19 = new Option("",0)

		if (theForm.slcItemRef.disabled == true) { theForm.slcItemRef.disabled = false }
		theForm.slcItemRef.options[0] = option0
		theForm.slcItemRef.options[1] = option1
		theForm.slcItemRef.options[2] = option2
		theForm.slcItemRef.options[3] = option3
		theForm.slcItemRef.options[4] = option4
		theForm.slcItemRef.options[5] = option5
		theForm.slcItemRef.options[6] = option6
		theForm.slcItemRef.options[7] = option7
		theForm.slcItemRef.options[8] = option8
		theForm.slcItemRef.options[9] = option9
		theForm.slcItemRef.options[10] = option10
		theForm.slcItemRef.options[11] = option11
		theForm.slcItemRef.options[12] = option12
		theForm.slcItemRef.options[13] = option13
		theForm.slcItemRef.options[14] = option14
		theForm.slcItemRef.options[15] = option15
		theForm.slcItemRef.options[16] = option16
		theForm.slcItemRef.options[17] = option17
		theForm.slcItemRef.options[18] = option18
		theForm.slcItemRef.options[19] = option19
		theForm.slcItemRef.focus()
		return;
		}

	if (x == "4") // Anders
		{ 
		option0 = new Option("Maak a.u.b. uw keus",0)
		option1 = new Option("via de Regiobusiness beurs","via de Regiobusiness beurs")
		option2 = new Option("via de HCC Windows GG beurs","via e Windows GG beurs")
		option3 = new Option("via een dealer","via een dealer")
		option4 = new Option("via een relatie","via een relatie")
		option5 = new Option("via auto","via auto")
		option6 = new Option("via flyer","via flyer")
		option7 = new Option("overige","overige")  
		option8 = new Option("",0)
		option9 = new Option("",0)
		option10 = new Option("",0)
		option11 = new Option("",0)
		option12 = new Option("",0)
		option13 = new Option("",0)
		option14 = new Option("",0)
		option15 = new Option("",0)
		option16 = new Option("",0)
		option17 = new Option("",0)
		option18 = new Option("",0)
		option19 = new Option("",0)

		if (theForm.slcItemRef.disabled == true) { theForm.slcItemRef.disabled = false }
		theForm.slcItemRef.options[0] = option0
		theForm.slcItemRef.options[1] = option1
		theForm.slcItemRef.options[2] = option2
		theForm.slcItemRef.options[3] = option3
		theForm.slcItemRef.options[4] = option4
		theForm.slcItemRef.options[5] = option5
		theForm.slcItemRef.options[6] = option6
		theForm.slcItemRef.options[7] = option7
		theForm.slcItemRef.options[8] = option8
		theForm.slcItemRef.options[9] = option9
		theForm.slcItemRef.options[10] = option10
		theForm.slcItemRef.options[11] = option11
		theForm.slcItemRef.options[12] = option12
		theForm.slcItemRef.options[13] = option13
		theForm.slcItemRef.options[14] = option14
		theForm.slcItemRef.options[15] = option15
		theForm.slcItemRef.options[16] = option16
		theForm.slcItemRef.options[17] = option17
		theForm.slcItemRef.options[18] = option18
		theForm.slcItemRef.options[19] = option19
		theForm.slcItemRef.focus()
		return;
		}
	}
