//
//popup 500x 600as ablak-semmi sincs hozzá , se scroll, se átméretezés, sese
//
function popupwdow(mit) {
  pwinwidth = 500 ;
  pwinheight = 600 ;
  winleft = 10;
  wintop = 10 ;
  winprop = 'menubar=no,scrollbars=no,resizable=yes,location=no,directories=no,status=no,noresize,width='
            + pwinwidth + ',height=' + pwinheight + ',left=' + winleft
            + ',top=' + wintop ;
  window.open( mit, 'popup', winprop ) ;
}
//
//
//popup 600x 800as ablak-semmi sincs hozzá , se scroll, se átméretezés, sese
//
function popupwdow2(mit) {
  pwinwidth = 474 ;
  pwinheight = 600 ;
  winleft = 5;
  wintop = 5 ;
  winprop = 'menubar=no,scrollbars=no,resizable=yes,location=no,directories=no,status=no,noresize,width='
            + pwinwidth + ',height=' + pwinheight + ',left=' + winleft
            + ',top=' + wintop ;
  window.open( mit, 'popup', winprop ) ;
}
//




//levélküldés ellenőrzés - kapcs.oldal
//
function userbevlev(txb1, txb2, txb3, txb4, txb5) {
flec = "Kérjük töltsön ki minden mezőt\n\n";
if (txb1.value == ""){
	alert(flec+"A  név mező üresen maradt!");  
    return false;
}else if (txb2.value == "") {
    alert(flec+"A telefonszám  mező üresen maradt!");
	return false;
}else if (txb3.value == "") {
    alert(flec+"Az e-mail cím mező üresen maradt!");
	return false;
}else if (txb4.value == "") {
    alert(flec+"Az üzenet mező üresen maradt!");
	return false;
}else if (txb5.value == "") {
    alert(flec+"A(z) '"+txb5.adat+"' mező üresen maradt!");
	return false;
}
else{
    return true;
}		  
}


