Closed Bug 249691 Opened 20 years ago Closed 20 years ago

javascript error on links - "layers has no properties"

Categories

(Toolkit Graveyard :: Error Console, defect)

x86
Windows ME
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mail, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
Build Identifier: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1

When I reach this page at www.hertz.com I cannot continue because the necessary
links no longer work.  These work in IE and Opera.

Reproducible: Always
Steps to Reproduce:
Here is how I am running into trouble at hertz.com, step by step:

go to http://www.hertz.com
Click>United States
Check box for "I'm returning this vehicle to a different location"
Fill out the necessary date and arrival info from the drop downs
Fill in an airport code for the pickup location (example "LGA")
Click "Go" - This will take you to the next page, where I run into trouble. I
see red text asking me to choose my return location -
Try clicking on "Browse All Locations" or "Find Nearby Locations" - For me,
nothing happens. If I input an airport code directly and scroll down and click
"continue", that will work.

Actual Results:  
Links don't work

Expected Results:  
Bring up list of return locations.

Javacript console shows:

Error: doucument.layers has no properties  Line 52

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">










<html>
<head>
	<title>When, Where, How?</title>
	<link rel="stylesheet" href="res_styles.css">

	

	<script language="JavaScript">
	var dropOffDateChanged = false;
	var cdpentered = false;
	self.name="main";

	//***********************************************************
	
    function pkpress(e){
    	key=(document.layers)?e.which:window.event.keyCode
    	key2=String.fromCharCode(key)
		if(key == 13){
			submitFTS(document.selecter.PickUpOAGCode.value, 'p');
		}
    } 
	
    function rkpress(e){
    	key=(document.layers)?e.which:window.event.keyCode
    	key2=String.fromCharCode(key)
		if(key == 13){
			submitFTS(document.selecter.ReturnOAGCode.value, 'r');
		}
    } 
	
	//**********************************************************
	

	function forward(){
		document.selecter.howContinue.value = "howContinue";
	 	document.selecter.submit();}

	//******************************************************

	function changeRightLayer(url){
		document.layers['right'].src= url;
		}
	//*******************************************************
	
	function checkCDP(){
		var index;
		
		if (document.selecter.cdpNumber.value.length > 0) {
		
			cdpentered = true;			
			document.images['companyTravel'].src="/images/companyTravel_black.gif";
			document.images['corprateRate'].src="/images/corprateRate_black.gif";
			}else{
			cdpentered = false;
			document.selecter.cbxReason1.checked = false;
			document.selecter.cbxReason2.checked = false;
			document.images['companyTravel'].src="/images/companyTravel_gray.gif";
			document.images['corprateRate'].src="/images/corprateRate_gray.gif";
			}

	}
	
	//*******************************************************
	
	function cr_ot(){
	with(document.selecter){
		if(!cdpentered){
			cbxReason1.checked = false;
			cbxReason2.checked = false;		
		}

			
	}
	}
	
	//*******************************************************
	
	function checkRq(checkBox, textField){
		if(textField.value.length > 0){
			checkBox.checked = true;
			checkRqnCr(checkBox);
			}else if(textField.value.length == 0){
				checkBox.checked = false;
			}
	
	}
	
	//**********************************************************
	
	function checkRqnCr(checkBox){
		with(document.selecter){
			if(((cbxRq.checked) ) && (cbxReason2.checked)){
				alert("We're sorry but you can't request your Corporate Benefits and also
ask for a specific Rate Code.\nPlease change your request.");
				}
			}
		

		}

	
	//**********************************************************
	
	function getCalValue(caltype){
	with (document.selecter){
		if(caltype == 'p'){
			if(rentPickupMonthYear.selectedIndex == 12){
				index = 11;
			}else{
				index = rentPickupMonthYear.selectedIndex;
				}
			return rentPickupMonthYear[index].value.replace("-", "_");
		}else{
				if(rentDropoffMonthYear.selectedIndex == 12){
					index = 11;
				}else{
					index = rentDropoffMonthYear.selectedIndex;
				}
			return rentDropoffMonthYear[index].value.replace("-", "_");
		}
	}
	}
	
	//**********************************************************
	
	function change_date(cal, m, d, y, source){
		if(cal == 'p'){
			calStr = "Pickup";
			}
		else if(cal == 'r'){
			if(source != 's'){
				dropOffDateChanged = true;
				}
			calStr = "Dropoff";
			}
		dayinput = eval("document.selecter.rent" + calStr + "Day");
		dayinput.options[d-1].selected = true;
		myinput = eval("document.selecter.rent" + calStr + "MonthYear");
		for (i=0; i<myinput.options.length; i++){
			if(myinput.options[i].value == (m + "-" + y)){
				targetIndex = i;
				}
			}
		myinput.options[targetIndex].selected = true;
		if((cal == 'p') && !dropOffDateChanged){
			change_date('r', m, d, y, 's')
		}
	}

	//*********************************************************
	
	function submitFTS(st,type){
		
		// st = st.replace(" ", "+");
		st = st.replace(/\s/gi,"+");
		url = "fullTextResult.jsp?searchText=" + st + "&pic_ret=" + type;
		document.layers.right.src = url;
		
		
		
	}
	
	//************************************************************
	
	function popLoc(oag, name, type){
		if(type == 'p'){
			document.selecter.PickUpOAGCode.value = name;
			document.selecter.PickUpEOAGCode.value = oag;
			document.selecter.PickUpOAGCode.focus();
		}
		if(type == 'r'){
			document.selecter.ReturnOAGCode.value = name;
			document.selecter.ReturnEOAGCode.value = oag;
			document.selecter.ReturnOAGCode.focus();
		}
	}
	
	//************************************************************

	function changeDOCal(){
		if(!dropOffDateChanged){
		
document.selecter.rentDropoffDay.options[document.selecter.rentPickupDay.selectedIndex].selected=true;
		
document.selecter.rentDropoffMonthYear.options[document.selecter.rentPickupMonthYear.selectedIndex].selected=true;
		}
	}
	/*
	function resizeMain(len){
		window.resizeTo(616, len);
		}*/
</script>

<script language=javascript> 
<!--

self.name = 'hertz_popup';
var winIsOpen = new Object;
var isIE3 = (navigator.appVersion.charAt(0) == '2' &&
	navigator.appVersion.indexOf('AOL 3.0') == -1);

function openWindow(name, url, attributes)
{	var w = null;
	var wait = 0;
	var d = new Date;
	

	if (winIsOpen[name] && !window.focus)
	{
		wait = 500;
		window.open('', name, attributes).close();
		winIsOpen[name] = false;
	}
	setTimeout("w = window.open('" + url + "', '" + name + "', '" + attributes
+"')", wait);
	winIsOpen[name] = true;
}
//-->
</script>

<script language="JavaScript">
<!--
 DA = (document.all) ? 1 : 0
 //window.onerror=handle_error

 function handle_error()
 {
         alert("\nNothing was printed. \n\nIf you do want to print this page,
then\nclick on the printer icon in the toolbar above.")
         // to cancel the script error warning
         return true;
 }
 function showbuttons(){
 	window.parent.buttons.document.location.href = "e-consentbuttons.cfm"
 }
 //-->

function openCalendar(Target){
var monthYear =
document.selecter.rentDropoffMonthYear.options[document.selecter.rentDropoffMonthYear.selectedIndex].value;
ind=monthYear.indexOf("-");
mon = monthYear.substring(0,ind);
mon = mon-1;
yr = monthYear.substring(ind+1, monthYear.length);

	var frameObj=document.getElementById('right');
	//alert(frameObj.id);
	frameObj.src="calendar_msie.jsp?pr=r&month="+mon+"&year="+yr;

	//build the parameter string from the Pickup/Return dates
}
function openCalendarp(Target){
var monthYear2 =
document.selecter.rentPickupMonthYear.options[document.selecter.rentPickupMonthYear.selectedIndex].value;
ind2=monthYear2.indexOf("-");
mon2 = monthYear2.substring(0,ind2);
mon2 = mon2-1;
yr2 = monthYear2.substring(ind2+1, monthYear2.length);

	var frameObj=document.getElementById('right');
	//alert(frameObj.id);
	frameObj.src="calendar_msie.jsp?pr=p&month="+mon2+"&year="+yr2;

	//build the parameter string from the Pickup/Return dates
}

function openCalp(url)
{
var monthYear2 =
document.selecter.rentPickupMonthYear.options[document.selecter.rentPickupMonthYear.selectedIndex].value;
ind2=monthYear2.indexOf("-");
mon2 = monthYear2.substring(0,ind2);
mon2 = mon2-1;
yr2 = monthYear2.substring(ind2+1, monthYear2.length);
newurl=url;
newurl=url+"&month="+mon2+"&year="+yr2;
document.layers['right'].src= newurl;
}
		
function openCalr(url)
{
var monthYear =
document.selecter.rentDropoffMonthYear.options[document.selecter.rentDropoffMonthYear.selectedIndex].value;
ind=monthYear.indexOf("-");
mon = monthYear.substring(0,ind);
mon = mon-1;
yr = monthYear.substring(ind+1, monthYear.length);
newurl=url;
newurl=url+"&month="+mon+"&year="+yr;
document.layers['right'].src= newurl;
}

</script>
<META name="GENERATOR" content="IBM WebSphere Studio">
</head>

<style>
input {font: 10pt arial, 'arial';}
.in355 {width: 138px;}
.inbtn {font: 10pt verdana, arial, geneva, helvetica, sans-serif;}
</style>

<body BGCOLOR="#FFFFFF" text="000000" onLoad="checkCDP();"  marginheight="0"
topmargin="0" leftmargin="1" vlink="#999999" link="#666666"
background="/images/res_background.gif">


<form name="FTSForm" action="fullTextResult.jsp" target="right" method="get">
<input type="hidden" name="searchText" value="">
<input type="hidden" name="pic_ret" value="">
<table border="0" cellpadding="0" cellspacing="0">
<!--- Main table to split the page in two --->
 <tr>
	<td rowspan="2" valign="top"><img src="/images/rac_tab_bottom.gif" width="17"
height="250" alt="" border=0></td>
	<td><img src="/images/pixel.gif" width="1" height="1" border="0"></td>
</tr>

<tr>
	<td valign="top">

</form>
	<table border="0" cellpadding="0" cellspacing="0" width="330">
	<tr>
		<td width="17" valign="top" rowspan="2"><!-- <img
src="/images/rac_tab_bottom.gif" width="17" height="250" alt="" border=0>
-->&nbsp;</td>
		<td width="10"><img src="../../../images/pixel.gif" width="10" height="1"
alt="" border="0"></td>
		<td width="422" valign="top">

			<!--error messages--><span class="error">
					
						<ul><br><font color="red"><li>Pick-up city name or airport/OAG code is
invalid. Please try again</font></ul><br>

						
					</span>
				<form name=selecter action="/servlet/WhenWhereHowHandler" method="post"
target="_top" onSubmit="checkRqnCr()">
    			<input type="hidden" name="formName" value="">
    			<input type="hidden" name="tab" value="">&nbsp;<br>
				<input type="hidden" name="howContinue" value="">	
					
				<table border="0" cellspacing="0" cellpadding="0" valign="top" width="308">
					<tr>
						<td colspan="2"><img src="/images/res_where.gif"></td>
					</tr>

					<tr>
						<td>&nbsp;</td>
						<td colspan="2">
							<table border="0" cellpadding="0" cellspacing="0" width="100%">
								<tr>
									<td colspan="2" align="left" valign="bottom">Enter Renting City Name or
Airport Code:<BR>
									
									
									<input type="Text" size="7" name="PickUpOAGCode" value=""
maxlength="25" onChange="document.selecter.PickUpEOAGCode.value=''">
									<input class="in355" size="25" type="button" name="PickupFTS"
value="Find this Location"
onClick="submitFTS(document.selecter.PickUpOAGCode.value, 'p')">

									<input type="hidden" name="PickUpEOAGCode" value=""></td>
								</tr>
								<tr>
									<td align="left"><a
href="javascript:changeRightLayer('/servlet/BrowseLocationServlet?type=pickupLocation')"><font
color="#666666">Browse All Locations</font></a></td>
									<td align="left"><a
href="javascript:changeRightLayer('findNearestHertzLocation.jsp')"><font
color="#666666">Find Nearby Locations</font></a>
									
									</td>
								</tr>
							</table>			
						</td>

					</tr>
							<script language="javascript">
							    if(document.layers){
								    document.selecter.PickUpOAGCode.captureEvents(Event.KEYPRESS)
								    }
								    document.selecter.PickUpOAGCode.onkeypress=pkpress;
							</script>
						
						<tr>
							<td>&nbsp;</td>
						    <td colspan="2">
							<table border="0">
							<tr><td><img src="../images/pixel.gif" width=1 height=1 border=0></td></tr>
							<tr>

								<td valign="top">
						    
						    <input type="checkbox" name="diffloc" checked onClick="submit();">
</td>
								<td valign="top">I'm returning this vehicle to a different location
							
</td>
							</tr></table>
							
							</td>
						</tr>
						
						<tr>
							<td>&nbsp;</td>

							<td colspan="2">
							
							<table border="0" cellpadding="0" cellspacing="0" width="100%">
								<tr>
									<td align="left" colspan="2">Enter Return City Name or Airport Code:<br>
										
										<input type="Text" name="ReturnOAGCode" size="7" value=""
maxlength="30" onChange="document.selecter.ReturnEOAGCode.value=''">
										<input class="in355" type="button" name="PickupFTS" size="25"
value="Find this Location"
onClick="submitFTS(document.selecter.ReturnOAGCode.value, 'r')"><input
type="hidden" name="ReturnEOAGCode" value=""></td>
								</tr>
								<tr>

									<td align="left"><a
href="javascript:changeRightLayer('/servlet/BrowseLocationServlet?type=dropoffLocation')"><font
color="#666666">Browse All Locations</font></a></td>
									<td><a
href="javascript:changeRightLayer('findNearestHertzLocation.jsp')"><font
color="#666666">Find Nearby Locations</font></a>
									</td>
								</tr>
							</table>
						
							</td>		
						</tr>
							<script>
							    if(document.layers){
								    document.selecter.ReturnOAGCode.captureEvents(Event.KEYPRESS)
								    }
								    document.selecter.ReturnOAGCode.onkeypress=rkpress;
							</script>

						
						<tr>
							<td colspan="2"><br><img src="/images/res_when.gif"></td>
						</tr>
						<tr>
						<td><img src="../../../images/pixel.gif" width="25" height="1" alt=""
border="0"></td>
						<td>I'm picking up the vehicle on:<br><select name="rentPickupDay"
onChange="changeDOCal()">
										
										<option value="1">01
<option value="2">02
<option value="3">03

<option value="4">04
<option value="5">05
<option value="6">06
<option value="7">07
<option value="8">08
<option value="9">09
<option value="10">10
<option value="11">11
<option value="12">12
<option value="13">13
<option value="14">14
<option value="15">15
<option value="16">16
<option value="17">17
<option value="18">18
<option value="19">19
<option value="20">20

<option value="21">21
<option value="22">22
<option value="23">23
<option value="24">24
<option value="25">25
<option value="26">26
<option value="27">27
<option value="28">28
<option value="29">29
<option value="30" selected >30
<option value="31">31
</select>
							<select name="rentPickupMonthYear" onChange="changeDOCal()">
										
										<option value="7-2004" selected>Jul 2004
<option value="8-2004">Aug 2004

<option value="9-2004">Sep 2004
<option value="10-2004">Oct 2004
<option value="11-2004">Nov 2004
<option value="12-2004">Dec 2004
<option value="1-2005">Jan 2005
<option value="2-2005">Feb 2005
<option value="3-2005">Mar 2005
<option value="4-2005">Apr 2005
<option value="5-2005">May 2005
<option value="6-2005">Jun 2005
<option value="7-2005">Jul 2005
</select>
									
				
				
									
<!---
<a href="javascript:changeRightLayer('calendar_nn.jsp?pr=p')"></a>
--->
<input type="button" name="Calendar" value="Calendar"
onClick="javascript:openCalp('calendar_nn.jsp?pr=p')">
									
						
							</td>

						</tr>
						<tr>
							<td><img src="../images/pixel.gif" width=1 height=10 border=0></td>
						</tr>
						<tr>
							<td><img src="../../../images/pixel.gif" width="25" height="1" alt=""
border="0"></td>
							<td><select name="rentPickupHour"> 
										<option value="1">01 AM
<option value="2">02 AM
<option value="3">03 AM

<option value="4">04 AM
<option value="5">05 AM
<option value="6">06 AM
<option value="7">07 AM
<option value="8">08 AM
<option value="9">09 AM
<option value="10" selected >10 AM
<option value="11">11 AM

										<option value="12" >12 Noon
							
										<option value="13">01 PM
<option value="14">02 PM
<option value="15">03 PM
<option value="16">04 PM
<option value="17">05 PM
<option value="18">06 PM
<option value="19">07 PM
<option value="20">08 PM

<option value="21">09 PM
<option value="22">10 PM
<option value="23">11 PM

										<option value="0" >12 Midnight
									
									
								</select>
							
								<select name="rentPickupMin">
									<option value="0" selected >:00
<option value="15">:15
<option value="30">:30
<option value="45">:45

								</select>
							
							</td>
						</tr>

						<tr>
							<td><img src="../../../images/pixel.gif" width="25" height="1" alt=""
border="0"></td>
							<td><img src="../../../images/pixel.gif" width="1" height="15" alt=""
border="0"></td>
						</tr>
						<tr>
							<td><img src="../../../images/pixel.gif" width="25" height="1" alt=""
border="0"></td>
							<td>
								<table border="0" cellspacing="0" cellpadding="0">
								<tr>

									<td>I'm arriving on:&nbsp;&nbsp;<br>
											<select name="rentAirline">						
											<option value="">Arrival Information - select one
<option value="UNKN">My Airline/Train is not listed
<option value="UNKN">I don't have my information
<option value="WALK" selected>I'm not arriving via Air/Train
<option value="EI">Aer Lingus
<option value="YP">Aero Lloyd
<option value="AR">Aerolineas Argentinas
<option value="AM">Aeromexico
<option value="VH">Aeropostal Alas
<option value="AB">Air Berlin
<option value="AC">Air Canada-Jazz
<option value="CA">Air China

<option value="PE">Air Europe
<option value="AF">Air France
<option value="AI">Air India
<option value="JM">Air Jamaica
<option value="IW">Air Liberte
<option value="FU">Air Littoral
<option value="KM">Air Malta
<option value="MK">Air Mauritius
<option value="NZ">Air New Zealand
<option value="PX">Air Niugini
<option value="APN">Air Polonia
<option value="TS">Air Transat
<option value="OP">AirOne
<option value="FL">AirTran Airways
<option value="AS">Alaska Airlines
<option value="AZ">Alitalia Airlines
<option value="NH">All Nippon Airways

<option value="AQ">Aloha Airlines
<option value="HP">America West Airlines
<option value="AA">American Airlines
<option value="2Z">Amtrak
<option value="IW">AOM French Airlines
<option value="OZ">Asiana Airlines
<option value="TZ">ATA - American Trans Air
<option value="AO">Australian Airlines
<option value="OS">Austrian Airlines
<option value="AV">Avianca
<option value="6A">AVIACSA
<option value="BD">bmi - british midland
<option value="WW">bmibaby
<option value="BU">Braathens
<option value="BA">British Airways
<option value="BE">British European - Flybe
<option value="BW">BWIA

<option value="C6">CanJet
<option value="CX">Cathay Pacific Airways
<option value="KX">Cayman Airways
<option value="CI">China Airlines
<option value="MU">China Eastern Airlines
<option value="CZ">China Southern Airlines
<option value="CO">Continental Airlines
<option value="CM">Copa Airlines
<option value="OU">Croatia Airlines
<option value="OK">CSA
<option value="CY">Cyprus Airways
<option value="DX">DAT
<option value="DI">DBA
<option value="DL">Delta Air Lines
<option value="HS">Direkt Flyg
<option value="U2">Easy Jet
<option value="LY">El Al Airlines

<option value="EK">Emirates
<option value="OV">Estonian Airways
<option value="RY">European Executive Express
<option value="BR">Eva Airways
<option value="L9">Fairline
<option value="IH">Falcon Air
<option value="AY">Finnair
<option value="YC">Flight West Airlines
<option value="SJ">Freedom Air
<option value="F9">Frontier Airlines
<option value="4U">German Wings
<option value="DC">Golden Air
<option value="TA">Grupo TACA
<option value="GF">Gulf Air
<option value="ST">Hapag Lloyd Express
<option value="HA">Hawaiian Airlines
<option value="H1">Hooter's Air

<option value="QX">Horizon Air
<option value="KH">Horizon Airlines
<option value="IB">Iberia
<option value="U5">IBA
<option value="FI">Icelandair
<option value="VQ">Impulse Airlines
<option value="JL">Japan Airlines
<option value="B6">JetBlue Airways
<option value="SG">Jetsgo
<option value="JQ">Jetstar Airways
<option value="KP">Kiwi Airlines
<option value="KL">KLM Royal Dutch Airlines
<option value="KE">Korean Airlines
<option value="NG">Lauda Air
<option value="LA">LAN
<option value="TE">Lithuanian Airlines
<option value="LO">LOT Polish Airlines

<option value="LT">LTU
<option value="LH">Lufthansa
<option value="MH">Malaysian Airlines
<option value="MA">Malev Airlines
<option value="TF">Malmö Aviation
<option value="IG">Meridiana
<option value="MX">Mexicana De Aviacion
<option value="ME">Middle East Airlines
<option value="JI">Midway Airlines
<option value="YX">Midwest Airlines
<option value="ZB">Monarch Scheduled
<option value="LF">Nordic Airlink
<option value="NW">Northwest Airlines
<option value="OA">Olympic Airways
<option value="PR">Philippine Airlines
<option value="PFL">Private Plane Flights
<option value="QF">Qantas Airways

<option value="QR">Qatar Airways
<option value="QG">Qualiflyer
<option value="QQ">Reno Air
<option value="WE">Rhientalflug
<option value="QN">Royal Airlines
<option value="BI">Royal Brunei Airlines
<option value="RJ">Royal Jordanian
<option value="FR">Ryanair
<option value="SV">Saudia Arabian Airlines
<option value="SK">Scandinavian Airlines (SAS)
<option value="SQ">Singapore Airlines
<option value="JZ">Skyways
<option value="SN">SN Brussels Airways
<option value="SA">South African Airways
<option value="EV">Southeast Airlines
<option value="WN">Southwest Airlines
<option value="SP">SpanAir

<option value="NK">Spirit Airlines
<option value="SY">Sun Country Airlines
<option value="LX">Swiss TravelClub
<option value="LX">SWISS
<option value="JJ">TAM Airlines
<option value="TP">TAP Air Portugal
<option value="TG">Thai Airways
<option value="T9">TransMeridian Airlines
<option value="TK">Turkish Airlines
<option value="VO">Tyrolean Airways
<option value="UA">United Airlines
<option value="US">US Airways
<option value="U5">USA 3000 Airlines
<option value="RG">Varig SA
<option value="VS">Virgin Atlantic Air
<option value="DJ">Virgin Blue
<option value="TV">Virgin Express

<option value="2R">VIA Rail
<option value="XV">WaltAir
<option value="2W">Welcome Air
<option value="M3">WestJet
<option value="JU">Yugoslav Airlines

	   									</select> 
	   									
	   								</td>
								</tr>
								<tr>
									<td>
											<br>Flight Number <i>(optional)</i>:<br>

											<input type="Text" name="rentFlightNum" value="" maxlength="5">
									</td>
									
									
								</tr>
									<!--<tr><td><font color="000033" face="Arial" size="1"><b>If you're
renting at an airport, please provide your airline and flight number to ensure
prompt Gold service.</b></font></td>
									</tr>-->
									
									
								</table>
							</td>
						</tr>
						
						<tr>
							<td><img src="../../../images/pixel.gif" width="25" height="1" alt=""
border="0"></td>

							<td><img src="../../../images/pixel.gif" width="1" height="15" alt=""
border="0"></td>
						</tr>
						<tr>
							<td><img src="../../../images/pixel.gif" width="25" height="1" alt=""
border="0"></td>
							<td>
								I'm returning the vehicle on:<br>
									
										
								
								<select name="rentDropoffDay" onChange="dropOffDateChanged=true">
									<option value="1">01

<option value="2">02
<option value="3">03
<option value="4">04
<option value="5">05
<option value="6">06
<option value="7">07
<option value="8">08
<option value="9">09
<option value="10">10
<option value="11">11
<option value="12">12
<option value="13">13
<option value="14">14
<option value="15">15
<option value="16">16
<option value="17">17
<option value="18">18

<option value="19">19
<option value="20">20
<option value="21">21
<option value="22">22
<option value="23">23
<option value="24">24
<option value="25">25
<option value="26">26
<option value="27">27
<option value="28">28
<option value="29">29
<option value="30">30
<option value="31" selected >31

								</select>
								<select name="rentDropoffMonthYear" onChange="dropOffDateChanged=true">
									<option value="7-2004" selected>Jul 2004

<option value="8-2004">Aug 2004
<option value="9-2004">Sep 2004
<option value="10-2004">Oct 2004
<option value="11-2004">Nov 2004
<option value="12-2004">Dec 2004
<option value="1-2005">Jan 2005
<option value="2-2005">Feb 2005
<option value="3-2005">Mar 2005
<option value="4-2005">Apr 2005
<option value="5-2005">May 2005
<option value="6-2005">Jun 2005
<option value="7-2005">Jul 2005

								</select>
								
				
								
<input type="button" name="Calendar" value="Calendar"
onClick="javascript:openCalr('calendar_nn.jsp?pr=r')">
									
				
	
							</td>

						</tr>
						<tr>
							<td><img src="../images/pixel.gif" width=1 height=5 border=0></td>
						</tr>
						<tr>
							<td><img src="../../../images/pixel.gif" width="25" height="1" alt=""
border="0"></td>
							<td>
								<select name="rentDropoffHour">
									
									<option value="1">01 AM

<option value="2">02 AM
<option value="3">03 AM
<option value="4">04 AM
<option value="5">05 AM
<option value="6">06 AM
<option value="7">07 AM
<option value="8">08 AM
<option value="9">09 AM
<option value="10" selected >10 AM
<option value="11">11 AM

									<!--<option value="1">01 AM
<option value="2">02 AM
<option value="3">03 AM
<option value="4">04 AM
<option value="5">05 AM
<option value="6">06 AM
<option value="7">07 AM
<option value="8">08 AM
<option value="9">09 AM
<option value="10" selected >10 AM
<option value="11">11 AM
-->
									<option value="12" >12 Noon
									
									<option value="13">01 PM
<option value="14">02 PM
<option value="15">03 PM
<option value="16">04 PM

<option value="17">05 PM
<option value="18">06 PM
<option value="19">07 PM
<option value="20">08 PM
<option value="21">09 PM
<option value="22">10 PM
<option value="23">11 PM

									<!--<option value="13">01 PM
<option value="14">02 PM
<option value="15">03 PM
<option value="16">04 PM
<option value="17">05 PM
<option value="18">06 PM
<option value="19">07 PM
<option value="20">08 PM
<option value="21">09 PM
<option value="22">10 PM
<option value="23">11 PM
-->
									<option value="0" >12 Midnight
								
									
								</select>
								<select name="rentDropoffMin">
								
									<option value="0" selected >:00
<option value="15">:15
<option value="30">:30

<option value="45">:45

									<!--<option value="0">:00
<option value="15">:15
<option value="30">:30
<option value="45">:45
-->
								</select>

							</td>
						</tr>
						<tr>
							<td><img src="../../../images/pixel.gif" width="25" height="1" alt=""
border="0"></td>
							<td><img src="../../../images/pixel.gif" width="1" height="15" alt=""
border="0"></td>
						</tr>

						
						<tr>
						<td>&nbsp;</td>
						<td>
					
						    <table border="0">
							<tr>
							<td><span class=small>I have no affiliation, discount or other offer.
Please show me the best rate.</span></td>
							<td><a href="JavaScript:forward()"><img src="../images/res_continue2.gif"
border=0 alt="Continue"></a></td>
							</tr>

							</table>
		 
							</td>
						</tr>
						<tr>
							<td><img src="../../../images/pixel.gif" width="25" height="1" alt=""
border="0"></td>
							<td><img src="../../../images/pixel.gif" width="1" height="7" alt=""
border="0"></td></tr>
			<tr>
				<td colspan="2"><img src="/images/res_how.gif"><br><br></td>
			</tr>		
			<tr> 
            <td>&nbsp;</td>

            <td colspan=2>Discount Plan (CDP) Number:<br>
            	
 			
				     <input type="text" name="cdpNumber" value="" maxlength="15"
onKeyUp="checkCDP()" onBlur="checkCDP()" size="20"><br><br>
            	
             </td> 
          </tr>
		  
		  <tr>
          	<td>&nbsp;</td>
          	<td align="bottom"><input type="checkbox" name="cbxReason2"
value="business2" onClick="cr_ot();checkRqnCr(this)"  >&nbsp;<img
name="corprateRate" src="/images/corprateRate_gray.gif" align="top"></td>
          </tr>
		  
          <tr>

          	<td>&nbsp;</td>
          	<td><input type="checkbox" name="cbxReason1" value="business1"
onClick="cr_ot()"  >&nbsp;<!---Quote me the Program my Company has
negotiated---><img name="companyTravel" src="/images/companyTravel_gray.gif"
align="top"></td>
		 </tr>

 	     <tr>
		 	<td height="10">&nbsp;</td>
		 </tr>

		 <tr>
          	<td>&nbsp;</td>

          	<td colspan="2"><span class=small>Corporate renters - Please contact
your travel department <br>to check the Terms & Conditions of your company's
<br>contract regarding personal travel.</span></td>
          	
 		</tr>
<tr><td height="10">&nbsp;</td></tr>
          <tr>
          	<td>&nbsp;</td>
          	<td colspan="2">Promotional Coupon (PC) Number:</td>
 		</tr>       
		<tr>

		<td>&nbsp;</td>
		<td colspan="2"><input type="Text" name="pc" value="" size="20"></td>	
		</tr>
<tr><td height="10">&nbsp;</td></tr>
<tr>
          	<td>&nbsp;</td>
          	<td>
<table border="0">
<tr>
	<td valign="top"><input type="Checkbox" name="cbxRq" value="rateQuote"
onClick="checkRqnCr(this)"></td>
	<td>I was told to "Ask For" Rate Code(RQ):</td>

	<td valign="bottom"></td>
</tr>
<tr><td></td><td align="left"><input type="Text" name="rq" value="" size="10"
onKeyUp="checkRq(document.selecter.cbxRq, this)" ></td></tr>
</table>
</td></tr>
<tr><td height="10">&nbsp;</td></tr>
          <tr>
          	<td>&nbsp;</td>
          	<td colspan="2" class="small">If you are attending a Meeting or
Convention, please enter your Hertz Convention Number in the field below.</td>
          </tr>
		  
		<!-- <tr><td height="10">&nbsp;</td></tr> -->

          <tr>
          	<td>&nbsp;</td>
          	<td colspan="2">Convention (CV) Number:</td>
 		</tr>       
		<tr>
		<td>&nbsp;</td>
		<td colspan="2"><input type="Text" name="cv" value="" size="20"></td>	
		</tr>		


</tr><tr>

	    <td>&nbsp;</td>
		<td valign="bottom" align="right">
		
<table border="0">
<tr><td colspan="2">&nbsp;</td></tr>
<tr>	
	
	<td><span class=small>Please apply the affiliation, discount, or other offer
listed above to my request.</span></td>
	<td align="right"><a href="javascript:forward()"><img
src="../images/res_continue2.gif" border=0 alt=""></a></td>
	

	</td>
</tr>

<tr>

	<td height="10"></td>
</tr>
<tr><td align="center" colspan="2"><span class=small><a
href="javascript:openWindow('popup', '/privacy_popup.html',
'width=425,height=300,resizable,scrollbars=yes');"><font color="999999">Privacy
Policy</font></a>&nbsp;&nbsp;<a href="#"
onclick="window.open('http://www.hertz.com/legal_popup.jsp', 'popup',
'width=425,height=300,resizable,scrollbars=yes, status=yes'); return
false;"><font color="999999">Legal</font></a>&nbsp;&nbsp;<a
href="https://www.hertz.com/customer_10/index.html" target="_top"><font
color="999999">Contact Us</font></a>&nbsp;<font color="999999">&copy;2004 The
Hertz Corporation ® U.S. Pat. Off.</font></span></td></tr>

</table>

</td></tr></table>

</td></tr></table>

</td>			
<td valign="top"><!-- second column -->

	<layer  id="right" left="335" top="10"  src="/gaq/selectOperation.jsp"
height="1700" width="249" frameborder="0" border="0" scrolling="no"></layer></td>
</tr>
</table>
</form>
<!-- <center><a href="javascript:openWindow('popup', '/privacy_popup.html',
'width=425,height=300,resizable,scrollbars=yes');"><font size="1"
color="#999999" face="arial">Privacy Policy</font></a>&nbsp;<a
href="https://www.hertz.com/customer_10/index.html" target="_top"><font size="1"
color="#999999" face="arial">Contact Us</font></a>&nbsp;<font size="1"
color="#999999" face="arial">&copy;2003 The Hertz Corporation. All Rights
Reserved.</font></center>
 -->
</body>
</html>
document.layers is Netscape 4 specific code.  Mozilla does not support it.

The site needs to rewrite their scripts to be compatible.  This is not a browser
bug.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Product: Firefox → Toolkit
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.