	function changeTimeOutBoats(firstcolor,secondcolor,id,delay) {
		
		document.getElementById('Boat'+id).style.color=firstcolor;
		setTimeout("changeTimeOutBoats('"+secondcolor+"','"+secondcolor+"','"+id+"');",delay);
		clearTimeout();
		
	}
	
			function SwapBoat(cid,bn) {
				
				for (n=1;n<=bn;n++) {
					
					if(n!=cid) {
					
						document.getElementById('BoatNr'+n).style.display='none'; 
						
					}
					
				}
				
				document.getElementById('BoatNr'+cid).style.display='block';
			}
			
			function SwapColorBoat(cid,bn) {
				
				for (n=1;n<=bn;n++) {
					
					if(n!=cid) {
					
						document.getElementById('BaBoatNr'+n).style.color='#00FF00'; 
						
					}
					
				}
				
				document.getElementById('BaBoatNr'+cid).style.color='white';
			}
			
