document.write('<table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td colspan="3"><img src="/Rcom/personal/images/spacer.gif" width="1" height="8" /></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="166" height="83" valign="top"><div id="rcomlogo"><a href="/Rcom/personal/home/index.html"><img src="/Rcom/personal/images/logo_rcom.gif" alt="Reliance Communications" width="160" height="79" border="0"/></a></div></td>');
document.write('<td width="397" valign="bottom"><table width="350" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td width="20%" height="30"><img src="/Rcom/personal/images/spacer.gif" width="50" height="10" /></td>');
document.write('<td width="25%" valign="top" class="Pink15boldManinlink"><div align="center">Personal</div></td>');
document.write('<td width="25%" valign="top" class="Grey15boldMainlink"><div align="center"><a href="/Rcom/business/HTML/index.html" class="Grey15boldMainlink">Business</a></div></td>');
document.write('<td width="25%" valign="top" class="Grey15boldMainlink"><div align="center"><a href="/Rcom/aboutus/overview/overview_reliancegroup.html" class="Grey15boldMainlink">About Us </a></div></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('<td width="800" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr>');
document.write('<td><img src="/Rcom/personal/images/spacer.gif" width="10" height="5" /></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td height="25">');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td height="25"></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td valign="bottom"><div align="right" class="topSmallmenu"><a href="/Rcom/personal/home/myservices.html" target="_blank">View & Pay Bill</a><span class="tosmallmenupadding2">|</span><a href="http://network.rcom.co.in/" target="_blank">Network Coverage</a><span class="tosmallmenupadding2">|</span><a href="/Rcom/personal/storelocator/storelocator.html" id="store1">Store Locator</a><span class="tosmallmenupadding2">|</span><a href="/Rcom/personal/customercare/customercare_mobile.html" id="cust1">Customer Care</a><span class="tosmallmenupadding2">|</span><a href="/Rcom/aboutus/ir/ir_financials.html" id="ir">Investor Relations</a></div></td>');
document.write('</tr>');
document.write('</table></td>');
document.write('</tr>');
          
document.write('</table>');




	function sub_func()
{
	var searchname=document.frmsanjay.textfield.value;
	if(searchname=="")
	{
		document.frmsanjay.textfield.value="";
		alert("please enter the search keyword !"); 
		return false;
	}
	else if(searchname=="--------- Search ---------")
	{
		alert("please enter the search keyword !");
		return false;
	}
	else
	{
		search_func();
		return true
	}
}


function search_func()
{ 
var searchname=document.frmsanjay.textfield.value;
document.frmsanjay.action="search.jsp?textval="+searchname;
document.frmsanjay.method="post";
document.frmsanjay.submit();
return true;
}


function checkEnter(e)
{ 
	var characterCode; 
	if(e && e.which)
	{ 																					
		e = e;
		characterCode = e.which; 
	}
	else
	{
		e = event;
		characterCode = e.keyCode;
	}

	if(characterCode == 13)
	{ 
		return sub_func();
	}
}

function doBlank()
{
	document.frmsanjay.textfield.value = "";
}

function sub_func()
{
var searchname=document.frmsanjay.textfield.value;
document.frmsanjay.action="/rcom/jsp/search.jsp?q="+searchname;
document.frmsanjay.method="post";
document.frmsanjay.submit();

}
