
function bookSSW() //function BookVT()
	{
		var querystring = "";
		var triptype = "";
		var depmonth = "";
		var retmonth = "";
		
		if (document.forms[0].depart.value == "")
			{
			alert ("Please select a point of Departure");
			return;
			}
		
		if (document.forms[0].dest0.value == "")
			{
			alert ("Please select a Destination");
			return;
			}
		
		if (document.forms[0].rt_ow[0].checked)
			{
			triptype = "return";
			retmonth += document.forms[0].mon_abbr1.value.substr(0,3);
			}
		else
			{
			triptype = "one+way";
			}
	
		querystring += "https://secure.skywest.com.au/skyibe/onlinebooking.aspx?"
//		querystring += "https://www.vedaleon.com.au/skyibe/onlinebooking.aspx?";
		querystring += "trip_type=" + triptype;
		querystring += "&persons.0=" + document.forms[0].adult.value;
		querystring += "&persons.1=" + document.forms[0].child.value;
		querystring += "&persons.2=" + document.forms[0].infant.value;
		querystring += "&depart=" + document.forms[0].depart.value;
		querystring += "&dest.1=" + document.forms[0].dest0.value;
		querystring += "&date.0=" + document.forms[0].date0.value + document.forms[0].mon_abbr0.value.substring(0,3);

		if (document.forms[0].rt_ow[0].checked)
			{
			querystring += "&date.1=" + document.forms[0].date1.value + document.forms[0].mon_abbr1.value.substring(0,3);
			}
		
//		alert (querystring);
		
		window.location = querystring;
	}
