I wrote this, but you're free to use it.
-www.wanderingaramean.com
<script>
function coSearch () {
var org = document.getElementById ("origin").value;
if (org.length != 3) {
alert('Please enter a valid ORIGIN code!');
return;
}
var dest = document.getElementById ("destination").value;
if (dest.length != 3) {
alert('Please enter a valid DESTINATION code!');
return;
}
var txtURL = 'http://www.continental.com/web/en-US/apps/vendors/emailForm.aspx?txtOrigin1=' + org + '&txtDestination1=' + dest + '&TY=F&rdocabin1='+ document.getElementById ('cabin')[document.getElementById ('cabin').selectedIndex].text + '&chkFltOptaltdate=1&CAL=T&AP=' + document.getElementById ('AP')[document.getElementById ('AP').selectedIndex].text + '&LOS=' + document.getElementById ('LOS')[document.getElementById ('LOS').selectedIndex].text ;
day = new Date();
id = day.getTime();
window.open(txtURL, id, 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=800,height=600');
}
</script>
<form name="COSearch" action="#" method="post">
<br />Origin:<input type="text" name="Origin" size="3" maxlength="3" id="origin">
<br />Destination:<input type="text" name="Destination" size="3" maxlength="3" id="destination">
<br />Cabin:<select name="cabin" id="cabin"><Option value="Coach">Coach</option>
<option value="First">First</option></select>
<br />Length of Stay: <select name="LOS" id="LOS"><option value="1">1</option>
<option value="2">2></option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
</select>
<br />Adv. Purchase:<select name="AP"><option value="1">1</option>
<option value="7" selected>7</option>
<option value="14">14</option>
<option value="21">21</option>
</select>
<br /><input type="submit" value="Go!" onclick="coSearch();return false">
</form>