//store the file name for online service i.e. online netsafe/netbanking/
var strservice;

function serviceload()
{
	document.fromonlineservice.onlineservice[0].checked=false;
	document.fromonlineservice.onlineservice[1].checked=false;
	document.fromonlineservice.onlineservice[2].checked=false;
	strservice='none';

}
function selectservice(service)
{
	strservice=service;
}

function openloginnewwindow()
{
	if(strservice!='none')
	{
		var strpath;
		
		if(strservice=='netbanking')
		{
			strpath='/bkup_server/support/netbankingloginsafe.htm';
		}
		else if(strservice=='netbanking_nri')
		{
			strpath='/bkup_server/support/netbankingloginsafe.htm';
		}
		else if(strservice=='oneview')
		{
			strpath='/bkup_server/support/oneviewlogin.htm';
		}
		else if(strservice=='netsafe')
		{
			strpath='/bkup_server/support/netsafedemo.htm';
		}
		else if(strservice=='quickremit')
		{
			strpath='https://www.timesofmoney.com/remittance/secure/LoginForm.jsp?uiId=HDFC&targeturl=http://www.timesofmoney.com/remittance/jsp/hdfc_remithome.jsp';
		}
		else if(strservice=='africaindialink')
		{
			strpath='https://indialink.hdfcbank.com/servlet/nrEremit';
		}
		else if(strservice=='middleeastindialink')
		{
			strpath='https://indialink.hdfcbank.com/servlet/nrEremit';
		}
		else if(strservice=='forex')
		{
			strpath='https://prepaid.hdfcbank.com/hdfc/html/customer.html';
		}
		
		window.open(strpath,"","width=790,height=480,scrollbars=yes,menubar=yes,status=yes,resizable=yes,directories=false,location=false,left=0,top=0");
	}
}	