var holiday2007 = ",20071231,20071230,20071229,20071223,20071222,20071216,20071215,20071210,20071209,20071208,20071205,20071202,20071201,20071125,20071124,20071118,20071117,20071111,20071110,20071104,20071103,20071028,20071027,20071023,20071021,20071020,20071014,20071013,20071007,20071006,20070930,20070929,20070923,20070922,20070916,20070915,20070909,20070908,20070902,20070901,20070826,20070825,20070819,20070818,20070813,20070812,20070811,20070805,20070804,20070730,20070729,20070728,20070722,20070721,20070715,20070714,20070708,20070707,20070701,20070630,20070624,20070623,20070617,20070616,20070610,20070609,20070603,20070602,20070531,20070527,20070526,20070520,20070519,20070513,20070512,20070507,20070506,20070505,20070501,20070429,20070428,20070422,20070421,20070416,20070415,20070414,20070413,20070408,20070407,20070406,20070401,20070331,20070325,20070324,20070318,20070317,20070311,20070310,20070305,20070304,20070303,20070225,20070224,20070218,20070217,20070211,20070210,20070204,20070203,20070128,20070127,20070121,20070120,20070114,20070113,20070107,20070106,20070102,20070101";
var holiday2008 = ",20081231,20081228,20081227,20081221,20081220,20081214,20081213,20081210,20081207,20081206,20081205,20081130,20081129,20081123,20081122,20081116,20081115,20081109,20081108,20081102,20081101,20081026,20081025,20081023,20081019,20081018,20081012,20081011,20081005,20081004,20080928,20080927,20080921,20080920,20080914,20080913,20080907,20080906,20080831,20080830,20080824,20080823,20080817,20080816,20080812,20080810,20080809,20080803,20080802,20080727,20080726,20080720,20080719,20080717,20080713,20080712,20080706,20080705,20080701,20080629,20080628,20080622,20080621,20080615,20080614,20080608,20080607,20080601,20080531,20080525,20080524,20080519,20080518,20080517,20080511,20080510,20080505,20080504,20080503,20080501,20080427,20080426,20080420,20080419,20080415,20080414,20080413,20080412,20080407,20080406,20080405,20080330,20080329,20080323,20080322,20080316,20080315,20080309,20080308,20080302,20080301,20080224,20080223,20080221,20080217,20080216,20080210,20080209,20080203,20080202,20080127,20080126,20080120,20080119,20080113,20080112,20080106,20080105,20080101";
var holiday2009 = ",20090101,20090102,20090103,20090104,20090110,20090111,20090117,20090118,20090124,20090125,20090131,20090201,20090207,20090208,20090209,20090214,20090215,20090221,20090222,20090228,20090301,20090307,20090308,20090314,20090315,20090321,20090322,20090328,20090329,20090404,20090405,20090406,20090411,20090412,20090413,20090414,20090415,20090418,20090419,20090425,2009042620090501,20090502,20090503,20090505,20090508,20090509,20090510,20090516,20090517,20090523,20090524,20090530,20090531,20090606,20090607,20090613,20090614,20090620,20090621,20090627,20090628,20090701,20090704,20090705,20090707,20090711,20090712,20090718,20090719,20090725,20090726,20090801,20090802,20090808,20090809,20090812,20090815,20090816,20090822,20090823,20090829,20090830,20090905,20090906,20090912,20090913,20090919,20090920,20090926,20090927,20091003,20091004,20091010,20091011,20091017,20091018,20091023,20091024,20091025,20091031,20091101,20091107,20091108,20091114,20091115,20091121,20091122,20091128,20091129,20091205,20091206,20091207,20091210,20091212,20091213,20091219,20091220,20091226,20091227,20091231";
var holiday2010 = ",20100101,20100102,20100103,20100109,20100110,20100116,20100117,20100123,20100124,20100130,20100131,20100206,20100207,20100213,20100214,20100220,20100221,20100227,20100228,20100301,20100306,20100307,20100313,20100314,20100320,20100321,20100327,20100328,20100403,20100404,20100406,20100410,20100411,20100413,20100414,20100415,20100417,20100418,20100424,20100425,20100501,20100502,20100503,20100505,20100508,20100509,20100515,20100516,20100522,20100523,20100528,20100529,20100530,20100605,20100606,20100612,20100613,20100619,20100620,20100626,20100627,20100701,20100703,20100704,20100710,20100711,20100717,20100718,20100724,20100725,20100726,20100731,20100801,20100807,20100808,20100812,20100813,20100814,20100815,20100821,20100822,20100828,20100829,20100904,20100905,20100911,20100912,20100918,20100919,20100925,20100926,20101002,20101003,20101009,20101010,20101016,20101017,20101023,20101024,20101025,20101030,20101031,20101106,20101107,20101113,20101114,20101120,20101121,20101127,20101128,20101204,20101205,20101206,20101210,20101211,20101212,20101218,20101219,20101225,20101226,20101231"
var holiday2011 = ",20110101,20110102,20110103,20110108,20110109,20110115,20110116,20110122,20110123,20110129,20110130,20110205,20110206,20110212,20110213,20110218,20110219,20110220,20110226,20110227,20110305,20110306,20110312,20110313,20110319,20110320,20110326,20110327,20110402,20110403,20110406,20110409,20110410,20110413,20110414,20110415,20110416,20110417,20110423,20110424,20110430,20110501,20110502,20110505,20110507,20110508,20110514,20110515,20110517,20110521,20110522,20110528,20110529,20110604,20110605,20110611,20110612,20110618,20110619,20110625,20110626,20110701,20110702,20110703,20110709,20110710,20110715,20110716,20110717,20110723,20110724,20110730,20110731,20110806,20110807,20110812,20110813,20110814,20110820,20110821,20110827,20110828,20110903,20110904,20110910,20110911,20110917,20110918,20110924,20110925,20111001,20111002,20111008,20111009,20111015,20111016,20111022,20111023,20111024,20111029,20111030,20111105,20111106,20111112,20111113,20111119,20111120,20111126,20111127,20111203,20111204,20111205,20111210,20111211,20111212,20111217,20111218,20111224,20111225,20111231";
var holiday2012=  ",20120101,20120102,20120103,20120107,20120108,20120114,20120115,20120121,20120122,20120128,20120129,20120204,20120205,20120211,20120212,20120218,20120219,20120225,20120226,20120303,20120304,20120307,20120310,20120311,20120317,20120318,20120324,20120325,20120331,20120401,20120406,20120407,20120408,20120413,20120414,20120415,20120416,20120421,20120422,20120428,20120429,20120501,20120505,20120506,20120507,20120512,20120513,20120519,20120520,20120526,20120527,20120602,20120603,20120604,20120609,20120610,20120616,20120617,20120623,20120624,20120630,20120701,20120707,20120708,20120714,20120715,20120721,20120722,20120728,20120729,20120802,20120804,20120805,20120811,20120812,20120813,20120818,20120819,20120825,20120826,20120901,20120902,20120908,20120909,20120915,20120916,20120922,20120923,20120929,20120930,20121006,20121007,20121013,20121014,20121020,20121021,20121023,20121027,20121028,20121103,20121104,20121110,20121111,20121117,20121118,20121124,20121125,20121201,20121202,20121205,20121208,20121209,20121210,20121215,20121216,20121222,20121223,20121229,20121230,20121231";
/*BE Rate*/

function InnitBE_Rate_Year(BErateYearList)
{
    if (BErateYearList.options.length==0)
     {
				var maxitem=BErateYearList.options.length-1;
				for (var i=0; i <maxitem+1; i++) 
				{
					BErateYearList.options[maxitem-i].selected = false;
					BErateYearList.options[maxitem-i] = null;
				}
				//BEHistoryRateYear donotDelete
			BErateYearList.options.add(new Option("2012"));		
			BErateYearList.options.add(new Option("2011"));	
			BErateYearList.options.add(new Option("2010"));	
			BErateYearList.options.add(new Option("2009"));
			BErateYearList.options.add(new Option("2008"));
			BErateYearList.options.add(new Option("2007"));
			BErateYearList.options.add(new Option("2006"));
			BErateYearList.options[0].selected = true;
       }
}
function InnitBE_Rate_Historical(BErateList,yearsFilter)
{
InnitBE_Rate_Year(BErateList);
var maxitem=BErateList.options.length-1;
for (var i=0; i <maxitem+1; i++) {
BErateList.options[maxitem-i].selected = false;
BErateList.options[maxitem-i] = null;
}
if (yearsFilter==2012)
{
BErateList.options.add(new Option("26-Jan-2012"));
}
if (yearsFilter==2011)
{
BErateList.options.add(new Option("26-Aug-2011"));
BErateList.options.add(new Option("02-Jun-2011"));
BErateList.options.add(new Option("31-May-2011"));
BErateList.options.add(new Option("11-Mar-2011"));
BErateList.options.add(new Option("14-Jan-2011"));
}
if (yearsFilter==2010)
{
BErateList.options.add(new Option("03-Sep-2010"));
BErateList.options.add(new Option("08-Feb-2010"));
}
if (yearsFilter==2009)
{
//BEHistoryRate donotDelete

BErateList.options.add(new Option("19-Oct-2009"));
BErateList.options.add(new Option("07-Apr-2009"));
BErateList.options.add(new Option("03-Mar-2009"));
BErateList.options.add(new Option("25-Feb-2009"));
BErateList.options.add(new Option("16-Jan-2009"));
BErateList.options.add(new Option("06-Jan-2009"));
}
if (yearsFilter==2008)
{
BErateList.options.add(new Option("18-Dec-2008"));
BErateList.options.add(new Option("02-Dec-2008"));
BErateList.options.add(new Option("04-Nov-2008"));
BErateList.options.add(new Option("02-Oct-2008"));
BErateList.options.add(new Option("08-Sep-2008"));      // 34
BErateList.options.add(new Option("07-Aug-2008"));     // 33
BErateList.options.add(new Option("31-Jul-2008"));        // 32
BErateList.options.add(new Option("28-Jul-2008"));        //  31
BErateList.options.add(new Option("21-Jul-2008"));        //  30
BErateList.options.add(new Option("03-Jul-2008"));        //  29
BErateList.options.add(new Option("26-May-2008"));    //  28
BErateList.options.add(new Option("15-May-2008"));    //  27
BErateList.options.add(new Option("23-Apr-2008"));     //  26
BErateList.options.add(new Option("16-Apr-2008"));      //  25
BErateList.options.add(new Option("01-Apr-2008"));      //  24
BErateList.options.add(new Option("17-Mar-2008"));      //  23
BErateList.options.add(new Option("03-Mar-2008"));      //  22
BErateList.options.add(new Option("01-Feb-2008"));      //  21
BErateList.options.add(new Option("02-Jan-2008"));       //  20
}
if (yearsFilter==2007)
{
BErateList.options.add(new Option("03-Dec-2007"));      //  19
BErateList.options.add(new Option("15-Nov-2007"));     //  18
BErateList.options.add(new Option("01-Nov-2007"));     //  17
BErateList.options.add(new Option("01-Oct-2007"));      //  16
BErateList.options.add(new Option("03-Sep-2007"));      //  15
BErateList.options.add(new Option("01-Aug-2007"));      //  14
BErateList.options.add(new Option("02-Jul-2007"));        //  13
BErateList.options.add(new Option("18-Jun-2007"));       //  12
BErateList.options.add(new Option("01-Jun-2007"));        //  11
BErateList.options.add(new Option("15-May-2007"));     //  10
BErateList.options.add(new Option("02-May-2007"));     //  9
BErateList.options.add(new Option("04-Apr-2007"));      //  8
BErateList.options.add(new Option("01-Mar-2007"));     //  7
BErateList.options.add(new Option("01-Feb-2007"));      //  6
BErateList.options.add(new Option("04-Jan-2007"));      //  5
}
if (yearsFilter==2006)
{
BErateList.options.add(new Option("01-Dec-2006"));    //  4
BErateList.options.add(new Option("01-Nov-2006"));    //  3
BErateList.options.add(new Option("02-Oct-2006"));     //  2
BErateList.options.add(new Option("10-Sep-2006"));      //  1
}
}
function BE_Rate_Latest()
{	
var Latestfilename='';
 Latestfilename='BE_Rate_26Jan2012.pdf';
//BELatestRate donotDelete
	return getUrl (Latestfilename);
}
function BE_Rate_Historical(pDate)
{
	var sLink='';
        pDate=pDate.replace('-','');
        pDate=pDate.replace('-','');
	sLink = "BE_Rate_"+pDate+".pdf";
	return getUrl(sLink);
}

function InnitLending_Rate_Year(LendingRateListYear)
{
		if (LendingRateListYear.options.length==0)
		{
						var maxitem=LendingRateListYear.options.length-1;
						for (var i=0; i <maxitem+1; i++) 
						{
							LendingRateListYear.options[maxitem-i].selected = false;
							LendingRateListYear.options[maxitem-i] = null;
						}
						//LendingHistoryRateYear donotDelete
					LendingRateListYear.options.add(new Option("2008"));
					LendingRateListYear.options.add(new Option("2003"));
					LendingRateListYear.options.add(new Option("2002"));
					LendingRateListYear.options[0].selected =true;
	}
}

function InnitLending_Rate_Historical(LendingRateList,yearsFilter)
{
//LendingHistoryRate donotDelete
var maxitem=LendingRateList.options.length-1;
for (var i=0; i <maxitem+1; i++) {
LendingRateList.options[maxitem-i].selected = false;
LendingRateList.options[maxitem-i] = null;
}
if (yearsFilter==2009)
{
}
if (yearsFilter==2008)
{
LendingRateList.options.add(new Option("01-Oct-2008"));     //  10
LendingRateList.options.add(new Option("24-Sep-2008"));     //  9
LendingRateList.options.add(new Option("04-Aug-2008"));      //  8
}
if (yearsFilter==2003)
{
LendingRateList.options.add(new Option("03-Jul-2003"));     //  7
LendingRateList.options.add(new Option("27-Jun-2003"));      //  6
LendingRateList.options.add(new Option("03-Jan-2003"));      //  5
}
if (yearsFilter==2002)
{
LendingRateList.options.add(new Option("25-Dec-2002"));    //  4
LendingRateList.options.add(new Option("07-Nov-2002"));    //  3
LendingRateList.options.add(new Option("03-Jul-2002"));     //  2
LendingRateList.options.add(new Option("10-Jun-2002"));      //  1
}
}


function Lending_Rate_Latest()
{	
var Latestfilename='';
Latestfilename='Lending_Rate_01Oct2008.pdf';
//LendingLatestRate donotDelete
	return getUrl (Latestfilename);
}
function Lending_Rate_Historical(pDate)
{
	var sLink='';
        pDate=pDate.replace('-','');
        pDate=pDate.replace('-','');
	sLink = "Lending_Rate_"+pDate+".pdf";
	return getUrl(sLink);
}



function InnitDeposit_Rate_Year(DepositRateListYear)
{

		if(DepositRateListYear.options.length==0)
		{
					var maxitem=DepositRateListYear.options.length-1;
					for (var i=0; i <maxitem+1; i++) 
					{
						DepositRateListYear.options[maxitem-i].selected = false;
						DepositRateListYear.options[maxitem-i] = null;
					}
	
					//DepositHistoryRateYear donotDelete
				DepositRateListYear.options.add(new Option("2011"));	
				DepositRateListYear.options.add(new Option("2010"));	
				DepositRateListYear.options.add(new Option("2009"));
				DepositRateListYear.options.add(new Option("2008"));
				DepositRateListYear.options.add(new Option("2007"));
				DepositRateListYear.options.add(new Option("2006"));
				DepositRateListYear.options.add(new Option("2005"));
				DepositRateListYear.options[0].selected =true;

       }
}

function InnitDeposit_Rate_Historical(DepositRateList,yearsFilter)
{
var maxitem=DepositRateList.options.length-1;
for (var i=0; i <maxitem+1; i++) {
DepositRateList.options[maxitem-i].selected = false;
DepositRateList.options[maxitem-i] = null;
}

if (yearsFilter==2012)
{
DepositRateList.options.add(new Option("07-Feb-2012"));
}
if (yearsFilter==2011)
{
DepositRateList.options.add(new Option("13-Jun-2011"));
DepositRateList.options.add(new Option("08-Jun-2011"));
DepositRateList.options.add(new Option("02-Jun-2011"));
DepositRateList.options.add(new Option("13-May-2011"));
DepositRateList.options.add(new Option("25-Mar-2011"));
DepositRateList.options.add(new Option("16-Mar-2011"));
DepositRateList.options.add(new Option("23-Feb-2011"));
}
if (yearsFilter==2010)
{
DepositRateList.options.add(new Option("22-Dec-2010"));
DepositRateList.options.add(new Option("01-Sep-2010"));
DepositRateList.options.add(new Option("21-Jul-2010"));
}
if (yearsFilter==2009)
{
//DepositHistoryRate donotDelete
DepositRateList.options.add(new Option("26-Oct-2009"));
DepositRateList.options.add(new Option("28-Sep-2009"));
DepositRateList.options.add(new Option("23-Jul-2009"));
DepositRateList.options.add(new Option("02-Jul-2009"));
DepositRateList.options.add(new Option("25-Jun-2009"));
DepositRateList.options.add(new Option("16-Jun-2009"));
DepositRateList.options.add(new Option("07-Apr-2009"));
DepositRateList.options.add(new Option("05-Mar-2009"));
DepositRateList.options.add(new Option("27-Feb-2009"));
DepositRateList.options.add(new Option("25-Feb-2009"));
DepositRateList.options.add(new Option("23-Jan-2009"));
DepositRateList.options.add(new Option("20-Jan-2009"));
DepositRateList.options.add(new Option("16-Jan-2009"));
}
if (yearsFilter==2008)
{
DepositRateList.options.add(new Option("23-Dec-2008"));
DepositRateList.options.add(new Option("19-Dec-2008"));
DepositRateList.options.add(new Option("18-Dec-2008"));
DepositRateList.options.add(new Option("08-Dec-2008"));
DepositRateList.options.add(new Option("04-Dec-2008"));
DepositRateList.options.add(new Option("27-Nov-2008"));
DepositRateList.options.add(new Option("30-Oct-2008"));
DepositRateList.options.add(new Option("03-Sep-2008"));
DepositRateList.options.add(new Option("03-Jul-2008"));
DepositRateList.options.add(new Option("16-Jun-2008"));
DepositRateList.options.add(new Option("11-Jun-2008"));
DepositRateList.options.add(new Option("04-Jun-2008"));
DepositRateList.options.add(new Option("18-Mar-2008"));
DepositRateList.options.add(new Option("12-Mar-2008"));
DepositRateList.options.add(new Option("14-Feb-2008"));
DepositRateList.options.add(new Option("08-Jan-2008"));
}
if (yearsFilter==2007)
{
DepositRateList.options.add(new Option("28-Nov-2007"));
DepositRateList.options.add(new Option("09-Nov-2007"));
DepositRateList.options.add(new Option("07-Oct-2007"));
DepositRateList.options.add(new Option("04-Oct-2007"));
DepositRateList.options.add(new Option("26-Sep-2007"));
DepositRateList.options.add(new Option("25-Sep-2007"));
DepositRateList.options.add(new Option("20-Sep-2007"));
DepositRateList.options.add(new Option("05-Sep-2007"));
DepositRateList.options.add(new Option("29-Aug-2007"));
DepositRateList.options.add(new Option("27-Aug-2007"));
DepositRateList.options.add(new Option("22-Aug-2007"));
DepositRateList.options.add(new Option("09-Aug-2007"));
DepositRateList.options.add(new Option("23-Jul-2007"));
DepositRateList.options.add(new Option("17-Jul-2007"));
DepositRateList.options.add(new Option("16-Jul-2007"));
DepositRateList.options.add(new Option("06-Jul-2007"));
DepositRateList.options.add(new Option("03-Jul-2007"));
DepositRateList.options.add(new Option("02-Jul-2007"));
DepositRateList.options.add(new Option("15-Jun-2007"));
DepositRateList.options.add(new Option("06-Jun-2007"));
DepositRateList.options.add(new Option("30-May-2007"));
DepositRateList.options.add(new Option("23-May-2007"));
DepositRateList.options.add(new Option("22-May-2007"));
DepositRateList.options.add(new Option("18-May-2007"));
DepositRateList.options.add(new Option("15-May-2007"));
DepositRateList.options.add(new Option("09-May-2007"));
DepositRateList.options.add(new Option("08-May-2007"));
}
if (yearsFilter==2006)
{
DepositRateList.options.add(new Option("28-Nov-2006"));
DepositRateList.options.add(new Option("24-Nov-2006"));
DepositRateList.options.add(new Option("17-Nov-2006"));
DepositRateList.options.add(new Option("10-Nov-2006"));
DepositRateList.options.add(new Option("08-Nov-2006"));
DepositRateList.options.add(new Option("07-Nov-2006"));
DepositRateList.options.add(new Option("06-Nov-2006"));
DepositRateList.options.add(new Option("03-Nov-2006"));
DepositRateList.options.add(new Option("01-Nov-2006"));
DepositRateList.options.add(new Option("26-Oct-2006"));
DepositRateList.options.add(new Option("25-Oct-2006"));
DepositRateList.options.add(new Option("24-Oct-2006"));
DepositRateList.options.add(new Option("20-Oct-2006"));
DepositRateList.options.add(new Option("09-Oct-2006"));
DepositRateList.options.add(new Option("06-Oct-2006"));
DepositRateList.options.add(new Option("03-Oct-2006"));
DepositRateList.options.add(new Option("29-Sep-2006"));
DepositRateList.options.add(new Option("22-Sep-2006"));
DepositRateList.options.add(new Option("08-Sep-2006"));
DepositRateList.options.add(new Option("06-Sep-2006"));
DepositRateList.options.add(new Option("31-Aug-2006"));
DepositRateList.options.add(new Option("25-Aug-2006"));
DepositRateList.options.add(new Option("21-Aug-2006"));
DepositRateList.options.add(new Option("07-Aug-2006"));
DepositRateList.options.add(new Option("02-Aug-2006"));
DepositRateList.options.add(new Option("01-Aug-2006"));
DepositRateList.options.add(new Option("27-Jul-2006"));
DepositRateList.options.add(new Option("14-Jul-2006"));
DepositRateList.options.add(new Option("03-Jul-2006"));
DepositRateList.options.add(new Option("22-Jun-2006"));
DepositRateList.options.add(new Option("19-Jun-2006"));
DepositRateList.options.add(new Option("15-Jun-2006"));
DepositRateList.options.add(new Option("14-Jun-2006"));
DepositRateList.options.add(new Option("15-May-2006"));
DepositRateList.options.add(new Option("10-May-2006"));
DepositRateList.options.add(new Option("08-May-2006"));
DepositRateList.options.add(new Option("04-May-2006"));
DepositRateList.options.add(new Option("26-Apr-2006"));
DepositRateList.options.add(new Option("17-Apr-2006"));
DepositRateList.options.add(new Option("12-Apr-2006"));
DepositRateList.options.add(new Option("10-Apr-2006"));
DepositRateList.options.add(new Option("05-Apr-2006"));
DepositRateList.options.add(new Option("03-Apr-2006"));
DepositRateList.options.add(new Option("10-Mar-2006"));
DepositRateList.options.add(new Option("09-Mar-2006"));
DepositRateList.options.add(new Option("07-Mar-2006"));
DepositRateList.options.add(new Option("06-Mar-2006"));
DepositRateList.options.add(new Option("03-Mar-2006"));
DepositRateList.options.add(new Option("21-Feb-2006"));
DepositRateList.options.add(new Option("20-Feb-2006"));
DepositRateList.options.add(new Option("10-Feb-2006"));
DepositRateList.options.add(new Option("09-Feb-2006"));
DepositRateList.options.add(new Option("07-Feb-2006"));
DepositRateList.options.add(new Option("06-Feb-2006"));
DepositRateList.options.add(new Option("10-Jan-2006"));
DepositRateList.options.add(new Option("09-Jan-2006"));
DepositRateList.options.add(new Option("03-Jan-2006"));
}
if (yearsFilter==2005)
{
DepositRateList.options.add(new Option("01-Dec-2005"));
DepositRateList.options.add(new Option("28-Nov-2005"));
DepositRateList.options.add(new Option("18-Nov-2005"));
DepositRateList.options.add(new Option("15-Nov-2005"));
DepositRateList.options.add(new Option("14-Nov-2005"));
DepositRateList.options.add(new Option("11-Nov-2005"));
DepositRateList.options.add(new Option("04-Nov-2005"));
DepositRateList.options.add(new Option("26-Oct-2005"));
DepositRateList.options.add(new Option("20-Oct-2005"));
DepositRateList.options.add(new Option("19-Oct-2005"));
DepositRateList.options.add(new Option("18-Oct-2005"));
DepositRateList.options.add(new Option("13-Oct-2005"));
DepositRateList.options.add(new Option("12-Oct-2005"));
DepositRateList.options.add(new Option("11-Oct-2005"));
DepositRateList.options.add(new Option("04-Oct-2005"));
DepositRateList.options.add(new Option("03-Oct-2005"));
DepositRateList.options.add(new Option("16-Sep-2005"));
DepositRateList.options.add(new Option("15-Sep-2005"));
DepositRateList.options.add(new Option("09-Sep-2005"));
DepositRateList.options.add(new Option("02-Aug-2005"));
}

}

function  Deposit_Rate_Latest()
{	
var Latestfilename=''
Latestfilename='Deposit_Rate_03Feb2012.pdf';
//DepositLatestRate donotDelete
	return getUrl (Latestfilename);
}

function Deposit_Rate_Historical(pDate)
{
	var sLink='';
        pDate=pDate.replace('-','');
        pDate=pDate.replace('-','');
	sLink = "Deposit_Rate_"+pDate+".pdf";
	return getUrl(sLink);
}

function getMonthName(pMonth)
{
	switch (pMonth)
	{
		case '01':return 'Jan'; break;
		case '02':return 'Feb'; break;		
		case '03':return 'Mar'; break;
		case '04':return 'Apr'; break;		
		case '05':return 'May'; break;
		case '06':return 'Jun'; break;		
		case '07':return 'Jul'; break;
		case '08':return 'Aug'; break;		
		case '09':return 'Sep'; break;
		case '10':return 'Oct'; break;		
		case '11':return 'Nov'; break;
		case '12':return 'Dec'; break;		
	default:return 'Non'
		
	}
}
	
function getUrl(url)
{
//return url+'?t='+ new Date().getTime();
return url;
}
function checkHoliday(pDate)
{
	var sHoliday = '';
	switch (pDate.substring(0,4))
	{
	case '2012':sHoliday = holiday2012;break;
	case '2011':sHoliday = holiday2011;break;
	case '2010':sHoliday = holiday2010;break;
	case '2009':sHoliday = holiday2009;break;
	case '2008':sHoliday = holiday2008;break;
	case '2007':sHoliday = holiday2007;break;
	default:return '20070104';
	}
	
	var d = new Date();

	var month = Right((d.getMonth() + 1)+100,2);
	var day = Right(d.getDate()+100,2);
	var year = d.getFullYear();


	if (Math.abs(pDate)>Math.abs(year+month+day))
	{
		pDate = year+month+day
	}

	pDate = ',' + pDate;
	
	while (sHoliday.search(pDate)>=0)
	{
		d.setFullYear(year,Math.abs(pDate.substring(5,7))-1,Math.abs(pDate.substring(7,9)));
		d.setDate(d.getDate() - 1);
		pDate = ',';
		pDate = pDate + d.getYear();

		if (d.getMonth()<9)
		{pDate = pDate + '0' + (Math.abs(d.getMonth())+1);	}
		else
		{pDate = pDate + (Math.abs(d.getMonth())+1);}

		if (d.getDate()<9)
		{pDate = pDate + '0' + Math.abs(d.getDate())	}
		else
		{pDate = pDate + Math.abs(d.getDate())	}

	}

	if (pDate.substring(1,9) == (year+month+day))
	{	return ''	
	}
	if (pDate.substring(1,9) != (year+month+day))
	{	return pDate.substring(1,9)	
	}
}
