// JScript source code
			var SingleDest = new Array();
			SingleDest[0]  = "Select a destination:none";
            SingleDest[1]  = "UK/Ireland:1";
            SingleDest[2]  = "Europe:2";
            SingleDest[3]  = "Australia/NZ:3";
            SingleDest[4]  = "Worldwide Excl USA/Canada:4";
            SingleDest[5]  = "Worldwide Incl USA/Canada:5";
            
            var AnnualDest = new Array();
			AnnualDest[0]  = "Select a destination:none";
            AnnualDest[1]  = "Europe:2";
            AnnualDest[2]  = "WorldWide Incl USA/Canada:5";
            
            var BackpackerDest = new Array();
            BackpackerDest[0]  = "Select a destination:none";
            BackpackerDest[1]  = "UK/Ireland:1";
            BackpackerDest[2]  = "Europe:2";
            BackpackerDest[3]  = "Australia/NZ:3";
            BackpackerDest[4]  = "Worldwide Excl USA/Canada:4";
            BackpackerDest[5]  = "Worldwide Incl USA/Canada:5"; 
            
			function CheckInsurance()
			{
				if (document.frmInsurance.optCover.value == "none")
				{
					alert("Please select an insurance cover level.");
					document.frmInsurance.optCover.focus();
					return false;
				}
				
				if (document.frmInsurance.optArea.value == "none")
				{
					alert("Please select your destination.");
					document.frmInsurance.optArea.focus();
					return false;
				}
				
				return true;
			}
			
			function CompleteDest()
			{
				/* Clear Select Box */
                while (document.frmInsurance.optArea.options.length > 0)
                {
					document.frmInsurance.optArea.options[0] = null;
                }

                if(document.frmInsurance.optCover[document.frmInsurance.optCover.selectedIndex].value == "S")
                {
					for (i=0;i<SingleDest.length;i++)
                    {
						arthisDest = SingleDest[i].split(":");
                        var myNewOption = new Option(arthisDest[0],arthisDest[1]);
                        document.frmInsurance.optArea.options.add(myNewOption,i);
                    }
                }
                
                if (document.frmInsurance.optCover[document.frmInsurance.optCover.selectedIndex].value == "A")
				{
					for (i=0;i<AnnualDest.length;i++)
					{
						arthisDest = AnnualDest[i].split(":");
						var myNewOption = new Option(arthisDest[0],arthisDest[1]);
						document.frmInsurance.optArea.options.add(myNewOption,i);
					}
				}
				
				if (document.frmInsurance.optCover[document.frmInsurance.optCover.selectedIndex].value == "B")
				{
					for (i=0;i<BackpackerDest.length;i++)
					{
						arthisDest = BackpackerDest[i].split(":");
						var myNewOption = new Option(arthisDest[0],arthisDest[1]);
						document.frmInsurance.optArea.options.add(myNewOption,i);
					}
				}
            }
