function Kiezen() {

	var stelsel = document.form1.stelsel.value;
	var ShiftPloeg = document.form1.ploeg.value;
	
			 switch(stelsel) {
				// ***************** blanco ***************** 
				case "0": rooster="";
				  switch(ShiftPloeg) {
					case "0": shiftref="22/12/2003"; break
					case "1": shiftref="15/12/2003"; break 
					default: shiftref="22/12/2003"; break
				  }	
				  break
				// ***************** twee ploegen 55 ***************** 
				case "0a": rooster="V,V,V,V,V,,,L,L,L,L,L,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="22/12/2003"; break
					case "1": shiftref="15/12/2003"; break 
					default: shiftref="22/12/2003"; break
				  }	
				  break
				// ***************** drie ploegen 555 ***************** 
				case "1": rooster="V,V,V,V,V,,,N,N,N,N,N,,,L,L,L,L,L,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="15/12/2003"; break
					case "1": shiftref="22/12/2003"; break
					case "2": shiftref="8/12/2003"; break
					default: shiftref="15/12/2003"; break
				  }	
				  break    
				// ***************** vier ploegen 777 ***************** 
				case "2": rooster="V,V,V,V,V,V,V,,,N,N,N,N,N,N,N,,,,L,L,L,L,L,L,L,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="17/12/2003"; break
					case "1": shiftref="10/12/2003"; break 
					case "2": shiftref="3/12/2003"; break
					case "3": shiftref="24/12/2003"; break
					default: shiftref="17/12/2003"; break
				  }	
				  break    
				// ***************** vier ploegen 223 ***************** 
				case "3": rooster="V,V,L,L,L,N,N,,,V,V,V,L,L,N,N,,,,V,V,L,L,N,N,N,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="17/12/2003"; break
					case "1": shiftref="10/12/2003"; break 
					case "2": shiftref="3/12/2003"; break
					case "3": shiftref="24/12/2003"; break
					default: shiftref="17/12/2003"; break
				  }	
				  break
				// ***************** vijf ploegen 222 *****************     
				case "4": rooster="V,V,L,L,N,N,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="10/12/2003"; break
					case "1": shiftref="8/12/2003"; break
					case "2": shiftref="6/12/2003"; break
					case "3": shiftref="4/12/2003"; break
					case "4": shiftref="2/12/2003"; break
					default: shiftref="10/12/2003"; break
				  }	
				  break   
				// ***************** vijf ploegen 222 alt *****************     
				case "5": rooster="V,V,L,L,N,N,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="11/12/2003"; break
					case "1": shiftref="9/12/2003"; break
					case "2": shiftref="7/12/2003"; break
					case "3": shiftref="5/12/2003"; break
					case "4": shiftref="3/12/2003"; break
					default: shiftref="11/12/2003"; break
				  }	
				  break    
				// ***************** vijf ploegen 223 *****************     
				case "6": rooster="V,V,L,L,L,N,N,,,,,,V,V,L,L,N,N,N,,,,,V,V,V,L,L,N,N,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="3/12/2003"; break
					case "1": shiftref="24/12/2003"; break
					case "2": shiftref="10/12/2003"; break
					case "3": shiftref="31/12/2003"; break
					case "4": shiftref="17/12/2003"; break
					default: shiftref="3/12/2003"; break
				  }	
				  break    
				// ***************** vijf ploegen 22_3 *****************     
				case "7": rooster="V,V,L,L,L,,N,N,,,,,V,V,L,L,,N,N,N,,,,V,V,V,L,L,,N,N,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="3/12/2003"; break
					case "1": shiftref="24/12/2003"; break
					case "2": shiftref="10/12/2003"; break
					case "3": shiftref="31/12/2003"; break
					case "4": shiftref="17/12/2003"; break
					default: shiftref="3/12/2003"; break
				  }	
				  break         
				// ***************** vijf ploegen 22_2 *****************     
				case "8": rooster="V,V,L,L,,N,N,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="10/12/2003"; break
					case "1": shiftref="8/12/2003"; break
					case "2": shiftref="6/12/2003"; break
					case "3": shiftref="4/12/2003"; break
					case "4": shiftref="2/12/2003"; break
					default: shiftref="10/12/2003"; break
				  }	
				  break     
				// ***************** vijf ploegen 22_2 alt *****************     
				case "9": rooster="V,V,L,L,,N,N,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="11/12/2003"; break
					case "1": shiftref="9/12/2003"; break
					case "2": shiftref="7/12/2003"; break
					case "3": shiftref="5/12/2003"; break
					case "4": shiftref="3/12/2003"; break
					default: shiftref="11/12/2003"; break
				  }	
				  break 
				// ***************** vier ploegen 223 alt ***************** 
				case "a": rooster="V,V,L,L,L,N,N,,,V,V,V,L,L,N,N,,,,V,V,L,L,N,N,N,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="18/12/2003"; break
					case "1": shiftref="11/12/2003"; break
					case "2": shiftref="4/12/2003"; break
					case "3": shiftref="25/12/2003"; break
					default: shiftref="18/12/2003"; break
				  }	
				  break   
				// ***************** vier ploegen 777 alt1 ***************** 
				case "b": rooster="L,L,L,L,L,L,L,,,V,V,V,V,V,V,V,,,,N,N,N,N,N,N,N,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="17/12/2003"; break
					case "1": shiftref="10/12/2003"; break
					case "2": shiftref="3/12/2003"; break
					case "3": shiftref="24/12/2003"; break
					default: shiftref="17/12/2003"; break
				  }	
				  break
				// ***************** vijf ploegen 34 ***************** 
				case "c": rooster="V,V,V,,,N,N,N,N,,,,L,L,L,,,V,V,V,V,,,N,N,N,,,,L,L,L,L,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="5/11/2003"; break
					case "1": shiftref="3/12/2003"; break
					case "2": shiftref="26/11/2003"; break
					case "3": shiftref="19/11/2003"; break
					case "4": shiftref="12/11/2003"; break
					default: shiftref="5/11/2003"; break
				  }	
				  break    	
				// ***************** drie ploegen 1 ***************** 
				case "d": rooster="D,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="5/11/2003"; break
					case "1": shiftref="6/11/2003"; break
					case "2": shiftref="7/11/2003"; break
					default: shiftref="5/11/2003"; break
				  }	
				  break    	
				// ***************** drie ploegen 555 alt ***************** 
				case "e": rooster="V,V,V,V,V,,,L,L,L,L,L,,,N,N,N,N,N,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="15/12/2003"; break
					case "1": shiftref="22/12/2003"; break
					case "2": shiftref="8/12/2003"; break
					default: shiftref="15/12/2003"; break
				  }	
				  break    
				// ***************** vijf ploegen 555 ***************** 
				case "f": rooster="V,V,V,V,V,,,L,L,L,L,L,,,,N,N,N,N,N,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="1/12/2003"; break
					case "1": shiftref="16/12/2003"; break
					case "2": shiftref="6/12/2003"; break
					case "3": shiftref="21/12/2003"; break
					case "4": shiftref="11/12/2003"; break
					default: shiftref="1/12/2003"; break
				  }	
				  break  
				// ***************** vijf ploegen 34 alt***************** 
				case "g": rooster="L,L,L,,,N,N,N,N,,,,V,V,V,,,L,L,L,L,,,N,N,N,,,,V,V,V,V,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="5/11/2003"; break
					case "1": shiftref="3/12/2003"; break
					case "2": shiftref="26/11/2003"; break
					case "3": shiftref="19/11/2003"; break
					case "4": shiftref="12/11/2003"; break
					default: shiftref="5/11/2003"; break
				  }	
				  break    
				// ***************** vier ploegen 11 ***************** 	
				case "h": rooster="D,N,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="2/12/2003"; break
					case "1": shiftref="3/12/2003"; break
					case "2": shiftref="4/12/2003"; break
					case "3": shiftref="5/12/2003"; break
					default: shiftref="2/12/2003"; break
				  }	
				  break
				// ***************** vier ploegen 777 alt2 ***************** 
				case "i": rooster="V,V,V,V,V,V,V,,,N,N,N,N,N,N,N,,,,L,L,L,L,L,L,L,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="6/12/2003"; break
					case "1": shiftref="13/12/2003"; break
					case "2": shiftref="20/12/2003"; break
					case "3": shiftref="27/12/2003"; break
					default: shiftref="6/12/2003"; break
				  }	
				  break    
				// ***************** vier ploegen 32_2D ***************** 
				case "j": rooster="V,V,V,N,N,,,L,L,,V,V,V,,N,N,N,,,,,D,D,L,L,L,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="1/12/2003"; break
					case "1": shiftref="22/12/2003"; break
					case "2": shiftref="15/12/2003"; break
					case "3": shiftref="8/12/2003"; break
					default: shiftref="1/12/2003"; break
				  }	
				  break    
				// ***************** zeven ploegen 777D ***************** 
				case "k": rooster="V,V,V,V,V,V,V,,L,L,L,L,L,L,L,,N,N,N,N,N,N,N,,,,,,,,D,D,D,D,D,,,D,D,D,D,D,,,D,D,D,D,";
				  switch(ShiftPloeg) {
					case "0": shiftref="22/11/2003"; break
					case "1": shiftref="29/11/2003"; break
					case "2": shiftref="6/12/2003"; break
					case "3": shiftref="13/12/2003"; break
					case "4": shiftref="20/12/2003"; break
					case "5": shiftref="8/11/2003"; break
					case "6": shiftref="15/11/2003"; break
					default: shiftref="22/11/2003"; break
				  }	
				  break    
				// ***************** vijf ploegen 212D ***************** 
				case "l": rooster="D,D,L,L,N,,,,,D,D,L,N,N,,,,,D,L,L,N,N,,,,D,D,L,L,N,N,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="24/11/2003"; break
					case "1": shiftref="1/12/2003"; break
					case "2": shiftref="15/12/2003"; break
					case "3": shiftref="22/12/2003"; break
					case "4": shiftref="8/12/2003"; break
					default: shiftref="24/11/2003"; break
				  }	
				  break   
				// ***************** vijf ploegen 32_3 ***************** 
				case "m": rooster="V,V,V,L,L,,,N,N,N,,,,V,V,L,L,L,,,N,N,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="12/12/2003"; break
					case "1": shiftref="17/12/2003"; break
					case "2": shiftref="7/12/2003"; break
					case "3": shiftref="27/12/2003"; break
					case "4": shiftref="22/12/2003"; break
					default: shiftref="12/12/2003"; break
				  }	
				  break    
				// ***************** twee ploegen 1 ***************** 
				case "n": rooster="D,";
				  switch(ShiftPloeg) {
					case "0": shiftref="1/12/2003"; break
					case "1": shiftref="2/12/2003"; break
					default: shiftref="1/12/2003"; break
				  }	
				  break
				// ***************** drie ploegen 554 ***************** 
				case "o": rooster="V,V,V,V,V,,,L,L,L,L,L,,,N,N,N,N,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="15/12/2003"; break
					case "1": shiftref="22/12/2003"; break
					case "2": shiftref="8/12/2003"; break
					default: shiftref="15/12/2003"; break
				  }	
				  break
				// ***************** vier ploegen 444 ***************** 
				case "p": rooster="V,V,V,V,,N,N,N,N,,,L,L,L,L,";
				  switch(ShiftPloeg) {
					case "0": shiftref="3/6/2008"; break
					case "1": shiftref="15/6/2008"; break 
					case "2": shiftref="11/6/2008"; break
					case "3": shiftref="7/6/2008"; break
					default: shiftref="3/6/2008"; break
				  }	
				  break    
				// ***************** vijf ploegen 34 alt1 ***************** 
				case "q": rooster="V,V,V,V,,,N,N,N,N,,,L,L,L,L,,,V,V,V,,,,N,N,N,,,,L,L,L,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="2/8/2008"; break
					case "1": shiftref="9/8/2008"; break 
					case "2": shiftref="16/8/2008"; break
					case "3": shiftref="23/8/2008"; break
					case "4": shiftref="30/8/2008"; break
					default: shiftref="2/8/2008"; break
				  }	
				  break    
				// ***************** vijf ploegen 223D ***************** 
				case "r": rooster="V,V,L,L,N,N,N,,,V,V,L,L,L,N,N,,,V,V,V,L,L,N,N,,,,D,D,D,D,D,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="19/5/2008"; break
					case "1": shiftref="26/5/2008"; break 
					case "2": shiftref="2/6/2008"; break
					case "3": shiftref="9/6/2008"; break
					case "4": shiftref="16/6/2008"; break
					default: shiftref="19/5/2008"; break
				  }	
				  break    
				// ***************** vijf ploegen 223X ***************** 
				case "s": rooster="V,V,L,L,N,N,N,,,V,V,L,L,L,N,N,,,V,V,V,L,L,N,N,,,,,,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="19/5/2008"; break
					case "1": shiftref="26/5/2008"; break 
					case "2": shiftref="2/6/2008"; break
					case "3": shiftref="9/6/2008"; break
					case "4": shiftref="16/6/2008"; break
					default: shiftref="19/5/2008"; break
				  }	
				  break
				// ***************** drie ploegen 423 ***************** 
				case "t": rooster="V,V,V,V,,,,L,L,,,V,V,,,,L,L,L,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="2/6/2008"; break
					case "1": shiftref="9/6/2008"; break
					case "2": shiftref="16/6/2008"; break
					default: shiftref="2/6/2008"; break
				  }	
				  break    
				// ***************** vijf ploegen 34D ***************** 
				case "u": rooster="L,L,L,L,,N,N,N,,,,D,V,V,V,D,,,L,L,L,,N,N,N,N,,,,V,V,V,V,D,";
				  switch(ShiftPloeg) {
					case "0": shiftref="3/1/2008"; break
					case "1": shiftref="31/1/2008"; break 
					case "2": shiftref="24/1/2008"; break
					case "3": shiftref="17/1/2008"; break
					case "4": shiftref="10/1/2008"; break
					default: shiftref="3/1/2008"; break
				  }	
				  break
				// ***************** vijf ploegen 212 ***************** 
				case "v": rooster="V,V,L,L,N,,,,,V,V,L,N,N,,,,,V,L,L,N,N,,,,V,V,L,L,N,N,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="24/11/2003"; break
					case "1": shiftref="1/12/2003"; break
					case "2": shiftref="15/12/2003"; break
					case "3": shiftref="22/12/2003"; break
					case "4": shiftref="8/12/2003"; break
					default: shiftref="24/11/2003"; break
				  }	
				  break
				// ***************** twee ploegen 7 ***************** 
				case "w": rooster="D,D,D,D,D,D,D,,,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="9/9/2008"; break
					case "1": shiftref="2/9/2008"; break
					default: shiftref="9/9/2008"; break
				  }	
				  break
				// ***************** vijf ploegen 23X ***************** 
				case "x": rooster="D,D,,N,N,N,,,,D,D,,,N,N,,,,D,D,D,,N,N,,,,,,,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="2/9/2008"; break
					case "1": shiftref="9/9/2008"; break 
					case "2": shiftref="16/9/2008"; break
					case "3": shiftref="23/9/2008"; break
					case "4": shiftref="30/9/2008"; break
					default: shiftref="2/9/2008"; break
				  }	
				  break
				// ***************** vier ploegen 22 ***************** 	
				case "y": rooster="D,D,,,N,N,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="2/12/2003"; break
					case "1": shiftref="4/12/2003"; break
					case "2": shiftref="6/12/2003"; break
					case "3": shiftref="8/12/2003"; break
					default: shiftref="2/12/2003"; break
				  }	
				  break				  				  			   				  
				// ***************** vier ploegen 2_22 ***************** 	
				case "z": rooster="V,V,L,L,N,N,,,V,V,,,L,L,N,N,,,V,V,L,L,N,,,,V,V,L,L,N,N,,,V,V,L,L,,N,N,N,,,V,V,L,L,N,N,,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="19/11/2008"; break
					case "1": shiftref="31/12/2008"; break
					case "2": shiftref="17/12/2008"; break
					case "3": shiftref="3/12/2008"; break
					default: shiftref="19/11/2008"; break
				  }	
				  break				  				  			   				  
				// ***************** vier ploegen 222 ***************** 	
				case "a1": rooster="V,V,L,L,N,N,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="6/10/2008"; break
					case "1": shiftref="8/10/2008"; break
					case "2": shiftref="10/10/2008"; break
					case "3": shiftref="12/10/2008"; break
					default: shiftref="6/10/2008"; break
				  }	
				  break
				// ***************** vier ploegen 23 ***************** 
				case "a2": rooster="D,D,,,,N,N,,,D,D,D,,,N,N,,,,D,D,,,N,N,N,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="17/12/2003"; break
					case "1": shiftref="10/12/2003"; break 
					case "2": shiftref="3/12/2003"; break
					case "3": shiftref="24/12/2003"; break
					default: shiftref="17/12/2003"; break
				  }	
				  break
				// ***************** vijf ploegen 122D ***************** 
				case "a3": rooster="D,D,L,L,L,,,,,D,D,N,N,N,,,,,D,L,L,N,N,,,,D,D,L,L,N,N,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="24/11/2003"; break
					case "1": shiftref="1/12/2003"; break
					case "2": shiftref="15/12/2003"; break
					case "3": shiftref="22/12/2003"; break
					case "4": shiftref="8/12/2003"; break
					default: shiftref="24/11/2003"; break
				  }	
				  break
				// ***************** vijf ploegen 122 ***************** 
				case "a4": rooster="V,V,L,L,L,,,,,V,V,N,N,N,,,,,V,L,L,N,N,,,,V,V,L,L,N,N,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="24/11/2003"; break
					case "1": shiftref="1/12/2003"; break
					case "2": shiftref="15/12/2003"; break
					case "3": shiftref="22/12/2003"; break
					case "4": shiftref="8/12/2003"; break
					default: shiftref="24/11/2003"; break
				  }	
				  break				  				  				  				  				  			   				  
				// ***************** zes ploegen 777D ***************** 
				case "a5": rooster="V,V,V,V,V,V,V,,,L,L,L,L,L,L,L,,,N,N,N,N,N,N,N,,,,,D,D,D,D,,,D,D,D,D,D,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="3/11/2008"; break
					case "1": shiftref="10/11/2008"; break
					case "2": shiftref="17/11/2008"; break
					case "3": shiftref="24/11/2008"; break
					case "4": shiftref="1/12/2008"; break
					case "5": shiftref="8/12/2008"; break
					default: shiftref="3/11/2008"; break
				  }	
				  break
				// ***************** vijf ploegen 333 ***************** 
				case "a6": rooster="V,V,V,,,N,N,N,,,L,L,L,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="22/10/2008"; break
					case "1": shiftref="25/10/2008"; break
					case "2": shiftref="28/10/2008"; break
					case "3": shiftref="31/10/2008"; break
					case "4": shiftref="3/11/2008"; break
					default: shiftref="22/10/2008"; break
				  }	
				  break				  				  				  				  				  			   				  
				// ***************** vijf ploegen 333 alt ***************** 
				case "a7": rooster="V,V,V,,,L,L,L,,,N,N,N,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="22/10/2008"; break
					case "1": shiftref="25/10/2008"; break
					case "2": shiftref="28/10/2008"; break
					case "3": shiftref="31/10/2008"; break
					case "4": shiftref="3/11/2008"; break
					default: shiftref="22/10/2008"; break
				  }	
				  break
				// ***************** vijf ploegen 325X ***************** 
				case "a8": rooster="V,V,V,,,N,N,,,,V,V,V,V,,,,,,,,N,N,N,N,N,,,L,L,L,L,L,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="3/11/2008"; break
					case "1": shiftref="10/11/2008"; break
					case "2": shiftref="17/11/2008"; break
					case "3": shiftref="24/11/2008"; break
					case "4": shiftref="1/12/2008"; break
					default: shiftref="3/11/2008"; break
				  }	
				  break
				// ***************** vier ploegen 34 ***************** 
				case "a9": rooster="D,D,D,D,,,,,,,,N,N,N,N,,,,D,D,D,,N,N,N,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="10/11/2008"; break
					case "1": shiftref="17/11/2008"; break
					case "2": shiftref="24/11/2008"; break
					case "3": shiftref="1/12/2008"; break
					default: shiftref="10/11/2008"; break
				  }	
				  break
				// ***************** twee ploegen 55 alt ***************** 
				case "b1": rooster="D,D,D,D,D,,,N,N,N,N,N,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="10/11/2008"; break
					case "1": shiftref="17/11/2008"; break 
					default: shiftref="10/11/2008"; break
				  }	
				  break
				// ***************** vier ploegen 777X ***************** 
				case "b2": rooster="V,V,V,V,V,V,V,L,L,L,L,L,L,L,N,N,N,N,N,N,N,,,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="17/11/2008"; break
					case "1": shiftref="24/11/2008"; break 
					case "2": shiftref="1/12/2008"; break
					case "3": shiftref="8/12/2008"; break
					default: shiftref="17/11/2008"; break
				  }	
				  break    				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  
				// ***************** vier ploegen 777 alt3 ***************** 
				case "b3": rooster="N,N,N,N,N,N,N,,L,L,L,L,L,L,L,,V,V,V,V,V,V,V,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="20/11/2008"; break
					case "1": shiftref="27/11/2008"; break 
					case "2": shiftref="4/12/2008"; break
					case "3": shiftref="11/12/2008"; break
					default: shiftref="20/11/2008"; break
				  }	
				  break 
				// ***************** vier ploegen 1 ***************** 
				case "b4": rooster="D,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="1/12/2008"; break
					case "1": shiftref="2/12/2008"; break
					case "2": shiftref="3/12/2008"; break
					case "3": shiftref="4/12/2008"; break
					default: shiftref="1/12/2008"; break
				  }	
				  break
				// ***************** drie ploegen 2 ***************** 
				case "b5": rooster="D,D,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="1/12/2008"; break
					case "1": shiftref="3/12/2008"; break
					case "2": shiftref="5/12/2008"; break
					default: shiftref="1/12/2008"; break
				  }	
				  break
				// ***************** vijf ploegen 22 ***************** 
				case "b6": rooster="D,D,,N,N,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="10/1/2009"; break
					case "1": shiftref="12/1/2009"; break
					case "2": shiftref="14/1/2009"; break
					case "3": shiftref="16/1/2009"; break
					case "4": shiftref="18/1/2009"; break
					default: shiftref="10/1/2009"; break
				  }	
				  break
				// ***************** vier ploegen 22 alt ***************** 
				case "b7": rooster="D,D,,N,N,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="7/6/2009"; break
					case "1": shiftref="9/6/2009"; break
					case "2": shiftref="11/6/2009"; break
					case "3": shiftref="13/6/2009"; break
					default: shiftref="7/6/2009"; break
				  }	
				  break				  				  				  				  				  				  			   				  				  				     				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				     				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  
				// ***************** vijf ploegen 45 ***************** 
				case "b8": rooster="V,V,V,V,V,,,L,L,L,L,,,N,N,N,N,N,,,,,,V,V,V,V,V,,,L,L,L,L,L,,,N,N,N,N,,,,,,,V,V,V,V,,,L,L,L,L,L,,,N,N,N,N,N,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="17/3/2008"; break
					case "1": shiftref="14/4/2008"; break
					case "2": shiftref="12/5/2008"; break
					case "3": shiftref="9/6/2008"; break
					case "4": shiftref="7/7/2008"; break
					default: shiftref="17/3/2008"; break
				  }	
				  break
				// ***************** twee ploegen 87 ***************** 
				case "b9": rooster="D,D,D,D,D,D,D,D,,,L,L,L,L,L,L,L,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="3/12/2008"; break
					case "1": shiftref="13/12/2008"; break 
					default: shiftref="3/12/2008"; break
				  }	
				  break
				// ***************** zeven ploegen 111D ***************** 
				case "c1": rooster="V,L,N,,D,V,L,N,,D,V,L,N,,,V,L,N,,,V,L,N,,D,V,L,N,,D,V,L,N,,,D,D,D,D,D,,,D,D,D,D,D,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="9/2/2009"; break
					case "1": shiftref="16/2/2009"; break
					case "2": shiftref="23/2/2009"; break
					case "3": shiftref="2/3/2009"; break
					case "4": shiftref="9/3/2009"; break
					case "5": shiftref="16/3/2009"; break
					case "6": shiftref="23/3/2009"; break
					default: shiftref="9/2/2009"; break
				  }	
				  break 
				// ***************** vier ploegen 23 alt ***************** 
				case "c2": rooster="D,D,,,N,N,,,,D,D,D,,N,N,,,,,D,D,,N,N,N,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="8/1/2009"; break
					case "1": shiftref="22/1/2009"; break 
					case "2": shiftref="29/1/2009"; break
					case "3": shiftref="15/1/2009"; break
					default: shiftref="8/1/2009"; break
				  }	
				  break
				// ***************** vijf ploegen 34 alt2 ***************** 
				case "c3": rooster="V,V,V,V,,,N,N,N,N,,,,L,L,L,,,V,V,V,,,,N,N,N,,,,L,L,L,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="6/1/2009"; break
					case "1": shiftref="27/1/2009"; break
					case "2": shiftref="3/2/2009"; break
					case "3": shiftref="20/1/2009"; break
					case "4": shiftref="13/1/2009"; break
					default: shiftref="6/1/2009"; break
				  }	
				  break    
				// ***************** vijf ploegen 677D ***************** 
				case "c4": rooster="D,D,D,D,D,D,,,,,L,L,L,L,L,L,L,,,,,,N,N,N,N,N,N,N,,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="2/11/2009"; break
					case "1": shiftref="9/11/2009"; break
					case "2": shiftref="16/11/2009"; break
					case "3": shiftref="23/11/2009"; break
					case "4": shiftref="30/11/2009"; break
					default: shiftref="2/11/2009"; break
				  }	
				  break    				  				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				     				  
				// ***************** vijf ploegen 777 ***************** 
				case "c5": rooster="V,V,V,V,V,V,V,,,,L,L,L,L,L,L,L,,,,,,N,N,N,N,N,N,N,,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="2/11/2009"; break
					case "1": shiftref="9/11/2009"; break
					case "2": shiftref="16/11/2009"; break
					case "3": shiftref="23/11/2009"; break
					case "4": shiftref="30/11/2009"; break
					default: shiftref="2/11/2009"; break
				  }	
				  break    				  				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				     				  				  				  				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				     				  
				// ***************** vier ploegen 22_2 ***************** 
				case "c6": rooster="V,V,,,V,V,L,L,N,N,,,V,V,L,L,,,N,N,,,V,V,L,L,N,N,,,,,L,L,N,N,,,V,V,L,L,N,N,,,,,V,V,L,L,N,N,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="07/01/2010"; break
					case "1": shiftref="21/01/2010"; break
					case "2": shiftref="04/02/2010"; break
					case "3": shiftref="18/02/2010"; break
					default: shiftref="07/01/2010"; break
				  }	
				  break
				// ***************** vijf ploegen 554D ***************** 
				case "c7": rooster="N,N,N,N,,,L,L,L,L,L,,,D,D,D,D,D,,,,,,N,N,N,N,N,,,L,L,L,L,,,D,D,D,D,D,,,,,,N,N,N,N,N,,,L,L,L,L,L,,,D,D,D,D,,,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="26/07/2009"; break
					case "1": shiftref="23/08/2009"; break
					case "2": shiftref="12/07/2009"; break
					case "3": shiftref="18/10/2009"; break
					case "4": shiftref="28/06/2009"; break
					default: shiftref="26/07/2009"; break
				  }	
				  break
				// ***************** vier ploegen 24 ***************** 
				case "c8": rooster="V,V,L,L,L,L,,,,V,V,V,V,,L,L,,N,N,,N,N,N,N,,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="11/01/2010"; break
					case "1": shiftref="18/01/2010"; break 
					case "2": shiftref="25/01/2010"; break
					case "3": shiftref="01/02/2010"; break
					default: shiftref="11/01/2010"; break
				  }	
				  break				  				  				  				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				     				  				  				  				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				  				  				  				  				  				  			   				  				 				  				  				  				  				  			   				  				     				  
				// ***************** zeven ploegen 22_3D ***************** 
				case "c9": rooster=",N,N,,,R,R,R,R,R,D,D,,,V,V,L,L,,N,N,N,,,R,R,,,D,D,D,,V,V,V,L,L,,N,N,,,,,V,V,L,L,L";
				  switch(ShiftPloeg) {
					case "0": shiftref="23/11/2009"; break
					case "1": shiftref="30/11/2009"; break 
					case "2": shiftref="7/12/2009"; break
					case "3": shiftref="14/12/2009"; break
					case "4": shiftref="21/12/2009"; break
					case "5": shiftref="28/12/2009"; break
					case "6": shiftref="4/01/2010"; break															
					default: shiftref="23/11/2009"; break
				  }	
				  break
				// ***************** zeven ploegen 22_3D alt ***************** 
				case "d1": rooster="V,V,L,L,,N,N,N,,,,V,V,V,L,L,,N,N,,,,,V,V,L,L,L,,N,N,,,,,D,D,D,D,D,,,D,D,D,D,,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="8/2/2010"; break
					case "1": shiftref="15/2/2010"; break 
					case "2": shiftref="22/2/2010"; break
					case "3": shiftref="1/3/2010"; break
					case "4": shiftref="8/3/2010"; break
					case "5": shiftref="15/3/2010"; break
					case "6": shiftref="22/3/2010"; break															
					default: shiftref="8/2/2010"; break
				  }	
				  break
				// ***************** drie ploegen 22 ***************** 
				case "d2": rooster="V,V,L,L,,";
				  switch(ShiftPloeg) {
					case "0": shiftref="16/6/2010"; break
					case "1": shiftref="20/6/2010"; break 
					case "2": shiftref="18/6/2010"; break
					default: shiftref="16/6/2010"; break
				  }	
				  break				  
				// ***************** basisinstelling *****************  
				default: rooster="V,V,V,V,V,,,L,L,L,L,L,,"; shiftref="22/12/2003"; 
			  }
	document.forms["form1"].shift.value = rooster;
	document.forms["form1"].datum.value = shiftref;
}
