function aida_init(pulldown1) { var opties = new Array; opties[1] = new Option("Training","Training"); opties[2] = new Option("Voeding","Voeding"); opties[3] = new Option("Supplementen","Supplementen"); opties[4] = new Option("Afslanken","Afslanken"); opties[5] = new Option("Spieropbouw","Spieropbouw"); pulldown1.length = 1; for (var i=1; i < opties.length; i++) { pulldown1.options[i] = eval("opties[" + i + "]"); } pulldown1.options[0].selected = true; } function fill_dependSel(selBox, value) { var opt = new Array; if (value == "Training") { opt[1] = new Option("Oefeningen","Oefeningen"); opt[2] = new Option("Software","Software"); opt[3] = new Option("Coaching","Coaching"); opt[4] = new Option("Video/DVD","Video/DVD"); opt[5] = new Option("Producten","Producten"); } else if (value == "Voeding") { opt[1] = new Option("Maaltijdvervangers","Maaltijdvervangers"); opt[2] = new Option("Vitamines en mineralen","Vitamines en mineralen"); } else if (value == "Supplementen") { opt[1] = new Option("Creatine","Creatine"); opt[2] = new Option("Proteine","Proteine"); opt[3] = new Option("Maaltijdvervangers","Maaltijdvervangers"); opt[4] = new Option("Glutamine","Glutamine"); opt[5] = new Option("HMB","HMB"); opt[6] = new Option("Sint Janskruid","Sint Janskruid"); opt[7] = new Option("Ginko Biloba","Ginko Biloba"); opt[8] = new Option("CLA","CLA"); opt[9] = new Option("Lecitine","Lecitine"); opt[10] = new Option("Q10","Q10"); opt[11] = new Option("Vitamines/Mineralen","Vitamines/Mineralen"); opt[12] = new Option("Essentiele Verzuren","Essentiele Verzuren"); } else if (value == "Afslanken") { opt[1] = new Option("Stackers","Stackers"); } else if (value == "Spieropbouw") { opt[1] = new Option("Weiproteine","Weiproteine"); opt[2] = new Option("Creatine","Creatine"); opt[3] = new Option("Glutamine","Glutamine"); opt[4] = new Option("Maaltijdvervangers","Maaltijdvervangers"); opt[5] = new Option("CLA","CLA"); opt[6] = new Option("HMB","HMB"); opt[7] = new Option("Tribulus","Tribulus"); } else { opt[1] = new Option("Algemeen", "Algemeen"); } selBox.length = 1; for (var i=1; i < opt.length; i++) { selBox.options[i] = eval("opt[" + i + "]"); } selBox.options[0].selected = true; }