function loginformkontrol(){
	if (document.loginform.login_email.value == "" || document.loginform.login_pass.value == "" || document.loginform.security_code.value == ""){
		alert("lütfen eksiksiz doldurunuz");
		return false;
	} else {
		//document.loginform.sec.value=document.loginform.login_pass.value+"abczd";
		document.loginform.action = "login.php";
	}
}
function haberdegis(no){
window.document.haberresim.src="resim/haber"+no+".jpg";
}
function habergoster(no){
window.open("haber.php?no="+no,no,"width=350, height=280, resizable=yes, scrollbars=yes");
}
function bankairtibatformukontrol(){
	if (document.bankairtibatformu.isim.value == "" || document.bankairtibatformu.telefon.value == "" || document.bankairtibatformu.email.value == "" || document.bankairtibatformu.konu.value == ""){
		alert("lütfen formu eksiksiz doldurunuz");
		return false;
	} else {
		document.bankairtibatformu.action = "banka_gonder.php";
	}
}

function bayikayitkontrol(){
	if (document.bayikayitform.isim.value == "" || document.bayikayitform.tckimlik.value == "" || document.bayikayitform.tel.value == "" || document.bayikayitform.gsm.value == "" || document.bayikayitform.email.value == "" || document.bayikayitform.sifre.value == "" || document.bayikayitform.firma.value == "" || document.bayikayitform.adres.value == "" || document.bayikayitform.vd.value == "" || document.bayikayitform.vn.value == "" || document.bayikayitform.pc.value == ""){
		alert("lütfen formu eksiksiz doldurunuz");
		return false;
	} else {
		document.bayikayitform.action = "bayi_kaydet.php";
	}
}

function irtibatmapbig(){
window.open("gameturk_map_big.php","map_big");
}
function irtibatformukontrol(){
	if (document.irtibatformu.isim.value == "" || document.irtibatformu.telefon.value == "" || document.irtibatformu.email.value == "" || document.irtibatformu.konu.value == ""){
		alert("lütfen formu eksiksiz doldurunuz");
		return false;
	} else {
		document.irtibatformu.action = "iletisim_gonder.php";
	}
}

function kartformkontrol(){
	if (document.kartform.pan.value == "" || document.kartform.amount.value == "" || document.kartform.cv2.value == ""){
		alert("lütfen formu eksiksiz doldurunuz");
		return false;
	} else {
		document.kartform.action = "https://vpos.est.com.tr/servlet/est3Dgate";
		document.kartform.submit();
	}
}

function oyuncukayitkontrol(){
	if (document.oyuncukayitform.sifre.value != document.oyuncukayitform.sifre2.value){return false;}
	if (document.oyuncukayitform.isim.value == "" || document.oyuncukayitform.tel.value == "" || document.oyuncukayitform.email.value == "" || document.oyuncukayitform.gsm.value == "" || document.oyuncukayitform.sifre.value == "" || document.oyuncukayitform.tckimlik.value == ""){
		alert("lütfen formu eksiksiz doldurunuz");
		return false;
	} else {
		document.oyuncukayitform.action = "oyuncu_kaydet.php";
	}
}

function sifremiunuttumkontrol(){
	if (document.sifremiunuttumform.email.value == "" || document.sifremiunuttumform.security_code.value == ""){
		alert("lütfen formu tam doldurunuz");		
		return false;
	} else {
		document.sifremiunuttumform.action = "sifremi_gonder.php";
	}
}


