function FP_swapImg() {//v1.0
 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
 elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}
// -->

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="aboutus.htm">Bank Profile</a>'
menu1[1]='<a href="code_of_conduct.html">Code of Conduct</a>'
menu1[2]='<a href="directors.htm">Know our Director</a>'
menu1[3]='<a href="executives.htm">Know our Executive</a>'
menu1[4]='<a href="Performance1.htm">Latest Result</a>'
menu1[5]='<a href="shareholding.htm">Share Holding Pattern</a>'
menu1[6]='<a href="10YPerformance.htm">10 Year Performance</a>'
menu1[7]='<a href="annual_reports.html">Annual Report</a>'


//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="sb.htm">Savings Bank</a>'
menu2[1]='<a href="cd.htm">Current Account</a>'
menu2[2]='<a href="class_plus_cd.html">CUB Classic</a>'
menu2[3]='<a href="fd.htm">Fixed Deposit</a>'
menu2[4]='<a href="ccd.htm">Cash Certificate</a>'
menu2[5]='<a href="msd.htm">Monthly Savings</a>'
menu2[6]='<a href="srichakra.htm">Srichakra</a>'
menu2[7]='<a href="vip.htm">VIP Deposit</a>'
menu2[8]='<a href="flexifix.htm">Flexifix Deposit</a>'
menu2[9]='<a href="cubsmart.htm">CUB Smart</a>'
menu2[10]='<a href="tax_silver.htm">Taxsaver Silver</a>'
menu2[11]='<a href="taxsaver.html">Taxsaver Gold</a>'
menu2[12]='<a href="rfcD_domestic.htm">RFC Domestic</a>'
menu2[13]='<a href="excel.html">CUB Excel</a>'
menu2[14]='<a href="apoorva.html">CUB Apoorva</a>'
menu2[15]='<a href="youngindia.html">Young India Savings</a>'



var menu3=new Array()
menu3[0]='<a href="atm.htm">ATM Service</a>'
menu3[1]='<a href="rtgs.htm">RTGS Transfer</a>'
menu3[2]='<a href="NEFT.htm">NEFT Transfer</a>'
menu3[3]='<a href="dd.htm">Demand Draft</a>'
menu3[4]='<a href="standing.htm">Standing Instruction</a>'
menu3[5]='<a href="nomination.htm">Nomination Facility</a>'

var menu4=new Array()
menu4[0]='<a href="nre1.htm">NRE FAQ</a>'
menu4[1]='<a href="nre2.htm">FCNR FAQ</a>'
menu4[2]='<a href="forex_disclaimer.htm">Forex Disclaimer</a>'
menu4[3]='<a href="forex_overview.htm">Forex Overview</a>'
menu4[4]='<a href="forex_exporters.htm">Exporters</a>'
menu4[5]='<a href="forex_inwardremittance.htm">Inward Remittance</a>'
menu4[6]='<a href="forex_merchantingtrade.htm">Merchanting Trade</a>'
menu4[7]='<a href="forex_eefc.htm">EEFC</a>'
menu4[8]='<a href="forex_rfc.htm">RFC</a>'
menu4[9]='<a href="goldcard.htm">Gold Card Scheme for Exporters</a>'
menu4[10]='<a href="liberalization_index.html">Liberalization in outwared Remittances</a>'
menu4[11]='<a href="Correspondent.htm">Overseas Correspondence Bankers</a>'

var menu5=new Array()
menu5[0]='<a href="cubdharani.htm">CUB Dharani</a>'
menu5[1]='<a href="cubyohavahana.htm">CUB Yoha Vahana</a>'
menu5[2]='<a href="cubvidyavani.htm">CUB Vidya Vani</a>'
menu5[3]='<a href="cubeasybusiness.html">CUB EASY BUSINESS</a>'
menu5[4]='<a href="cubeasyride.htm">CUB Easy Ride</a>'
menu5[5]='<a href="cubswayamgraha.htm">CUB Swayam Graha</a>'
menu5[6]='<a href="cubsulabh.htm">CUB Sulabh</a>'
menu5[7]='<a href="cubconsumerloan.htm">Consumer Loan</a>'
menu5[8]='<a href="odad.htm">Loan against Deposit </a>'
menu5[9]='<a href="olcc.htm">Cash Credit Loan </a>'
menu5[10]='<a href="osod.htm">Secured Over Draft </a>'
menu5[11]='<a href="olc.htm">Clean Loans/ OD</a>'
menu5[12]='<a href="securitesloan.htm">Securities Loan </a>'
menu5[13]='<a href="jewelloan.htm">Jewel Loan </a>'
menu5[14]='<a href="billsfinance.htm">Bills Finance </a>'
menu5[15]='<a href="cubsona.htm">CUBSona </a>'
menu5[16]='<a href="cubbazaar.htm">CUB Bazaar </a>'




var menu6=new Array()
menu6[0]='<a href="contactus.htm">Contact Us</a>'
menu6[1]='<a href="branches.htm">Branch Net Work</a>'
menu6[2]='<a href="grievances.htm">Report Grievances</a>'
menu6[3]='<a href="investor_relation.html">Investor Relations</a>'
menu6[4]='<a href="policy1.htm">Policy for Grievances Redressal</a>'
menu6[5]='<a href="policy2.htm">Policy on Compensation</a>'
menu6[6]='<a href="policy3.htm">Policy on the Collection of Instruments</a>'
menu6[7]='<a href="policy4.htm">Policy on Collection of Dues </a>'
menu6[8]='<a href="fair_practice_code_of_lending.pdf">Fair Practice Code of Lending</a>'
menu6[9]='<a href="msme.html">MSME Policy</a>'
menu6[10]='<a href="sitemap.htm">Site Map</a>'




var menu7=new Array()
menu7[0]='<a href="depositcalci.htm">Deposit Calculator</a>'
menu7[1]='<a href="Recurring_calci.htm">Recurring Calculator</a>'
menu7[2]='<a href="calci.htm">Advance Calculator</a>'
menu7[3]='<a href="interest.htm">Deposit Interest</a>'
menu7[4]='<a href="advrate.htm">Advance Interest</a>'
menu7[5]='<a href="service_charges.pdf">Service Charges</a>'
menu7[6]='<a href="locker.htm">Locker Rentals</a>'
menu7[8]='<a href="download.htm">Download Forms</a>'
menu7[9]='<a href="site_search.asp">Search CUB Site</a>'



//Contents for menu 1
var menu1a=new Array()
menu1a[0]='<a href="javascript:ATM()">Our ATM Location</a>'
menu1a[1]='<a href="javascript:NFS()">ATM NFS List</a>'
menu1a[2]='<a href="javascript:cashtree()">ATM Cash Tree</a>'

//Contents for menu 2, and so on
var menu2a=new Array()
menu2a[0]='<a href="service_charges.pdf">Service Charges</a>'
menu2a[1]='<a href="adv_processing_charges.html">Advance Processing Charges</a>'

var menu3a=new Array()
menu3a[0]='<a href="basel2_year_ended_2009.html">Basel II Disclosures as on 31-03-2009</a>'
menu3a[1]='<a href="basel2YE2009.html">Basel II Disclosures 2009- III Qtr</a>'

		
var menuwidth='165px' //default menu width
var menubgcolor='lightyellow'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}
function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}
function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)
if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}
return clickreturnvalue()
}
function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}
function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}
function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}
function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}
function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}
function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}
if (hidemenu_onclick=="yes")
document.onclick=hidemenu



function start()
{
var windowW=screen.availWidth; 
var windowH=screen.availHeight; 
var urlPop = "https://www.onlinecub.net/jsp/startnew.jsp";
var title = "CITY UNION BANK";
var autoclose = true;
s = "width="+windowW+",height="+windowH;
var beIE = document.getElementById?true:false;
	if (beIE)
	{
	// To close the first window
			//window.opener = self;
			//window.close();
			
	// This will not show status bar, menu bar,toolbar
			//NFW = window.open(urlPop,"popFrameless","scrollbars,"+s);
			
	// This will show status bar
			NFW = window.open(urlPop,"popFrameless","toolbar=no,status = yes,menubar=no,scrollbars=yes,resizable=yes,height=690,width=1010");
			//NFW.blur();
			//window.focus() ;
			//NFW.resizeTo(screen.availWidth, screen.availHeight);
			//window.resizeTo(screen.availWidth, screen.availHeight);
			NFW.moveTo(0, 0);
			
			//window.moveTo(0, 0);
			
				
			if(NFW!=null)
			{
				window.opener = window;
				window.close();
			}
			else
			{
				document.write('<BR><BR><br><br><br><TABLE  align="center" border="0" width=100%><tr align="center"><td class="userInfo" align="center"><img src="/img/warningIcon.gif"></img>&nbsp;&nbsp;&nbsp;&nbsp;<B>Please enable Pop-up in your Browser.</B>&nbsp;</td></tr><tr align="center"><td>&nbsp;&nbsp;&nbsp;&nbsp;<B>Click on Tools->Pop-up Blocker->Turn off Pop-up Blocker.</B>&nbsp;</td></tr><tr align="center"><td>&nbsp;&nbsp;&nbsp;&nbsp;<B>Open a new Browser window and try connecting to https://www.CityUnionBank.com</B>&nbsp;</td></tr></TABLE>');
			}
			
	//Commented as it prevents display of menu. - on 28 April 2006 by  Neethu
			//var frameString=""+ "<html>"+ "<head>"+ "<title>"+title+"</title>"+ "</head>"+ "<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+ "<frame name='top' src='"+urlPop+"' scrolling=auto>"+ "<frame name='bottom' src='about:blank' scrolling='no'>"+ "</frameset>"+ "</html>";
			//NFW.document.open();
			//NFW.document.write(frameString);
		} 
	else
		{
			NFW=window.open(urlPop,"popFrameless","scrollbars,"+s);
			NFW.blur();
			window.focus() ;
			NFW.resizeTo( screen.availWidth, screen.availHeight);
			NFW.moveTo(0, 0);
		} 
	NFW.focus();
	
	}

