var disappeardelay=250  
var enableanchorlink=0 
var hidemenu_onclick=1 


var ie5=document.all
var ns6=document.getElementById&&!document.all

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){
if (ie5||ns6)
dropmenuobj.style.left=dropmenuobj.style.top=-500
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover"){
obj.visibility=visible
}
else if (e.type=="click"){
obj.visibility=hidden
}
}

function externalLinks() {
 	if (!document.getElementsByTagName) return;
	var anchors = document.getElementsByTagName("a");
	for (var i=0; i<anchors.length; i++) {
		var anchor = anchors[i];
			if (anchor.getAttribute("href") &&	anchor.getAttribute("rel") == "external") {
				anchor.target = "_blank";
				anchor.onclick = function() {
					alert("Vážený zákazníku, právě opouštíte stránky Citibank");
				}
			}
	}
}



function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie5 && !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=ie5 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie5 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ 
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) 
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return '0';
}

function dropdownmenu(obj, e, dropmenuID, isTop,lft,tp)
{
	if(dropmenuID!="dropdownmenu6")
	{
		document.getElementById("dropdownmenu6").style.visibility='hidden';
		document.getElementById("dropdownmenu6").style.display == 'none';
	}

	var e=window.event || e
	var topmenuoffset=(typeof isTop!="undefined")? 6 : 0
	if (window.event) 
		event.cancelBubble=true
	else if (e.stopPropagation) 
		e.stopPropagation()
	
	
	if (ie5||ns6)
	{
		
		dropmenuobj=document.getElementById(dropmenuID)		

		dropmenuobj.x=getposOffset(obj, "left")
		dropmenuobj.y=getposOffset(obj, "top")
		if(ns6&&dropmenuID=='anylinkmenu2' )
			lft=lft-20;		
		dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+lft+"px"
		dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight-topmenuoffset+tp+"px"
		if(dropmenuobj.style.visibility=='hidden' || dropmenuobj.style.display=='none')
		{
			dropmenuobj.style.visibility='visible';
			dropmenuobj.style.display='block';			
		}else
		{
			dropmenuobj.style.visibility='hidden';
			dropmenuobj.style.display='none';			
		}
	}
	return clickreturnvalue();
}
function fdropdownmenu(obj, e, dropmenuID, isTop,lft,tp)
{
	
	if(dropmenuID!="foot_dropdownmenu")
	{
		document.getElementById("foot_dropdownmenu").style.visibility='hidden';
		document.getElementById("foot_dropdownmenu").style.display == 'none';
	}

	var e=window.event || e
	var topmenuoffset=(typeof isTop!="undefined")? 6 : 0
	if (window.event) 
		event.cancelBubble=true
	else if (e.stopPropagation) 
		e.stopPropagation()
	
	
	if (ie5||ns6)
	{
		
		dropmenuobj=document.getElementById(dropmenuID)		

		dropmenuobj.x=getposOffset(obj, "left")
		dropmenuobj.y=getposOffset(obj, "top")
		if(ns6&&dropmenuID=='anylinkmenu2' )
			lft=lft-20;		
		dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+lft+"px"
		dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight-topmenuoffset+tp+"px"
		if(dropmenuobj.style.visibility=='hidden' || dropmenuobj.style.display=='none')
		{
			dropmenuobj.style.visibility='visible';
			dropmenuobj.style.display='block';			
		}else
		{
			dropmenuobj.style.visibility='hidden';
			dropmenuobj.style.display='none';			
		}
	}
	return clickreturnvalue();
}

function clickreturnvalue(){
if ((ie5||ns6) && !enableanchorlink) return false
else return true
}

function dropdownmenuhide_1()
{ 
document.getElementById("dropdownmenu6").style.display = 'none';
document.getElementById("dropdownmenu6").style.visibility='hidden';

}
function dropdownmenuhide(e)
{
	if (e && e.button && e.button != 1 && e.type == 'click')
	{
		return true;
	}
	else
	{
		dropdownmenuhide_1();
	}
}
// dropdown end


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function showhide(src,img){
	var imgopen = '/czech/gcb/personal_banking/czech/images/minus.gif';
	var imgclose = '/czech/gcb/personal_banking/czech/images/plus.gif';
		if(document.getElementById(src).style.display == 'none'){
			document.getElementById(src).style.display = 'block';
			document.getElementById(img).src = imgopen;

		}
		else 
		{
			document.getElementById(src).style.display = 'none';
			document.getElementById(img).src = imgclose;
		}
}

function showhide_country(n,contdv,total)
{
	for(var i=1;i<=total;i++)
	{
			if(i==n)
			{
				document.getElementById('cnt'+i).style.display="block";
				document.getElementById('b'+i).className = "menuatve";
				document.getElementById(contdv).style.display = "block";
			}
			else
			{
				document.getElementById('cnt'+i).style.display="none";
				document.getElementById('b'+i).style.fontWeight="normal";
				document.getElementById('b'+i).className ="menu_lnk1";
				
			}
	}
}

function showhide1(src,img,b){
	var imgopen = '/czech/gcb/personal_banking/czech/images/hide1.gif';
	var imgclose = '/czech/gcb/personal_banking/czech/images/show1.gif';

		if(
		   	document.getElementById(src).style.display == 'none')
		{
			document.getElementById(src).style.display = 'block';
			document.getElementById(img).src = imgopen;
			document.getElementById(b).style.fontWeight="bold";
		}
		else 
		{
			document.getElementById(src).style.display = 'none';
			document.getElementById(img).src = imgclose;
			document.getElementById(b).style.fontWeight="normal";
		}
}

function showhide_blue(src,img,b){
	var imgopen = '/czech/gcb/personal_banking/czech/images/hide1.gif';
	var imgclose = '/czech/gcb/personal_banking/czech/images/show1.gif';

		if(
		   	document.getElementById(src).style.display == 'none')
		{
			document.getElementById(src).style.display = 'block';
			document.getElementById(img).src = imgopen;
			document.getElementById(b).style.fontWeight="bold";
		}
		else 
		{
			document.getElementById(src).style.display = 'none';
			document.getElementById(img).src = imgclose;
			document.getElementById(b).style.fontWeight="normal";
		}
}
function showhide_open(src,img,b){
	var imgopen = '/czech/gcb/personal_banking/czech/images/hide1.gif';
	var imgclose = '/czech/gcb/personal_banking/czech/images/show1.gif';

		if(
		   	document.getElementById(src).style.display == 'none')
		{
			document.getElementById(src).style.display = 'block';
			document.getElementById(img).src = imgopen;
			document.getElementById(b).style.fontWeight="normal";
		}
		else 
		{
			document.getElementById(src).style.display = 'none';
			document.getElementById(img).src = imgclose;
			document.getElementById(b).style.fontWeight="bold";
		}
}

function showhide_open1(src,img,b){
	var imgopen = '/czech/gcb/personal_banking/czech/images/hide1.gif';
	var imgclose = '/czech/gcb/personal_banking/czech/images/show1.gif';

		if(
		   	document.getElementById(src).style.display == 'none')
		{
			document.getElementById(src).style.display = 'block';
		}
		else 
		{
			document.getElementById(src).style.display = 'none';
		}
}

function showhide_left(src,img,txt){
	var imgopen = '/czech/gcb/personal_banking/czech/images/left_arrow1.gif';
	var imgclose = '/czech/gcb/personal_banking/czech/images/left_arrow.gif';
		if(document.getElementById(src).style.display == 'none')
		{
			document.getElementById(src).style.display = 'block';
			document.getElementById(img).src = imgopen;
			document.getElementById(txt).style.color = '#3399CC';
		}
		else 
		{
			document.getElementById(src).style.display = 'none';
			document.getElementById(img).src = imgclose;
			document.getElementById(txt).style.color = '#000066';
		}
}

function showhide_left_cg(src,img,txt){
	var imgopen = '/czech/gcb/personal_banking/czech/images/left_arrow_cg1.gif';
	var imgclose = '/czech/gcb/personal_banking/czech/images/left_arrow_cg.gif';
		if(document.getElementById(src).style.display == 'none')
		{
			document.getElementById(src).style.display = 'block';
			document.getElementById(img).src = imgopen;
			document.getElementById(txt).style.color = '#555555';
		}
		else 
		{
			document.getElementById(src).style.display = 'none';
			document.getElementById(img).src = imgclose;
			document.getElementById(txt).style.color = '#000066';
		}
}





function cccinves(id,total){
img=id.substring(1,2);
var tabnames = ['cccredit','investment'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}



function citicrworldmanag(id,total){
img=id.substring(1,2,3);
var tabnames = ['citicr','world','manag'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}


function foudobrzampart(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['foundbg','dobrobg','zambg','partbg'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function KonTisAnaKes(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['kontakty_pro','tiskove','analyzy','ke_stazeni'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}


function citialert(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['benefit','feature','activation','faq'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function SpoTraVyb(id,total){
img=id.substring(1,2,3);
var tabnames = ['spoluprace','tra_programy','vuberove'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function prilezitosti(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['aktualni','profil','rizeni','zahrani'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function fakta(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['nase','struktura','zaměstnanci','najdete'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}
function benpaystate(id,total){
img=id.substring(1,2,3);
var tabnames = ['benefit','payments','state_report'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function proc(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['osobni_rust','respekt','flexibilita','benefity'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}




function studenti(id,total){
img=id.substring(1,2,3);
var tabnames = ['spoluprace1','tra_programy1','vuberove1'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}



function benfeahowfaq(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['benefit','feature','howapply','faq'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="../images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="../images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function chtabs(img,id,total){
	//img=id.substring(1,2,3,4);
	//var tabnames = ['benefit','feature','howapply','faq'];
	for(i=1; i<=total; i++){
		document.getElementById('re'+i).style.display = 'none';
		document.getElementById(img+i).src="../images/"+img+i+"_normal.gif";
		document.getElementById(img+i).parentNode.style.cursor="pointer";
	}
	document.getElementById('re'+id).style.display = 'block';
	document.getElementById(img+id).src="../images/"+img+id+"_over.gif";
	document.getElementById(img+id).parentNode.style.cursor="default";	
}



/*
function benfeahowfaq(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['benefit','feature','howapply','faq'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}




function benfeahowfaq(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['benefit','feature','howapply','faq'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}


*/

function faktao(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['nase1','struktura1','zamestnanci1','najdete1'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}
function citialertrz(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['benefitrz','featurerz','activationrz','faqrz'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}
function corstaff(id,total){
img=id.substring(1,2);
var tabnames = ['corporate_culture','staff_demographics'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}
function mutual(id,total){
img=id.substring(1,2,3,4,5);
var tabnames = ['benefitmf','featuremf','currentbid','information','faqmf'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function bonds(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['benefitmf','featuremf','currentbid','faqmf'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}
function bonds1(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['benefitmf','featuremf','currentbid1','faqmf'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="../images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="../images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function CitiClub(id){
	//img=id.substring(1,2,3,4,5,6,7);
	//var tabnames = ['citiclub1','citiclub2','citiclub3','citiclub4','citiclub5','citiclub6','citiclub7'];
	first = 2;
	last = 7;

	for(i=first; i<=last; i++){
		document.getElementById('re'+i).style.display = 'none';
		document.getElementById('a'+i+'citiclub'+i).src="../images/citiclub"+i+"_normal.gif";
		document.getElementById('a'+i+'citiclub'+i).parentNode.style.cursor="pointer";
		//document.getElementById('a'+i+tabnames[i-1]).src="../images/"+tabnames[i-1]+"_normal.gif";
		//document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
	}
	document.getElementById('re'+id).style.display = 'block';
	document.getElementById('a'+id+'citiclub'+id).src="../images/citiclub"+id+"_over.gif";
	document.getElementById('a'+id+'citiclub'+id).parentNode.style.cursor="default";	
	//document.getElementById(id).src="../images/"+tabnames[img-1]+"_over.gif";
	//document.getElementById(id).parentNode.style.cursor="default";	
}


function GoldClub(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['goldclub2','goldclub3','goldclub4','goldclub5'];
for(i=1; i<=total; i++){
	document.getElementById('re'+i).style.display = 'none';
	document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
	document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
	document.getElementById('re'+img).style.display = 'block';
	document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
	document.getElementById(id).parentNode.style.cursor="default";	
}


function BenPodHowFaq(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['benefit','podminky','howapply','faq'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function benfeahow(id,total){
img=id.substring(1,2,3);
var tabnames = ['benefit','feature','howapply'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function benfeafaq(id,total){
img=id.substring(1,2,3);
var tabnames = ['benefit','feature','faq'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}
function benhow(id,total){
img=id.substring(1,2);
var tabnames = ['benefit','howapply'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function LogOn(id,total){
img=id.substring(1,2);
var tabnames = ['sms','securkey'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function jschange(o) {
if(document.getElementById(o).style.display=='none') {
document.getElementById(o).style.display='block';
} else {
document.getElementById(o).style.display='none';
}
}



function Akcepro1Akcepro2(id,total){
img=id.substring(1,2);
var tabnames = ['Akcepro1','Akcepro2'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function IntOnlineBusiDir(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['big_internet','big_citionline','big_citibusiness','big_citidirect'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}
function mobbank(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['benefit','feature','access','security'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function KonTisAnaKes(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['tiskove','analyzy','ke_stazeni','kontakty_pro'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function citicrglobalmanawabres(id,total){
img=id.substring(1,2,3,4,5);
var tabnames = ['big_citicr','big_globaly','big_manag','big_awards','big_bresults'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function benfeaactfaq(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['benefit','feature','activation','faq'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function mobbankk(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['benefit','feature','access','howbegin'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function showhide2(src,img,b){
	var imgopen = '/czech/gcb/personal_banking/czech/images/hide1.gif';
	var imgclose = '/czech/gcb/personal_banking/czech/images/show1.gif';
		if(document.getElementById(src).style.display == 'none')
		{
			document.getElementById(src).style.display = 'block';
			document.getElementById(img).src = imgopen;
			document.getElementById(b).style.fontWeight="bold";
		}
		else 
		{
			document.getElementById(src).style.display = 'none';
			document.getElementById(img).src = imgclose;
			document.getElementById(b).style.fontWeight="normal";
		}
}



function BenAccSecFaq(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['benefit','acces','security','faq'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function intconbusdir(id,total){
img=id.substring(1,2,3,4);
var tabnames = ['interbig','citionbig','citibusbig','citidirebig'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function SpoProVyb(id,total){
img=id.substring(1,2,3);
var tabnames = ['spoluprace1','trainee','rizeni'];
for(i=1; i<=total; i++){
document.getElementById('re'+i).style.display = 'none';
document.getElementById('a'+i+tabnames[i-1]).src="/czech/gcb/personal_banking/czech/images/"+tabnames[i-1]+"_normal.gif";
document.getElementById('a'+i+tabnames[i-1]).parentNode.style.cursor="pointer";
}
document.getElementById('re'+img).style.display = 'block';
document.getElementById(id).src="/czech/gcb/personal_banking/czech/images/"+tabnames[img-1]+"_over.gif";
document.getElementById(id).parentNode.style.cursor="default";	
}

function lpbutt(){
        var s   = document.createElement("script");
        s.type  = "text/javascript";
        s.src   = "http://"+lpMTagConfig.lpServer+"/hc/"+lpMTagConfig.lpNumber+"/?cmd=mTagRepstate&site="+lpMTagConfig.lpNumber+"&buttonID=16&divID=lpButDivID-1&bt=1&c=1";
        document.body.appendChild(s);
}
