473,398 Members | 2,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

document.forms[0].radtripType is undefined

I have a problem,

everytime i'm run this page

http://click2travel.in/index.php


i get the this error,,,
A run time error has occurred.
Do you wish to Debug?

Line: 5
Error: 'document.forms.0.radtripType.length' is null or not an object
for access to the url,
user: c2t
pass: kamyab

my guess is that there is some other script or forms element in the page that's causing this problem.

the original source of the page is :-

Expand|Select|Wrap|Line Numbers
  1. <?php  include("connection.php"); ?>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  3. "http://www.w3.org/TR/html4/loose.dtd">
  4. <html><head>
  5. <meta http-equiv="Page-Enter" content="blendTrans(Duration=2.0)">
  6. <title>&nbsp;&nbsp;&nbsp;Click2Travel.in - Holidays at your finger tip | Leisure Travel, Hotel Packages, Short Holidays, Cruises&nbsp;|&nbsp;&nbsp;&nbsp;</title>
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. <link rel="stylesheet" type="text/css" href="http://click2travel.in/ajax/ajaxtabs/ajaxtabs.css" />
  22. <script type="text/javascript" src="http://click2travel.in/ajax/ajaxtabs/ajaxtabs.css"></script>
  23.  
  24. <style>
  25. .text_size {font-family:Arial, Helvetica, sans-serif; font-size:12px;}
  26.  
  27. td{
  28. font-family: verdana, Helvetica, sans-serif;
  29.     font-size: 11px;
  30.     color: #000000;
  31.     text-decoration: none;
  32. }
  33. .mybutton  {
  34. background-color: #004182;
  35. border: 2px #006599 outset;
  36. padding: 1px 4px;
  37. color: #FFFFFF;
  38. text-decoration: none;
  39. font: bold 100% "Arial", "Trebuchet MS", Verdana, Helvetica, sans-serif;
  40. line-height:25px;
  41. font-size:12px;
  42. cursor:pointer;
  43. }
  44. </style>
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. <script language="JavaScript" src="Click2Travel_files/validation.js" type="text/javascript"></script>
  53. <script language="JavaScript" src="Click2Travel_files/sitevalidation.js" type="text/javascript"></script>
  54.  
  55.  
  56. <script type="text/javascript" src="ajax/ajaxtabs/ajaxtabs.js"></script>
  57.  
  58.  
  59.  
  60.  
  61. <link href="Click2Travel_files/main.css" type="text/css" rel="stylesheet">
  62. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  63. <link href="img/admin.css" rel="stylesheet" type="text/css">
  64. <style type="text/css">
  65. <!--
  66. .smallText1 { DISPLAY: none }
  67. .smallText2 { VISIBILITY: visible }    
  68. .Font10Dropdown {    COLOR: #59360E;
  69.     FONT-FAMILY: Arial;
  70.     FONT-SIZE: 9pt;
  71.     FONT-WEIGHT: bold
  72. }
  73. .style4 {font-size: 9px ;
  74.           font-family: Verdana;
  75. }
  76. .style drop {font-size: 9px}
  77. -->
  78. </style>
  79.  
  80.  
  81.  
  82.  
  83. <script type="text/javascript" src="http://www.travelpartnernetwork.net/Affiliate/js/aff/beforebody_aff_fh.js"></script>
  84. <style>
  85. .text_size {font-family:Arial, Helvetica, sans-serif; font-size:12px;}
  86.  
  87. td{
  88. font-family: verdana, Helvetica, sans-serif;
  89.     font-size: 11px;
  90.     color: #000000;
  91.     text-decoration: none;
  92. }
  93. .mybutton  {
  94. background-color: #004182;
  95. border: 2px #006599 outset;
  96. padding: 1px 4px;
  97. color: #FFFFFF;
  98. text-decoration: none;
  99. font: bold 100% "Arial", "Trebuchet MS", Verdana, Helvetica, sans-serif;
  100. line-height:25px;
  101. font-size:12px;
  102. cursor:pointer;
  103. }
  104. </style>
  105. <script type="text/javascript">
  106. djConfig = {parseWidgets: false};
  107. var timechange=true;
  108. var modifychange=false;
  109.  
  110. var modifychange=false;
  111.  
  112. var roomDtls=new Array(5);
  113.  
  114. for(var t=0;t<5;t++)
  115. {
  116.     var roomRec=new Array(2);
  117.     roomRec[0]=1;
  118.     roomRec[1]=0;
  119.     roomDtls[t]=roomRec;
  120. }
  121.  
  122. function bodyOnLoad(){
  123.     refereshPage();
  124.     onewayfn();
  125.  
  126. }
  127. </script>
  128. <script type="text/javascript">
  129. var flightRequestUrl="http://www.travelpartnernetwork.net/Affiliate/affiliateGateway.do?action=FLTSRCH&webId=117"; 
  130. </script>
  131. </head>
  132.  
  133.  
  134.  
  135.  
  136. <body onLoad="bodyOnLoad();" topmargin="0" bgcolor="#EFF0F1">
  137.  
  138. <table  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  139.   <tr>
  140.   <td width="6"><img src="img/rrrr.gif" width="6" alt="Holiday Packages"></td>
  141.     <td>    
  142.     <table border="0" align="center" cellpadding="0" cellspacing="0">
  143.       <tr>
  144.         <td align="center" valign="top"><?php include("main_header_of_c2t.php");?></td>
  145.       </tr>
  146.     </table>    
  147.     <table border="0" align="center" cellpadding="0" cellspacing="0" class="my_header">
  148.       <tr>
  149.         <td width="195"  align="right" valign="top"><table  border="0" align="center" cellpadding="0" cellspacing="0" class="my_header">
  150.           <tr>
  151.             <td width="179" valign="top"><table width="179" border="0" cellspacing="0" cellpadding="0">
  152.                 <tr>
  153.                   <td width="179" height="5"> 
  154.                   <!--#include FILE="left_menu.php" --> 
  155.                   <?php include("left_menu.php");?> 
  156.  
  157.                   </td>
  158.                 </tr>
  159.                 <tr>
  160.                   <td height="5"></td>
  161.                 </tr>
  162.               </table>
  163.                 <table width="100%" border="0" cellspacing="0" cellpadding="0">
  164.                   <tr>
  165.                     <td align="center" valign="top"><?php include("newsletter.php");?></td>
  166.                   </tr>
  167.               </table></td>
  168.           </tr>
  169.         </table></td>
  170.         <td width="410"  align="center" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
  171.           <tr>
  172.             <td background="img/rrr_01.gif" width="13" height="13" ></td>
  173.             <td background="img/rrr_02.gif" width="13" height="13" ></td>
  174.             <td background="img/rrr_03.gif" width="13" height="13" ></td>
  175.           </tr>
  176.           <tr>
  177.             <td background="img/rrr_04.gif" width="13"><img src="img/rrr_04.gif" width="13" height="10" alt="Domestic Airline tickets"></td>
  178.             <td align="center" valign="top">
  179.               <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  180.                 <tr>
  181.                   <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#ECE9D8">
  182.                     <tr>
  183.                       <td align="center" valign="top"><table 
  184.                         width="100%" border="0" align="center" cellpadding="0" cellspacing="0" 
  185.                         bordercolor="#111111" id="table_main_hotel" style="DISPLAY: block">
  186.                             <tr>
  187.                               <td align="center" valign="top">
  188.  
  189.  
  190.                                        <table width="100%" 
  191.                                 border="0" cellpadding="0" cellspacing="0">
  192.                                           <tr>
  193.                                             <td>
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206. <div id="flowernote" style="display:none; position:absolute; right: 30px; width:150px; height:150px; background-color:red; color:white">
  207. Arbitrary DIV 1
  208. </div>
  209. <div id="flowernote2" style="display:none; position:absolute; right: 200px; width:80px; height:80px; background-color:black; color:white">
  210. Arbitrary DIV 2
  211. </div>
  212. <div id="flowernote3" style="display:none; position:absolute; right: 30px; width:140px; height:140px; background-color:navy; color:white">
  213. Arbitrary DIV 3
  214. </div>
  215.  
  216. <table width="380" border="0" align="center">
  217. <tr><td>
  218. <div id="flowerdivcontainer" style="border:0px solid gray; width:392px; height:160px; background-color: white; padding: 0px">
  219. </div>
  220. <div id="flowertabs" class="modernbricksmenu2">
  221. <ul>
  222. <li><a href="http://click2travel.in/ajax/external3.htm" rel="flowerdivcontainer">Hotels</a></li>
  223. <li><a href="external4.php" rel="#iframe">Cruises</a></li>
  224. <li><a href="http://click2travel.in/ajax/external5.php" rel="flowerdivcontainer">Packages</a></li>
  225. </ul>
  226. </div>
  227. <script type="text/javascript">
  228. var myflowers=new ddajaxtabs("flowertabs", "flowerdivcontainer")
  229. myflowers.setpersist(true)
  230. myflowers.setselectedClassTarget("link")
  231. myflowers.init()
  232. </script>
  233.     </td>
  234.   </tr>
  235. </table>
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.                                             </td>
  263.                                           </tr>
  264.  
  265.                               </table></td>
  266.                             </tr>
  267.                       </table></td>
  268.                     </tr>
  269.                   </table></td>
  270.                 </tr>
  271.             </table></td>
  272.             <td background="img/rrr_06.gif" width="13"><img src="img/rrr_06.gif" width="13" height="10"></td>
  273.           </tr>
  274.           <tr>
  275.             <td background="img/rrr_07.gif" width="13" height="13"></td>
  276.             <td background="img/rrr_08.gif" height="13"></td>
  277.             <td background="img/rrr_09.gif" width="13" height="13"></td>
  278.           </tr>
  279.         </table>
  280.           <table width="100" border="0" cellspacing="0" cellpadding="0">
  281.             <tr>
  282.               <td height="11"></td>
  283.             </tr>
  284.           </table>
  285.           <table border="0" align="center" cellpadding="0" cellspacing="0">
  286.             <tr>
  287.               <td background="img/rrr_01.gif" width="13" height="13"></td>
  288.               <td background="img/rrr_02.gif" height="13"></td>
  289.               <td background="img/rrr_03.gif" width="13" height="13"></td>
  290.             </tr>
  291.             <tr>
  292.               <td background="img/rrr_04.gif" width="13"><img src="img/rrr_04.gif" width="13" height="10"></td>
  293.               <td align="center" valign="top"><table height="196" border="0" align="center" cellpadding="0" cellspacing="0">
  294.                   <tr>
  295.                     <td align="center" valign="top" background="img/star/cc4.gif"><table width="404" height="25" border="0" align="center" cellpadding="0" cellspacing="0" background="img/star/cc4.gif" onClick="MM_goToURL('parent','http://click2travel.in/G1Destination_%20Guide_Map_India.php');return document.MM_returnValue">
  296.                       <tr>
  297.                         <td width="101" align="right"><img src="img/GRADINNT.jpg" height="7" width="101"></td>
  298.                         <td width="201" align="center" valign="middle" class="my_VARADANA">DESTINATION&nbsp;GUIDE</td>
  299.                         <td width="102" align="right" valign="middle"><div align="right"><img src="img/GRADINNT.jpg" height="7" width="99"></div></td>
  300.                       </tr>
  301.                       <tr>
  302.                         <td colspan="3" align="center" onClick="MM_goToURL('parent','http://click2travel.in/G1Destination_%20Guide_Map_India.php');return document.MM_returnValue" onfocus="MM_goToURL('parent','http://click2travel.in/G1Destination_%20Guide_Map_India.php');return document.MM_returnValue"><a href="G1Destination_ Guide_Map_India.php"><br>
  303.                           &nbsp;<span class="my"><u>Welcome&nbsp;To&nbsp;India<br>
  304.                           </u>&nbsp;&nbsp;</span> <span class="my"><u>Click Here</u>&nbsp;</span></a></td>
  305.                       </tr>
  306.                       <tr>
  307.                         <td colspan="3" align="center">&nbsp;</td>
  308.                       </tr>
  309.                     </table></td>
  310.                   </tr>
  311.               </table></td>
  312.               <td background="img/rrr_06.gif" width="13"><img src="img/rrr_06.gif" width="13" height="10"></td>
  313.             </tr>
  314.             <tr>
  315.               <td background="img/rrr_07.gif" width="13" height="13"></td>
  316.               <td background="img/rrr_08.gif" height="13"></td>
  317.               <td background="img/rrr_09.gif" width="13" height="13"></td>
  318.             </tr>
  319.           </table>
  320.           <table width="100%" border="0" cellspacing="0" cellpadding="0">
  321.             <tr>
  322.               <td height="10"></td>
  323.             </tr>
  324.           </table>
  325.           <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  326.             <tr>
  327.               <td width="10" align="center" valign="top">&nbsp;</td>
  328.               <td width="210" align="left" valign="top">
  329.               <table width="210" border="0" align="left" cellpadding="0" cellspacing="0" style="height:143; width:210;"  background="img/star/monthly_offer.gif">
  330.                 <?php           
  331.            $sql="select * from c2t_offer where Sno='11'";
  332.            $result=mysql_query($sql);
  333.             $row=mysql_fetch_array($result);                     
  334.                 $id=$row['Sno'];
  335.               $OfferName=$row['OfferName'];
  336.               $Line1=$row['Line1'];
  337.               $Line2=$row['Line2'];
  338.               $Extra=$row['Extra'];
  339.               ?>
  340.                 <tr>
  341.                   <td height="22" colspan="4" align="center" valign="middle" ><span class="style15"><? echo $OfferName; ?></span> </td>
  342.  
  343.  
  344.                 </tr>
  345.                 <tr>
  346.                   <td width="7" align="right" valign="middle">&nbsp;</td>
  347.                   <td width="80" height="53" align="right" valign="middle"><div align="right"><a href="Offer_for_you.php?Sno=<? echo $id; ?>"><img src="admin/Offers_Images/<? echo $Extra; ?>" width="79" height="53" border="0"></a></div></td>
  348.                   <td width="116" align="center" valign="top"><div align="justify" class="style9"><strong><? echo $Line1; ?></strong></div></td>
  349.                   <td width="7" height="53" align="center" valign="top" ></td>
  350.                 </tr>
  351.                 <tr>
  352.                   <td align="center" valign="top" >&nbsp;</td>
  353.                   <td height="35" colspan="2" align="right" valign="bottom" class="style9" ><div align="justify" class="style9"><? echo substr($Line2,0,115);?></div>
  354.                     <a href="Offer_for_you.php?Sno=<? echo $id; ?>"><span class="Exclusive">&nbsp;read more...</span></a></td>
  355.                   <td height="35" align="center" valign="top" >&nbsp;</td>
  356.                 </tr>
  357.                 <tr>
  358.                   <td height="7" colspan="4" align="right" valign="top" ></td>
  359.                 </tr>
  360.               </table></td>
  361.               <td width="10" align="center" valign="top">&nbsp;</td>
  362.               <td width="210" align="right" valign="top"><table width="210" border="0" align="left" cellpadding="0" cellspacing="0" style="height:143; width:210;"  background="img/star/monthly_offer.gif">
  363.                 <?php           
  364.            $sql="select * from c2t_offer where Sno='14'";
  365.            $result=mysql_query($sql);
  366.             $row=mysql_fetch_array($result);                     
  367.                 $id=$row['Sno'];
  368.               $OfferName=$row['OfferName'];
  369.               $Line1=$row['Line1'];
  370.               $Line2=$row['Line2'];
  371.               $Extra=$row['Extra'];
  372.               ?>
  373.                 <tr>
  374.                   <td height="22" colspan="4" align="center" valign="middle" ><span class="style15"><? echo $OfferName; ?></span> </td>
  375.                 </tr>
  376.                 <tr>
  377.                   <td width="7" align="right" valign="middle">&nbsp;</td>
  378.                   <td width="80" height="53" align="right" valign="middle"><div align="right"><a href="Offer_for_you.php?Sno=<? echo $id; ?>"><img src="admin/Offers_Images/<? echo $Extra; ?>" width="79" height="53" border="0"></a></div></td>
  379.                   <td width="116" align="center" valign="top"><div align="justify" class="style9"><strong><? echo $Line1; ?></strong></div></td>
  380.                   <td width="7" height="53" align="center" valign="top" ></td>
  381.                 </tr>
  382.                 <tr>
  383.                   <td align="center" valign="top" >&nbsp;</td>
  384.                   <td height="35" colspan="2" align="right" valign="bottom" class="style9" ><div align="justify" class="style9"><? echo substr($Line2,0,115);?></div>
  385.                     <a href="Offer_for_you.php?Sno=<? echo $id; ?>"><span class="Exclusive">&nbsp;read more...</span></a></td>
  386.                   <td height="35" align="center" valign="top" >&nbsp;</td>
  387.                 </tr>
  388.                 <tr>
  389.                   <td height="7" colspan="4" align="right" valign="top" ></td>
  390.                 </tr>
  391.               </table></td>
  392.             </tr>
  393.           </table></td>
  394.         <td width="186"  align="center" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0" class="my_header">
  395.           <tr>
  396.             <td align="center" valign="top">
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409. <DIV ID="totalDiv">
  410.   <table width="185" style="border:2px solid #7592ca; background-color:#ffffff;">
  411.  
  412.  
  413.     <tr>
  414.       <td valign="top">
  415.       <form action="http://makemytrip.co.in/makemytrip/searchProgress.do" method="post" name="flightsSearchForm">
  416.           <input type="hidden" name="depdate" />
  417.           <input type="hidden" name="retndate" />
  418.           <input type="hidden" name="cabinClass" id="cabinClass" value="E" />
  419.           <div id="FlightTabData"  border="0" style="display:block">
  420.  
  421.             <table border="0" cellspacing="0" cellpadding="0">
  422.               <tr>
  423.                 <td height="4"></td>
  424.               </tr>
  425.               <tr>
  426.                 <td ><table border="0" cellspacing="0" cellpadding="0" class="text1">
  427.                     <tr>
  428.                       <td width="20"><input name="radtripType" id="radtripType" type="radio" value="R"  onclick="javascript:onewayfn();" tabindex="1" />
  429.                       </td>
  430.  
  431.                       <td width="120">Round Trip </td>
  432.                       <td width="20"><input name="radtripType" id="radtripType" type="radio" value="O" onclick="javascript:onewayfn();returnDateField();" tabindex="2" checked /></td>
  433.                       <td width="129">One Way</td>
  434.                     </tr>
  435.                 </table></td>
  436.               </tr>
  437.  
  438.               <tr>
  439.                 <td><table border="0" cellspacing="0" cellpadding="0" class="text1">
  440.  
  441.                     <tr>
  442.  
  443.                       <td><select name="selorigin" id="selorigin" style="width:130px;font-size:9px;" tabindex="3" >
  444.                           <option value="">---------------</option>
  445.                           <option value='BLR'>Bangalore</option>
  446.                           <option value='MAA'>Chennai</option>
  447.                           <option value='DEL'>Delhi</option>
  448.                           <option value='GOI'>Goa</option>
  449.  
  450.                           <option value='HYD'>Hyderabad</option>
  451.                           <option value='CCU'>Kolkata</option>
  452.                           <option value='BOM'>Mumbai</option>
  453.                           <option value='PNQ'>Pune</option>
  454.                           <option value="">---------------</option>
  455.                           <option value='IXA'>Agartala</option>
  456.  
  457.                           <option value='AGX'>Agatti Island</option>
  458.                           <option value='AMD'>Ahmedabad</option>
  459.                           <option value='AJL'>Aizwal</option>
  460.                           <option value='IXD'>Allahabad</option>
  461.                           <option value='ATQ'>Amritsar</option>
  462.                           <option value='IXU'>Aurangabad</option>
  463.  
  464.                           <option value='IXB'>Bagdogra</option>
  465.                           <option value='BLR'>Bangalore</option>
  466.                           <option value='IXG'>Belgaum</option>
  467.                           <option value='BEP'>Bellary</option>
  468.                           <option value='BHU'>Bhavnagar</option>
  469.                           <option value='BHO'>Bhopal</option>
  470.  
  471.                           <option value='BBI'>Bhubaneshwar</option>
  472.                           <option value='BHJ'>Bhuj</option>
  473.                           <option value='CCJ'>Calicut</option>
  474.                           <option value='IXC'>Chandigarh</option>
  475.                           <option value='MAA'>Chennai</option>
  476.                           <option value='COK'>Cochin</option>
  477.  
  478.                           <option value='CJB'>Coimbatore</option>
  479.                           <option value='DED'>Dehradun</option>
  480.                           <option value='DHM'>Dharamshala</option>
  481.                           <option value='DIB'>Dibrugarh</option>
  482.                           <option value='DMU'>Dimapur</option>
  483.                           <option value='DIU'>Diu</option>
  484.  
  485.                           <option value='GAY'>Gaya</option>
  486.                           <option value='GOI'>Goa</option>
  487.                           <option value='GOP'>Gorakhpur</option>
  488.                           <option value='GAU'>Guwahati</option>
  489.                           <option value='GWL'>Gwalior</option>
  490.                           <option value='HBX'>Hubli</option>
  491.  
  492.                           <option value='HYD'>Hyderabad</option>
  493.                           <option value='IMF'>Imphal</option>
  494.                           <option value='IDR'>Indore</option>
  495.                           <option value='JLR'>Jabalpur</option>
  496.                           <option value='JAI'>Jaipur</option>
  497.                           <option value='IXJ'>Jammu</option>
  498.  
  499.                           <option value='JGA'>Jamnagar</option>
  500.                           <option value='JDH'>Jodhpur</option>
  501.                           <option value='JRH'>Jorhat</option>
  502.                           <option value='IXY'>Kandla</option>
  503.                           <option value='HJR'>Khajuraho</option>
  504.                           <option value='KLH'>Kolhapur</option>
  505.  
  506.                           <option value='CCU'>Kolkata</option>
  507.                           <option value='KUU'>Kullu</option>
  508.                           <option value='IXL'>Leh</option>
  509.                           <option value='IXI'>Lilabari</option>
  510.                           <option value='LKO'>Lucknow</option>
  511.                           <option value='IXM'>Madurai</option>
  512.  
  513.                           <option value='IXE'>Mangalore</option>
  514.                           <option value='BOM'>Mumbai</option>
  515.                           <option value='NAG'>Nagpur</option>
  516.                           <option value='DEL'>New Delhi</option>
  517.                           <option value='IXP'>Pathankot</option>
  518.                           <option value='PAT'>Patna</option>
  519.  
  520.                           <option value='PBD'>Porbandar</option>
  521.                           <option value='IXZ'>Port Blair</option>
  522.                           <option value='PNQ'>Pune</option>
  523.                           <option value='RPR'>Raipur</option>
  524.                           <option value='RJA'>Rajahmundry</option>
  525.                           <option value='RAJ'>Rajkot</option>
  526.  
  527.                           <option value='IXR'>Ranchi</option>
  528.                           <option value='SHL'>Shillong</option>
  529.                           <option value='SLV'>Shimla</option>
  530.                           <option value='IXS'>Silchar</option>
  531.                           <option value='SXR'>Srinagar</option>
  532.                           <option value='STV'>Surat</option>
  533.  
  534.                           <option value='TEZ'>Tezpur</option>
  535.                           <option value='TRZ'>Tiruchirapally</option>
  536.                           <option value='TIR'>Tirupati</option>
  537.                           <option value='TRV'>Trivandrum</option>
  538.                           <option value='TCR'>Tuticorin</option>
  539.                           <option value='UDR'>Udaipur</option>
  540.  
  541.                           <option value='BDQ'>Vadodara</option>
  542.                           <option value='VNS'>Varanasi</option>
  543.                           <option value='VGA'>Vijaywada</option>
  544.                           <option value='VTZ'>Vishakhapatnam</option>
  545.                       </select></td>
  546.                     </tr>
  547.                     <tr>
  548.  
  549.                       <td style="line-height:6px;">&nbsp;</td>
  550.                     </tr>
  551.                     <tr>
  552.  
  553.                       <td><select name="seldestination" id="seldestination" style="width:130px;font-size:9px;" tabindex="4" >
  554.                           <option value="">---------------</option>
  555.                           <option value='BLR'>Bangalore</option>
  556.                           <option value='MAA'>Chennai</option>
  557.  
  558.                           <option value='DEL'>Delhi</option>
  559.                           <option value='GOI'>Goa</option>
  560.                           <option value='HYD'>Hyderabad</option>
  561.                           <option value='CCU'>Kolkata</option>
  562.                           <option value='BOM'>Mumbai</option>
  563.                           <option value='PNQ'>Pune</option>
  564.  
  565.                           <option value="">---------------</option>
  566.                           <option value='IXA'>Agartala</option>
  567.                           <option value='AGX'>Agatti Island</option>
  568.                           <option value='AMD'>Ahmedabad</option>
  569.                           <option value='AJL'>Aizawl</option>
  570.                           <option value='IXD'>Allahabad</option>
  571.  
  572.                           <option value='ATQ'>Amritsar</option>
  573.                           <option value='IXU'>Aurangabad</option>
  574.                           <option value='IXB'>Bagdogra</option>
  575.                           <option value='BLR'>Bangalore</option>
  576.                           <option value='IXG'>Belgaum</option>
  577.                           <option value='BEP'>Bellary</option>
  578.  
  579.                           <option value='BHU'>Bhavnagar</option>
  580.                           <option value='BHO'>Bhopal</option>
  581.                           <option value='BBI'>Bhubaneshwar</option>
  582.                           <option value='BHJ'>Bhuj</option>
  583.                           <option value='CCJ'>Calicut</option>
  584.                           <option value='IXC'>Chandigarh</option>
  585.  
  586.                           <option value='MAA'>Chennai</option>
  587.                           <option value='COK'>Cochin</option>
  588.                           <option value='CJB'>Coimbatore</option>
  589.                           <option value='DED'>Dehradun</option>
  590.                           <option value='DHM'>Dharamshala</option>
  591.                           <option value='DIB'>Dibrugarh</option>
  592.  
  593.                           <option value='DMU'>Dimapur</option>
  594.                           <option value='DIU'>Diu</option>
  595.                           <option value='GAY'>Gaya</option>
  596.                           <option value='GOI'>Goa</option>
  597.                           <option value='GOP'>Gorakhpur</option>
  598.                           <option value='GAU'>Guwahati</option>
  599.  
  600.                           <option value='GWL'>Gwalior</option>
  601.                           <option value='HBX'>Hubli</option>
  602.                           <option value='HYD'>Hyderabad</option>
  603.                           <option value='IMF'>Imphal</option>
  604.                           <option value='IDR'>Indore</option>
  605.                           <option value='JLR'>Jabalpur</option>
  606.  
  607.                           <option value='JAI'>Jaipur</option>
  608.                           <option value='IXJ'>Jammu</option>
  609.                           <option value='JGA'>Jamnagar</option>
  610.                           <option value='JDH'>Jodhpur</option>
  611.                           <option value='JRH'>Jorhat</option>
  612.                           <option value='IXY'>Kandla</option>
  613.  
  614.                           <option value='HJR'>Khajuraho</option>
  615.                           <option value='KLH'>Kolhapur</option>
  616.                           <option value='CCU'>Kolkata</option>
  617.                           <option value='KUU'>Kullu</option>
  618.                           <option value='IXL'>Leh</option>
  619.                           <option value='IXI'>Lilabari</option>
  620.  
  621.                           <option value='LKO'>Lucknow</option>
  622.                           <option value='IXM'>Madurai</option>
  623.                           <option value='IXE'>Mangalore</option>
  624.                           <option value='BOM'>Mumbai</option>
  625.                           <option value='NAG'>Nagpur</option>
  626.                           <option value='DEL'>New Delhi</option>
  627.  
  628.                           <option value='IXP'>Pathankot</option>
  629.                           <option value='PAT'>Patna</option>
  630.                           <option value='PBD'>Porbandar</option>
  631.                           <option value='IXZ'>Port Blair</option>
  632.                           <option value='PNQ'>Pune</option>
  633.                           <option value='RPR'>Raipur</option>
  634.  
  635.                           <option value='RJA'>Rajahmundry</option>
  636.                           <option value='RAJ'>Rajkot</option>
  637.                           <option value='IXR'>Ranchi</option>
  638.                           <option value='SHL'>Shillong</option>
  639.                           <option value='SLV'>Shimla</option>
  640.                           <option value='IXS'>Silchar</option>
  641.  
  642.                           <option value='SXR'>Srinagar</option>
  643.                           <option value='STV'>Surat</option>
  644.                           <option value='TEZ'>Tezpur</option>
  645.                           <option value='TRZ'>Tiruchirapally</option>
  646.                           <option value='TIR'>Tirupati</option>
  647.                           <option value='TRV'>Trivandrum</option>
  648.  
  649.                           <option value='TCR'>Tuticorin</option>
  650.                           <option value='UDR'>Udaipur</option>
  651.                           <option value='BDQ'>Vadodara</option>
  652.                           <option value='VNS'>Varanasi</option>
  653.                           <option value='VGA'>Vijaywada</option>
  654.                           <option value='VTZ'>Vishakhapatnam</option>
  655.  
  656.                       </select></td>
  657.                     </tr>
  658.                 </table></td>
  659.               </tr>
  660.               <tr>
  661.                 <td><div id="oneway" style="display:none;" >
  662.                     <table border="0" cellspacing="0" cellpadding="0" class="text1">
  663.                       <tr>
  664.                         <td colspan="3" style="line-height:8px;">&nbsp;</td>
  665.  
  666.                       </tr>
  667.                       <tr>
  668.                         <td width="2"></td>
  669.                         <td width="130">Depart:</td>
  670.                         <td><table cellpadding="0" cellspacing="0" border="0">
  671.                             <tr>
  672.                               <td><input name="txtdeptDateOway" id="txtdeptDateOway" type="text" style="width: 105px;font-size:9px;"  value="DD/MM/YYYY"   tabindex="5" maxlength="10"  onchange="returnDateField()" onfocus="javascript:document.getElementById('deptDateOwayimgExact').onclick()" /></td>
  673.                               <td width="1"></td>
  674.  
  675.                               <td valign="middle"><img id="deptDateOwayimgExact" src="http://www.travelpartnernetwork.net/widget/images/calendar_new.gif"  style="cursor:pointer;" /></td>
  676.                             </tr>
  677.                             <tr>
  678.                               <td><select name="seldeptTimeOway"
  679.                                 id="seldeptTimeOway" style="width:80px;font-size:9px;" tabindex="6" onfocus="javascript:">
  680.                                   <option
  681.                                 value="Any time" selected="selected" >Any time</option>
  682.                                   <option
  683.                                 value="morning">6AM-11AM</option>
  684.                                   <option
  685.                                 value="day">11AM-4PM</option>
  686.  
  687.                                   <option
  688.                                 value="evening">4PM-10PM</option>
  689.                                   <option
  690.                                 value="night">10PM-6AM</option>
  691.                               </select></td>
  692.                               <td width="1"></td>
  693.                               <td></td>
  694.                             </tr>
  695.                         </table></td>
  696.                       </tr>
  697.  
  698.                       <tr>
  699.                         <td colspan="3" style="line-height:6px;">&nbsp;</td>
  700.                       </tr>
  701.                       <tr>
  702.                         <td width="2"></td>
  703.                         <td width="130" class="text1">Return:</td>
  704.                         <td><table  border="0" cellspacing="0" cellpadding="0" class="text1">
  705.                             <tr>
  706.  
  707.                               <td><input type="text" name="txtretnDateOway" id="txtretnDateOway" style="width:105px;font-size:9px;"  disabled="true" value="DD/MM/YYYY" maxlength="10" onfocus="javascript:document.getElementById('deptDateRtripimgExact').onclick()" /></td>
  708.                               <td width="1"></td>
  709.                               <td valign="middle"><img src="http://www.travelpartnernetwork.net/widget/images/calendar_new.gif"  disabled="true" /></td>
  710.                             </tr>
  711.                             <tr>
  712.                               <td><select select id="selretnTimeOway" name="selretnTimeOway" style="width:80px;font-size:9px;"  disabled="true">
  713.                                   <option
  714.                                 value="Any time" selected="selected">Any time</option>
  715.                                   <option
  716.                                 value="morning">6AM-11AM</option>
  717.  
  718.                                   <option
  719.  
  720.                                 value="day">11AM-4PM</option>
  721.                                   <option
  722.                                 value="evening">4PM-10PM</option>
  723.                                   <option
  724.                                 value="night">10PM-6AM</option>
  725.                               </select></td>
  726.                               <td width="1"></td>
  727.                               <td></td>
  728.                             </tr>
  729.  
  730.                         </table></td>
  731.                       </tr>
  732.                     </table>
  733.                 </div>
  734.                     <div id="roundtrip" style="display:block" >
  735.                       <table border="0" cellspacing="0" cellpadding="0" class="text1">
  736.                         <tr>
  737.                           <td colspan="3" style="line-height:8px;">&nbsp;</td>
  738.                         </tr>
  739.  
  740.                         <tr>
  741.                           <td width="2"></td>
  742.                           <td rowspan="2" class="text1">Depart:</td>
  743.                           <td><table  border="0" cellspacing="0" cellpadding="0">
  744.                               <tr>
  745.                                 <td><input name="txtdeptDateRtrip" id="txtdeptDateRtrip" type="text" style="width: 105px;font-size:9px;"  tabindex="5" value="DD/MM/YYYY" maxlength="10" onchange="returnDateField()" onfocus="javascript:document.getElementById('deptDateRtripimgExact').onclick()" /></td>
  746.                                 <td width="1"></td>
  747.                                 <td valign="middle"><img id="deptDateRtripimgExact" src="http://www.travelpartnernetwork.net/widget/images/calendar_new.gif" style="cursor:pointer;" onclick="javascript:returnDateField();" /></td>
  748.  
  749.                               </tr>
  750.                           </table></td>
  751.                         </tr>
  752.                         <tr>
  753.                           <td></td>
  754.                           <td><select  name="seldeptTimeRtrip"
  755.                                 id="seldeptTimeRtrip" style="width:80px;font-size:9px;"                                
  756.                                  tabindex="7" onfocus="javascript:">
  757.                               <option
  758.                                 value="Any time" selected="selected">Any time</option>
  759.                               <option
  760.                                 value="morning">6AM-11AM</option>
  761.  
  762.                               <option
  763.                                 value="day">11AM-4PM</option>
  764.                               <option
  765.                                 value="evening">4PM-10PM</option>
  766.                               <option
  767.                                 value="night">10PM-6AM</option>
  768.                           </select></td>
  769.                         </tr>
  770.                         <tr>
  771.                           <td colspan="3" style="line-height:6px;">&nbsp;</td>
  772.  
  773.                         </tr>
  774.                         <tr>
  775.                           <td width="2"></td>
  776.                           <td rowspan="2" class="text1">Return </td>
  777.                           <td><table  border="0" cellspacing="0" cellpadding="0">
  778.                               <tr>
  779.                                 <td><input  name="txtretnDateRtrip" id="txtretnDateRtrip" type="text" style="width: 105px;font-size:9px;"  tabindex="5" value="DD/MM/YYYY" maxlength="10" onfocus="javascript:returnDateField();document.getElementById('retnDateRtripimgExact').onclick()" /></td>
  780.                                 <td width="1"></td>
  781.  
  782.                                 <td valign="middle"><img id="retnDateRtripimgExact" src="http://www.travelpartnernetwork.net/widget/images/calendar_new.gif" style="cursor:pointer;" onclick="javascript:returnDateField();" /></td>
  783.                               </tr>
  784.                           </table></td>
  785.                         </tr>
  786.                         <tr>
  787.                           <td></td>
  788.                           <td><select name="selretnTimeRtrip"  id="selretnTimeRtrip" 
  789.                                 style="width:80px;font-size:9px;" tabindex="8"  onfocus="javascript:">
  790.                               <option
  791.                                 value="Any time" selected="selected">Any time</option>
  792.  
  793.                               <option
  794.                                 value="morning">6AM-11AM</option>
  795.                               <option
  796.                                 value="day">11AM-4PM</option>
  797.                               <option
  798.                                 value="evening">4PM-10PM</option>
  799.                               <option
  800.                                 value="night">10PM-6AM</option>
  801.                           </select></td>
  802.                         </tr>
  803.                       </table>
  804.  
  805.                     </div>
  806.                   <!-- roundtrip div end-->
  807.                 </td>
  808.               </tr>
  809.  
  810.               <tr>
  811.                 <td><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="text1">
  812.                     <tr>
  813.                       <td width="2"></td>
  814.                       <td width="80">Adults (12+):</td>
  815.  
  816.                       <td width="5"></td>
  817.                       <td width="90">Child(2-11):</td>
  818.  
  819.                       <td>Infants(0-1):</td>
  820.                     </tr>
  821.                     <tr>
  822.                       <td></td>
  823.                       <td width="80"><select name="selnoOfAdults" id="selnoOfAdults"
  824.                                style="font-size:9px;" 
  825.                                  tabindex="9">
  826.                           <option
  827.                                 value="1" selected>1</option>
  828.  
  829.                           <option
  830.                                 value="2">2</option>
  831.                           <option value="3">3</option>
  832.                           <option value="4">4</option>
  833.                       </select></td>
  834.                       <td width="5"></td>
  835.                       <td width="90"><select name="selnoOfChildren" id="selnoOfChildren"
  836.                                 style="font-size:9px;"  tabindex="10">
  837.                           <option
  838.                                 value="0" selected>0</option>
  839.  
  840.                           <option
  841.                                 value="1">1</option>
  842.                           <option value="2">2</option>
  843.                           <option value="3">3</option>
  844.                           <option
  845.                                 value="4">4</option>
  846.                       </select>
  847.                       </td>
  848.  
  849.                       <td><select name="selnoOfInfants" id="selnoOfInfants"
  850.                                 style="font-size:9px;" tabindex="11">
  851.  
  852.                           <option
  853.                                 value="0" selected>0</option>
  854.                           <option
  855.                                 value="1">1</option>
  856.                           <option value="2">2</option>
  857.                           <option value="3">3</option>
  858.                           <option
  859.                                value="4">4</option>
  860.                       </select></td>
  861.  
  862.                     </tr>
  863.                 </table></td>
  864.               </tr>
  865.               <tr>
  866.                 <td height="10"></td>
  867.               </tr>
  868.  
  869.               <tr>
  870.                 <td align="right" style="padding-right:10px;"><a href="javascript:homeSearchFormSubmit();"><!--<img src="images/search-for-flights.gif" border="0" style="cursor:pointer" tabindex="14">-->
  871. <span class="mybutton">Search</span>
  872.  
  873. </a>
  874.                     <!--<span class="mybutton">Search for Flights</span>-->
  875.                 </td>
  876.               </tr>
  877.             </table>
  878.           </div>
  879.         <!--  Additional Search option For Fligth Start Here   -->
  880.           <div id="additionalSearch" style="display:none">
  881.             <table border ="0" class="text1">
  882.  
  883.               <tr>
  884.                 <td height="20"><input type="checkbox" name="chkNightFlight" value="NF" checked="checked" style="margin-right:7px" />
  885.                   Include night flights (10:00 PM - 6:00 AM) </td>
  886.               </tr>
  887.               <tr>
  888.                 <td height="20"><input type="checkbox" name="chkDirectFlight" value="DF" style="margin-right:7px" />
  889.                   Direct flights only </td>
  890.               </tr>
  891.  
  892.               <tr>
  893.                 <td height="20"><input type="checkbox" name="chkRefundable" id="chkRefundable" value="Refundable" style="margin-right:7px" />
  894.                   Refundable fares only</td>
  895.               </tr>
  896.               <tr>
  897.                 <td height="3">&nbsp;</td>
  898.               </tr>
  899.               <tr>
  900.  
  901.                 <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="text1">
  902.                     <tr>
  903.                       <td colspan="4" style="padding-left:4px;" height="21"><b>Cabin/Class:</b> </td>
  904.                     </tr>
  905.                     <tr>
  906.                       <td width="22"><input type="radio" id="radCabinClass" name="radCabinClass" value="E"
  907.                                             checked onclick="javascript:radioButtonValue(this);" /></td>
  908.                       <td>Economy</td>
  909.  
  910.                       <td width="22"><input type="radio" id="radCabinClass" name="radCabinClass" value="B"
  911.                                              onclick="javascript:radioButtonValue(this);" /></td>
  912.                       <td>Business</td>
  913.                     </tr>
  914.                     <tr>
  915.                       <td colspan="4" height="25" style="padding-left:4px;"><b>Search Only These Airlines:</b> </td>
  916.                     </tr>
  917.                     <tr>
  918.  
  919.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="6E" checked/></td>
  920.                       <td height="20">Indigo Airlines</td>
  921.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="9W" checked /></td>
  922.                       <td height="20">Jet Airways</td>
  923.                     </tr>
  924.                     <tr>
  925.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="AI" checked/></td>
  926.                       <td height="20">Air India</td>
  927.  
  928.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="DN" checked /></td>
  929.                       <td height="20">Air Deccan</td>
  930.                     </tr>
  931.                     <tr>
  932.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="G8" checked/></td>
  933.                       <td height="20">Go Air </td>
  934.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="IC" checked /></td>
  935.                       <td height="20">Indian</td>
  936.  
  937.                     </tr>
  938.                     <tr>
  939.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="IT" checked/></td>
  940.                       <td height="20">Kingfisher</td>
  941.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="S2" checked /></td>
  942.                       <td height="20">Jet lite</td>
  943.                     </tr>
  944.                     <tr>
  945.  
  946.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="SG" checked/></td>
  947.                       <td height="20">Spicejet</td>
  948.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="I7" checked/></td>
  949.                       <td height="20">Paramount</td>
  950.                     </tr>
  951.                 </table></td>
  952.               </tr>
  953.             </table>
  954.  
  955.           </div>
  956.            <script type="text/javascript" src="http://www.travelpartnernetwork.net/Affiliate/js/aff/afterbody_fltonly.js"></script>
  957.       </form>
  958.           <!-- FlightTabData End -->
  959.  
  960.  
  961.                 </td>
  962.     </tr>
  963.   </table>
  964. </Div>
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.             </td>
  980.           </tr>
  981.           <tr>
  982.             <td width="179" align="center" valign="top"><?php include ("right_menu.php");?>             </td>
  983.           </tr>
  984.         </table>          </td>
  985.       </tr>
  986.     </table>
  987.  
  988.     <?php include("c2tFooter.php");?></td>
  989.     <td width="6"><img src="img/rrrr.gif" width="6"></td>  </tr>
  990. </table>
  991. </body>
  992. <link rel="stylesheet" href="http://www.makemytrip.co.in/makemytrip/themes/aqua.css" />
  993. </html>
  994. <?php //ob_end_flush(); ?>
Sep 19 '08 #1
5 3986
I have a problem,

everytime i'm run this page

http://click2travel.in/index.php


i get the this error,,,

A run time error has occurred.
Do you wish to Debug?

Line: 5
Error: 'document.forms.0.radtripType.length' is null or not an object
for access to the url,
user: c2t
pass: kamyab

my guess is that there is some other script or forms element in the page that's causing this problem.

the original source of the page is :-

Expand|Select|Wrap|Line Numbers
  1. <?php  include("connection.php"); ?>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  3. "http://www.w3.org/TR/html4/loose.dtd">
  4. <html><head>
  5. <meta http-equiv="Page-Enter" content="blendTrans(Duration=2.0)">
  6. <title>&nbsp;&nbsp;&nbsp;Click2Travel.in - Holidays at your finger tip | Leisure Travel, Hotel Packages, Short Holidays, Cruises&nbsp;|&nbsp;&nbsp;&nbsp;</title>
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. <link rel="stylesheet" type="text/css" href="http://click2travel.in/ajax/ajaxtabs/ajaxtabs.css" />
  22. <script type="text/javascript" src="http://click2travel.in/ajax/ajaxtabs/ajaxtabs.css"></script>
  23.  
  24. <style>
  25. .text_size {font-family:Arial, Helvetica, sans-serif; font-size:12px;}
  26.  
  27. td{
  28. font-family: verdana, Helvetica, sans-serif;
  29.     font-size: 11px;
  30.     color: #000000;
  31.     text-decoration: none;
  32. }
  33. .mybutton  {
  34. background-color: #004182;
  35. border: 2px #006599 outset;
  36. padding: 1px 4px;
  37. color: #FFFFFF;
  38. text-decoration: none;
  39. font: bold 100% "Arial", "Trebuchet MS", Verdana, Helvetica, sans-serif;
  40. line-height:25px;
  41. font-size:12px;
  42. cursor:pointer;
  43. }
  44. </style>
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. <script language="JavaScript" src="Click2Travel_files/validation.js" type="text/javascript"></script>
  53. <script language="JavaScript" src="Click2Travel_files/sitevalidation.js" type="text/javascript"></script>
  54.  
  55.  
  56. <script type="text/javascript" src="ajax/ajaxtabs/ajaxtabs.js"></script>
  57.  
  58.  
  59.  
  60.  
  61. <link href="Click2Travel_files/main.css" type="text/css" rel="stylesheet">
  62. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  63. <link href="img/admin.css" rel="stylesheet" type="text/css">
  64. <style type="text/css">
  65. <!--
  66. .smallText1 { DISPLAY: none }
  67. .smallText2 { VISIBILITY: visible }    
  68. .Font10Dropdown {    COLOR: #59360E;
  69.     FONT-FAMILY: Arial;
  70.     FONT-SIZE: 9pt;
  71.     FONT-WEIGHT: bold
  72. }
  73. .style4 {font-size: 9px ;
  74.           font-family: Verdana;
  75. }
  76. .style drop {font-size: 9px}
  77. -->
  78. </style>
  79.  
  80.  
  81.  
  82.  
  83. <script type="text/javascript" src="http://www.travelpartnernetwork.net/Affiliate/js/aff/beforebody_aff_fh.js"></script>
  84. <style>
  85. .text_size {font-family:Arial, Helvetica, sans-serif; font-size:12px;}
  86.  
  87. td{
  88. font-family: verdana, Helvetica, sans-serif;
  89.     font-size: 11px;
  90.     color: #000000;
  91.     text-decoration: none;
  92. }
  93. .mybutton  {
  94. background-color: #004182;
  95. border: 2px #006599 outset;
  96. padding: 1px 4px;
  97. color: #FFFFFF;
  98. text-decoration: none;
  99. font: bold 100% "Arial", "Trebuchet MS", Verdana, Helvetica, sans-serif;
  100. line-height:25px;
  101. font-size:12px;
  102. cursor:pointer;
  103. }
  104. </style>
  105. <script type="text/javascript">
  106. djConfig = {parseWidgets: false};
  107. var timechange=true;
  108. var modifychange=false;
  109.  
  110. var modifychange=false;
  111.  
  112. var roomDtls=new Array(5);
  113.  
  114. for(var t=0;t<5;t++)
  115. {
  116.     var roomRec=new Array(2);
  117.     roomRec[0]=1;
  118.     roomRec[1]=0;
  119.     roomDtls[t]=roomRec;
  120. }
  121.  
  122. function bodyOnLoad(){
  123.     refereshPage();
  124.     onewayfn();
  125.  
  126. }
  127. </script>
  128. <script type="text/javascript">
  129. var flightRequestUrl="http://www.travelpartnernetwork.net/Affiliate/affiliateGateway.do?action=FLTSRCH&webId=117"; 
  130. </script>
  131. </head>
  132.  
  133.  
  134.  
  135.  
  136. <body onLoad="bodyOnLoad();" topmargin="0" bgcolor="#EFF0F1">
  137.  
  138. <table  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  139.   <tr>
  140.   <td width="6"><img src="img/rrrr.gif" width="6" alt="Holiday Packages"></td>
  141.     <td>    
  142.     <table border="0" align="center" cellpadding="0" cellspacing="0">
  143.       <tr>
  144.         <td align="center" valign="top"><?php include("main_header_of_c2t.php");?></td>
  145.       </tr>
  146.     </table>    
  147.     <table border="0" align="center" cellpadding="0" cellspacing="0" class="my_header">
  148.       <tr>
  149.         <td width="195"  align="right" valign="top"><table  border="0" align="center" cellpadding="0" cellspacing="0" class="my_header">
  150.           <tr>
  151.             <td width="179" valign="top"><table width="179" border="0" cellspacing="0" cellpadding="0">
  152.                 <tr>
  153.                   <td width="179" height="5"> 
  154.                   <!--#include FILE="left_menu.php" --> 
  155.                   <?php include("left_menu.php");?> 
  156.  
  157.                   </td>
  158.                 </tr>
  159.                 <tr>
  160.                   <td height="5"></td>
  161.                 </tr>
  162.               </table>
  163.                 <table width="100%" border="0" cellspacing="0" cellpadding="0">
  164.                   <tr>
  165.                     <td align="center" valign="top"><?php include("newsletter.php");?></td>
  166.                   </tr>
  167.               </table></td>
  168.           </tr>
  169.         </table></td>
  170.         <td width="410"  align="center" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0">
  171.           <tr>
  172.             <td background="img/rrr_01.gif" width="13" height="13" ></td>
  173.             <td background="img/rrr_02.gif" width="13" height="13" ></td>
  174.             <td background="img/rrr_03.gif" width="13" height="13" ></td>
  175.           </tr>
  176.           <tr>
  177.             <td background="img/rrr_04.gif" width="13"><img src="img/rrr_04.gif" width="13" height="10" alt="Domestic Airline tickets"></td>
  178.             <td align="center" valign="top">
  179.               <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  180.                 <tr>
  181.                   <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#ECE9D8">
  182.                     <tr>
  183.                       <td align="center" valign="top"><table 
  184.                         width="100%" border="0" align="center" cellpadding="0" cellspacing="0" 
  185.                         bordercolor="#111111" id="table_main_hotel" style="DISPLAY: block">
  186.                             <tr>
  187.                               <td align="center" valign="top">
  188.  
  189.  
  190.                                        <table width="100%" 
  191.                                 border="0" cellpadding="0" cellspacing="0">
  192.                                           <tr>
  193.                                             <td>
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206. <div id="flowernote" style="display:none; position:absolute; right: 30px; width:150px; height:150px; background-color:red; color:white">
  207. Arbitrary DIV 1
  208. </div>
  209. <div id="flowernote2" style="display:none; position:absolute; right: 200px; width:80px; height:80px; background-color:black; color:white">
  210. Arbitrary DIV 2
  211. </div>
  212. <div id="flowernote3" style="display:none; position:absolute; right: 30px; width:140px; height:140px; background-color:navy; color:white">
  213. Arbitrary DIV 3
  214. </div>
  215.  
  216. <table width="380" border="0" align="center">
  217. <tr><td>
  218. <div id="flowerdivcontainer" style="border:0px solid gray; width:392px; height:160px; background-color: white; padding: 0px">
  219. </div>
  220. <div id="flowertabs" class="modernbricksmenu2">
  221. <ul>
  222. <li><a href="http://click2travel.in/ajax/external3.htm" rel="flowerdivcontainer">Hotels</a></li>
  223. <li><a href="external4.php" rel="#iframe">Cruises</a></li>
  224. <li><a href="http://click2travel.in/ajax/external5.php" rel="flowerdivcontainer">Packages</a></li>
  225. </ul>
  226. </div>
  227. <script type="text/javascript">
  228. var myflowers=new ddajaxtabs("flowertabs", "flowerdivcontainer")
  229. myflowers.setpersist(true)
  230. myflowers.setselectedClassTarget("link")
  231. myflowers.init()
  232. </script>
  233.     </td>
  234.   </tr>
  235. </table>
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.                                             </td>
  263.                                           </tr>
  264.  
  265.                               </table></td>
  266.                             </tr>
  267.                       </table></td>
  268.                     </tr>
  269.                   </table></td>
  270.                 </tr>
  271.             </table></td>
  272.             <td background="img/rrr_06.gif" width="13"><img src="img/rrr_06.gif" width="13" height="10"></td>
  273.           </tr>
  274.           <tr>
  275.             <td background="img/rrr_07.gif" width="13" height="13"></td>
  276.             <td background="img/rrr_08.gif" height="13"></td>
  277.             <td background="img/rrr_09.gif" width="13" height="13"></td>
  278.           </tr>
  279.         </table>
  280.           <table width="100" border="0" cellspacing="0" cellpadding="0">
  281.             <tr>
  282.               <td height="11"></td>
  283.             </tr>
  284.           </table>
  285.           <table border="0" align="center" cellpadding="0" cellspacing="0">
  286.             <tr>
  287.               <td background="img/rrr_01.gif" width="13" height="13"></td>
  288.               <td background="img/rrr_02.gif" height="13"></td>
  289.               <td background="img/rrr_03.gif" width="13" height="13"></td>
  290.             </tr>
  291.             <tr>
  292.               <td background="img/rrr_04.gif" width="13"><img src="img/rrr_04.gif" width="13" height="10"></td>
  293.               <td align="center" valign="top"><table height="196" border="0" align="center" cellpadding="0" cellspacing="0">
  294.                   <tr>
  295.                     <td align="center" valign="top" background="img/star/cc4.gif"><table width="404" height="25" border="0" align="center" cellpadding="0" cellspacing="0" background="img/star/cc4.gif" onClick="MM_goToURL('parent','http://click2travel.in/G1Destination_%20Guide_Map_India.php');return document.MM_returnValue">
  296.                       <tr>
  297.                         <td width="101" align="right"><img src="img/GRADINNT.jpg" height="7" width="101"></td>
  298.                         <td width="201" align="center" valign="middle" class="my_VARADANA">DESTINATION&nbsp;GUIDE</td>
  299.                         <td width="102" align="right" valign="middle"><div align="right"><img src="img/GRADINNT.jpg" height="7" width="99"></div></td>
  300.                       </tr>
  301.                       <tr>
  302.                         <td colspan="3" align="center" onClick="MM_goToURL('parent','http://click2travel.in/G1Destination_%20Guide_Map_India.php');return document.MM_returnValue" onfocus="MM_goToURL('parent','http://click2travel.in/G1Destination_%20Guide_Map_India.php');return document.MM_returnValue"><a href="G1Destination_ Guide_Map_India.php"><br>
  303.                           &nbsp;<span class="my"><u>Welcome&nbsp;To&nbsp;India<br>
  304.                           </u>&nbsp;&nbsp;</span> <span class="my"><u>Click Here</u>&nbsp;</span></a></td>
  305.                       </tr>
  306.                       <tr>
  307.                         <td colspan="3" align="center">&nbsp;</td>
  308.                       </tr>
  309.                     </table></td>
  310.                   </tr>
  311.               </table></td>
  312.               <td background="img/rrr_06.gif" width="13"><img src="img/rrr_06.gif" width="13" height="10"></td>
  313.             </tr>
  314.             <tr>
  315.               <td background="img/rrr_07.gif" width="13" height="13"></td>
  316.               <td background="img/rrr_08.gif" height="13"></td>
  317.               <td background="img/rrr_09.gif" width="13" height="13"></td>
  318.             </tr>
  319.           </table>
  320.           <table width="100%" border="0" cellspacing="0" cellpadding="0">
  321.             <tr>
  322.               <td height="10"></td>
  323.             </tr>
  324.           </table>
  325.           <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  326.             <tr>
  327.               <td width="10" align="center" valign="top">&nbsp;</td>
  328.               <td width="210" align="left" valign="top">
  329.               <table width="210" border="0" align="left" cellpadding="0" cellspacing="0" style="height:143; width:210;"  background="img/star/monthly_offer.gif">
  330.                 <?php           
  331.            $sql="select * from c2t_offer where Sno='11'";
  332.            $result=mysql_query($sql);
  333.             $row=mysql_fetch_array($result);                     
  334.                 $id=$row['Sno'];
  335.               $OfferName=$row['OfferName'];
  336.               $Line1=$row['Line1'];
  337.               $Line2=$row['Line2'];
  338.               $Extra=$row['Extra'];
  339.               ?>
  340.                 <tr>
  341.                   <td height="22" colspan="4" align="center" valign="middle" ><span class="style15"><? echo $OfferName; ?></span> </td>
  342.                 </tr>
  343.                 <tr>
  344.                   <td width="7" align="right" valign="middle">&nbsp;</td>
  345.                   <td width="80" height="53" align="right" valign="middle"><div align="right"><a href="Offer_for_you.php?Sno=<? echo $id; ?>"><img src="admin/Offers_Images/<? echo $Extra; ?>" width="79" height="53" border="0"></a></div></td>
  346.                   <td width="116" align="center" valign="top"><div align="justify" class="style9"><strong><? echo $Line1; ?></strong></div></td>
  347.                   <td width="7" height="53" align="center" valign="top" ></td>
  348.                 </tr>
  349.                 <tr>
  350.                   <td align="center" valign="top" >&nbsp;</td>
  351.                   <td height="35" colspan="2" align="right" valign="bottom" class="style9" ><div align="justify" class="style9"><? echo substr($Line2,0,115);?></div>
  352.                     <a href="Offer_for_you.php?Sno=<? echo $id; ?>"><span class="Exclusive">&nbsp;read more...</span></a></td>
  353.                   <td height="35" align="center" valign="top" >&nbsp;</td>
  354.                 </tr>
  355.                 <tr>
  356.                   <td height="7" colspan="4" align="right" valign="top" ></td>
  357.                 </tr>
  358.               </table></td>
  359.               <td width="10" align="center" valign="top">&nbsp;</td>
  360.               <td width="210" align="right" valign="top"><table width="210" border="0" align="left" cellpadding="0" cellspacing="0" style="height:143; width:210;"  background="img/star/monthly_offer.gif">
  361.                 <?php           
  362.            $sql="select * from c2t_offer where Sno='14'";
  363.            $result=mysql_query($sql);
  364.             $row=mysql_fetch_array($result);                     
  365.                 $id=$row['Sno'];
  366.               $OfferName=$row['OfferName'];
  367.               $Line1=$row['Line1'];
  368.               $Line2=$row['Line2'];
  369.               $Extra=$row['Extra'];
  370.               ?>
  371.                 <tr>
  372.                   <td height="22" colspan="4" align="center" valign="middle" ><span class="style15"><? echo $OfferName; ?></span> </td>
  373.                 </tr>
  374.                 <tr>
  375.                   <td width="7" align="right" valign="middle">&nbsp;</td>
  376.                   <td width="80" height="53" align="right" valign="middle"><div align="right"><a href="Offer_for_you.php?Sno=<? echo $id; ?>"><img src="admin/Offers_Images/<? echo $Extra; ?>" width="79" height="53" border="0"></a></div></td>
  377.                   <td width="116" align="center" valign="top"><div align="justify" class="style9"><strong><? echo $Line1; ?></strong></div></td>
  378.                   <td width="7" height="53" align="center" valign="top" ></td>
  379.                 </tr>
  380.                 <tr>
  381.                   <td align="center" valign="top" >&nbsp;</td>
  382.                   <td height="35" colspan="2" align="right" valign="bottom" class="style9" ><div align="justify" class="style9"><? echo substr($Line2,0,115);?></div>
  383.                     <a href="Offer_for_you.php?Sno=<? echo $id; ?>"><span class="Exclusive">&nbsp;read more...</span></a></td>
  384.                   <td height="35" align="center" valign="top" >&nbsp;</td>
  385.                 </tr>
  386.                 <tr>
  387.                   <td height="7" colspan="4" align="right" valign="top" ></td>
  388.                 </tr>
  389.               </table></td>
  390.             </tr>
  391.           </table></td>
  392.         <td width="186"  align="center" valign="top"><table border="0" align="center" cellpadding="0" cellspacing="0" class="my_header">
  393.           <tr>
  394.             <td align="center" valign="top">
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407. <DIV ID="totalDiv">
  408.   <table width="185" style="border:2px solid #7592ca; background-color:#ffffff;">
  409.  
  410.  
  411.     <tr>
  412.       <td valign="top">
  413.       <form action="http://makemytrip.co.in/makemytrip/searchProgress.do" method="post" name="flightsSearchForm">
  414.           <input type="hidden" name="depdate" />
  415.           <input type="hidden" name="retndate" />
  416.           <input type="hidden" name="cabinClass" id="cabinClass" value="E" />
  417.           <div id="FlightTabData"  border="0" style="display:block">
  418.  
  419.             <table border="0" cellspacing="0" cellpadding="0">
  420.               <tr>
  421.                 <td height="4"></td>
  422.               </tr>
  423.               <tr>
  424.                 <td ><table border="0" cellspacing="0" cellpadding="0" class="text1">
  425.                     <tr>
  426.                       <td width="20"><input name="radtripType" id="radtripType" type="radio" value="R"  onclick="javascript:onewayfn();" tabindex="1" />
  427.                       </td>
  428.  
  429.                       <td width="120">Round Trip </td>
  430.                       <td width="20"><input name="radtripType" id="radtripType" type="radio" value="O" onclick="javascript:onewayfn();returnDateField();" tabindex="2" checked /></td>
  431.                       <td width="129">One Way</td>
  432.                     </tr>
  433.                 </table></td>
  434.               </tr>
  435.  
  436.               <tr>
  437.                 <td><table border="0" cellspacing="0" cellpadding="0" class="text1">
  438.  
  439.                     <tr>
  440.  
  441.                       <td><select name="selorigin" id="selorigin" style="width:130px;font-size:9px;" tabindex="3" >
  442.                           <option value="">---------------</option>
  443.                           <option value='BLR'>Bangalore</option>
  444.                           <option value='MAA'>Chennai</option>
  445.                           <option value='DEL'>Delhi</option>
  446.                           <option value='GOI'>Goa</option>
  447.  
  448.                           <option value='HYD'>Hyderabad</option>
  449.                           <option value='CCU'>Kolkata</option>
  450.                           <option value='BOM'>Mumbai</option>
  451.                           <option value='PNQ'>Pune</option>
  452.                           <option value="">---------------</option>
  453.                           <option value='IXA'>Agartala</option>
  454.  
  455.                           <option value='AGX'>Agatti Island</option>
  456.                           <option value='AMD'>Ahmedabad</option>
  457.                           <option value='AJL'>Aizwal</option>
  458.                           <option value='IXD'>Allahabad</option>
  459.                           <option value='ATQ'>Amritsar</option>
  460.                           <option value='IXU'>Aurangabad</option>
  461.  
  462.                           <option value='IXB'>Bagdogra</option>
  463.                           <option value='BLR'>Bangalore</option>
  464.                           <option value='IXG'>Belgaum</option>
  465.                           <option value='BEP'>Bellary</option>
  466.                           <option value='BHU'>Bhavnagar</option>
  467.                           <option value='BHO'>Bhopal</option>
  468.  
  469.                           <option value='BBI'>Bhubaneshwar</option>
  470.                           <option value='BHJ'>Bhuj</option>
  471.                           <option value='CCJ'>Calicut</option>
  472.                           <option value='IXC'>Chandigarh</option>
  473.                           <option value='MAA'>Chennai</option>
  474.                           <option value='COK'>Cochin</option>
  475.  
  476.                           <option value='CJB'>Coimbatore</option>
  477.                           <option value='DED'>Dehradun</option>
  478.                           <option value='DHM'>Dharamshala</option>
  479.                           <option value='DIB'>Dibrugarh</option>
  480.                           <option value='DMU'>Dimapur</option>
  481.                           <option value='DIU'>Diu</option>
  482.  
  483.                           <option value='GAY'>Gaya</option>
  484.                           <option value='GOI'>Goa</option>
  485.                           <option value='GOP'>Gorakhpur</option>
  486.                           <option value='GAU'>Guwahati</option>
  487.                           <option value='GWL'>Gwalior</option>
  488.                           <option value='HBX'>Hubli</option>
  489.  
  490.                           <option value='HYD'>Hyderabad</option>
  491.                           <option value='IMF'>Imphal</option>
  492.                           <option value='IDR'>Indore</option>
  493.                           <option value='JLR'>Jabalpur</option>
  494.                           <option value='JAI'>Jaipur</option>
  495.                           <option value='IXJ'>Jammu</option>
  496.  
  497.                           <option value='JGA'>Jamnagar</option>
  498.                           <option value='JDH'>Jodhpur</option>
  499.                           <option value='JRH'>Jorhat</option>
  500.                           <option value='IXY'>Kandla</option>
  501.                           <option value='HJR'>Khajuraho</option>
  502.                           <option value='KLH'>Kolhapur</option>
  503.  
  504.                           <option value='CCU'>Kolkata</option>
  505.                           <option value='KUU'>Kullu</option>
  506.                           <option value='IXL'>Leh</option>
  507.                           <option value='IXI'>Lilabari</option>
  508.                           <option value='LKO'>Lucknow</option>
  509.                           <option value='IXM'>Madurai</option>
  510.  
  511.                           <option value='IXE'>Mangalore</option>
  512.                           <option value='BOM'>Mumbai</option>
  513.                           <option value='NAG'>Nagpur</option>
  514.                           <option value='DEL'>New Delhi</option>
  515.                           <option value='IXP'>Pathankot</option>
  516.                           <option value='PAT'>Patna</option>
  517.  
  518.                           <option value='PBD'>Porbandar</option>
  519.                           <option value='IXZ'>Port Blair</option>
  520.                           <option value='PNQ'>Pune</option>
  521.                           <option value='RPR'>Raipur</option>
  522.                           <option value='RJA'>Rajahmundry</option>
  523.                           <option value='RAJ'>Rajkot</option>
  524.  
  525.                           <option value='IXR'>Ranchi</option>
  526.                           <option value='SHL'>Shillong</option>
  527.                           <option value='SLV'>Shimla</option>
  528.                           <option value='IXS'>Silchar</option>
  529.                           <option value='SXR'>Srinagar</option>
  530.                           <option value='STV'>Surat</option>
  531.  
  532.                           <option value='TEZ'>Tezpur</option>
  533.                           <option value='TRZ'>Tiruchirapally</option>
  534.                           <option value='TIR'>Tirupati</option>
  535.                           <option value='TRV'>Trivandrum</option>
  536.                           <option value='TCR'>Tuticorin</option>
  537.                           <option value='UDR'>Udaipur</option>
  538.  
  539.                           <option value='BDQ'>Vadodara</option>
  540.                           <option value='VNS'>Varanasi</option>
  541.                           <option value='VGA'>Vijaywada</option>
  542.                           <option value='VTZ'>Vishakhapatnam</option>
  543.                       </select></td>
  544.                     </tr>
  545.                     <tr>
  546.  
  547.                       <td style="line-height:6px;">&nbsp;</td>
  548.                     </tr>
  549.                     <tr>
  550.  
  551.                       <td><select name="seldestination" id="seldestination" style="width:130px;font-size:9px;" tabindex="4" >
  552.                           <option value="">---------------</option>
  553.                           <option value='BLR'>Bangalore</option>
  554.                           <option value='MAA'>Chennai</option>
  555.  
  556.                           <option value='DEL'>Delhi</option>
  557.                           <option value='GOI'>Goa</option>
  558.                           <option value='HYD'>Hyderabad</option>
  559.                           <option value='CCU'>Kolkata</option>
  560.                           <option value='BOM'>Mumbai</option>
  561.                           <option value='PNQ'>Pune</option>
  562.  
  563.                           <option value="">---------------</option>
  564.                           <option value='IXA'>Agartala</option>
  565.                           <option value='AGX'>Agatti Island</option>
  566.                           <option value='AMD'>Ahmedabad</option>
  567.                           <option value='AJL'>Aizawl</option>
  568.                           <option value='IXD'>Allahabad</option>
  569.  
  570.                           <option value='ATQ'>Amritsar</option>
  571.                           <option value='IXU'>Aurangabad</option>
  572.                           <option value='IXB'>Bagdogra</option>
  573.                           <option value='BLR'>Bangalore</option>
  574.                           <option value='IXG'>Belgaum</option>
  575.                           <option value='BEP'>Bellary</option>
  576.  
  577.                           <option value='BHU'>Bhavnagar</option>
  578.                           <option value='BHO'>Bhopal</option>
  579.                           <option value='BBI'>Bhubaneshwar</option>
  580.                           <option value='BHJ'>Bhuj</option>
  581.                           <option value='CCJ'>Calicut</option>
  582.                           <option value='IXC'>Chandigarh</option>
  583.  
  584.                           <option value='MAA'>Chennai</option>
  585.                           <option value='COK'>Cochin</option>
  586.                           <option value='CJB'>Coimbatore</option>
  587.                           <option value='DED'>Dehradun</option>
  588.                           <option value='DHM'>Dharamshala</option>
  589.                           <option value='DIB'>Dibrugarh</option>
  590.  
  591.                           <option value='DMU'>Dimapur</option>
  592.                           <option value='DIU'>Diu</option>
  593.                           <option value='GAY'>Gaya</option>
  594.                           <option value='GOI'>Goa</option>
  595.                           <option value='GOP'>Gorakhpur</option>
  596.                           <option value='GAU'>Guwahati</option>
  597.  
  598.                           <option value='GWL'>Gwalior</option>
  599.                           <option value='HBX'>Hubli</option>
  600.                           <option value='HYD'>Hyderabad</option>
  601.                           <option value='IMF'>Imphal</option>
  602.                           <option value='IDR'>Indore</option>
  603.                           <option value='JLR'>Jabalpur</option>
  604.  
  605.                           <option value='JAI'>Jaipur</option>
  606.                           <option value='IXJ'>Jammu</option>
  607.                           <option value='JGA'>Jamnagar</option>
  608.                           <option value='JDH'>Jodhpur</option>
  609.                           <option value='JRH'>Jorhat</option>
  610.                           <option value='IXY'>Kandla</option>
  611.  
  612.                           <option value='HJR'>Khajuraho</option>
  613.                           <option value='KLH'>Kolhapur</option>
  614.                           <option value='CCU'>Kolkata</option>
  615.                           <option value='KUU'>Kullu</option>
  616.                           <option value='IXL'>Leh</option>
  617.                           <option value='IXI'>Lilabari</option>
  618.  
  619.                           <option value='LKO'>Lucknow</option>
  620.                           <option value='IXM'>Madurai</option>
  621.                           <option value='IXE'>Mangalore</option>
  622.                           <option value='BOM'>Mumbai</option>
  623.                           <option value='NAG'>Nagpur</option>
  624.                           <option value='DEL'>New Delhi</option>
  625.  
  626.                           <option value='IXP'>Pathankot</option>
  627.                           <option value='PAT'>Patna</option>
  628.                           <option value='PBD'>Porbandar</option>
  629.                           <option value='IXZ'>Port Blair</option>
  630.                           <option value='PNQ'>Pune</option>
  631.                           <option value='RPR'>Raipur</option>
  632.  
  633.                           <option value='RJA'>Rajahmundry</option>
  634.                           <option value='RAJ'>Rajkot</option>
  635.                           <option value='IXR'>Ranchi</option>
  636.                           <option value='SHL'>Shillong</option>
  637.                           <option value='SLV'>Shimla</option>
  638.                           <option value='IXS'>Silchar</option>
  639.  
  640.                           <option value='SXR'>Srinagar</option>
  641.                           <option value='STV'>Surat</option>
  642.                           <option value='TEZ'>Tezpur</option>
  643.                           <option value='TRZ'>Tiruchirapally</option>
  644.                           <option value='TIR'>Tirupati</option>
  645.                           <option value='TRV'>Trivandrum</option>
  646.  
  647.                           <option value='TCR'>Tuticorin</option>
  648.                           <option value='UDR'>Udaipur</option>
  649.                           <option value='BDQ'>Vadodara</option>
  650.                           <option value='VNS'>Varanasi</option>
  651.                           <option value='VGA'>Vijaywada</option>
  652.                           <option value='VTZ'>Vishakhapatnam</option>
  653.  
  654.                       </select></td>
  655.                     </tr>
  656.                 </table></td>
  657.               </tr>
  658.               <tr>
  659.                 <td><div id="oneway" style="display:none;" >
  660.                     <table border="0" cellspacing="0" cellpadding="0" class="text1">
  661.                       <tr>
  662.                         <td colspan="3" style="line-height:8px;">&nbsp;</td>
  663.  
  664.                       </tr>
  665.                       <tr>
  666.                         <td width="2"></td>
  667.                         <td width="130">Depart:</td>
  668.                         <td><table cellpadding="0" cellspacing="0" border="0">
  669.                             <tr>
  670.                               <td><input name="txtdeptDateOway" id="txtdeptDateOway" type="text" style="width: 105px;font-size:9px;"  value="DD/MM/YYYY"   tabindex="5" maxlength="10"  onchange="returnDateField()" onfocus="javascript:document.getElementById('deptDateOwayimgExact').onclick()" /></td>
  671.                               <td width="1"></td>
  672.  
  673.                               <td valign="middle"><img id="deptDateOwayimgExact" src="http://www.travelpartnernetwork.net/widget/images/calendar_new.gif"  style="cursor:pointer;" /></td>
  674.                             </tr>
  675.                             <tr>
  676.                               <td><select name="seldeptTimeOway"
  677.                                 id="seldeptTimeOway" style="width:80px;font-size:9px;" tabindex="6" onfocus="javascript:">
  678.                                   <option
  679.                                 value="Any time" selected="selected" >Any time</option>
  680.                                   <option
  681.                                 value="morning">6AM-11AM</option>
  682.                                   <option
  683.                                 value="day">11AM-4PM</option>
  684.  
  685.                                   <option
  686.                                 value="evening">4PM-10PM</option>
  687.                                   <option
  688.                                 value="night">10PM-6AM</option>
  689.                               </select></td>
  690.                               <td width="1"></td>
  691.                               <td></td>
  692.                             </tr>
  693.                         </table></td>
  694.                       </tr>
  695.  
  696.                       <tr>
  697.                         <td colspan="3" style="line-height:6px;">&nbsp;</td>
  698.                       </tr>
  699.                       <tr>
  700.                         <td width="2"></td>
  701.                         <td width="130" class="text1">Return:</td>
  702.                         <td><table  border="0" cellspacing="0" cellpadding="0" class="text1">
  703.                             <tr>
  704.  
  705.                               <td><input type="text" name="txtretnDateOway" id="txtretnDateOway" style="width:105px;font-size:9px;"  disabled="true" value="DD/MM/YYYY" maxlength="10" onfocus="javascript:document.getElementById('deptDateRtripimgExact').onclick()" /></td>
  706.                               <td width="1"></td>
  707.                               <td valign="middle"><img src="http://www.travelpartnernetwork.net/widget/images/calendar_new.gif"  disabled="true" /></td>
  708.                             </tr>
  709.                             <tr>
  710.                               <td><select select id="selretnTimeOway" name="selretnTimeOway" style="width:80px;font-size:9px;"  disabled="true">
  711.                                   <option
  712.                                 value="Any time" selected="selected">Any time</option>
  713.                                   <option
  714.                                 value="morning">6AM-11AM</option>
  715.  
  716.                                   <option
  717.  
  718.                                 value="day">11AM-4PM</option>
  719.                                   <option
  720.                                 value="evening">4PM-10PM</option>
  721.                                   <option
  722.                                 value="night">10PM-6AM</option>
  723.                               </select></td>
  724.                               <td width="1"></td>
  725.                               <td></td>
  726.                             </tr>
  727.  
  728.                         </table></td>
  729.                       </tr>
  730.                     </table>
  731.                 </div>
  732.                     <div id="roundtrip" style="display:block" >
  733.                       <table border="0" cellspacing="0" cellpadding="0" class="text1">
  734.                         <tr>
  735.                           <td colspan="3" style="line-height:8px;">&nbsp;</td>
  736.                         </tr>
  737.  
  738.                         <tr>
  739.                           <td width="2"></td>
  740.                           <td rowspan="2" class="text1">Depart:</td>
  741.                           <td><table  border="0" cellspacing="0" cellpadding="0">
  742.                               <tr>
  743.                                 <td><input name="txtdeptDateRtrip" id="txtdeptDateRtrip" type="text" style="width: 105px;font-size:9px;"  tabindex="5" value="DD/MM/YYYY" maxlength="10" onchange="returnDateField()" onfocus="javascript:document.getElementById('deptDateRtripimgExact').onclick()" /></td>
  744.                                 <td width="1"></td>
  745.                                 <td valign="middle"><img id="deptDateRtripimgExact" src="http://www.travelpartnernetwork.net/widget/images/calendar_new.gif" style="cursor:pointer;" onclick="javascript:returnDateField();" /></td>
  746.  
  747.                               </tr>
  748.                           </table></td>
  749.                         </tr>
  750.                         <tr>
  751.                           <td></td>
  752.                           <td><select  name="seldeptTimeRtrip"
  753.                                 id="seldeptTimeRtrip" style="width:80px;font-size:9px;"                                
  754.                                  tabindex="7" onfocus="javascript:">
  755.                               <option
  756.                                 value="Any time" selected="selected">Any time</option>
  757.                               <option
  758.                                 value="morning">6AM-11AM</option>
  759.  
  760.                               <option
  761.                                 value="day">11AM-4PM</option>
  762.                               <option
  763.                                 value="evening">4PM-10PM</option>
  764.                               <option
  765.                                 value="night">10PM-6AM</option>
  766.                           </select></td>
  767.                         </tr>
  768.                         <tr>
  769.                           <td colspan="3" style="line-height:6px;">&nbsp;</td>
  770.  
  771.                         </tr>
  772.                         <tr>
  773.                           <td width="2"></td>
  774.                           <td rowspan="2" class="text1">Return </td>
  775.                           <td><table  border="0" cellspacing="0" cellpadding="0">
  776.                               <tr>
  777.                                 <td><input  name="txtretnDateRtrip" id="txtretnDateRtrip" type="text" style="width: 105px;font-size:9px;"  tabindex="5" value="DD/MM/YYYY" maxlength="10" onfocus="javascript:returnDateField();document.getElementById('retnDateRtripimgExact').onclick()" /></td>
  778.                                 <td width="1"></td>
  779.  
  780.                                 <td valign="middle"><img id="retnDateRtripimgExact" src="http://www.travelpartnernetwork.net/widget/images/calendar_new.gif" style="cursor:pointer;" onclick="javascript:returnDateField();" /></td>
  781.                               </tr>
  782.                           </table></td>
  783.                         </tr>
  784.                         <tr>
  785.                           <td></td>
  786.                           <td><select name="selretnTimeRtrip"  id="selretnTimeRtrip" 
  787.                                 style="width:80px;font-size:9px;" tabindex="8"  onfocus="javascript:">
  788.                               <option
  789.                                 value="Any time" selected="selected">Any time</option>
  790.  
  791.                               <option
  792.                                 value="morning">6AM-11AM</option>
  793.                               <option
  794.                                 value="day">11AM-4PM</option>
  795.                               <option
  796.                                 value="evening">4PM-10PM</option>
  797.                               <option
  798.                                 value="night">10PM-6AM</option>
  799.                           </select></td>
  800.                         </tr>
  801.                       </table>
  802.  
  803.                     </div>
  804.                   <!-- roundtrip div end-->
  805.                 </td>
  806.               </tr>
  807.  
  808.               <tr>
  809.                 <td><table width="100%"  border="0" cellspacing="0" cellpadding="0" class="text1">
  810.                     <tr>
  811.                       <td width="2"></td>
  812.                       <td width="80">Adults (12+):</td>
  813.  
  814.                       <td width="5"></td>
  815.                       <td width="90">Child(2-11):</td>
  816.  
  817.                       <td>Infants(0-1):</td>
  818.                     </tr>
  819.                     <tr>
  820.                       <td></td>
  821.                       <td width="80"><select name="selnoOfAdults" id="selnoOfAdults"
  822.                                style="font-size:9px;" 
  823.                                  tabindex="9">
  824.                           <option
  825.                                 value="1" selected>1</option>
  826.  
  827.                           <option
  828.                                 value="2">2</option>
  829.                           <option value="3">3</option>
  830.                           <option value="4">4</option>
  831.                       </select></td>
  832.                       <td width="5"></td>
  833.                       <td width="90"><select name="selnoOfChildren" id="selnoOfChildren"
  834.                                 style="font-size:9px;"  tabindex="10">
  835.                           <option
  836.                                 value="0" selected>0</option>
  837.  
  838.                           <option
  839.                                 value="1">1</option>
  840.                           <option value="2">2</option>
  841.                           <option value="3">3</option>
  842.                           <option
  843.                                 value="4">4</option>
  844.                       </select>
  845.                       </td>
  846.  
  847.                       <td><select name="selnoOfInfants" id="selnoOfInfants"
  848.                                 style="font-size:9px;" tabindex="11">
  849.  
  850.                           <option
  851.                                 value="0" selected>0</option>
  852.                           <option
  853.                                 value="1">1</option>
  854.                           <option value="2">2</option>
  855.                           <option value="3">3</option>
  856.                           <option
  857.                                value="4">4</option>
  858.                       </select></td>
  859.  
  860.                     </tr>
  861.                 </table></td>
  862.               </tr>
  863.               <tr>
  864.                 <td height="10"></td>
  865.               </tr>
  866.  
  867.               <tr>
  868.                 <td align="right" style="padding-right:10px;"><a href="javascript:homeSearchFormSubmit();"><!--<img src="images/search-for-flights.gif" border="0" style="cursor:pointer" tabindex="14">-->
  869. <span class="mybutton">Search</span>
  870.  
  871. </a>
  872.                     <!--<span class="mybutton">Search for Flights</span>-->
  873.                 </td>
  874.               </tr>
  875.             </table>
  876.           </div>
  877.         <!--  Additional Search option For Fligth Start Here   -->
  878.           <div id="additionalSearch" style="display:none">
  879.             <table border ="0" class="text1">
  880.  
  881.               <tr>
  882.                 <td height="20"><input type="checkbox" name="chkNightFlight" value="NF" checked="checked" style="margin-right:7px" />
  883.                   Include night flights (10:00 PM - 6:00 AM) </td>
  884.               </tr>
  885.               <tr>
  886.                 <td height="20"><input type="checkbox" name="chkDirectFlight" value="DF" style="margin-right:7px" />
  887.                   Direct flights only </td>
  888.               </tr>
  889.  
  890.               <tr>
  891.                 <td height="20"><input type="checkbox" name="chkRefundable" id="chkRefundable" value="Refundable" style="margin-right:7px" />
  892.                   Refundable fares only</td>
  893.               </tr>
  894.               <tr>
  895.                 <td height="3">&nbsp;</td>
  896.               </tr>
  897.               <tr>
  898.  
  899.                 <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="text1">
  900.                     <tr>
  901.                       <td colspan="4" style="padding-left:4px;" height="21"><b>Cabin/Class:</b> </td>
  902.                     </tr>
  903.                     <tr>
  904.                       <td width="22"><input type="radio" id="radCabinClass" name="radCabinClass" value="E"
  905.                                             checked onclick="javascript:radioButtonValue(this);" /></td>
  906.                       <td>Economy</td>
  907.  
  908.                       <td width="22"><input type="radio" id="radCabinClass" name="radCabinClass" value="B"
  909.                                              onclick="javascript:radioButtonValue(this);" /></td>
  910.                       <td>Business</td>
  911.                     </tr>
  912.                     <tr>
  913.                       <td colspan="4" height="25" style="padding-left:4px;"><b>Search Only These Airlines:</b> </td>
  914.                     </tr>
  915.                     <tr>
  916.  
  917.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="6E" checked/></td>
  918.                       <td height="20">Indigo Airlines</td>
  919.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="9W" checked /></td>
  920.                       <td height="20">Jet Airways</td>
  921.                     </tr>
  922.                     <tr>
  923.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="AI" checked/></td>
  924.                       <td height="20">Air India</td>
  925.  
  926.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="DN" checked /></td>
  927.                       <td height="20">Air Deccan</td>
  928.                     </tr>
  929.                     <tr>
  930.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="G8" checked/></td>
  931.                       <td height="20">Go Air </td>
  932.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="IC" checked /></td>
  933.                       <td height="20">Indian</td>
  934.  
  935.                     </tr>
  936.                     <tr>
  937.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="IT" checked/></td>
  938.                       <td height="20">Kingfisher</td>
  939.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="S2" checked /></td>
  940.                       <td height="20">Jet lite</td>
  941.                     </tr>
  942.                     <tr>
  943.  
  944.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="SG" checked/></td>
  945.                       <td height="20">Spicejet</td>
  946.                       <td width="22"><input type="checkbox" name="chkCarrierExact" id="chkCarrierExact" value="I7" checked/></td>
  947.                       <td height="20">Paramount</td>
  948.                     </tr>
  949.                 </table></td>
  950.               </tr>
  951.             </table>
  952.  
  953.           </div>
  954.            <script type="text/javascript" src="http://www.travelpartnernetwork.net/Affiliate/js/aff/afterbody_fltonly.js"></script>
  955.       </form>
  956.           <!-- FlightTabData End -->
  957.  
  958.  
  959.                 </td>
  960.     </tr>
  961.   </table>
  962. </Div>
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.             </td>
  978.           </tr>
  979.           <tr>
  980.             <td width="179" align="center" valign="top"><?php include ("right_menu.php");?>             </td>
  981.           </tr>
  982.         </table>          </td>
  983.       </tr>
  984.     </table>
  985.  
  986.     <?php include("c2tFooter.php");?></td>
  987.     <td width="6"><img src="img/rrrr.gif" width="6"></td>  </tr>
  988. </table>
  989. </body>
  990. <link rel="stylesheet" href="http://www.makemytrip.co.in/makemytrip/themes/aqua.css" />
  991. </html>
  992. <?php //ob_end_flush(); ?>
Sep 19 '08 #2
Logician
210 100+
I have a problem,

everytime i'm run this page

http://click2travel.in/index.php


i get the this error,,,



for access to the url,
user: c2t
pass: kamyab

my guess is that there is some other script or forms element in the page that's causing this problem.
My guess is that radtripType is a member of document.forms[2]
Sep 19 '08 #3
My guess is that radtripType is a member of document.forms[2]
hi, thnx for your quick response,

the challenge here, is that the js, script as mentioned in the source, is actually remotely hosted by another co.

which can't be changed by me, is there any way i can change the html or make changes to my page so the current form, can be changed to "form[0]"
???

plz advise.
Sep 20 '08 #4
:-)

thnx,

i didn't have patience so i went ahead and copied the remotely hosted js file and changed all occurrences of " document.forms[0] " with " document.forms[2] "

and tada,! now it works..

thnx..

however i would still need to know how to get it working on "document.forms[0]"

because the script that is remotely hosted is susceptible to change, and in the long run it would be advisable to use the remote js file itself.

thnx once again.
Sep 20 '08 #5
acoder
16,027 Expert Mod 8TB
Use the form name or ID to access the form instead.
Sep 20 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: John | last post by:
A straight forward problem I think but my knowledge of JavaScript lets me down. I am taking in a lot of input using a form. After preparing an email (FormMail.pl) I then use 'document.write' to...
6
by: David List | last post by:
I'm having a problem using different properties of the document object in the example javascripts in my textbook with browsers that identify themselves as using the Mozilla engine. One example of...
6
by: John Ramsden | last post by:
.... when the id 'junk' doesn't exist anywhere in the document, instead of returning 'object'?! I am using Javascript for a drop-down menu, slightly adapted from one by Angus Turnbull (see...
3
by: Hermit Crab | last post by:
I'm seeing some unexpected (at least to me) behavior in the 'window' and 'document' objects under Netscape 7.1 and Internet Explorer 6.0. When a property is added to the prototype for 'Object',...
4
by: Wow | last post by:
when calling a object in an html, should I use self.objectname this.objectname or document.objectname? for example, i have a form called theform and a link called thelink i can call...
8
by: Sergio Otoya | last post by:
Hi all, I need to add an input hidden field to an existing form (post). I have tried a couple things like adding the '<INPUT type=hidden name=idSelectedURL value=http://server/documents>' to...
7
by: dd | last post by:
Hello all. First, I'm a newbie to javascript but not to ASP. Secondly I've been searching for the answer for two hours and I decided to finally post this question. I'm trying to take a...
5
by: Nathan Sokalski | last post by:
I have an ASP.NET application which is giving the following JavaScript error: 'theForm' is undefined However, when I do a View Source one of the <scriptelements is as follows: <script...
23
by: Stanimir Stamenkov | last post by:
<form name="myForm" action="..."> <p><input type="text" name="myElem"></p> </form> As far as I was able to get the following is the standard way of accessing HTML form elements: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.