$(document).ready(function() {
	
	
});

/**
 * Form Validation Controls
 */
function validateForm(formID){
	var al = '';

	if($("input[name='IKAdi']").val() == '') al='İsim giriniz.';
	
	if(!al)
		$(formID).submit();
	else
		alert(al);
}

function goster(obj) {
	if (document.getElementById(obj).style.display == "block" || document.getElementById(obj).style.display == "")
		document.getElementById(obj).style.display = "none";
	 else 
		 document.getElementById(obj).style.display = "block";
}

function kapat(obj) {
	document.getElementById("first_popup").style.display = "none";
}
