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];}
}



var imagenumber = 24 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (imagenumber-1) * randomnumber) + 1 ;
images = new Array
images[1] = "ref_pix/agip.jpg"
images[2] = "ref_pix/AH-logo.jpg"
images[3] = "ref_pix/Aspectis.jpg"
images[4] = "ref_pix/Blaupunkt.jpg"
images[5] = "ref_pix/BOSCH.jpg"
images[6] = "ref_pix/Citroen.jpg"
images[7] = "ref_pix/Delta.jpg"
images[8] = "ref_pix/Eurout.jpg"
images[9] = "ref_pix/Hat.jpg"
images[10] = "ref_pix/HVB.jpg"
images[11] = "ref_pix/ITDH.jpg"
images[12] = "ref_pix/KIA.jpg"
images[13] = "ref_pix/leoburnett.jpg"
images[14] = "ref_pix/Mosz.jpg"
images[15] = "ref_pix/Nestle.jpg"
images[16] = "ref_pix/NISSAN.jpg"
images[17] = "ref_pix/NPP.jpg"
images[18] = "ref_pix/PWC.jpg"
images[19] = "ref_pix/SAAB.jpg"
images[20] = "ref_pix/SCA.jpg"
images[21] = "ref_pix/SKF.jpg"
images[22] = "ref_pix/Total.jpg"
images[23] = "ref_pix/BOM.jpg"
images[24] = "ref_pix/gvh.jpg"


var image = images[rand1]

links = new Array
links[1] = ""
links[2] = ""
links[3] = ""
links[4] = ""
links[5] = ""
links[6] = ""
links[7] = ""
links[8] = ""
links[9] = ""
links[10] = ""
links[11] = ""
links[12] = ""
links[13] = ""
links[14] = ""
links[15] = ""
links[16] = ""
links[17] = ""
links[18] = ""
links[19] = ""
links[20] = ""
links[21] = ""
links[22] = ""
links[23] = ""
links[24] = ""
var link = links[rand1]




function cegbemutato(){
	win = window.open("bemutato/dia1.html", "newWin", "toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=700,height=500")
}

function cegbemutato_eng(){
	win = window.open("bemutato_eng/index.html", "newWin", "toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=900,height=600")
}
function cegbemutato_ger(){
	win = window.open("bemutato_ger/index.html", "newWin", "toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=900,height=600")
}

function hirlevelinfo_hun(){
	win = window.open("hirlevelinfo_hun.html", "newWin", "toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=337,height=190")
}
function hirlevelinfo_eng(){
	win = window.open("hirlevelinfo_eng.html", "newWin", "toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=337,height=190")
}
function hirlevelinfo_fra(){
	win = window.open("hirlevelinfo_fra.html", "newWin", "toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=337,height=190")
}

function hide(tartalom){ document.getElementById(tartalom).style.display='none'; }
function show(tartalom){ document.getElementById(tartalom).style.display='inline'; }


function clearText(thefield) { thefield.value = ""; thefield.style.color= "#000000" }


function PopupPic(sPicURL) { 
     window.open( "popup.html?"+sPicURL, "",  
     "resizable=1,HEIGHT=200,WIDTH=200"); 
   }


function popup(){
	win =  window.open("pop.html", "newWin", "toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=335,height=450")
}

function cucc(){
	alert('asd');
}