<!-- 

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features,"toolbar=no,directories=no,status=yes,location=no,menubar=no,resizable=yes,scrollbars=yes");
}

function validateFieldsOfOrder(theform) {

if (theform.imone.value=="" || theform.kontaktams.value=="" || theform.adresas.value=="" || theform.telefonas.value=="" || theform.email.value=="") {
alert("Būtina užpildyti laukelius pažymėtus žvaigždute!");
return false }
else {
theform.submit();
return true }
}

function validateFieldsOfOrderEN(theform) {

if (theform.imone.value=="" || theform.kontaktams.value=="" || theform.adresas.value=="" || theform.telefonas.value=="" || theform.email.value=="") {
alert("Sorry, all brackets marked with the asterisk must be filled!");
return false }
else {
theform.submit();
return true }
}

function check_addr(yyy) {
var retVal=false
if ((yyy.value.indexOf('@') != -1) && (yyy.value.indexOf('.') != -1))
	retVal=true	
return retVal
}

function valFieldsNEWS(action) {

if (!check_addr(hehe.visitor_email)){alert ("Klaidingas el. pašto adresas!"); return false; }
hehe.do_what.value = action;
hehe.submit();
return true;
}

// -->
