function parkPopUp(a,sd,sm,sy,sth,stm,rd,rm,ry,rth,rtm,ppl)
{
var ap = a.options[a.selectedIndex].value;
var ddd = sd.options[sd.selectedIndex].value;
var ddm = sm.options[sm.selectedIndex].value;
var ddy = sy.options[sy.selectedIndex].value;
var dth = sth.options[sth.selectedIndex].value;
var dtm = stm.options[stm.selectedIndex].value;
var rdd = rd.options[rd.selectedIndex].value;
var rdm = rm.options[rm.selectedIndex].value;
var rdy = ry.options[ry.selectedIndex].value;
var rth = rth.options[rth.selectedIndex].value;
var rtm = rtm.options[rtm.selectedIndex].value;
var px = ppl.options[ppl.selectedIndex].value;
var urlString = "http://www.parking-quote.co.uk/profpark/profpark.asp?tmp=mbgj&agent=web98&ap=" + ap + "&ddd=" + ddd + "&ddm=" + ddm + "&ddy=" + ddy + "&dth=" + dth + "&dtm=" + dtm + "&rdd=" + rdd + "&rdm=" + rdm + "&rdy=" + rdy + "&rth=" + rth + "&rtm=" + rtm + "&px=" + px ;
shigh = (screen.height) - (90)
if(screen.width > 770) { swidth = 770; }
if(screen.width < 770) { swidth = (screen.width) - (30); }
MM_openBrWindow(urlString,'Parking','width='+swidth+',height='+shigh+',scrollbars=yes,status=yes,toolbar=no,resizable=yes,left=10,top=30');

}

function MM_openBrWindow(theURL,winName,features) {
  parkingDisplay = window.open(theURL,winName,features);
  parkingDisplay.focus();
}


if( navigator.appName.substring(0,8) == "Netscape" )
  {
    popup.location = MM_openBrWindow;
  }
