//
//popup 800x 600as ablak-semmi sincs hozzá , se scroll, se átméretezés, sese
//
function popupwdow(mit) {
  pwinwidth = 460 ;
  pwinheight = 300 ;
  winleft = 100;
  wintop = 200 ;
  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;
}		  
}
//
//felhasználók angolbevitelére ellenőr
//
function useren(txb1, txb2, txb3, txb4, txb5, txb6) {
flec = " Please fill in every data,\n\n";
if (txb1.value == ""){
	alert(flec+"the field 'Name' has remained empty!");  
    return false;
}else if (txb2.value == "") {
	alert(flec+"the field  'Phone no.' has remained empty!");  
	return false;
}else if (txb3.value == "") {
  	alert(flec+"the field 'E-mail'  has remained empty!");  
	return false;
}else if (txb4.value == "") {
 	alert(flec+"the field 'Message'  has remained empty!");  
	return false;
}else if (txb5.value == "") {
    	alert(flec+"the field "+txb1.adat+" has remained empty!");  
	return false;
}else if (txb6.value == "") {
    	alert(flec+"the field "+txb1.adat+" has remained empty!");  
	return false;
}

else{
    return true;
}		  
}
//



