<!-- *************Tavsiye****************** -->
function kontrol(theForm)
 {
	if (theForm.tadi.value == "" )
	{
		alert("İsim alanı boş bırakılamaz..");
		theForm.tadi.focus();
		return(false);
  	}

	if ((theForm.tposta.value == "") || (theForm.tposta.value.indexOf('@',0) == -1)) 
	{
		alert("Geçerli bir e-mail adresi giriniz");
		theForm.tposta.focus();
		theForm.tposta.select();
		return false;
	}	

	if (theForm.taadi.value == "" )
	{
		alert("Arkadaşınızın İSmi  alanı boş bırakılamaz..");
		theForm.taadi.focus();
		return(false);
  	}

	if ((theForm.taposta.value == "") || (theForm.taposta.value.indexOf('@',0) == -1)) 
	{
		alert("Geçerli bir e-mail adresi giriniz");
		theForm.taposta.focus();
		theForm.taposta.select();
		return false;
	}	
    return (true);
}	


function kontrols(theForm)
 {

	if ((theForm.eposta.value == "") || (theForm.eposta.value.indexOf('@',0) == -1)) 
	{
		alert("Geçerli bir e-mail adresi giriniz");
		theForm.eposta.focus();
		theForm.eposta.select();
		return false;
	}	
    return (true);
}	


<!-- *************Oekle****************** -->
function kontrolsoe(theForm)
 {
	if (theForm.kat.value == "" )
	{
		alert("Kategori Seçin.");
		theForm.kat.focus();
		return(false);
  	}

	if (theForm.adi.value == "" )
	{
		alert("Oyun Adı Yazın.");
		theForm.adi.focus();
		return(false);
  	}

	if (theForm.acikla.value == "" )
	{
		alert("Açıklama Yazın.");
		theForm.acikla.focus();
		return(false);
  	}
	if (theForm.file.value == "" )
	{
		alert("Resim Dosyası Seçin.");
		theForm.file.focus();
		return(false);
  	}
	if (theForm.tip.value == "" )
	{
		alert("Oyunun Tipi.");
		theForm.tip.focus();
		return(false);
  	}
	if (theForm.file2.value == "" )
	{
		alert("Oyun Dosyası Seçin.");
		theForm.file2.focus();
		return(false);
  	}

    return (true);
}	



