function check() {
	if(document.frm_ppmb.nama.value == "")
	{
		alert('Mohon isi Nama Anda');
		document.frm_ppmb.nama.focus();
		return false
	}
	if(document.frm_ppmb.tempat_lahir.value == "")
	{
		alert('Mohon isi Kota Kelahiran');
		document.frm_ppmb.tempat_lahir.focus();
		return false
	}
	if(document.frm_ppmb.tgl_lahir.value == "")
	{
		alert('Mohon isi Tanggal Lahir');
		document.frm_ppmb.tgl_lahir.focus();
		return false
	}
	if(document.frm_ppmb.alamat1.value == "")
	{
		alert('Mohon isi Alamat');
		document.frm_ppmb.alamat1.focus();
		return false
	}
	if(document.frm_ppmb.telp.value == "")
	{
		alert('Mohon isi Telepon');
		document.frm_ppmb.telp.focus();
		return false
	}
	if(document.frm_ppmb.kab.value == "")
	{
		alert('Mohon isi Kabupaten');
		document.frm_ppmb.kab.focus();
		return false
	}
	if(document.frm_ppmb.pos.value == "")
	{
		alert('Mohon isi Kode Pos');
		document.frm_ppmb.pos.focus();
		return false
	}
	if(document.frm_ppmb.prov.value == "")
	{
		alert('Mohon isi Provinsi');
		document.frm_ppmb.prov.focus();
		return false
	}
	if(document.frm_ppmb.sma.value == "")
	{
		alert('Mohon isi SMA / Sederajat');
		document.frm_ppmb.sma.focus();
		return false
	}
	if(document.frm_ppmb.alamat_sma.value == "")
	{
		alert('Mohon isi Alamat Sekolah');
		document.frm_ppmb.alamat_sma.focus();
		return false
	}
	if(document.frm_ppmb.jurusan.value == "")
	{
		alert('Mohon isi Jurusan');
		document.frm_ppmb.jurusan.focus();
		return false
	}
	if(document.frm_ppmb.thn.value == "")
	{
		alert('Mohon isi Tahun Lulus');
		document.frm_ppmb.thn.focus();
		return false
	}
	if(document.frm_ppmb.nem.value == "")
	{
		alert('Mohon isi Nilai Evaluasi Akhir');
		document.frm_ppmb.nem.focus();
		return false
	}
	

}