function header_hm(pgname)
{
	document.write("<table cellpadding='0' cellspacing='0' border='0'>")
	document.write("<tr>")
		document.write("<td width='251' class='logo' rowspan='3'><img src='common/images/logo-hdfc.gif' alt=''></td>")
		document.write("<td valign='top'>")
			document.write("<table width='753' cellpadding='0' cellspacing='0' class='toplinks'>")
				document.write("<tr>")
					document.write("<td>")
						document.write("<a href='./others/about-hdfc.asp' class='link_red'>About Us</a>")
						document.write("<a href='./others/hdfc_news_center.asp' class='link_red'>News Center</a>")
						document.write("<a href='./others/hdfc_careers_introduction.asp' class='link_red'>Careers at HDFC </a>")
						document.write("<a href='./others/contact-hdfc.asp' class='link_red'>Contact Us</a>")
						document.write("<span class='separator'>|</span>&nbsp;&nbsp;&nbsp;")
						document.write("<a href='./others/apply_now.asp' id='ic-apply'>Apply Now</a>")
						document.write("<a href='./others/downloads.asp' id='ic-downloads'>Downloads</a>")
						document.write("<a href='#' onClick=\"return overlay(this, 'subcontent2', 'rightbottom')\" id='ic-calculators'>Calculators</a>")
						document.write("<a href='./others/home_loan_faqs.asp' id='ic-information'>FAQs</a>")
						/*document.write("<a href='#' onClick=\"return overlay(this, 'subcontent3', 'rightbottom')\" id='ic-search'>Search</a>")*/
					document.write("</td>")
				document.write("</tr>")
				
			document.write("</table>")
			
		document.write("</td>")
	document.write("</tr>")
	
	document.write("<tr>")
		document.write("<td valign='top'>")
			document.write("<table width='100%' cellpadding='0' cellspacing='0' border='0'>")
				document.write("<tr>")
					document.write("<td valign='bottom' width='50%' rowspan='2' align='left'><img src='common/images/header_shadow.gif' alt=''></td>")
				  document.write("<td align='right' class='topnav-search'><form name='searchform1' action='/search.asp' method='post' style='margin:0; padding:0'><input name='searchtext' value='search' class='inputsearch' style='margin-left:5px;'><img src='common/images/button-go.gif' alt='' hspace='5' vspace='0' align='absbottom' onclick='javascript:document.searchform1.submit()'><input type='hidden' name='page' value='1'></form></td>")
				document.write("</tr>")
				document.write("<tr>")
					document.write("<td class='space'></td>")
				document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
	document.write("</tr>")
	/*document.write("<tr><td height='17px'><img src='common/images/header_shadow.gif' alt=''></td></tr>")*/
	document.write("<tr>")
		document.write("<td>")
			document.write("<table cellpadding='0' cellspacing='0' border='0' align='center' class='topNavTabs2'>")
				document.write("<tr valign='middle'>")
				if(pgname=='home_loans')
				{
					document.write("<td width='109' class='selected'><a href='../loans/home-loan.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Home Loans</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='loans/home-loan.asp'><img src='common/images/spacer.gif' border='0' width='6' height='8'>Home Loans</a></td>")
				}
				if(pgname=='home_loans_nri')
				{
					document.write("<td width='109' class='selected'><a href='../nri/home-loan-nri.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Home Loans for NRI</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='nri/home-loan-nri.asp'><img src='common/images/spacer.gif' border='0' width='6' height='8'>Home Loans<br>for NRI</a></td>")
				}
				if(pgname=='existing_customer')
				{
					document.write("<td width='109' class='selected'><a href='customers/exisiting_customer.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Existing Loan Customers</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='customers/exisiting_customer.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Existing Loan Customers</a></td>")
				}
				if(pgname=='property_related')
				{
					document.write("<td width='109' class='selected'><a href='services/property_related_services.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Property<br>Services</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='services/property_related_services.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Property<br>Services</a></td>")
				}
				if(pgname=='deposits')
				{
					document.write("<td width='109' class='selected'><a href='deposits/deposites_individuals.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Deposits</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='deposits/deposites_individuals.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Deposits</a></td>")
				}
				if(pgname=='corporate_governance')
				{
					document.write("<td width='111' class='bluebg_selected'><a href='corporate_governance/cor_introduction.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Corporate Governance</a></td>")
				}
				else
				{
					document.write("<td width='111' class='bluebg_selected'><a href='corporate_governance/cor_introduction.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Corporate Governance</a></td>")
				}
				if(pgname=='investors')
				{
					document.write("<td width='106' class='bg_green_last'><a href='investors/investors.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Investors</a></td>")
				}
				else
				{
					document.write("<td width='106' class='bg_green_last'><a href='investors/investors.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Investors</a></td>")
				}
				//document.write("<td><img src='common/images/seperator.gif' alt=''></td>")
				document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
	document.write("</tr>")
	document.write("<tr><td height='10'></td></tr>")
	document.write("</table>")
	document.write("<DIV id='subcontent2' style='position:absolute; display:none; border: 1px solid #999999;width: 280px;  margin-top:5px; background-color:#dfdfdf'>")
	document.write("<div class='calc_links_pos'>")
	document.write("<ul class='calc_links'>")
		document.write("<li>&nbsp;&nbsp;<a href='#' onClick=\"window.open('applications/calc_emi.asp','calculators','height=400, width=550,scrollbars=yes,resizable=1,top=0,left=0')\">EMI Calculator</a></li>")
		document.write("<li>|</li>")
/*		document.write("<li><a href='#' onClick=\"window.open('../applications/calc_ComputeLoanEligible.asp','calculators','height=400, width=780,scrollbars=yes,resizable=1,top=0,left=0')\">Loan Eligibilty</a></li>")
		document.write("<li>|</li>")*/
/*		document.write("<li><a href='#' onClick=\"window.open('../applications/calc_deposit.asp','calculators','height=400, width=780,scrollbars=yes,resizable=1,top=0,left=0')\">Deposit Calculator</a></li>")
		document.write("<li>|</li>") */
		document.write("<li><a href='#' onClick=\"window.open('../applications/calc_hlpp.asp','calculators','height=400, width=780,scrollbars=yes,resizable=1,top=0,left=0')\">Insurance HLPP Calculator</a></li>")
	document.write("</ul>")
	document.write("</div>")
	document.write("<div align='right' class='close'><a href='#' onClick=\"overlayclose('subcontent2'); return false\">X</a></div>")
	document.write("</DIV>")
	
	document.write("<DIV id='subcontent3' style='position:absolute; display:none; border: 1px solid #999999; width: 215px;  margin-top:2px; background-color:#dfdfdf; height:24px;'>")
	document.write("<div class='calc_links_pos' style='width:200px;'>")
	document.write("<table cellpadding='0' cellspacing='0' border='0'>")
				document.write("<tr>")
					document.write("<td align='left'><form name='searchform' action='/search.asp' method='post' style='margin:0; padding:0'><input name='searchtext' value='search' class='inputsearch' style='margin-left:5px;'><img src='common/images/button-go.gif' alt='' hspace='5' vspace='0' align='absbottom' onclick='javascript:document.searchform.submit()'><input type='hidden' name='page' value='1'></form></td>")
				document.write("</tr>")
			document.write("</table>")
	document.write("</div>")
	document.write("<div align='right' class='close' style='width:10px'><a href='#' onClick=\"overlayclose('subcontent3'); return false\">X</a>&nbsp;</div>")
	document.write("</DIV>")
}

function header_landing(pgname)
{
	document.write("<table cellpadding='0' cellspacing='0' border='0'>")
	document.write("<tr>")
//		document.write("<td width='251' class='logo' rowspan='3'><a href='../index.asp'><img src='../common/images/logo-hdfc.gif' alt='' border='0'></a></td>")
		document.write("<td width='251' class='logo' rowspan='3'><a href='http://www.hdfc.com'><img src='../common/images/logo-hdfc.gif' alt='' border='0'></a></td>")		
		document.write("<td valign='top'>")
			document.write("<table width='753' cellpadding='0' cellspacing='0' class='toplinks'>")
				document.write("<tr>")
					document.write("<td>")
						document.write("<a href='../others/about-hdfc.asp' class='link_red'>About Us</a>")
						document.write("<a href='../others/hdfc_news_center.asp' class='link_red'>News Center</a>")
						document.write("<a href='../others/hdfc_careers_introduction.asp' class='link_red'>Careers at HDFC </a>")
						document.write("<a href='../others/contact-hdfc.asp' class='link_red'>Contact Us</a>")
						document.write("<span class='separator'>|</span>&nbsp;&nbsp;&nbsp;")
						document.write("<a href='../others/apply_now.asp' id='ic-apply'>Apply Now</a>")
						document.write("<a href='../others/downloads.asp' id='ic-downloads'>Downloads</a>")
						document.write("<a href='#' onClick=\"return overlay_inner(this, 'subcontent2', 'rightbottom')\" id='ic-calculators'>Calculators</a>")
						document.write("<a href='../others/home_loan_faqs.asp' id='ic-information'>FAQs</a>")
					document.write("</td>")
				document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
	document.write("</tr>")
	document.write("<tr>")
		document.write("<td valign='top'>")
			document.write("<table width='100%' cellpadding='0' cellspacing='0'>")
				document.write("<tr>")
				document.write("<td valign='bottom' width='50%' rowspan='2' align='left'><img src='../common/images/header_shadow.gif' alt=''></td>")
				  document.write("<td align='right' class='topnav-search'><form name='searchform' action='/search.asp' method='post'><input name='searchtext' value='search' class='input'><img src='../common/images/button-go.gif' alt='' hspace='5' vspace='2' align='absbottom' onclick='javascript:document.searchform.submit()'><input type='hidden' name='page' value='1'></form></td>")
				document.write("</tr>")
				document.write("<tr>")
					document.write("<td class='space'></td>")
				document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
	document.write("</tr>")
	document.write("<tr>")
		document.write("<td>")
			document.write("<table cellpadding='0' cellspacing='0' border='0' align='center' class='topNavTabs2'>")
				document.write("<tr valign='middle'>")
				if(pgname=='home_loans')
				{
					document.write("<td width='109' class='selected'><a href='../loans/home-loan.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Home Loans</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='../loans/home-loan.asp'><img src='common/images/spacer.gif' border='0' width='6' height='8'>Home Loans</a></td>")
				}
				if(pgname=='home_loans_nri')
				{
					document.write("<td width='109' class='selected'><a href='../nri/home-loan-nri.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Home Loans<br>for NRI</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='../nri/home-loan-nri.asp'><img src='common/images/spacer.gif' border='0' width='6' height='8'>Home Loans<br>for NRI</a></td>")
				}
				if(pgname=='existing_customer')
				{
					document.write("<td width='109' class='selected'><a href='../customers/exisiting_customer.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Existing Loan Customers</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='../customers/exisiting_customer.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Existing Loan Customers</a></td>")
				}
				if(pgname=='property_related')
				{
					document.write("<td width='109' class='selected'><a href='../services/property_related_services.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Property<br>Services</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='../services/property_related_services.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Property<br>Services</a></td>")
				}
				if(pgname=='deposits')
				{
					document.write("<td width='109' class='selected'><a href='../deposits/deposites_individuals.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Deposits</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='../deposits/deposites_individuals.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Deposits</a></td>")
				}
				if(pgname=='corporate_governance')
				{
					document.write("<td width='111' class='bluebg_selected'><a href='../corporate_governance/cor_introduction.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Corporate Governance</a></td>")
				}
				else
				{
					document.write("<td width='111' class='bluebg_selected'><a href='../corporate_governance/cor_introduction.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Corporate Governance</a></td>")
				}
				if(pgname=='investors')
				{
					document.write("<td width='106' class='bg_green_last'><a href='../investors/investors.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Investors</a></td>")
				}
				else
				{
					document.write("<td width='106' class='bg_green_last'><a href='../investors/investors.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Investors</a></td>")
				}
				//document.write("<td><img src='common/images/seperator.gif' alt=''></td>")
				document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
	document.write("</tr>")
	document.write("<tr><td height='10'></td></tr>")
	document.write("</table>")
	document.write("<DIV id='subcontent2' style='position:absolute; display:none; border: 1px solid #999999;width: 280px;  margin-top:5px; background-color:#dfdfdf'>")
	document.write("<div class='calc_links_pos'>")
	document.write("<ul class='calc_links'>")
		document.write("<li>&nbsp;&nbsp;<a href='#' onClick=\"window.open('../applications/calc_emi.asp','calculators','height=400, width=550,scrollbars=yes,resizable=1,top=0,left=0')\">EMI Calculator</a></li>")
		document.write("<li>|</li>")
/*		document.write("<li><a href='#' onClick=\"window.open('../applications/calc_ComputeLoanEligible.asp','calculators','height=400, width=780,scrollbars=yes,resizable=1,top=0,left=0')\">Loan Eligibilty</a></li>")*/
//		document.write("<li>|</li>")
		//document.write("<li><a href='#' onClick=\"window.open('../applications/calc_deposit.asp','calculators','height=400, width=780,scrollbars=yes,resizable=1,top=0,left=0')\">Deposit Calculator</a></li>")
		//document.write("<li>|</li>")
		document.write("<li><a href='#' onClick=\"window.open('../applications/calc_hlpp.asp','calculators','height=400, width=780,scrollbars=yes,resizable=1,top=0,left=0')\">Insurance HLPP Calculator</a></li>")
	document.write("</ul>")
	document.write("</div>")
	document.write("<div align='right' class='close'><a href='#' onClick=\"overlayclose('subcontent2'); return false\">X</a></div>")
	document.write("</DIV>")
}

function header_inner(pgname)
{
	document.write("<table cellpadding='0' cellspacing='0' border='0'>")
	document.write("<tr>")
//		document.write("<td width='251' class='logo' rowspan='3'><a href='../index.asp'><img src='../common/images/logo-hdfc.gif' alt='' border='0'></a></td>")
		document.write("<td width='251' class='logo' rowspan='3'><a href='http://www.hdfc.com'><img src='../common/images/logo-hdfc.gif' alt='' border='0'></a></td>")		
		document.write("<td valign='top'>")
			document.write("<table width='753' cellpadding='0' cellspacing='0' class='toplinks'>")
				document.write("<tr>")
					document.write("<td>")
						document.write("<a href='../others/about-hdfc.asp' class='link_red'>About Us</a>")
						document.write("<a href='../others/hdfc_news_center.asp' class='link_red'>News Center</a>")
						document.write("<a href='../others/hdfc_careers_introduction.asp' class='link_red'>Careers at HDFC </a>")
						document.write("<a href='../others/contact-hdfc.asp' class='link_red'>Contact Us</a>")
						document.write("<span class='separator'>|</span>&nbsp;&nbsp;&nbsp;")
						document.write("<a href='../others/apply_now.asp' id='ic-apply'>Apply Now</a>")
						document.write("<a href='../others/downloads.asp' id='ic-downloads'>Downloads</a>")
						document.write("<a href='#' onClick=\"return overlay_inner(this, 'subcontent2', 'rightbottom')\" id='ic-calculators'>Calculators</a>")
						document.write("<a href='../others/home_loan_faqs.asp' id='ic-information'>FAQs</a>")
					document.write("</td>")
				document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
	document.write("</tr>")
	document.write("<tr>")
		document.write("<td valign='top'>")
			document.write("<table width='100%' cellpadding='0' cellspacing='0'>")
				document.write("<tr>")
				document.write("<td valign='bottom' width='50%' rowspan='2' align='left'><img src='../common/images/header_shadow.gif' alt=''></td>")
				document.write("<td align='right' class='topnav-search'><form name='searchform' action='/search.asp' method='post'><input name='searchtext' value='search' class='input'><img src='../common/images/button-go.gif' alt='' hspace='5' vspace='2' align='absbottom' onclick='javascript:document.searchform.submit()'><input type='hidden' name='page' value='1'></form></td>")
				document.write("</tr>")
				document.write("<tr>")
					document.write("<td class='space'></td>")
				document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
	document.write("</tr>")
	document.write("<tr>")
		document.write("<td>")
			document.write("<table cellpadding='0' cellspacing='0' border='0' align='center' class='topNavTabs2'>")
				document.write("<tr valign='middle'>")
				if(pgname=='home_loans')
				{
					document.write("<td width='109' class='selected'><a href='../loans/home-loan.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Home Loans</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='../loans/home-loan.asp'><img src='common/images/spacer.gif' border='0' width='6' height='8'>Home Loans</a></td>")
				}
				if(pgname=='home_loans_nri')
				{
					document.write("<td width='109' class='selected'><a href='../nri/home-loan-nri.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Home Loans<br>for NRI</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='../nri/home-loan-nri.asp'><img src='common/images/spacer.gif' border='0' width='6' height='8'>Home Loans<br>for NRI</a></td>")
				}
				if(pgname=='existing_customer')
				{
					document.write("<td width='109' class='selected'><a href='../customers/exisiting_customer.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Existing Loan Customers</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='../customers/exisiting_customer.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Existing Loan Customers</a></td>")
				}
				if(pgname=='property_related')
				{
					document.write("<td width='109' class='selected'><a href='../services/property_related_services.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Property<br>Services</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='../services/property_related_services.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Property<br>Services</a></td>")
				}
				if(pgname=='deposits')
				{
					document.write("<td width='109' class='selected'><a href='../deposits/deposites_individuals.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Deposits</a></td>")
				}
				else
				{
					document.write("<td width='109'><a href='../deposits/deposites_individuals.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Deposits</a></td>")
				}
				if(pgname=='corporate_governance')
				{
					document.write("<td width='111' class='bluebg_selected'><a href='../corporate_governance/cor_introduction.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Corporate Governance</a></td>")
				}
				else
				{
					document.write("<td width='111' class='bluebg_selected'><a href='../corporate_governance/cor_introduction.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Corporate Governance</a></td>")
				}
				if(pgname=='investors')
				{
					document.write("<td width='106' class='bg_green_last'><a href='../investors/investors.asp'><img src='common/images/top_nav_bullet1.gif' border='0' width='0' height='8'>Investors</a></td>")
				}
				else
				{
					document.write("<td width='106' class='bg_green_last'><a href='../investors/investors.asp'><img src='common/images/spacer.gif' border='0' width='0' height='8'>Investors</a></td>")
				}
				//document.write("<td><img src='common/images/seperator.gif' alt=''></td>")
				document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
	document.write("</tr>")
	document.write("<tr><td height='10'></td></tr>")
	document.write("</table>")
	document.write("<DIV id='subcontent2' style='position:absolute; display:none; border: 1px solid #999999;width: 280px;  margin-top:5px; background-color:#dfdfdf'>")
	document.write("<div class='calc_links_pos'>")
	document.write("<ul class='calc_links'>")
		document.write("<li>&nbsp;&nbsp;<a href='#' onClick=\"window.open('../applications/calc_emi.asp','calculators','height=400, width=550,scrollbars=yes,resizable=1,top=0,left=0')\">EMI Calculator</a></li>")
		document.write("<li>|</li>")
/*		document.write("<li><a href='#' onClick=\"window.open('../applications/calc_ComputeLoanEligible.asp','calculators','height=400, width=780,scrollbars=yes,resizable=1,top=0,left=0')\">Loan Eligibilty</a></li>")*/
	//	document.write("<li>|</li>")
	//	document.write("<li><a href='#' onClick=\"window.open('../applications/calc_deposit.asp','calculators','height=400, width=780,scrollbars=yes,resizable=1,top=0,left=0')\">Deposit Calculator</a></li>")*/
		document.write("<li>|</li>")
		document.write("<li><a href='#' onClick=\"window.open('../applications/calc_hlpp.asp','calculators','height=400, width=780,scrollbars=yes,resizable=1,top=0,left=0')\">Insurance HLPP Calculator</a></li>")
	document.write("</ul>")
	document.write("</div>")
	document.write("<div align='right' class='close'><a href='#' onClick=\"overlayclose('subcontent2'); return false\">X</a></div>")
	document.write("</DIV>")
}

function pop1(linkname)
{
	window.open(linkname,'HDFC','height=500, width=500, scrollbars=yes, resizable=1,top=0,left=0')
}

function pop_news_sep(linkname)
{
	window.open(linkname,'HDFC','height=600, width=1000, scrollbars=yes, resizable=1,top=0,left=0')
}

function pop_hfm(linkname)
{
	window.open(linkname,'HDFC','height=300, width=550, scrollbars=yes, resizable=1,top=0,left=0')
}

function pop2(linkname)
{
	window.open(linkname,'HDFC')
}

function pop3(linkname)
{
	window.open(linkname,'HDFC','height=305, width=440, scrollbars=yes, resizable=1,top=0,left=0')
}

function popfeed(linkname)
{
	window.open(linkname,'HDFC','height=500, width=500, scrollbars=yes, resizable=1,top=0,left=0')
}

function pop_loan_eligible(linkname)
{
	window.open(linkname,'HDFC','height=510, width=790, scrollbars=yes, resizable=1,top=0,left=0')
}

function pop_homeline(linkname)
{
	window.open(linkname,'HDFC','height=410, width=445, scrollbars=yes, resizable=1,top=0,left=0')
}

function pop_pdf(linkname)
{
	window.open(linkname,'HDFC','height=500, width=600, scrollbars=yes, resizable=1,top=0,left=0')
}

function pop_annual(linkname)
{
	window.open(linkname,'HDFC','height=550, width=680, scrollbars=yes, resizable=1,top=0,left=0')
}

function pop_850(linkname)
{
	window.open(linkname,'HDFC','height=510, width=850, scrollbars=yes, resizable=1,top=0,left=0')
}

function pop_banner(linkname)
{
	window.open(linkname,'HDFC','height=500, width=500, scrollbars=yes, resizable=1,top=0,left=0')
}

function mouseover(sublinks)
{
	document.getElementById(sublinks).style.visibility='visible'
}

function mouseover(sublinks)
{
	document.getElementById(sublinks).style.visibility='hidden'
}

function getposOffset(overlay, offsettype){
var totaloffset=(offsettype=="left")? overlay.offsetLeft : overlay.offsetTop;
var parentEl=overlay.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function overlay(curobj, subobjstr, opt_position){

if(subobjstr=="subcontent2")
	document.getElementById("subcontent3").style.display="none";
	
if(subobjstr=="subcontent3")
	document.getElementById("subcontent2").style.display="none";


if (document.getElementById){
var subobj=document.getElementById(subobjstr)
subobj.style.display=(subobj.style.display!="block")? "block" : "none"
var xpos=getposOffset(curobj, "left")+((typeof opt_position!="undefined" && opt_position.indexOf("right")!=-1)? -(subobj.offsetWidth-curobj.offsetWidth) : 0) 
var ypos=getposOffset(curobj, "top")+((typeof opt_position!="undefined" && opt_position.indexOf("bottom")!=-1)? curobj.offsetHeight : 0)
subobj.style.left=xpos+"px"
subobj.style.top=ypos+"px"
return false
}
else
return true
}

function getposOffset(overlay_inner, offsettype){
var totaloffset=(offsettype=="left")? overlay_inner.offsetLeft : overlay_inner.offsetTop;
var parentEl=overlay_inner.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function overlay_inner(curobj, subobjstr, opt_position){
if (document.getElementById){
var subobj=document.getElementById(subobjstr)
subobj.style.display=(subobj.style.display!="block")? "block" : "none"
var xpos=getposOffset(curobj, "left")+((typeof opt_position!="undefined" && opt_position.indexOf("right")!=-1)? -(subobj.offsetWidth-curobj.offsetWidth) : 0) 
var ypos=getposOffset(curobj, "top")+((typeof opt_position!="undefined" && opt_position.indexOf("bottom")!=-1)? curobj.offsetHeight : 0)
subobj.style.left=xpos+"px"
subobj.style.top=ypos+"px"
return false
}
else
return true
}

function overlayclose(subobj){
document.getElementById(subobj).style.display="none"
}

function news_ticker()
{
document.write("<table cellpadding='0' cellspacing='0' border='0'>")
	document.write("<tr><td height='50'></td></tr>")
document.write("</table>")
document.write("<table width='208' cellpadding='0' cellspacing='0' border='0' align='center'>")
	document.write("<tr>")
		document.write("<td><span class='marquee-title'>Latest News</span></td>")
	document.write("</tr>")
	document.write("<tr><td height='3'></td></tr>")
	document.write("<tr><td height='1' bgcolor='#b60000'></td></tr>")
	document.write("<tr><td height='3'></td></tr>")
	document.write("<tr>")
		document.write("<td>")
			document.write("<table width='221' cellpadding='0' cellspacing='0' class='marquee-latest'>")
				document.write("<tr>")
					document.write("<td width='12'></td>")
					document.write("<td>&nbsp;<marquee direction='up' scrolldelay='130' height='150px' onMouseOver='this.stop();' onMouseOut='this.start();'>")
					document.write("<p><a href='../others/hdfc_awards_news.asp#deepak_parekh'>Mr Deepak Parekh features in BusinessWeek's '50 Powerful Indian' List</a></p>")
					document.write("<p><a href='../others/hdfc_news_center.asp#fin_res_q1'>Financial Results for Q1 ended 30th June, 2007</a></p>")
					document.write("<p><a href='../others/hdfc_awards_news.asp#deepak_parekh'>Mr Deepak Parekh features in BusinessWeek's '50 Powerful Indian' List</a></p>")
					document.write("<p><a href='../others/hdfc_news_center.asp#fin_res_q1'>Financial Results for Q1 ended 30th June, 2007</a></p>")
					document.write("<p><a href='../others/hdfc_awards_news.asp#deepak_parekh'>Mr Deepak Parekh features in BusinessWeek's '50 Powerful Indian' List</a></p>")
					document.write("<p><a href='../others/hdfc_news_center.asp#fin_res_q1'>Financial Results for Q1 ended 30th June, 2007</a></p>")
					document.write("<p><a href='../others/hdfc_awards_news.asp#deepak_parekh'>Mr Deepak Parekh features in BusinessWeek's '50 Powerful Indian' List</a></p>")
					document.write("<p><a href='../others/hdfc_news_center.asp#fin_res_q1'>Financial Results for Q1 ended 30th June, 2007</a></p>")
					document.write("</marquee>")
					document.write("</td>")
				document.write("</tr>")
			document.write("</table>")
		document.write("</td>")
	document.write("</tr>")
document.write("</table>")
}