
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
	<!--  Begin
	if(v){a=new Array();aln=0;}
	function getFormNum (formName) {
	formNum =-1;
	for (i=0;i<document.forms.length;i++){
	tempForm = document.forms[i];
	if (formName == tempForm) {
	formNum = i;
	correctForm = tempForm;
	break;
	   }
	}
	return formNum;
	}
	function jmp(formName,elementNum) {
	getFormNum(formName);
	if (formNum>=0) {
	with (document.forms[formNum].elements[elementNum]) {
	i=selectedIndex;
	if (i>=0) location=options[i].value;
	      }
	   }
	}
	function O(txt,url) {
	a[k]=new Option(txt,url);k++;
	}
	function relate(formName,elementNum,j) {
	if(v) {
	k=1;

	if(j==0) { // SHAREWARE
	a=new Array();
	O("","");
		}

	if(j==1) { // London
	a=new Array();	 
	O("Going to....","");
	O("Toronto Pearson Int'l Airport","londontotorontopearsonairport.html");
	O("Detroit Metro Airport","londontodetroitmetroairport.html");
	
	}

	if(j==2) { // St. Thomas
	a=new Array(); 
	O("Going to....","");
	O("Toronto Pearson Int'l Airport","stthomastotorontopearsonairport.html");
	O("Detroit Metro Airport","stthomastodetroitmetroairport.html");
	}

	if(j==3) { // Windsor
	a=new Array();				
	O("Going to....","");
	O("Toronto Pearson Int' Airport","windsortotorontopearsonairport.html");
	O("Detroit Metro Airport","windsortodetroitmetroairport.html");
	}

	if(j==4) { // Toronto Pearson International Airport
	a=new Array();			
	O("Going to....","");
	O("London","torontopearsonairporttolondon.html");
	O("St. Thomas","torontopearsonairporttostthomas.html");
	O("Windsor","torontopearsonairporttowindsor.html");
	}
	
	if(j==5) { // Detroit Metro Airport
	a=new Array(); 
	O("Going to....","");
	O("London","detroitmetroairporttolondon.html");
	O("St. Thomas","detroitmetroairporttostthomas.html");
	O("Windsor","detroitmetroairporttowindsor.html");
	}
	
	aln2=a.length;
	getFormNum(formName);
	if (formNum>=0) {
	formNum = formNum + 1;
	with (document.forms[formNum].elements[elementNum]) {
	for (var i=options.length-1;i>0;i--) options[i]=null;
	for (var i=1;i<aln2;i++) options[i-1]=a[i];
	options[0].selected=true;
	      }
	   }
	} else {
	jmp(formName,elementNum);
	   }
	}
	// End -->

