var menu_1 = new Array();
var menu_1_link = "javascript:void(0)";
var menu_1_title = "NEWS";

menu_1[0] = new Array();
menu_1[0][0] = "/info/index3.stm?url=/info/pressrelise/listrelease.ssc";
menu_1[0][1] = "Press Releases";
menu_1[0][2] = [
];

/*menu_1[1] = new Array();
menu_1[1][0] = "javascript:void(0)";
menu_1[1][1] = "Press Clippings";
menu_1[1][2] = [
   ["/info/index3.stm?fileName=1_3ae.html","Recent"],
   ["/info/index3.stm?fileName=1_3a_4e.html","2004 Archive"],
   ["/info/index3.stm?fileName=1_3a_3e.html","2003 Archive"],
   ["/info/index3.stm?fileName=1_3a_2e.html","2002 Archive"],
   ["/info/index3.stm?fileName=1_3a_1e.html","2001 Archive"]];
*/
menu_1[1] = new Array();
menu_1[1][0] = "javascript:void(0)";
menu_1[1][1] = "Exchange Rates";
menu_1[1][2] = [
   ["/info/index3.stm?url=/info/ccyrate/rate.ssc&typ=N","Search Currency"],
   ["/info/index3.stm?url=/info/ccyrate/DynaRate.ssc&typ=N","Volatility Diagrams"],
   ["/info/index3.stm?url=/info/ccyrate/rate.ssc","Currency Convertor"],
   ["http://reuters.pbank.dp.ua/","Reuters-Investor"]];

menu_1[2] = new Array();
menu_1[2][0] = "/info/index3.stm?url=/info/menu/vyvod.ssc";
menu_1[2][1] = "Recently Updated Pages";
menu_1[2][2] = [
];


var menu_2 = new Array();
var menu_2_link = "javascript:void(0)";
var menu_2_title = "PROFILE";

menu_2[0] = new Array();
menu_2[0][0] = "/info/index3.stm?fileName=2_1e.html";
menu_2[0][1] = "General Information";
menu_2[0][2] = [];


menu_2[1] = new Array();
menu_2[1][0] = "/info/index3.stm?fileName=dhnn_1_11e.html";
menu_2[1][1] = "Structure of Ownership & Corporate Governance";
menu_2[1][2] = [];

/*menu_2[2] = new Array();
menu_2[2][0] = "/info/index3.stm?fileName=2_3e.html";
menu_2[2][1] = "The Strategy Of PrivatBank";
menu_2[2][2] = [];
*/

menu_2[2] = new Array();
menu_2[2][0] = "/info/index3.stm?fileName=2_11_15e.html";
menu_2[2][1] = "IFRS Financial Statements";
menu_2[2][2] = [];

menu_2[3] = new Array();
menu_2[3][0] = "javascript:void(0)";
menu_2[3][1] = "Market Position";
menu_2[3][2] = [
    ["/info/index3.stm?fileName=2_4ae.html", "Current Position"],
    ["/info/index3.stm?fileName=2_4_2be.html", "Ratings"],
    ["/info/index3.stm?fileName=2_4_2e.html", "Awards"]];

menu_2[4] = new Array();
menu_2[4][0] = "/info/index3.stm?fileName=7e.html";
menu_2[4][1] = "Bank Requisites";
menu_2[4][2] = [];

menu_2[5] = new Array();
menu_2[5][0] = "/info/index3.stm?fileName=phone-e.html";
menu_2[5][1] = "Vital Contacts";
menu_2[5][2] = [];

menu_2[6] = new Array();
menu_2[6][0] = "/info/index3.stm?fileName=2_26e.html";
menu_2[6][1] = "International Audit";
menu_2[6][2] = [];



var menu_3 = new Array();
var menu_3_link = "javascript:void(0)";
var menu_3_title = "SERVICES";

menu_3[0] = new Array();
menu_3[0][0] = "javascript:void(0)";
menu_3[0][1] = "Corporate Banking";
menu_3[0][2] = [
     ["/info/index3.stm?fileName=4_3e.html","Deposits"],
     ["/info/index3.stm?fileName=4_6e.html","Investments"],
     ["/info/index3.stm?fileName=4_7_1be.html","Corporate Cards"],
     ["/info/index3.stm?fileName=4_3c_4e.html","International Letters of Credit, Guarantees, Collections"],
     ["/info/index3.stm?fileName=4_9_11e.html","PrivatBusinessClub"],
     ["/info/index3.stm?fileName=4_1e.html","Opening Of Accounts"],
     ["/info/index3.stm?fileName=d6_30_2_2e.html","Cyprus Branch"]];

menu_3[1] = new Array();
menu_3[1][0] = "javascript:void(0)";
menu_3[1][1] = "Interbank Services";
menu_3[1][2] = [
    ["/info/index3.stm?fileName=3a_1e.html","Correspondent Banking"],
    ["/info/index3.stm?fileName=3a_2e.html","FOREX operations"],
    ["/info/index3.stm?fileName=3a_2ae.html","Interbank Credits"],
    ["/info/index3.stm?fileName=3a_4e.html","Cash Operations"],
    ["/info/index3.stm?fileName=3a_6e.html","Banking Metals"],
    ["/info/index3.stm?fileName=2_4e.html","Ukrainian Banks' Ratings"],
    ["/info/index3.stm?fileName=3a_1_3_5e.html", "Money Transfers For Individuals"]];

menu_3[2] = new Array();
menu_3[2][0] = "javascript:void(0)";
menu_3[2][1] = "Retail Banking";
menu_3[2][2] = [
    ["/info/index3.stm?fileName=5_2e.html","Deposits"],
["/info/index3.stm?fileName=5_4ae.html","Plastic Cards"],
["/info/index3.stm?fileName=5_1e.html","Money Transfers"],
["/info/index3.stm?fileName=5_5ae.html","Nontrade Operations"],
["/info/index3.stm?fileName=5_6_2e.html","Individual Safes"],
["/info/index3.stm?fileName=5_4e.html","Credit Cards"],
["/info/index3.stm?fileName=5_7e.html","Investment Banking For Individuals"]];

menu_3[3] = new Array();
menu_3[3][0] = "javascript:void(0)";
menu_3[3][1] = "Online Services";
menu_3[3][2] = [
   // ["javascript:openwin(1)", "Privat24"],
    ["/info/index3.stm?fileName=3_5_1e.html","Calculators"],
    ["/info/index3.stm?fileName=3_5_2e.html","Forms, Agreements"],
    ["/info/index3.stm?fileName=5_6_8e.html","MobileBanking"],
    ["/info/index3.stm?fileName=2_6_1e.html","Client Centre"]];

menu_3[4] = new Array();
menu_3[4][0] = "javascript:void(0)";
menu_3[4][1] = "Vouchers";
menu_3[4][2] = [
    ["/info/index3.stm?fileName=5_4_7_3e.html","For Mobile Communication"],
    ["/info/index3.stm?fileName=5_4_7_2e.html","For Internet"],
    ["/info/index3.stm?fileName=5_4_7_4e.html","For IP-Phone"],
    ["/info/index3.stm?fileName=5_4_7_1e.html","For Games"]];

menu_3[5] = new Array();
menu_3[5][0] = "/info/index3.stm?fileName=5_1_7e.html";
menu_3[5][1] = "Operating Time At Bank Offices";
menu_3[5][2] = [];



var menu_4 = new Array();
var menu_4_link = "javascript:void(0)";
var menu_4_title = "Branches";

menu_4[0] = new Array();
menu_4[0][0] = "/info/index3.stm?fileName=d6a_1_1e.html";
menu_4[0][1] = "Kyiv Offices";
menu_4[0][2] = [];

menu_4[1] = new Array();
menu_4[1][0] = "/info/index3.stm?fileName=d6a_1_2e.html";
menu_4[1][1] = "Dnipropetrovsk Locator";
menu_4[1][2] = [];

menu_4[2] = new Array();
menu_4[2][0] = "/info/index3.stm?fileName=d6a_1_3e.html";
menu_4[2][1] = "Regional Branches";
menu_4[2][2] = [                        
    ["/info/index3.stm?fileName=d6a_1_3_1e.html", "Central Region"],
    ["/info/index3.stm?fileName=d6a_1_3_4e.html", "Western Region"],
    ["/info/index3.stm?fileName=d6a_1_3_2e.html", "Eastern Region"],
    ["/info/index3.stm?fileName=d6a_1_3_3e.html", "Nothern Region"],
    ["/info/index3.stm?fileName=d6a_1_3_5e.html", "Southern Region"]];


menu_4[3] = new Array();
menu_4[3][0] = "/info/index3.stm?fileName=cyprus_map_e.html";
menu_4[3][1] = "Cyprus Branch";
menu_4[3][2] = [];




var menu_5 = new Array();
var menu_5_link = "javascript:void(0)";
var menu_5_title = "ATMs And Plastic Cards";

menu_5[0] = new Array();
menu_5[0][0] = "/info/index3.stm?url=/info/bankomaty/listcytes.ssc";
menu_5[0][1] = "ATMs";
menu_5[0][2] = [];


menu_5[1] = new Array();
menu_5[1][0] = "https://privat24-fast.pbank.dp.ua/privat/cards/register_order.stm";
menu_5[1][1] = "Card Application Via Internet";
menu_5[1][2] = [];


menu_5[2] = new Array();
menu_5[2][0] = "javascript:void(0)";
menu_5[2][1] = "Personal";
menu_5[2][2] = [
        ["/info/index3.stm?fileName=5_4e.html","Credit Cards"],
        ["/info/index3.stm?fileName=5_6_8e.html","MobileBanking"],
        ["/info/index3.stm?fileName=5_4_2e.html","Discount And Servicing"],
        ["/info/index3.stm?fileName=5_4a_2e.html","Catalog of PrivatBank’s personal debit cards"]
        ];

menu_5[3] = new Array();
menu_5[3][0] = "javascript:void(0)";
menu_5[3][1] = "Corporate";
menu_5[3][2] = [
        ["/info/index3.stm?fileName=4_7_1_1ae.html", "Corporate Card Applications"],
        ["/info/index3.stm?fileName=4_7_1_2ge.html", "Choosing Corporate Card"],
        ["/info/index3.stm?fileName=4_7_1a_5e.html", "Corporate Cards Of The Cyprus Branch"],
        ["/info/index3.stm?fileName=4_7_1a_5e.html", "Optional Characteristics Of Corporate Cards"],
        ["/info/index3.stm?fileName=4_1_8_2_2_2e.html", "The Loyalty Programs For Businessmen"],
        ["/info/index3.stm?fileName=4_7_1_2_3ae.html", "Cards For TOP-Managers"],
        ["/info/index3.stm?fileName=4_7_1_2_4ae.html", "Tariffs"]];

menu_5[4] = new Array();
menu_5[4][0] = "/info/index3.stm?fileName=4_7_2e.html";
menu_5[4][1] = "Card Acceptance In Sales Network";
menu_5[4][2] = [];






var menu_6 = new Array();
var menu_6_link = "javascript:void(0)";
var menu_6_title = "INTERNET-BANK";

menu_6[0] = new Array();
menu_6[0][0] = "/info/index3.stm?fileName=5_8e.html";
menu_6[0][1] = "Privat24";
menu_6[0][2] = [
];


menu_6[1] = new Array();
menu_6[1][0] = "/info/index3.stm?fileName=dhnn_1_27e.html";
menu_6[1][1] = "Ukash";
menu_6[1][2] = [];

menu_6[2] = new Array();
menu_6[2][0] = "/info/index3.stm?fileName=2_6_1e.html";
menu_6[2][1] = "Service Centre";
menu_6[2][2] = [],

menu_6[3] = new Array();
menu_6[3][0] = "/info/eng/pressrelise/readrelease_new.stm?fileName=dpr_DNH0_123e.html";
menu_6[3][1] = "Application For Credit Via Internet";
menu_6[3][2] = [],

menu_6[4] = new Array();
menu_6[4][0] = "/info/index3.stm?fileName=privatonline.html";
menu_6[4][1] = "Free Web-Resources";
menu_6[4][2] = [];

menu_6[5] = new Array();
menu_6[5][0] = "javascript:void(0)";
menu_6[5][1] = "Online Calculators";
menu_6[5][2] = [
["/info/index3.stm?url=/info/credit/calc_hm.ssc","Real Estate Loans"],
    ["/info/index3.stm?url=/info/credit/calc_rs.ssc","Installmtnts"],
    ["/info/index3.stm?url=/info/credit/calc_av.ssc","AutoCredit"],
    ["/info/index3.stm?url=/info/deposit/depcalc.ssc","Deposit Calculator"],
    ["/info/ccyrate/convertor.stm","Currency Convertor"]];

menu_6[6] = new Array();
menu_6[6][0] = "javascript:void(0)";
menu_6[6][1] = "Forms, Agreements";
menu_6[6][2] = [
["/info/kreditcal/short.stm", "AutoCredit For Individual Client"],
    ["/info/kreditcal/shortur.stm", "AutoCredit For Legal Entity"],
    ["/info/index3.stm?fileName=3A_1_3ae.html", "For Corresponding Banks"],
    ["/info/index3.stm?fileName=4_2_1e.html", "Credit Application Form"],
    ["/info/index3.stm?fileName=5_4_11e.html", "New Card Account Form"],
   // ["/info/files/4_1_6ce.arj", "Batch &laquo;Access Point&raquo;"],
    ["/info/index3.stm?fileName=11_9_1e.html", "Deposit Agreements"],
    ["/info/index3.stm?fileName=4_3A_2re.html", "Currency Exchange Application Forms"],
    ["/info/index3.stm?fileName=4_6_6_2e.html", "Deposit Services"]];

menu_6[7] = new Array();
menu_6[7][0] = "/info/index3.stm?fileName=5_6_8e.html";
menu_6[7][1] = "MobileBanking";
menu_6[7][2] = [];

menu_6[8] = new Array();
menu_6[8][0] = "http://www.revopay.ua/about.do";
menu_6[8][1] = "REVOPAY Project";        
menu_6[8][2] = [];

var menu_7 = new Array();
var menu_7_link = "javascript:void(0)";
var menu_7_title = "HOT PAGES";

menu_7[0] = new Array();
menu_7[0][0] = "javascript:void(0)";
menu_7[0][1] = "New Products, Actions";
menu_7[0][2] = [
    ["/info/index3.stm?fileName=2_2e.html", "Vision and Mission of PrivatBank"],
    ["/info/index3.stm?fileName=d6_30_2e.html", "Cyprus Office"],
    ["/info/index3.stm?fileName=5_4_1_1_1e.html", "Platinum Visa and MasterCard"],
    ["/info/index3.stm?fileName=5_5e.html", "Bank Metals"],
    ["/info/index3.stm?fileName=5_5ae.html", "Currency Exchange"],
    ["/info/index3.stm?fileName=5_1_13e.html", "MoneyGram Money Transfers"],
    ["/info/eng/pressrelise/readrelease_new.stm?fileName=dpr_DNH0_657e.html", "Once Again PrivatBank Is The Best"],
    ["/info/eng/pressrelise/readrelease_new.stm?fileName=dpr_DNH0_646e.html", "Book And Pay For Air Tickets Online"],
    ["/info/eng/pressrelise/readrelease_new.stm?fileName=dpr_DNH0_639e.html", "Gamarjoba, Privat24!"],
    ["/info/eng/pressrelise/readrelease_new.stm?fileName=dpr_DNH0_633e.html", "PrivatBank Launches WAP"]];

menu_7[1] = new Array();
menu_7[1][0] = "javascript:void(0)";
menu_7[1][1] = "Privatbank Tariffs";
menu_7[1][2] = [
    ["/info/index3.stm?fileName=5_1_13_1e.html", "MoneyGram Tariffs"],
    ["/info/index3.stm?fileName=5_1_1_1e.html", "PrivatMoney Tariffs"],
    ["/info/index3.stm?fileName=5_1_2_1e.html", "Western Union Tariffs"],
    ["/info/index3.stm?fileName=5_1_11_1e.html", "Coinstar Tariffs"]];

menu_7[2] = new Array();
menu_7[2][0] = "/info/index3.stm?fileName=5_8e.html";
menu_7[2][1] = "Privat24";
menu_7[2][2] = [];


menu_7[3] = new Array();
menu_7[3][0] = "javascript:void(0)";
menu_7[3][1] = "Opening Of Account";
menu_7[3][2] = [
    ["/info/index3.stm?fileName=4_1_12e.html", "Account To Non-Residents"],
    ["/info/index3.stm?fileName=5_2_4e.html", "Account To Individual Client"]];

menu_7[4] = new Array();
menu_7[4][0] = "javascript:void(0)";
menu_7[4][1] = "Money Transfers";
menu_7[4][2] = [
    ["/info/index3.stm?fileName=5_1_2e.html", "Western Union"],
    ["/info/index3.stm?fileName=5_1_1e.html", "PrivatMoney"],
    ["/info/index3.stm?fileName=5_1_13e.html", "MoneyGram"],
    ["/info/index3.stm?fileName=5_1_11e.html", "Travelex Money Transfers"]];

menu_7[5] = new Array();
menu_7[5][0] = "/info/index3.stm?fileName=3a_4e.html";
menu_7[5][1] = "ForEx, Banking Metals";
menu_7[5][2] = [];

menu_7[6] = new Array();
menu_7[6][0] = "/info/index3.stm?fileName=5_2e.html";
menu_7[6][1] = "Deposits To Individuals";
menu_7[6][2] = [];

menu_7[7] = new Array();
menu_7[7][0] = "/info/index3.stm?fileName=4_6e.html";
menu_7[7][1] = "Securities";
menu_7[7][2] = [];


 var myTimer = Array(null,null,null,null,null,null,null,null);
  var is_close = Array(false,false,false,false,false,false,false,false);

  function draw_menu(){
    $R(1,7).each(function (value){
      draw_one_menu(value);
      
      $('a_menu_'+value).observe('click', function(event){
        $R(1,7).each(function (val){
          $('menu'+val).style.display = 'none';
        });
        
        $('menu_'+value).className='over';
        view_block('menu'+value);     
        //event.stop();
      });

      $('a_menu_'+value).observe('mouseout', function(event){
        is_close[value] = true;
        hide_block_with_delay('menu'+value,300,value);     
        //event.stop();
      });

      $('a_menu_'+value).observe('mouseover', function(event){
        is_close[value] = false;
        clearTimeout(myTimer[value]);
        //event.stop(); 
      });

    });
  }
  
  
  function view_block(id){
    if ($(id) != null) $(id).style.display = '';
    return;
  }

  function hide_block(id,num){
    if (!is_close[num]) return;
    if ($(id) != null ){ $(id).style.display = 'none'; $('menu_'+num).className=''};
    return;
  }

  function hide_block_with_delay(id, delay, num){
    myTimer[num] = setTimeout('hide_block("'+id+'","'+num+'")',delay);
  }

  function draw_one_menu(num) {
      var menu_name = eval('menu_' + num);
      var menu_length = menu_name.length;
      
      var i=0;
      var ul = document.createElement('ul');
      ul.id = 'menu'+num;
      ul.style.display = 'none'; 
      
      
      
      $(menu_name).each(function (value,index){
        
        var li = document.createElement('li');
        li.id = 'menu_'+num+'_'+(++i);
        if (i==1) li.className = 'first';
        else if (i==menu_name.length) li.className = 'last';        
        
        $(li).observe('mouseover', function(event){
          if ($('menu'+num+'_'+(index+1)) != null ) $('menu'+num+'_'+(index+1)).style.display = '';
         // event.stop();
        });

        $(li).observe('mouseout', function(event){
          if ($('menu'+num+'_'+(index+1)) != null ) $('menu'+num+'_'+(index+1)).style.display = 'none';
          //event.stop();
        });

        var a = document.createElement('A');
            a.href = value[0];
            a.title = value[1];
            a.id = 'a_menu_'+num+'_'+i;
            a.innerHTML = value[1];
        
        li.appendChild(a);
        //li.innerHTML = '<a href="'+value[0]+'" title="'+value[1]+'" id="a_menu_'+num+'_'+i+'">'+value[1]+'</a>';
        
        
        if (value[2].length){
          var ul1 = document.createElement('ul');
          ul1.style.display = 'none'; 
          ul1.id='menu'+num+'_'+i;
          if (num==7)
            ul1.className='end';
          $(ul1).observe('mouseover', function(event){
            is_close[num] = false;
            clearTimeout(myTimer[num]);
          });
          

          var j=0;
          $(value[2]).each(function (val,ind){
            var li1 = document.createElement('li');
            li1.id = 'menu_'+num+'_'+(i)+'_'+(++j);
            li1.innerHTML = '<a href="'+val[0]+'" title="'+val[1]+'" >'+val[1]+'</a>';
            if (j==1) li1.className = 'first';
            else if (j==value[2].length) li1.className = 'last';        
            
            ul1.appendChild(li1);
          });
          li.appendChild(ul1);
        }
        ul.appendChild(li);
      });
      
      $('menu_'+num).appendChild(ul);
      $(ul).observe('mouseover', function(event){
        is_close[num] = false;
        clearTimeout(myTimer[num]);
        //event.stop();
      });
      
      $(ul).observe('mouseout', function(event){
        is_close[num] = true;
        hide_block_with_delay('menu'+num,300,num);     
        //event.stop();
      });
      
      
      return;
  }
  

