function verificaFormular99x(obj){
if (obj.nume_news.value == "")

{

				alert("Introduceti numele!");

				obj.nume_news.focus()

				return false;

}

//verificare email

sir = obj.emailnews.value;

	//caut @ dupa primul caracter

	tmp = sir.indexOf("@", 1);

	if (tmp == -1) {

		alert("Adresa de e-mail incorecta !");

        obj.emailnews.focus()

		return false;

	}

    //caut . dupa @

	tmp = sir.indexOf(".", (tmp+2) );

	if (tmp == -1) {

		alert("Adresa de e-mail incorecta !");

        obj.emailnews.focus()

		return false;

	}

    //verific daca sunt cel putin 2 caractere dupa .

	tmp = sir.substr(tmp+1, (sir.length-1-tmp) );

	if (tmp.length<2) {

		alert("Adresa de e-mail incorecta !");

        obj.emailnews.focus()

		return false;

	}

return true
}

function setFormAction(formm, cale) {

 formm.action = cale;

 formm.submit();}
 

function verifica99x(){

if (verificaFormular99x(document.pfizer)){

document.pfizer.submit();}

else return false;}



function verificaFormular2(obj){
// verificare campuri goale
if (obj.email.value == "")
{
				alert("Nu ati completat campul Email!");
				obj.email.focus()
				return false;
}

//verificare email
sir = obj.email.value;
	//caut @ dupa primul caracter
	tmp = sir.indexOf("@", 1);
	if (tmp == -1) {
		alert("Adresa de email este invalida. Va rugam sa o corectati!");
        obj.email.focus()
		return false;
	}

    //caut . dupa @
	tmp = sir.indexOf(".", (tmp+1) );
	if (tmp == -1) {
		alert("Adresa de email incorecta !");
        obj.email.focus()
		return false;
	}
    //verific daca sunt cel putin 2 caractere dupa .
	tmp = sir.substr(tmp+1, (sir.length-1-tmp) );
	if (tmp.length<2) {
		alert("Adresa de email este invalida. Va rugam o corectati!");
        obj.email.focus()
		return false;
	}
return true
}



function verifica2(){

if (verificaFormular2(document.inscriere2)){

document.inscriere2.submit();}

else return false;}



//-->


function createWindow(cUrl,cName,cFeatures) {

var xWin = window.open(cUrl,cName,cFeatures)

}
<!-- Original:  Sven David Hildebrandt (shildebr@online.no) -->
<!-- Web Site:  http://home.hia.no/~sdhild99 -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function goToURL() { window.location = "javascript:createWindow('/parola_uitata.php','window2','width=300,height=100')"; }
//  End -->


function gotolink() { 
var destination= self.location; 

for(var i = 0; i<document.formname.radiobutton.length; i++){
  if(document.formname.radiobutton[i].checked) {
    destination=document.formname.radiobutton[i].value }
  }
window.location = destination;
}


function winopen (nm, fx, fy) {
 sw=screen.width-8; sh=screen.height-55;
 s='no';
 if (fx>sw) { x=0; s='yes'; fx=sw; } else x=Math.round((sw-fx)/2);
 if (fy>sh) { y=0; s='yes'; fy=sh; } else y=Math.round((sh-fy)/2);
 abc=window.open('/popup.php?nm='+nm,'ViewPic','top='+y+',left='+x+',width='+fx+',height='+fy+',scrollbars='+s);
}

 function winopen2 (nm, fx, fy) {
 sw=screen.width-8; sh=screen.height-55;
 s='no';
 if (fx>sw) { x=0; s='yes'; fx=sw; } else x=Math.round((sw-fx)/2);
 if (fy>sh) { y=0; s='yes'; fy=sh; } else y=Math.round((sh-fy)/2);
 abc=window.open('/popup_afis.php?nm='+nm,'ViewPic','top='+y+',left='+x+',width='+fx+',height='+fy+',scrollbars='+s);
}

 function winopen3 (nm, fx, fy) {
 sw=screen.width-8; sh=screen.height-55;
 s='no';
 if (fx>sw) { x=0; s='yes'; fx=sw; } else x=Math.round((sw-fx)/2);
 if (fy>sh) { y=0; s='yes'; fy=sh; } else y=Math.round((sh-fy)/2);
 abc=window.open('/popup_rec.php?nm='+nm,'ViewPic','top='+y+',left='+x+',width='+fx+',height='+fy+',scrollbars='+s);
}


<!-- Begin

//3-way slideshow- by Suzanne Arnold (http://jandr.com/, suzanne@mail.jandr.com)
//Script featured on JavaScript Kit (http://javascriptkit.com)
//Credit must stay intact

var Onerotate_delay = 2000; // delay in milliseconds (5000 = 5 secs)
Onecurrent = 0;

function Onenext() {
if (document.Oneslideform.Oneslide[Onecurrent+1]) {
document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent+1].value;
document.Oneslideform.Oneslide.selectedIndex = ++Onecurrent;
   }
else Onefirst();
}
function Oneprevious() {
if (Onecurrent-1 >= 0) {
document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent-1].value;
document.Oneslideform.Oneslide.selectedIndex = --Onecurrent;
   }
else Onelast();
}
function Onefirst() {
Onecurrent = 0;
document.images.Oneshow.src = document.Oneslideform.Oneslide[0].value;
document.Oneslideform.Oneslide.selectedIndex = 0;
}
function Onelast() {
Onecurrent = document.Oneslideform.Oneslide.length-1;
document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent].value;
document.Oneslideform.Oneslide.selectedIndex = Onecurrent;
}
function Oneap(text) {
document.Oneslideform.Oneslidebutton.value = (text == "Stop") ? "Start" : "Stop";
Onerotate();
}
function Onechange() {
Onecurrent = document.Oneslideform.Oneslide.selectedIndex;
document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent].value;
}
function Onerotate() {
if (document.Oneslideform.Oneslidebutton.value == "Stop") {
Onecurrent = (Onecurrent == document.Oneslideform.Oneslide.length-1) ? 0 : Onecurrent+1;
document.images.Oneshow.src = document.Oneslideform.Oneslide[Onecurrent].value;
document.Oneslideform.Oneslide.selectedIndex = Onecurrent;
window.setTimeout("Onerotate()", Onerotate_delay);
}
}
function Onetransport(){
window.location=OneLinks[Onecurrent]
}
//  End -->