

//document.writeln("hello");

var myPix = new Array(
"863.jpg",
"864.jpg",
"865.jpg",
"866.jpg",
"867.jpg",
"868.jpg",
"869.jpg",
"870.jpg"
);

var myPix_x = new Array(
425,
425,
640,
425,
640,
425,
425,
425
);

var myPix_y = new Array(
640,
640,
425,
640,
425,
640,
640,
640
);


var firstPic = 0;
var secondPic = 1;
var thirdPic = 2;
var ablak;


function doPrevious() {

    if (document.myPicture && firstPic > 0 ) {
        firstPic--;
        secondPic--;
        thirdPic--;
        document.myPicture.src="thumb/t_" + myPix[firstPic];
        document.myPicture2.src="thumb/t_" + myPix[secondPic];
        document.myPicture3.src="thumb/t_" + myPix[thirdPic];

    }

}

function doNext() {
         
         if (document.myPicture && firstPic < myPix.length-3) {  // képek száma - 1
            firstPic++;
            secondPic++;
            thirdPic++;
            document.myPicture.src="thumb/t_" + myPix[firstPic]
            document.myPicture2.src="thumb/t_" + myPix[secondPic]
            document.myPicture3.src="thumb/t_" + myPix[thirdPic]
            }
}

function pic_open(hiv,szel,hossz) {

	 val = 0;
	 
         if (val == 1) {
         hiv = "original/" + myPix[firstPic];
         szel = myPix_x[firstPic];
         hossz = myPix_y[firstPic];
         }
         if (val == 2) {
         hiv = "original/" + myPix[secondPic];
         szel = myPix_x[secondPic];
         hossz = myPix_y[secondPic];

         }
         if (val == 3) {
         hiv = "original/" + myPix[thirdPic];
         szel = myPix_x[thirdPic];
         hossz = myPix_y[thirdPic];

         }

          nev = "Campings.hu";
          
          if (typeof ablak=="undefined" || ablak.closed)
          {
	     ablak = window.open("", "", "width="+szel+",height="+hossz+",top=20,left=50");
          }
          ablak.resizeTo(szel+28,hossz+100);
          ablak.document.open();
          ablak.document.writeln('<html><title>'+ nev +'</title><body bgcolor="#FFFFCC"><img align="absmiddle" src=' + hiv + ' width='+ (szel - 0) + ' height=' + (hossz - 0) + '><a href="javascript:close();"><p align="center">close</p></a></body></html>');
          ablak.document.close();
}



  info_hu = [
        '',
        'Balaton',
        'Közép-Dunántúl',
        'Nyugat-Dunántúl',
        'Dél-Dunántúl',
        'Budapest és környéke',
        'Észak-Magyarország',
        'Tisza-tó és környéke',
        'Észak-Alföld',
        'Dél-Alföld'
        ];

  info_en = [
        '',
        'Balaton',
        'Central Transdanubia',
        'Western Transdanubia',
        'Southern Transdanubia',
        'Budapest & Surrounding',
        'Northern Hungary',
        'Lake Tisza',
        'The Northern Great Plain',
        'Southern Great Plain'
        ];

  info_de = [
        '',
        'Balaton (Plattensee)',
        'Mittel-Transdanubien',
        'West-Transdanubien',
        'Süd-Transdanubien',
        'Budapest & Umgebung',
        'Nord-Ungarn',
        'Theiß-See',
        'Nördliche Tiefebene',
        'Südliche - Tiefebene'
        ];
        
info_fr = [
        '',
        'Balaton',
        'Transdanubia Central ',
        'Transdanubia Occidental',
        'Transdanubia Méridional',
        'Budapest et entourage',
        'La Hongrie Nordique ',
        'Lac Tisza',
        ' La Grande Plaine Nordique',
        'Grande Plaine Méridionale '
        ];

  info_it = [
        '',
        'Balaton',
        'Transdanubio Centrale ',
        'Transdanubio Occidentale',
        'Transdanubio Del sud ',
        'Budapest e circondare ',
        'L Ungheria Del Nord',
        'Lago Tisza',
        ' La Pianura Grande Nordica',
        'Grande Plaine Méridionale'
        ];

  info_nl = [
        '',
        'Balaton',
        'Centrale Transdanubië ',
        'Westelijke Transdanubië',
        'Zuidelijke Transdanubië ',
        'Boedapest en het omringen ',
        'Noordelijk Hongarije ',
        'Meer Tisza ',
        'De Noordelijke Grote Vlakte ',
        'Zuidelijke Grote Vlakte'
        ];

  info_pl = [
        '',
        'Balaton',
        'Centralny *Transdanubia*',
        'Zachodni  *Transdanubia* ',
        'Południowy *Transdanubia* ',
        'Budapeszt i otaczaj±cy ',
        'Północne Węgry',
        'Jezioro *Tisza* ',
        'Północna Wielka Równiana',
        'Południowa Wielka Równiana '
        ];


function en(fr,lang) {


         if (lang == "1")
         {
         	document.show.regions.value=' '+info_hu[fr]+' ';

         }

         if (lang == "2")
         {
         	document.show.regions.value=' '+info_en[fr]+' ';

         }

         if (lang == "3")
         {
         	document.show.regions.value=' '+info_de[fr]+' ';

         }
         
         if (lang == "4")
         {
         	document.show.regions.value=' '+info_fr[fr]+' ';

         }
         
         if (lang == "5")
         {
         	document.show.regions.value=' '+info_it[fr]+' ';

         }
         
         if (lang == "6")
         {
         	document.show.regions.value=' '+info_nl[fr]+' ';

         }
         
         if (lang == "7")
         {
         	document.show.regions.value=' '+info_pl[fr]+' ';

         }

}






