			function popUp(px,agent,tmp,ap,ddd,ddm,ddy,dth,dtm,rdd,rdm,rdy,rth,rtm,tc)
			{
				var px = px.value;
				var agent = agent.value;
				var tmp = tmp.value;
				var ap = ap.options[ap.selectedIndex].value;
				var ddd = ddd.options[ddd.selectedIndex].value;
				var ddm = ddm.options[ddm.selectedIndex].value;
				var ddy = ddy.options[ddy.selectedIndex].value;
				var dth = dth.options[dth.selectedIndex].value;
				var dtm = dtm.options[dtm.selectedIndex].value;
				var rdd = rdd.options[rdd.selectedIndex].value;
				var rdm = rdm.options[rdm.selectedIndex].value;
				var rdy = rdy.options[rdy.selectedIndex].value;
				var rth = rth.options[rth.selectedIndex].value;
				var rtm = rtm.options[rtm.selectedIndex].value;
				var tc = tc.value;
				
				var urlString = "http://parking.essentialtravel.co.uk/airportParking/results.asp?px=" + px + "&agent=" + agent + "&tmp=" + tmp + "&ap=" + ap + "&ddd=" + ddd + "&ddm=" + ddm + "&ddy=" + ddy + "&dth=" + dth + "&dtm=" + dtm + "&rdd=" + rdd + "&rdm=" + rdm + "&rdy=" + rdy + "&rth=" + rth + "&rtm=" + rtm + "&tc=" + tc ;
				
				posx = (screen.width/2) - (790/2)
				posy = (screen.height/2) - (540/2)
				if(posx < 0) { posx = 0; }
				if(posy < 0) { posy = 0; }
				
				openWindow(urlString,'travel','width=650,height=600,scrollbars=yes,status=yes,toolbar=yes,resizable=yes,location=no,left='+posx+',top='+posy);
			
			}
			
			
			function openWindow(theURL,winName,features) {
				parkingDisplay = window.open(theURL,winName,features);
				parkingDisplay.focus();
			}

			function fromDate()
			{
				today = new Date();
			
				d = today.getDate();
				m = today.getMonth();
				y = today.getFullYear();
			
				document.SelForm.ddd.selectedIndex = d+0;
				document.SelForm.ddm.selectedIndex = m+0;
				document.SelForm.ddy.selectedIndex = y-2006;
			
			}
			
			function toDate()
			{
				fromDate();
			
				today = new Date();
			
				d = today.getDate();
				m = today.getMonth();
				y = today.getFullYear();
			
				document.SelForm.rdd.selectedIndex = d+3;
				document.SelForm.rdm.selectedIndex = m+0;
				document.SelForm.rdy.selectedIndex = y-2006;
			}
