// JavaScript Document reg 10MB 123
var request = CreateRequestObject();

function GoToDataDiriInformation()
{
	var no = document.getElementById("Hidden_kode_diri").value;
	//window.alert(no)
	if (no > 0)
	{
		var url = 'index.php?q=editResume';
		window.location.replace(url);
	} else {
		var url = 'index.php?q=resume';
		window.location.replace(url);
	}
}

function GoToPendidikanInformation()
{
	var no = document.getElementById("Hidden_Kode_pendidikan").value;
	if (no > 0)
	{
		var url = 'index.php?q=editPendidikan';
		window.location.replace(url);
	} else {
		var url = 'index.php?q=pendidikan';
		window.location.replace(url);
	}
}

function GoToInformalInformation()
{
	var no = document.getElementById("Hidden_kode_informal").value;
	if (no > 0)
	{
		var url = 'index.php?q=editInformal';
		window.location.replace(url);
	} else {
		var url = 'index.php?q=informal';
		window.location.replace(url);
	}
}

function GoToPengalamanKerjaInformation()
{
	var no = document.getElementById("Hidden_kode_pengalaman").value;
	//window.alert(no);
	if (no > 0)
	{
		var url = 'index.php?q=editKerja';
		window.location.replace(url);
	} else {
		var url = 'index.php?q=kerja';
		window.location.replace(url);
	}
}

function GoToKemampuanInformation()
{
	var no = document.getElementById("Hidden_kode_kemampuan").value;
	if (no > 0)
	{
		var url = 'index.php?q=editKemampuan';
		window.location.replace(url);
	} else {
		var url = 'index.php?q=kemampuan';
		window.location.replace(url);
	}
}

function GoToPhotoInformation()
{
	var no = document.getElementById("Hidden_Photo").value;
	//window.alert(no);
	if (no == "/")
	{
		var url = 'index.php?q=Upload';
		window.location.replace(url);
	} else {
		var url = 'index.php?q=afterUpload';
		window.location.replace(url);
	}
}

function GoToDocumentInformation()
{
	var no = document.getElementById("Hidden_Document").value;
	if (no == "/")
	{
		var url = 'index.php?q=UploadDoc';
		window.location.replace(url);
	} else {
		var url = 'index.php?q=afterUploadDoc';
		window.location.replace(url);
	}
}

function GoToLoginInformation()
{
	var url = 'index.php?q=login';
	window.location.replace(url);
}

function GoToCloseInformation()
{
	var url = 'index.php?q=DEFAULT';
	window.location.replace(url);
}

function GoToResumeInformation()
{
	var url = 'index.php?q=myResume';
	window.location.replace(url);
}

function GoToApplyInformation()
{
	var url = 'index.php?q=myresumeend';
	window.location.replace(url);
}

function GoToUID()
{
	var uid = document.getElementById("Hidden_UID").value;
	var url = 'index.php?q=export&uid=' + uid;
	window.location.replace(url);
}