﻿function validiraiLPForma() {
if(document.all) {
var _potrebitel=document.all.potrebitelskoime_p;
var _parola=document.all.parola_p;
} else if (!document.all && document.getElementById) {
var _potrebitel=document.getElementById("potrebitelskoime_p");
var _parola=document.getElementById("parola_p");
}
if(_potrebitel.value=="") { alert("Моля, въведете Вашето потребителско име"); _potrebitel.focus(); return false; }
if(_parola.value=="") { alert("Моля, въведете Вашата парола"); _parola.focus(); return false; }
return true;
}