function change_url1()
{
	val1=eval("window.document.formx1.station1.selectedIndex")
	val2=eval("window.document.formx1.station2.selectedIndex")
	statval1=window.document.formx1.station1[val1].value;
	statval2=window.document.formx1.station2[val2].value;
	url='http://www.mapsofindia.com/mul/' + statval1+ '-' + statval2 + '.htm';
	window.location = url;
	//document.write(url);
	return false;
	
}
function change_url()
{
	val1=eval("window.document.formx1.station1.selectedIndex")
	//val2=eval("window.document.formx1.station2.selectedIndex")
	statval1=window.document.formx1.station1[val1].value;
	//statval2=window.document.formx1.station2[val2].value;
	url="http://www.mapsofindia.com/mapserv/mul?fromstnno="+statval1;
	window.location = url;
	//document.write(url);
	return false;
	
}
function changemap()
{
	val=eval("window.document.formx1.station2.selectedIndex")
	statval=window.document.formx.station2[val].value;
	url=statval;
	
	window.location.href=url;
	return false;
}

function changecity()
{
	val=eval("window.document.formx2.citymaps.selectedIndex")
	statval=window.document.formx2.citymaps[val].value;
	url=statval;
	window.location.href=url;

	return false;
	
}
function changestat()
{
	val=eval("window.document.formx3.statmaps.selectedIndex")
	statval=window.document.formx3.statmaps[val].value;
	url=statval;
	
	window.location.href=url;
	return false;
}


function print_map(url)
{
	
	window.location.href=url;
}

function openterm()
{
window.open ('http:\/\/www.marutiudyog.com/bp/termsofuse.htm','termsofuse','left=50,top=50,pageX=50,pageY=50,height=400,width=630,location=no,Toolbars=no,Menubars=no,Scrollbars=yes,resizable=no');
}
function openpolicy()
{
window.open ('http:\/\/www.marutiudyog.com/privpolicy.htm','termsofuse','left=50,top=50,pageX=50,pageY=50,height=400,width=630,location=no,Toolbars=no,Menubars=no,Scrollbars=yes,resizable=no');
}
function fnSubmit()
{
	if(document.testform.sel_stat.options[document.testform.sel_stat.selectedIndex].value=="s")
		{
		alert("Please select state")
		document.testform.sel_stat.focus();
		return false;
		}
	if(document.testform.sel_city.options[document.testform.sel_city.selectedIndex].value=="s")
		{
		alert("Please select city")
		document.testform.sel_city.focus();
		return false;
		}
	return true;
}

function gosearch()
{
if	(document.forms[0].elements["searchstring"].value.length == 0)
 	{
	alert("Please enter a search string");
		document.forms[0].elements["searchstring"].focus();
	}
	else if((document.forms[0].elements["searchstring"].value).length < 2)
	{
		alert("Search String should consist of a minimum of two letters");
			document.forms[0].elements["searchstring"].focus();
	}
	
	else
	{
	document.forms[0].action="http://www.marutiudyog.com/search_disp.asp?ch=1&ct=14&sc=0";
	document.forms[0].submit();
    }
}

function doSearch()
        {
            if ((event.which && event.which == 13) || (event.keyCode && event.keyCode == 13))
            {
               gosearch();
               return false;
            }
            else
            {
                return true;
            }    
}

function header_top()
{
	document.write('<table cellpadding=0 cellspacing="0" border=0 align="center" width="995"><tr><td width="147"><a href="http://www.marutiudyog.com/index.asp" style="text-decoration:none;"><img src="http://mapsofindia.com/mul/images/logo.gif" width="147" height="47" border="0"></a></td><td width="800" align="right"><TABLE height=20 border=0> <form style="margin-top:0px;margin-bottom:0px;" name=form1 action="" method=post> <TBODY>  <TR>                <TD><IMG height=7 src="Highway map locating Maruti Authorised Service Stations and Workshops on Agra Gwalior Highway_files/arrow_top.gif"  width=4><A class=link style="TEXT-DECORATION: none"                   href="http://www.marutiudyog.com/index.asp">&nbsp;Home</A></TD>                <TD><IMG height=7                   src="Highway map locating Maruti Authorised Service Stations and Workshops on Agra Gwalior Highway_files/arrow_top.gif"                   width=4><A class=link style="TEXT-DECORATION: none"                   href="http://www.marutiudyog.com/ab/contactus.asp?ch=1&amp;ct=10&amp;sc=3"><FONT face="Verdana, Arial, Helvetica, sans-serif"                   size=1>&nbsp;Contact us</font></A></TD>               <TD><IMG height=7             src="Highway map locating Maruti Authorised Service Stations and Workshops on Agra Gwalior Highway_files/arrow_top.gif"                   width=4><FONT face="Verdana, Arial, Helvetica, sans-serif"                   size=1><A class=link style="TEXT-DECORATION: none"                   href="http://www.marutiudyog.com/ab/sitemap.asp?ch=1&amp;ct=12&amp;sc=0">&nbsp;Site Map</A> </FONT></TD>                <TD vAlign=center align=right><IMG height=7                   src="Highway map locating Maruti Authorised Service Stations and Workshops on Agra Gwalior Highway_files/arrow_top.gif"                   width=4><FONT face="Verdana, Arial, Helvetica, sans-serif"                   size=1><A class=link style="TEXT-DECORATION: none"                   href="http://www.marutiudyog.com/ab/help.asp?ch=1&amp;ct=13&amp;sc=0">&nbsp;Help</A></FONT></TD>                <TD><IMG height=7                   src="Highway map locating Maruti Authorised Service Stations and Workshops on Agra Gwalior Highway_files/arrow_top.gif"                   width=4><FONT face="Verdana, Arial, Helvetica, sans-serif"  size=1>&nbsp;Search</FONT></TD>                <TD height=20><INPUT onkeydown=doSearch()                   style="BORDER-RIGHT: #777777 1px solid; BORDER-TOP: #777777 1px solid; FONT-WEIGHT: normal; FONT-SIZE: 9px; BORDER-LEFT: #777777 1px solid; LINE-HEIGHT: normal; BORDER-BOTTOM: #777777 1px solid; FONT-STYLE: normal; HEIGHT: 17px; FONT-VARIANT: normal"   value=" " name=searchstring></TD>  <TD height=20><A href="javascript:gosearch();"><IMG height=13     alt=Go     src="http://www.mapsofindia.com/mul/images/go.gif"   width=18 border=0></A></TD>   </TR>   </FORM>                  </TABLE><TABLE cellSpacing=0 cellPadding=0 width=381 border=0><TBODY><TR><TD vAlign=bottom><A title="Our Company" href="http://www.marutiudyog.com/ab/aboutus_landing.asp?ch=1&ct=11&sc=0"><IMG height=20 src="http://www.mapsofindia.com/mul/images/aboutus.gif" width=82 border=0></A></TD><TD vAlign=bottom><A title="For Buyers" href="http://www.marutiudyog.com/bp/buyers_landing.asp?ch=2&ct=15&sc=0"><IMG height=20 src="http://www.mapsofindia.com/mul/images/forbuyers.gif" width=95 border=0></A></TD><TD vAlign=bottom><A title="For Owners" href="http://www.marutiudyog.com/op/owners_landing.asp?ch=3&ct=11&sc=0"><IMG height=20 src="http://www.mapsofindia.com/mul/images/forowners.gif" width=99 border=0></A></TD><TD vAlign=bottom><A title="For Investors" href="http://www.marutiudyog.com/sb/investors_landing.asp?ch=4&ct=13&sc=0"><IMG height=20 src="http://www.mapsofindia.com/mul/images/forinvestors.gif" width=112 border=0></A></TD><TD vAlign=bottom><A title=Utilities href="http://www.marutiudyog.com/ut/utilities_landing.asp?ch=5&ct=9&sc=0"><IMG height=20 src="http://www.mapsofindia.com/mul/images/utilities_top.gif" width=79 border=0></A></TD></TR></TBODY></TABLE>');}



function header_form(print_map,print_address)
{

	document.write('	<table width="98%"  border="0" bordercolor=red align="center" cellpadding="0" cellspacing="0">      <tr>  <form style="margin-top:0px;margin-bottom:0px;" name="formx3" method="post"  onsubmit="return changestat();">       <td width="215" height="68" align="" valign="top" style="padding-left:1px;padding-right;5px;">		<table width="175"  border="0" cellspacing="0" cellpadding="0">          <tr>            <td colspan="2"><img src="http://www.mapsofindia.com/mul/images/locate_in_state_top.jpg" width="210" height="25"></td>          </tr>          <tr class="tr_padding">            <td width="160" align="right" valign="middle" bgcolor="#E9E7E8" class="tr_padding">              <select name="statmaps" class="txt_boxStates" id="stat" style="width:190px;">         <option value=\'http://mapsofindia.com/mul/andamannicobar.htm\'>Andaman &amp; Nicobar<option value=\'http://mapsofindia.com/mul/andhrapradesh.htm\'>Andhra Pradesh<option value=\'http://mapsofindia.com/mul/arunachal.htm\'>Arunachal Pradesh<option value=\'http://mapsofindia.com/mul/assam.htm\'>Assam<option value=\'http://mapsofindia.com/mul/bihar.htm\'>Bihar<option value=\'http://mapsofindia.com/mul/chattisgarh.htm\'>Chhattisgarh<option value=\'http://mapsofindia.com/mul/dadra&nagarhaveli.htm\'>Dadra and Nagar Haveli<option value=\'http://mapsofindia.com/mul/goa.htm\'>Goa<option value=\'http://mapsofindia.com/mul/gujarat.htm\'>Gujarat<option value=\'http://mapsofindia.com/mul/haryana.htm\'>Haryana<option value=\'http://mapsofindia.com/mul/himachalpradesh.htm\'>Himachal Pradesh<option value=\'http://mapsofindia.com/mul/jammu&kashmir.htm\'>Jammu and Kashmir<option value=\'http://mapsofindia.com/mul/jharkhand.htm\'>Jharkhand<option value=\'http://mapsofindia.com/mul/karnataka.htm\'>Karnataka<option value=\'http://mapsofindia.com/mul/kerala.htm\'>Kerala<option value=\'http://mapsofindia.com/mul/madhyapradesh.htm\'>Madhya Pradesh<option value=\'http://mapsofindia.com/mul/maharashtra.htm\'>Maharashtra<option value=\'http://mapsofindia.com/mul/manipur.htm\'>Manipur<option value=\'http://mapsofindia.com/mul/meghalaya.htm\'>Meghalaya<option value=\'http://mapsofindia.com/mul/mizoram.htm\'>Mizoram<option value=\'http://mapsofindia.com/mul/nagaland.htm\'>Nagaland<option value=\'http://mapsofindia.com/mul/orissa.htm\'>Orissa<option value=\'http://mapsofindia.com/mul/pondicherry.htm\'>Pondicherry<option value=\'http://mapsofindia.com/mul/punjab.htm\'>Punjab<option value=\'http://mapsofindia.com/mul/rajasthan.htm\'>Rajasthan<option value=\'http://mapsofindia.com/mul/sikkim.htm\'>Sikkim<option value=\'http://mapsofindia.com/mul/tamilnadu.htm\'>Tamil Nadu<option value=\'http://mapsofindia.com/mul/tripura.htm\'>Tripura<option value=\'http://mapsofindia.com/mul/uttarpradesh.htm\'>Uttar Pradesh<option value=\'http://mapsofindia.com/mul/uttaranchal.htm\'>Uttaranchal<option value=\'http://mapsofindia.com/mul/westbengal.htm\'>West Bengal<option value=\'http://www.mapsofindia.com/mul/index.html\'>India Map</select></td>																																								<td width="27" align="center" valign="middle" bgcolor="#E9E7E8" class="tr_padding"><input name="submit" type="image" value="submit" src="http://www.mapsofindia.com/mul/images/go_button.jpg"></td>          </tr>          <tr>            <td colspan="2"><img src="http://www.mapsofindia.com/mul/images/locate_in_state_bottom.jpg" width="210" height="8"></td>          </tr>        </table></td></form>		</tr><tr><form style="margin-top:0px;margin-bottom:0px;" name="formx2" method="get" onsubmit="return changecity();">        <td width="283" align="" valign="top" style="padding-left:1px;padding-right;5px;">          <table width="175"  border="0" cellspacing="0" cellpadding="0">            <tr>              <td colspan="2"><img src="http://www.mapsofindia.com/mul/images/locate_in_cities_top.jpg" width="210" height="25"></td>            </tr>            <tr class="tr_padding">              <td width="160" align="right" valign="middle" bgcolor="#E9E7E8" class="tr_padding"><select name="citymaps" class="txt_boxCities" id="city" style="width:190px;">           <option value=\'http://mapsofindia.com/mul/ahmedabad.htm\'>Ahmedabad<option value=\'http://mapsofindia.com/mul/amritsar.htm\'>Amritsar<option value=\'http://mapsofindia.com/mul/bangalore.htm\'>Bangalore<option value=\'http://mapsofindia.com/mul/bhopal.htm\'>Bhopal<option value=\'http://mapsofindia.com/mul/chandigarh.htm\'>Chandigarh<option value=\'http://mapsofindia.com/mul/chennai.htm\'>Chennai<option value=\'http://mapsofindia.com/mul/coimbatore.htm\'>Coimbatore<option value=\'http://mapsofindia.com/mul/delhi.htm\'>Delhi<option value=\'http://mapsofindia.com/mul/ghaziabad.htm\'>Ghaziabad<option value=\'http://mapsofindia.com/mul/gurgaon.htm\'>Gurgaon<option value=\'http://mapsofindia.com/mul/guwahati.htm\'>Guwahati<option value=\'http://mapsofindia.com/mul/hyderabad.htm\'>Hyderabad<option value=\'http://mapsofindia.com/mul/indore.htm\'>Indore<option value=\'http://mapsofindia.com/mul/jaipur.htm\'>Jaipur<option value=\'http://mapsofindia.com/mul/jalandhar.htm\'>Jalandhar<option value=\'http://mapsofindia.com/mul/kanpur.htm\'>Kanpur<option value=\'http://mapsofindia.com/mul/kochi.htm\'>Kochi<option value=\'http://mapsofindia.com/mul/kolkata.htm\'>Kolkata<option value=\'http://mapsofindia.com/mul/lucknow.htm\'>Lucknow<option value=\'http://mapsofindia.com/mul/ludhiana.htm\'>Ludhiana<option value=\'http://mapsofindia.com/mul/mumbai.htm\'>Mumbai<option value=\'http://mapsofindia.com/mul/nagpur.htm\'>Nagpur<option value=\'http://mapsofindia.com/mul/noida.htm\'>Noida<option value=\'http://mapsofindia.com/mul/patna.htm\'>Patna<option value=\'http://mapsofindia.com/mul/pune.htm\'>Pune<option value=\'http://mapsofindia.com/mul/ranchi.htm\'>Ranchi<option value=\'http://mapsofindia.com/mul/surat.htm\'>Surat<option value=\'http://mapsofindia.com/mul/trivandrum.htm\'>Thiruvananthapuram<option value=\'http://mapsofindia.com/mul/vadodra.htm\'>Vadodra<option value=\'http://www.mapsofindia.com/mul/index.html\'>India Map</select>              </td>              <td width="27" align="center" valign="middle" bgcolor="#E9E7E8" class="tr_padding"><input name="submit" type="image"   src="http://www.mapsofindia.com/mul/images/go_button.jpg"></td>            </tr>            <tr>              <td colspan="2"><img src="http://www.mapsofindia.com/mul/images/locate_in_cities_bottom.jpg" width="210" height="8"></td>            </tr>          </table>        </td>		</form>		</tr><tr><form style="margin-top:0px;margin-bottom:0px;" name="formx1" method="post" onsubmit="javascript:return change_url1();">        <td width="210" align="left" valign="top" style="padding-left:1px;padding-right:1px;padding-top:10px;">          <table width="202"  border="0" cellspacing="0" cellpadding="0">            <tr>              <td colspan="2" width="230"><img src="http://www.mapsofindia.com/mul/images/locate_in_high_top.jpg" width="210" height="25"></td>            </tr>            <tr class="tr_padding">              <td width="200" style="padding-left:8px;" valign="middle" bgcolor="#E9E7E8" class="tr_padding">                          <select name=\'station1\' onchange="javascript:change_location();" class="txt_boxHigh"><option value=\'agra\'>Agra<option value=\'ahmedabad\'>Ahmedabad<option value=\'bangalore\'>Bangalore<option value=\'chennai\'>Chennai<option value=\'cochin\'>Cochin<option value=\'delhi\'>Delhi<option value=\'coimbatore\'>Coimbatore<option value=\'dhanbad\'>Dhanbad<option value=\'mumbai\'>Mumbai</select>&nbsp;<font style="font-size:11px;"><b>to</b></font>&nbsp;<select name=\'station2\' class="txt_boxHigh02" ><option value=\'gwalior\'>Gwalior<option value=\'delhi\'>Delhi</select></td>              <td width="170px" align="right" style="padding-right:2px;" valign="middle" bgcolor="#E9E7E8" class="tr_padding"><input name="submit" type="image" value="submit"  src="http://www.mapsofindia.com/mul/images/go_button.jpg"></td>            </tr>            <tr>              <td colspan="2"><img src="http://www.mapsofindia.com/mul/images/locate_in_high_bottom.jpg" width="210" height="8"></td>            </tr>          </table>        </td></form> </tr><tr>   <td align="left" valign="middle">          <table width="180" border="0" cellspacing="0" cellpadding="0" align="right">         <!-- <tr>            <td width="49"><a href='+print_map+' class="style5" style="text-decoration:none;" id="print_map"> <img src="images/printer.jpg" width="49" height="23" border=0></a><br></td>            <td width="228"><span  > <a href='+print_map+' class="style5" style="text-decoration:none;" id="print_map1">Print Map </a></span></td>          </tr>   -->      </table>');
		if (print_map == "india")
	{
		//document.all['print_map'].href="javascript:void[0]";
		//document.all['print_map1'].href="javascript:void[0]";
		//document.all['print_address1'].href="http://mapsofindia.com/mul/printaddress.jsp";
		//document.all['print_address'].href="http://mapsofindia.com/mul/printaddress.jsp";
	}

}

function header_bottom()
{
	document.write('<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">      <tr>        <td width="100" align="left" valign="top"><img src="images/instruction.jpg" width="83" height="20"></td>        <td width="18" align="left" valign="middle"><img src="images/dealer_showroom.jpg" width="14" height="14"></td>        <td width="120" align="left" valign="middle"><span class="style6">Dealer Showroom </span></td>        <td width="18" align="left" valign="middle"><img src="images/dealer_work.jpg" width="14" height="14"></td>        <td width="120" align="left" valign="middle"><span class="style6">Dealer Workshop </span></td>        <td width="18" align="left" valign="middle"><img src="images/outlet.jpg" width="14" height="14"></td>        <td width="28%" align="left" valign="middle"><span class="style6">Maruti Authorised Service Station</span></td>        <td width="18" valign="middle"><img src="images/service_station.jpg" width="14" height="14"></td>        <td width="121" valign="middle"><span class="style6">True Value Outlet</span></td>      </tr>      <tr>        <td>&nbsp;</td>        <td colspan="8" valign="top"><span class="style6">To see the details please move your mouse on the icons below <br>            <br>        </span></td>        </tr>    </table>');
}


function bottom()
{
document.write('	<span class="style2">All rights reserved. Copyright &copy; Maruti Udyog Limited&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.marutiudyog.com/termsofuse.htm" class="style2">Terms of use</a> |  <a href="http://www.marutiudyog.com/privpolicy.htm" class="style2">Privacy Policy</a></span>');
}


function show_selected_page(type)
{
	
var url_this = window.location
url_this =  String(url_this)
var selected_item_array = url_this.split("/")
var last_index = selected_item_array.length - 1
if ( type == 'city')
{
	 for(i=0;i<=document.formx2.citymaps.options.length-1;i++)
	{
		if (document.formx2.citymaps[i].value == selected_item_array[last_index])
		{
			document.formx2.citymaps.options.selectedIndex = i
			document.formx2.citymaps.focus()
			break
		}
	}
}
else
{
	if(type == 'state')
	{
		 for(i=0;i<=document.formx3.statmaps.options.length-1;i++)
		{  
		  if(selected_item_array[last_index].indexOf("%26") != -1 )
			selected_item_array[last_index] = selected_item_array[last_index].replace("%26","&")
			if (document.formx3.statmaps[i].value == selected_item_array[last_index])
			{	
				document.formx3.statmaps.options.selectedIndex = i
				document.formx3.statmaps.focus()
				break
			}
		}
	}
	else
	{ 
	if(type == 'incity')
		{
		for(i=0;i<=document.all['delhi_selection'].options.length-1;i++)
		{
			if (document.all['delhi_selection'].options[i].value == selected_item_array[last_index])
			{
				document.all['delhi_selection'].options.selectedIndex = i
				document.all['delhi_selection'].focus()
                document.formx2.citymaps.options.selectedIndex = 7
					break
			}
		}
		}
		
	}
}
document.formx1.station1.options.selectedIndex = 0

}


function area_change_delhi()
{
	if ( document.all['delhi_selection'].selectedIndex > -1 )
	window.location = document.all['delhi_selection'].options[document.all['delhi_selection'].options.selectedIndex].value
}

////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
function change_location()
{		
		
		if(document.formx1.station1.options[document.formx1.station1.options.selectedIndex].value == 'ahmedabad')
		{	
			document.formx1.station2.options[0].text = "Surat"
			document.formx1.station2.options[0].value = "surat"
			document.formx1.station2.options.length = 1
	//		document.formx1.station2.options[1].text = ""
		}
		if(document.formx1.station1.options[document.formx1.station1.options.selectedIndex].value == 'agra')
		{	
			document.formx1.station2.options.length = 2
			document.formx1.station2.options[0].text = "Gwalior"
			document.formx1.station2.options[0].value = "gwalior"
			document.formx1.station2.options[1].text = "Delhi"
			document.formx1.station2.options[1].value = "delhi"
		}
		if(document.formx1.station1.options[document.formx1.station1.options.selectedIndex].value == 'bangalore')
		{	
			document.formx1.station2.options.length = 1
			document.formx1.station2.options[0].text = "Belgaum"
			document.formx1.station2.options[0].value = "belgaum"
			//document.formx1.station2.options[1].text = "Delhi"
			//document.formx1.station2.options[1].value = "Delhi"
		}
		if(document.formx1.station1.options[document.formx1.station1.options.selectedIndex].value == 'chennai')
		{	
			document.formx1.station2.options.length = 1
			document.formx1.station2.options[0].text = "Tirchy"
			document.formx1.station2.options[0].value = "trichy"
			//document.formx1.station2.options[1].text = "Delhi"
			//document.formx1.station2.options[1].value = "Delhi"
		}
		if(document.formx1.station1.options[document.formx1.station1.options.selectedIndex].value == 'cochin')
		{	
			document.formx1.station2.options.length = 1
			document.formx1.station2.options[0].text = "Mangalore"
			document.formx1.station2.options[0].value = "mangalore"
			//document.formx1.station2.options[1].text = "Delhi"
			//document.formx1.station2.options[1].value = "Delhi"
		}
		if(document.formx1.station1.options[document.formx1.station1.options.selectedIndex].value == 'delhi')
		{	
			document.formx1.station2.options.length = 2
			//document.formx1.station2.options[0].text = "Agra"
			//document.formx1.station2.options[0].value = "agrra"
			document.formx1.station2.options[0].text = "Jaipur"
			document.formx1.station2.options[0].value = "jaipur"
			document.formx1.station2.options[1].text = "Shimla"
			document.formx1.station2.options[1].value = "shimla"
		}
			if(document.formx1.station1.options[document.formx1.station1.options.selectedIndex].value == 'coimbatore')
		{	
			document.formx1.station2.options.length = 1
			document.formx1.station2.options[0].text = "Kanyakumari"
			document.formx1.station2.options[0].value = "kanyakumari"
			//document.formx1.station2.options[1].text = "Delhi"
			//document.formx1.station2.options[1].value = "Delhi"
		}
		if(document.formx1.station1.options[document.formx1.station1.options.selectedIndex].value == 'dhanbad')
		{	
			document.formx1.station2.options.length = 1
			document.formx1.station2.options[0].text = "Kolkata"
			document.formx1.station2.options[0].value = "kolkata"
			//document.formx1.station2.options[1].text = "Delhi"
			//document.formx1.station2.options[1].value = "Delhi"
		}
			if(document.formx1.station1.options[document.formx1.station1.options.selectedIndex].value == 'mumbai')
		{	
			document.formx1.station2.options.length = 1
			document.formx1.station2.options[0].text = "Pune"
			document.formx1.station2.options[0].value = "pune"
			//document.formx1.station2.options[1].text = "Delhi"
			//document.formx1.station2.options[1].value = "Delhi"
		}
		
		
	
	
}

function show_selected()
{
	strloc = window.location
	strlocarray = String(strloc).split("/")
	page_name = strlocarray[strlocarray.length-1]
	strpage_name_array = page_name.split("-")
	strloc1 = strpage_name_array[0]
	strloc2 = strpage_name_array[1].substring(0,strpage_name_array[1].length-4)
	for(i=0;i<document.formx1.station1.length;i++)
	{
		if(document.formx1.station1[i].value == strloc1)
			document.formx1.station1.selectedIndex = i;
	}
	for(i=0;i<document.formx1.station2.length;i++)
	{
		if(document.formx1.station2[i].value == strloc2)
			document.formx1.station2.selectedIndex = i;
	}
	change_location();
}
