// JavaScript Document// JavaScript Document


// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this notice.

// SETUPS:
// ===============================
//___________________auto_resize_popup_script____________________________________________________________________
// Set the horizontal and vertical position for the popup

PositionX = 500;
PositionY = 100;

// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)

defaultWidth  = 500;
defaultHeight = 500;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

// Do not edit below this line...
// ================================
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;
function popImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');writeln('<sc'+'ript>');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=123-(document.body.clientWidth-document.images[0].width);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');       
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
if (!AutoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=FFFFFF scroll="no"  onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
writeln('<img name="George" src='+imageURL+' style="display:block"></body></html>');
close();		
}}
//__________________________auto_resize_popup_vége_____________________________________________________________________________________

//__________________________galériák__________________________________________________________________________________________________
//galeria_1_Neoplan_4016
function loadImg1(img){
var imgName = "nagy1"; // name of the big image_1
var srcs = ["busz/3/1.jpg","busz/3/2.jpg","busz/3/3.jpg","busz/3/4.jpg","busz/3/5.jpg","busz/3/6.jpg"]; // array of SRC's for the big images


document.images[imgName].src=srcs[img];
}
//galeria_2_Neoplan_4011
function loadImg2(img){
var imgName = "nagy2"; // name of the big image_2
var srcs = ["busz/1/1.jpg","busz/1/2.jpg","busz/1/3.jpg","busz/1/4.jpg","busz/1/5.jpg","busz/1/6.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}
//galeria_5_MAN_Lion's_Star
function loadImg5(img){
var imgName = "nagy5"; // name of the big image_5
var srcs = ["busz/7/1.jpg","busz/7/2.jpg","busz/7/3.jpg","busz/7/4.jpg","busz/7/5.jpg","busz/7/6.jpg","busz/7/7.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}
//galeria_6_MAN_
function loadImg6(img){
var imgName = "nagy6"; // name of the big image_6
var srcs = ["busz/4/1.jpg","busz/4/2.jpg","busz/4/3.jpg","busz/4/4.jpg","busz/4/5.jpg","busz/4/6.jpg","busz/4/7.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}
//galeria_7_Ikarus_256
function loadImg7(img){
var imgName = "nagy7"; // name of the big image_7
var srcs = ["busz/5/1.jpg","busz/5/2.jpg","busz/5/3.jpg","busz/5/4.jpg","busz/5/5.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}
//galeria_8_Ikarus_256
function loadImg8(img){
var imgName = "nagy8"; // name of the big image_8
var srcs = ["busz/6/1.jpg","busz/6/2.jpg","busz/6/3.jpg","busz/6/4.jpg","busz/6/5.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}
//galeria_9_Ikarus_211
function loadImg9(img){
var imgName = "nagy9"; // name of the big image_1
var srcs = ["busz/2/1.jpg","busz/2/4.jpg","busz/2/5.jpg","busz/2/6.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}
//galeria_10_Ikarus_256
function loadImg10(img){
var imgName = "nagy10"; // name of the big image_10
var srcs = ["busz/6/1.jpg","busz/6/4.jpg","busz/6/5.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}
//galeria_11_MAN_Lion's_Coah
function loadImg11(img){
var imgName = "nagy11"; // name of the big image_10
var srcs = ["busz/10/1.jpg","busz/10/2.jpg","busz/10/3.jpg","busz/10/4.jpg","busz/10/5.jpg","busz/10/6.jpg","busz/10/7.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}
//galeria_12_Ikarus_211_kék
function loadImg12(img){
var imgName = "nagy12"; // name of the big image_10
var srcs = ["busz/11/1.jpg","busz/11/2.jpg","busz/11/3.jpg","busz/11/4.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}
//galeria_13_Ikarus_211_kék/2
function loadImg13(img){
var imgName = "nagy13"; // name of the big image_10
var srcs = ["busz/12/1.jpg","busz/12/2.jpg","busz/12/3.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}
//galeria_14_MAN_Nagytalpú_régi
function loadImg14(img){
var imgName = "nagy14"; // name of the big image_14
var srcs = ["teherauto/1/1.jpg","teherauto/1/2.jpg","teherauto/1/3.JPG","teherauto/1/4.jpg","teherauto/1/5.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}
//galeria_15_MAN_Sziszi
function loadImg15(img){
var imgName = "nagy15"; // name of the big image_15
var srcs = ["teherauto/2/1.jpg","teherauto/2/2.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}

//galeria_16_Neoplan
function loadImg16(img){
var imgName = "nagy16"; // name of the big image_16
var srcs = ["busz/13/1.jpg","busz/13/2.jpg","busz/13/3.jpg","busz/13/4.jpg","busz/13/5.jpg","busz/13/6.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}

//galeria_17_Neoplan_napocskas
function loadImg17(img){
var imgName = "nagy17"; // name of the big image_17
var srcs = ["busz/9/1.jpg","busz/9/2.jpg","busz/9/3.jpg","busz/9/4.jpg","busz/9/5.jpg","busz/9/6.jpg","busz/9/7.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}

//galeria_18_Mercedes_turismo
function loadImg18(img){
var imgName = "nagy18"; // name of the big image_18
var srcs = ["busz/8/1.jpg","busz/8/2.jpg","busz/8/3.jpg","busz/8/4.jpg","busz/8/5.jpg","busz/8/6.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}

//galeria_19_MAN_feher
function loadImg19(img){
var imgName = "nagy19"; // name of the big image_19
var srcs = ["busz/14/1.jpg","busz/14/2.jpg","busz/14/3.jpg","busz/14/4.jpg","busz/14/5.jpg","busz/14/6.jpg","busz/14/7.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}

//galeria_20_MAN_TGA_Nagytalpú
function loadImg20(img){
var imgName = "nagy20"; // name of the big image_20
var srcs = ["teherauto/3/1.jpg","teherauto/3/2.jpg","teherauto/3/3.jpg","teherauto/3/4.jpg"]; // array of SRC's for the big images

document.images[imgName].src=srcs[img];
}
//_________________________galériák_vége____________________________________________________________
