var arrAgents, arrAgentsName, arrAV, arrKW, arrHG, arrBT, arrMW, arrJE
arrAV = ["Chappers & Dave", "Colin Murray", "Dan Greenpeace", "Edith Bowman", "Jade Jagger", "Jaguar Skills", "Nihal", "Rick Edwards", "Vic Galloway", "Zane Lowe"]
arrKW = ["Alexa Chung", "Audiocalm", "Bethan Elfyn", "Bloc Party DJs (Matt / Russell)", "Denise van Outen", "DJ Dan", "Fearne Cotton", "Goldierocks", "Jenny Frost", "Jo Whiley", "Peaches Geldof", "Razorlight (DJs)", "Sara Cox", "Trash Pussies"]
arrHG = ["Alex Zane", "Ash (DJs)", "Danny McNamara", "Devils Gun (Live)", "Devils Gun Soundsystem", "Dirty Pretty Things (DJs)", "Embrace (DJs)", "Foals (DJs)", "Good Shoes (DJs)", "GoodBooks (DJs)", "Just Jack (DJ Set)", "Lily Allen", "Little Man Tate (DJs)", "Los Campesinos! (DJs)", "LostProphets (DJs)", "Matt Helders (Arctic Monkeys) DJ Set", "Mike Fielding (The Mighty Boosh)", "Nick Grimshaw", "Noisettes (DJs)", "Reggie Yates", "Samantha Ronson", "The Fratellis (DJs)", "The Horrors (DJs)", "The Maccabees (DJs)", "The Rumble Strips (DJs)", "The Young Knives (DJs)", "Tim Burgess DJ Set", "Zapotec Sound System"]
arrBT = ["Uncle Buck"]
arrMW = ["Mathew Horne"]
arrJE = ["Ralf Little"]
arrAgents =[arrAV, arrKW, arrHG, arrBT, arrMW, arrJE]
arrAgentsName = ["Andy Varley", "Kirsty Williams", "Helen Gleave", "Becky Thompson", "Matt Wynter", "Jody Evans"]

function updateArtists(theForm, newDisplay)
{ var AgentSelect, ArtistSelect, NumEntries, i
AgentSelect = theForm.Agents
ArtistSelect = theForm.Artists

for (i = ArtistSelect.length; i > 0; i--){
ArtistSelect.options[i-1] = null
}
	
ArtistSelect.options[0] = new Option("-- Select Artist --",-1)
	
if (newDisplay >= 0) {
NumEntries = arrAgents[newDisplay].length
for (i = 0; i < NumEntries; i++) {
ArtistSelect.options[i+1] = new Option((arrAgents[newDisplay])[i],(arrAgents[newDisplay])[i])
}
}
ArtistSelect.selected = -1
}
	
function showResult(theForm)
{ var AgentSelect, ArtistSelect
AgentsSelect = theForm.Agents
ArtistSelect = theForm.Artists
}