// JavaScript Document
// Map Image Switcher
// Author: Pablo Mellognio
// Email: pablo@socimedia.com

//DEPARTURE POINTS\\
/*
1 Chicago
2 Cleveland -Cuyahoga
3 Detriot/Wayne County
4 Duluth
5 Erie-Western Pennslyvania
6 Green Bay
7 Hamilton
8 Indiana-Burns Harbour
9 Milwaukee
10 Montreal
11 Ogdensburg
12 Oshawa
13 Oswego Authority
14 Port Colborne
15 Prescott
16 Quebec
17 Sept-Iles
18 Thunder Bay
19 Toledo-Lucas County
20 Toronto
21 Trois-Rivieres
22 Valleyfield
23 Valport
24 Windsor*/

//DESTINATION POINTS\\
/*
1 Shanghai, China
2 Hong Kong, China
3 Bombay, India
4 Antwerp, Belgium
5 Rotterdam, The Netherlands
6 Durban, S. Africa
7 Rio de Janeiro, Brazil*/

function mapcalc()
	{
////////////////////////////////////////////////////////////////////////////////////////////////////////
	//departure = 1 Chicago - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 1 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			//document.getElementById("mapimg").innerHTML = "<img src='images/routemap1.gif' border='0'>";
			//document.getElementById("response").innerHTML = "41 days<br>";
			
			document.getElementById("days").innerHTML = "41";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11825.632";
			document.getElementById("milesw").style.visibility  = 'visible';

		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 1 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "39";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11151.196";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 1 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "28";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "8179.164";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 1 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{			
			document.getElementById("days").innerHTML = "14";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3975.44";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 1 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "14";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3971.968";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 1 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "28";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7987.336";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 1 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "20";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "5753.104";
			document.getElementById("milesw").style.visibility  = 'visible';
		}	
	
////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 2 Cleveland -Cuyahoga - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 2 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "39";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11203.276";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 2 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "36";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10528.84";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 2 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "28";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7556.808";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 2 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "12";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3353.952";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 2 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "12";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3349.612";
			document.getElementById("milesw").style.visibility  = 'visible';
		}	
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 2 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7364.98";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 2 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "18";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "5130.748";
			document.getElementById("milesw").style.visibility  = 'visible';
		}

////////////////////////////////////////////////////////////////////////////////////////////////////////
	//departure = 3 Detriot/Wayne County - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 3 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "39";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11276.188";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 3 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "37";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10601.752";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 3 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "26";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7629.72";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 3 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "12";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3426.864";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 3 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "12";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3422.524";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  	
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 3 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "26";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7437.892";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  	
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 3 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "18";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "5203.66";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  	

////////////////////////////////////////////////////////////////////////////////////////////////////////
	//departure = 4 Duluth - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 4 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "41";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11906.356";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 4 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "39";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11231.92";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 4 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "29";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "8259.888";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 4 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "14";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4057.032";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 4 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "14";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4052.692";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 4 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "28";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "8068.06";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 4 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "20";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "5833.828";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  

////////////////////////////////////////////////////////////////////////////////////////////////////////
	//departure = 5 Erie-Western Pennslyvania - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 5 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "38";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11090.384";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 5 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "36";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10415.948";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 5 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "26";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7443.916";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 5 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3241.06";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 5 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3236.72";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 5 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7252";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 5 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "17";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "5017";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
		
////////////////////////////////////////////////////////////////////////////////////////////////////////
	//departure = 6 Green Bay - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 6 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "37";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10848.264";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 6 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "35";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10173.828";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 6 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7201.796";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 6 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2998.94";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 6 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2994.6";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 6 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "23";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "6775.608";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 6 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "16";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4775.736";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 
		
////////////////////////////////////////////////////////////////////////////////////////////////////////		
	//departure = 7 Hamilton - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 7 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "38";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11045.3";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 7 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "36";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10370.864";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 7 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "26";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7398.832";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 7 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3195.976";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 7 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3191.636";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 7 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "24";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "6972.644";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 7 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "17";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4972.772";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 		
		
		
////////////////////////////////////////////////////////////////////////////////////////////////////////
	//departure = 8 Indiana-Burns Harbour - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 8 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "41";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11807.384";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 8 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "39";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11132.948";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 8 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "28";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "8160.916";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 8 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "14";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3958.06";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 8 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2953.72";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 8 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "28";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7969";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 8 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "20";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "5734";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 
		
	
////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 9 Milwaukee - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 9 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "40";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11769.212";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 9 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "38";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11094.776";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 9 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "28";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "8122.744";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 9 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "14";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3919.888";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 9 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "13";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3915.548";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 9 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "27";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7930.916";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 9 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "20";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "5696.684";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 
		


////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 10 Montreal - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 10 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "37";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10709.384";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 10 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "35";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10034.948";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 10 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7062.916";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 10 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2860.06";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 10 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2855.72";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 10 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "24";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "6871.088";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 10 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "16";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4636.856";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 
		

////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 11 Ogdensburg - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 11 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "37";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10805.732";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 11 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "35";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10174.696";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 11 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7202.664";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 11 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2999.808";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 11 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2995.468";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 11 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "23";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "6771.268";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 11 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "16";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4776.604";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 
		
		
		
////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 12 Oshawa - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 12 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "38";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10991.484";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 12 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "36";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10317.048";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 12 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7345.016";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 12 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3142.16";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 12 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3137.82";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 12 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7153.188";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 12 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "17";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4918.956";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 
		
		
		////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 13 Oswego Authority - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 13 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "38";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10942.876";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 13 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "36";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10268.44";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 13 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7296.408";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 13 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3093.552";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 13 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3089.212";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 13 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7104.58";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 13 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "17";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4870.348";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 
		
		
		
////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 14 Port Colborne - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 14 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "38";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11034.384";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 14 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "36";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10359.948";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 14 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "26";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7387.916";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 14 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3185.06";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 14 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3180.72";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 14 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7196";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 14 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "17";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4961";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 		
		
		
////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 15 Prescott - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 15 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "37";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10805.732";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 15 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "35";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10174.696";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 15 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7202.664";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 15 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2999.808";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 15 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2995.468";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 15 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "23";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "6771.268";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 15 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "16";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4776.604";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 			
		
		
////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 16 Quebec - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 16 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "38";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10847.384";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 16 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "35";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10160.948";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 16 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7200.916";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 16 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2996.06";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 16 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2993.72";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 16 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "24";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7009";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 16 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "16";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4774";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 		
		

////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 17 Sept_Iles - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 17 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "39";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11135.384";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 17 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "40";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11460.948";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 17 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "26";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7488.916";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 17 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3286.06";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 17 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3281.72";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 17 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7297";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 17 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "17";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "5062";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 		
		
		
////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 18 Thunder Bay - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 18 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "38";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10853.472";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 18 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "35";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10179.036";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 18 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7207.004";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 18 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3004.148";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 18 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2999.808";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 18 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "24";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7015.176";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 18 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "17";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4780.944";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 		
	
	
////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 19 Toledo-Lucas County - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 19 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "39";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11270.112";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 19 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "37";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10595.676";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 19 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "26";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7623.644";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 19 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "12";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3420.788";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 19 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "12";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3416.448";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 19 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "26";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7431.816";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 19 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "18";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "5197.584";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 	
	

////////////////////////////////////////////////////////////////////////////////////////////////////////	
	//departure = 20 Toronto - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 20 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "38";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11019.26";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 20 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "36";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10344.824";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 20 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7372.792";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 20 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3169.936";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 20 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "11";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3165.596";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 20 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7180.964";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 20 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "17";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4946.732";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 	
	
	
////////////////////////////////////////////////////////////////////////////////////////////////////////	
//departure = 21 Trois-Rivieres - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 21 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "41";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11779.384";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 21 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "35";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10104.948";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 21 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7132.916";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 21 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2930.06";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 21 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2925.72";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 21 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "24";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "6941";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 21 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "16";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4706";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 	
	
	

////////////////////////////////////////////////////////////////////////////////////////////////////////	
//departure = 22 Valleyfield - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 22 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "37";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10748.444";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 22 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "35";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10074.008";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 22 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7101.976";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 22 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2899.12";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 22 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2894.78";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 22 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "24";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "6910.148";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 22 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "16";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4675.916";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 

////////////////////////////////////////////////////////////////////////////////////////////////////////	
//departure = 23 Valport - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 23 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "37";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10748.444";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 23 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "35";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10074.008";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 23 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "25";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7101.976";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 23 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2899.12";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 23 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "10";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "2894.78";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 23 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "24";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "6910";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 23 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "16";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "4675.916";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 
		
		
		
////////////////////////////////////////////////////////////////////////////////////////////////////////	
//departure = 24 Windsor - destination = 1-7 ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 24 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "39";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11246.384";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 24 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "37";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "10571.948";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 24 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "26";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7599.916";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 24 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "12";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3397";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 24 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "12";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3392.72";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 24 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "26";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "7408";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 24 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "18";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "5173";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 
	
	
	
////////////////////////////////////////////////////////////////////////////////////////////////////////
//departure = 25 Indiana-Burns Harbour(2) - destination = 1-7 /////may not be used /////// //  ////////////////////////////////////////////////////////////////////////////////////////////////////////
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 25 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 1)
		{
			document.getElementById("days").innerHTML = "41";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11838.652";
			document.getElementById("milesw").style.visibility  = 'visible';
			
		}  		
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 25 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 2)
		{
			document.getElementById("days").innerHTML = "39";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "11164.216";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 25 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 3)
		{
			document.getElementById("days").innerHTML = "28";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "8174.824";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 25 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 4)
		{
			document.getElementById("days").innerHTML = "14";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3989.328";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 25 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 5)
		{
			document.getElementById("days").innerHTML = "14";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "3984.988";
			document.getElementById("milesw").style.visibility  = 'visible';
		}
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 25 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 6)
		{
			document.getElementById("days").innerHTML = "28";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "8000.356";
			document.getElementById("milesw").style.visibility  = 'visible';
		}  
	if(document.destinationform.departures.options[document.destinationform.departures.selectedIndex].value == 25 && document.destinationform.destination.options[document.destinationform.destination.selectedIndex].value == 7)
		{
			document.getElementById("days").innerHTML = "20";
			document.getElementById("daysw").style.visibility  = 'visible';
			
			document.getElementById("miles").innerHTML = "5766.124";
			document.getElementById("milesw").style.visibility  = 'visible';
		} 
		
		
	}//end of function

////////////////////////////////////////////////////////////////////////////////////////////////////////
	function mapreset()
	{
		//reset map image to default
//		document.getElementById("mapimg").innerHTML = "<img src='images/routeDefault.gif' border='0'>";	
		
		//reset response to blank
		
		document.getElementById("days").innerHTML = "";
		document.getElementById("daysw").style.visibility  = 'hidden';
			
		document.getElementById("miles").innerHTML = "";
		document.getElementById("milesw").style.visibility  = 'hidden';
		
		
		//reset departure dropdown
		document.destinationform.departures.selectedindex=0;
  		document.destinationform.departures.options[0].selected = true;
		
		//reset destination dropdown
		document.destinationform.destination.selectedindex=0;
  		document.destinationform.destination.options[0].selected = true;
	}
