function resimSec(resimno) {
	$("div#emlakbuyukresimler div:not(."+resimno+")").hide();
	$("div#emlakbuyukresimler ."+resimno).fadeIn();
}

function degistir() {
	var x=Math.floor(Math.random()*10);
	var y=Math.floor(Math.random()*10);
	var z=Math.floor(Math.random()*13);
	var w=Math.floor(Math.random()*10);
	var v=Math.floor(Math.random()*10);
	document.resim.src='paket/emlakP/onay.php?yap=degistir&x='+x+'&y='+y+'&z='+z+'&w='+w+'&v='+v;
	onaykontrol();
}

function onaykontrol() {
	$.get("paket/emlakP/emlak_islem.php?et=onay", {onay:document.emlakbilgiform.onaykutusu.value},
	function(onaykontrol) {
		$('#onaysonuc').html(onaykontrol);
	});
}

function emailkontrol() {
	$.get("paket/emlakP/emlak_islem.php?et=email", {email:document.emlakbilgiform.e_mail.value},
	function(emailkontrol) {
		$('#emailsonuc').html(emailkontrol);
	});
}

function isimkontrol() {
	$.get("paket/emlakP/emlak_islem.php?et=isim", {isim:document.emlakbilgiform.isim.value},
	function(isimkontrol) {
		$('#isimsonuc').html(isimkontrol);
	});
}

function mesajkontrol() {
	$.get("paket/emlakP/emlak_islem.php?et=mesaj", {mesaj:document.emlakbilgiform.mesaj.value},
	function(mesajkontrol) {
		$('#mesajsonuc').html(mesajkontrol);
	});
}
