function MM_preloadImages() {
  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 nospam(name, domain) {
document.location = "mailto:" + name + "@" + domain + "?subject=Megkereses a www.pannonkertesz.hu honlaprol...";
}

function nospamde(name, domain) {
document.location = "mailto:" + name + "@" + domain + "?subject=E-mail von der Webseite www.pannonkertesz.hu...";
}

function nospamen(name, domain) {
document.location = "mailto:" + name + "@" + domain + "?subject=E-mail from the website www.pannonkertesz.hu...";
}

function nospamsl(name, domain) {
document.location = "mailto:" + name + "@" + domain + "?subject=E-mail z webovej stranky www.pannonkertesz.hu...";
}

function nospamro(name, domain) {
document.location = "mailto:" + name + "@" + domain + "?subject=Mesaj receptionat de pe www.pannonkertesz.hu...";
}

function nospamru(name, domain) {
document.location = "mailto:" + name + "@" + domain + "?subject=E-mail www.pannonkertesz.hu...";
}

function openwindow(image,windowwidth,windowheight,title) {
xpos = (window.screen.width-windowwidth)/2;
ypos = ((window.screen.height-windowheight)/2-20);
imagewindow=window.open('','_blank','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,width='+windowwidth+',height='+windowheight+',left='+xpos+',top='+ypos+',resizable=0');
imagewindow.document.write('<html>');
imagewindow.document.write('<title>'+title+'</title>');
imagewindow.document.write('<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" ');
imagewindow.document.write('bottommargin="0" rightmargin="0" style="background-image: url(wait.gif); background-repeat: no-repeat; background-position: center center;">');
imagewindow.document.write('<a href="javascript:window.close()"><img src="'+image+'" border="0" alt="Kattintson a bezáráshoz."></a>');
imagewindow.document.write('</body>');
imagewindow.document.write('</html>');
}
