
function validation()   {
	var a = document.getElementById('normal').value;
	if(a.length==0) 	{
		alert("Search : Please enter a word or phrase for the search query.");
		return false;
	} 	else  {
		document.home.action="http://search.icicibank.com/IN/search.jsp";
		document.home.method="POST";
	}
}
 
function kd(e) {
	var intKey = (window.Event) ? e.which : e.keyCode;
	var check = false;
	if (intKey == 13) { //enter key
		pass_value();
		return true;
	} else if((intKey >= 33 && intKey <=47) || (intKey >= 58 && intKey <=64) || (intKey >= 91 && intKey <=96) || (intKey >= 123 && intKey <=127)){
		alert("The field has special characters.");
		return false;
	} else {}
}

function openclinklanguage(path)
{
window.location = path.options[path.selectedIndex].value;
}


function showHeader()
{
	  document.write('<!--header starts here-->');
      document.write('<div id="header">');
	  
	  
        document.write('<div id="logo"><img src="/images/logo.gif" alt="ICICI Bank" width="224" height="53" border="0"></div>');
        document.write('<div id="top_left">');
	
		
        document.write('<div id="top">');		   
				
		 document.write(' <img src="/images/small_bul.gif">&nbsp;<a href="/aboutus/about-us.html">About Us</a>&nbsp;&nbsp;');
			
		 document.write(' <img src="/images/small_bul.gif">&nbsp;<a href="/sitemap.html">Site Map</a>&nbsp;&nbsp;');
			
		 document.write(' <img src="/images/small_bul.gif">&nbsp;<a href="https://infinity.icicibank.co.in/web/emailus/jsp/emailUs.jsp">Email Us </a>&nbsp;&nbsp;');
			
		 document.write(' <img src="/images/small_bul.gif">&nbsp;<a href="/customer-care.html">24hr Customer Care</a>&nbsp;&nbsp;');
			
		 document.write(' <img src="/images/small_bul.gif">&nbsp;<a href="/find-atm-branch.html">Find ATM / Branch  </a>&nbsp;&nbsp;');
		 
		 document.write('<select onChange=openclinklanguage(this) name=select1  class="blue_unbold">');
              document.write('<option>Select Language</option>');
			  
              document.write('<option value="http://www.icicibank.com/hindi/index.html" target="_parent">Hindi</option>');
			  document.write('</select>&nbsp;&nbsp;');
			
						
			document.write('<select onChange=openclink(this) name=select1  class="blue_unbold">');
              document.write('<option>Global Sites</option>');
			  
              document.write('<option value="http://www.icicibankbahrain.com/index.html">Bahrain</option>');
              
              document.write('<option value="http://www.icicibank.ca/default.htm">Canada</option>');
              
              document.write('<option value="http://www.icicibank.de/">Germany</option>');
              
              document.write('<option value="http://www.icicibank.hk/">Hong Kong</option>');
              
              document.write('<option value="http://www.icicibankrussia.com/russian/index.htm">Russia</option>');
              
              document.write('<option value="http://www.icicibank.com.sg/index.html">Singapore</option>');
              
              document.write('<option value="http://www.icicibank.lk/">Sri Lanka</option>');
              
              document.write('<option value="http://www.icicibank.co.uk/">U.K.</option>');
              
              document.write('<option value="http://www.icicibankusa.com/">U.S.A.</option>');
               
			document.write('</select>&nbsp;&nbsp;');

		  document.write('<form name="home" target="_blank" style="padding-bottom:0; margin-bottom:0">');
			document.write('<input name="" type="t" value="" style="display:none">');
			
			document.write('<input name="normal" type="text" id="normal" class="blue_unbold" onKeyPress="return kd(event);" value="Search this Website" size="22" maxlength="256" onFocus="if (this.value == \'Search this Website\' ) this.value =\'\'; this.className=\'blue_unbold\';" onBlur="if (this.value == \'\' ){ this.value = \'Search this Website\' ,this.className = \'blue_unbold\';}" />&nbsp;')
			
			document.write('<input type="SUBMIT" value=" " onclick="javascript:validation();" class="t341" alt="Search" style="cursor: pointer; border:0; background:url(/images/go-s.gif) no-repeat;width:25px; height:20px" title="Search">');
			
			document.write('</form>');
			
		  document.write('</span>&nbsp;</div>');
		 
		 
		  
         document.write('</div>');
		 
      
	  
	  
	  document.write('<div id="swidget">');
	  document.write('<table width="95"  border="0" align="right">');
	  document.write('<tr>');
	  document.write('<td width="40" height="25" align="right">');
	  document.write('<div align="right">');
	  document.write('Share:');
	  document.write('</div></td>');
	  document.write('<td width="25" height="25" align="center"><a id="link1" rel="lightbox[500 310]" href="" onclick="callhref1();"><img src="http://www.icicibank.com/online-services/offer-zone/images/fb-1.png" alt="Facebook" width="22" height="22" id="imgs" style="border:0;" title="Facebook"/></a></td>');
	  document.write('<td width="25" height="25" align="center"><a id="link2" rel="lightbox[500 310]" href="" onclick="callhref2();"><img src="http://www.icicibank.com/online-services/offer-zone/images/twtr-1.png" alt="Twitter" width="22" height="22" style="border:0;" title="Twitter"/></a></td>');
	  document.write('<td width="25" height="25" align="center"><a id="link5" rel="lightbox[500 310]" href="" onclick="callhref5();"><img src="http://www.icicibank.com/online-services/offer-zone/images/linkedin-1.png" alt="linkedin" width="22" height="22" style="border:0;" title="linkedin"/></a></td>');
	  document.write('<td width="5" height="25" align="center"></td>');
	  document.write('</tr>');
	  document.write('</table>');
	  document.write('<br>');
	  document.write('<br>');
	  
	  document.write('</div>');
	  
      document.write('<!--header Ends here-->');
}

function showFooter()
{
		  document.write('<div id="footer">');
		  document.write('<div id="icici_branches">');
				 
				
					document.write('&nbsp;<a href="http://www.icicicareers.com/index.htm" target="_blank">Careers</a>&nbsp;|');
					
					document.write('&nbsp;<a href="http://www.icicigroupcompanies.com/" target="_blank">ICICI Group</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="http://www.icicifoundation.org/" target="_blank">ICICI Foundation</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="http://www.icicilombard.com/app/ilom-en/default.aspx" target="_blank">ICICI Lombard General Insurance</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="http://www.iseconline.com/" target="_blank">ICICI Securities</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="http://www.iciciprulife.com/public/default.htm" target="_blank">ICICI Prudential Life Insurance </a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="http://www.icicipruamc.com/" target="_blank">ICICI Prudential AMC </a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="http://www.iciciventure.com/" target="_blank">ICICI Venture </a>&nbsp;|');   
					
				
				 
				
					document.write('<br/>&nbsp;|');
					document.write('&nbsp;<a href="http://www.icicidirect.com/" target="_blank">ICICI Direct</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="http://dishafc.org/" target="_blank">DISHA Financial Counselling</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="http://www.icicihfc.com/" target="_blank">ICICI Home Finance</a>&nbsp;|'); 
					
					document.write('&nbsp;<a href="http://www.icicibank.com/ebor" target="_blank">Erstwhile The Bank of Rajasthan</a>&nbsp;|'); 
					
				
				document.write('</div>');		
				document.write('<div id="footer_links">');
				 
				
					document.write('&nbsp;<a href="/terms-condition/terms-and-conditions.html" target="_blank">Terms & Conditions</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/interest-rates.html" target="_blank">Interest Rates</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/service-charges/service-charges.html" target="_blank">Service Charges & Fees</a>&nbsp;|');   
					
				document.write('&nbsp;<a href="http://www.icicibank.com/campaigns/khayal-aapka/khayal-aapka.html" target="_blank">Khayaal Aapka </a>&nbsp;|');   
					
				
				 document.write('&nbsp;<a href="/financial-tools/index.html" target="_blank">Personal Finance Tools</a>&nbsp;|'); 
				
					document.write('&nbsp;<a href="/form-center.html" target="_blank">Form Center</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/do-not-call.html" target="_blank">Do Not Call Registry</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/disclaimer.html" target="_blank">Disclaimer</a>&nbsp;|');   
					
					 
					document.write('&nbsp;<a href="/multilingual-disclaimer.html" target="_blank">Multilingual Disclaimer</a>&nbsp;|');
				
				 
				
					document.write('&nbsp;<a href="/code-of-commitment.html" target="_blank">Code of Commitment</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/aboutus/pdf/code_of_business_conduct_ethics.pdf" target="_blank">Group Code of Business Conduct and Ethics</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/aboutus/invest-disclosure.html" target="_blank">Basel II Disclosures</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/notice-board.html" target="_blank">Notice Board</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/unparliamentary-language-by-customers.html" target="_blank">Use of unparliamentary language by customers</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/e-brochures.html" target="_blank">E-Brochures</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/privacy.html" target="_blank">Privacy</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/usa-patriot-act-certification.html" target="_blank">USA Patriot Act Certification</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/online-safe-banking/index.html" target="_blank">Safe Banking</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="http://www.icicibank.com/pfsuser/webnews/go-green/Index.html" target="_blank">Go Green</a>&nbsp;|');   
					
				
				 
				
					document.write('&nbsp;<a href="/media-gallery/media-gallery.html" target="_blank">Gallery </a>');   
					
				
				
				document.write('</div>');		
			document.write('<div id="yellow_band">Best viewed with Internet Explorer 7 or Firefox 3.6 with a resolution of 1024 x 768</div>');

		document.write(' </div>'); 
}
function showLHS(section)
{


	if(section == "personal")
	{
	document.write('<!--Personal Banking-->');
					
					
					
					document.write('<br/>');
					document.write('<table width="150" border="0" align="center" cellpadding="0" cellspacing="0">');
					document.write('<tr>');
					document.write('<td><img src="/images/login-lhs.gif" border="0" usemap="#forgotpassword"></td>');
					document.write('</tr>');
					document.write('</table>');
					
					document.write('<map name="forgotpassword" id="forgotpassword">');
					  document.write('<area shape="rect" coords="5,36,144,61" href="http://www.icicibank.com/safe-online-banking/safe-online-banking.html" alt="Personal">');
					  document.write('<area shape="rect" coords="4,65,144,92" href="https://cib.icicibank.com/safe-online-CIBbanking.html" alt="Corporate">');
					  document.write('<area shape="rect" coords="5,95,146,121" href="https://m2inet.icicibank.co.in/m2iNet/m2iNetLoginForm.jsp" alt="Money2India">');
					  document.write('<area shape="rect" coords="6,126,145,152" href="http://www.icicibank.com/Personal-Banking/account-deposit/young-stars/landing-page.html" alt="YoungStars">');
					  document.write('<area shape="rect" coords="6,156,145,181" href="http://www.b2.icicibank.com/" alt="branchfree banking">');
					  document.write('<area shape="rect" coords="42,182,107,195" href="/forgot-userid.html" target="Get UserID">');
					  document.write('<area shape="rect" coords="23,198,128,210" href="/generate-password.html" target="Generate Password">');
					document.write('</map>');


					
		
            
              
	}
	else if(section == "corporate")
	{
	
	document.write('<!--Corporate Banking-->');
			
			document.write('<br/>');
					document.write('<table width="145" border="0" align="center" cellpadding="0" cellspacing="0">');
					document.write('<tr>');
					document.write('<td align="center"><img src="/images/cc-login.gif" width="145" height="160" border="0" usemap="#cibuserid"></td>');
					document.write('</tr>');
					document.write('</table>');
					
					document.write('<map name="cibuserid" id="cibuserid">');
					document.write('<area shape="rect" coords="19,47,125,71" href="https://cib.icicibank.com/safe-online-CIBbanking.html" alt="Corporate">');
					document.write('<area shape="rect" coords="19,81,126,107" href="http://www.icicibank.com/corporate/Fxonline-login-page-link/message.html" alt="FXOnline">');
					document.write('<area shape="rect" coords="39,130,102,140" href="/forgot-userid.html" target="Get UserID">');
					document.write('<area shape="rect" coords="20,147,121,155" href="/generate-password.html" target="Generate Password">');
					document.write('</map>');
			
              
	}
	else if(section == "business")
	{
	
	document.write('<!--Business Banking-->');
	
				
				document.write('<br/>');
				document.write('<table width="145" border="0" align="center" cellpadding="0" cellspacing="0">');
				document.write('<tr>');
				document.write('<td align="center"><img src="/images/bb-login.gif" width="145" height="153" border="0" usemap="#bbuserid"></td>');
				document.write('</tr>');
				document.write('</table>');
					document.write('<map name="bbuserid" id="bbuserid">');
						document.write('<area shape="rect" coords="21,42,125,67" href="https://cib.icicibank.com/safe-online-CIBbanking.html" alt="Corporate">');						
						document.write('<area shape="rect" coords="19,76,125,102" href="http://www.icicibank.com/corporate/Fxonline-login-page-link/message.html" alt="FXOnline">');
						document.write('<area shape="rect" coords="41,110,102,123" href="/forgot-userid.html" target="Get UserID">');
						document.write('<area shape="rect" coords="21,127,122,136" href="/generate-password.html" target="Generate Password">');
					document.write('</map>');
				
              
	}

}
function showRSS()
{
var temp="";
if(temp != "")
	{
	 document.write('<div id="news">');
	 document.write('<img src="/images/rss_icon.gif" alt="News icon" width="15" height="16" align="left">');
	 document.write('<div id="news_text"><a href="#">RSS Feeds</a></div>');
     document.write('</div>');
	}
	
}
function showRHS()
{
var temp1="";
var temp2="";
if(temp1 != "")
{	
	document.write('<div id="search_box">');
	document.write(' <table width="100%" border="0" cellspacing="0" cellpadding="0">');
	document.write(' <tr>');
	document.write(' <td height="5" style="padding-left:10px"></td>');
	document.write('<td height="5" align="left"></td>');
	document.write('</tr>  <tr>');
	document.write(' <td width="47%" style="padding-left:10px"><input name="search" type="text" value="" size="12" maxlength="50" style="text-align:center"></td>');
	document.write('  <td width="53%" align="left"><img src="/images/go.gif" width="24" height="23"></td>');
	document.write('  </tr>       <tr>');
	document.write('<td colspan="2" valign="bottom" class="text_cop" style="padding-left:10px"><strong></strong></td>')
	document.write(' </tr>   </table>          </div>');
}
if(temp2 != "")
	{
		document.write('<div id="clear"><img src="/images/spacer.gif" alt="space" width="1" height="8"></div>');
		document.write(' <div id="search"> </div>');
	}
}



