
function ajax_update_account_details (idKey, currPage, positionId, firstName, middleName, lastName, emailAddress, phoneNumber, workPhoneNumber, mobileNumber, jsBirthDate, gender, australianCitizen, indigenousOrTorresStraitIslander, countryEnergyEmployee, countryEnergyEmployeeNumber, screeningProcess, hearAboutApprenticeship, hearAboutApprenticeshipOther, availableToCommenceWork, addressType, unitNumber, streetNumber, streetName, streetType, poBox, shop, suburb, stateId, stateText, countryId, postcode) {

	return;
	// if the caller did not pass a value specifically
	var temp;
	temp = get_object (firstName);
	if (typeof (temp) != 'undefined' && temp != null)
		firstName = temp.value;

	var temp;
	temp = get_object (middleName);
	if (typeof (temp) != 'undefined' && temp != null)
		middleName = temp.value;

	var temp;
	temp = get_object (lastName);
	if (typeof (temp) != 'undefined' && temp != null)
		lastName = temp.value;

	var temp;
	temp = get_object (emailAddress);
	if (typeof (temp) != 'undefined' && temp != null)
		emailAddress = temp.value;

	var temp;
	temp = get_object (phoneNumber);
	if (typeof (temp) != 'undefined' && temp != null)
		phoneNumber = temp.value;

	var temp;
	temp = get_object (workPhoneNumber);
	if (typeof (temp) != 'undefined' && temp != null)
		workPhoneNumber = temp.value;

	var temp;
	temp = get_object (mobileNumber);
	if (typeof (temp) != 'undefined' && temp != null)
		mobileNumber = temp.value;

	var temp;
//	temp = get_object (jsBirthDate);
//	if (typeof (temp) != 'undefined' && temp != null)
//		jsBirthDate = temp.value;
	eval('temp = document.form01.'+jsBirthDate+'.value;');
	jsBirthDate = temp;

	var temp;
	temp = get_object (gender);
	if (typeof (temp) != 'undefined' && temp != null)
		gender = temp.value;

	var temp;
	temp = get_object (australianCitizen);
	if (typeof (temp) != 'undefined' && temp != null)
		australianCitizen = temp.value;

	var temp;
	temp = get_object (indigenousOrTorresStraitIslander);
	if (typeof (temp) != 'undefined' && temp != null)
		indigenousOrTorresStraitIslander = temp.value;

	var temp;
	temp = get_object (countryEnergyEmployee);
	if (typeof (temp) != 'undefined' && temp != null)
		countryEnergyEmployee = temp.value;

	var temp;
	temp = get_object (countryEnergyEmployeeNumber);
	if (typeof (temp) != 'undefined' && temp != null)
		countryEnergyEmployeeNumber = temp.value;

	var temp;
	temp = get_object (screeningProcess);
	if (typeof (temp) != 'undefined' && temp != null)
		screeningProcess = temp.value;

	var temp;
	temp = get_object (hearAboutApprenticeship);
	if (typeof (temp) != 'undefined' && temp != null)
		hearAboutApprenticeship = temp.value;

	var temp;
	temp = get_object (hearAboutApprenticeshipOther);
	if (typeof (temp) != 'undefined' && temp != null)
		hearAboutApprenticeshipOther = temp.value;


	var temp;
	temp = get_object (availableToCommenceWork);
	if (typeof (temp) != 'undefined' && temp != null)
		availableToCommenceWork = temp.value;


	for (count = 0; count < document.form01.addressType.length; count++) {
		if (document.form01.addressType[count].checked == true)
		{
			addressType = document.form01.addressType[count].value;
		}
	}

	var temp;
	eval('temp = document.form01.'+unitNumber+'.value;');
	unitNumber = temp;

	var temp;
	eval('temp = document.form01.'+streetNumber+'.value;');
	streetNumber = temp;

	var temp;
	eval('temp = document.form01.'+streetName+'.value;');
	streetName = temp;

	var temp;
	eval('temp = document.form01.'+streetType+'.value;');
	streetType = temp;

	var temp;
	eval('temp = document.form01.'+poBox+'.value;');
	poBox = temp;

	var temp;
	eval('temp = document.form01.'+shop+'.value;');
	shop = temp;

	var temp;
	eval('temp = document.form01.'+suburb+'.value;');
	suburb = temp;

	var temp;
	eval('temp = document.form01.'+stateId+'.value;');
	stateId = temp;

	var temp;
	eval('temp = document.form01.'+stateText+'.value;');
	stateText = temp;

	var temp;
	eval('temp = document.form01.'+countryId+'.value;');
	countryId = temp;

	var temp;
	eval('temp = document.form01.'+postcode+'.value;');
	postcode = temp;

// old way didnt work for firefox because of global tools
//	var temp;
//	temp = get_object (addressType);
//	if (typeof (temp) != 'undefined' && temp != null)
//	{
//		if (temp.length) {
//			for (count = 0; count < temp.length; count++) {
//				if (temp[count].checked == true)
//				{
//					addressType = temp[count].value;
//				}
//			}
//		}
//	}

//	var temp;
//	temp = get_object (unitNumber);
//	if (typeof (temp) != 'undefined' && temp != null)
//		unitNumber = temp.value;

//	var temp;
//	temp = get_object (streetNumber);
//	if (typeof (temp) != 'undefined' && temp != null)
//		streetNumber = temp.value;

//	var temp;
//	temp = get_object (streetName);
//	if (typeof (temp) != 'undefined' && temp != null)
//		streetName = temp.value;

//	var temp;
//	temp = get_object (streetType);
//	if (typeof (temp) != 'undefined' && temp != null)
//		streetType = temp.value;

//	var temp;
//	temp = get_object (poBox);
//	if (typeof (temp) != 'undefined' && temp != null)
//		poBox = temp.value;

//	var temp;
//	temp = get_object (shop);
//	if (typeof (temp) != 'undefined' && temp != null)
//		shop = temp.value;

//	var temp;
//	temp = get_object (suburb);
//	if (typeof (temp) != 'undefined' && temp != null)
//		suburb = temp.value;

//	var temp;
//	temp = get_object (stateId);
//	if (typeof (temp) != 'undefined' && temp != null)
//		stateId = temp.value;

//	var temp;
//	temp = get_object (stateText);
//	if (typeof (temp) != 'undefined' && temp != null)
//		stateText = temp.value;

//	var temp;
//	temp = get_object (countryId);
//	if (typeof (temp) != 'undefined' && temp != null)
//		countryId = temp.value;

//	var temp;
//	temp = get_object (postcode);
//	if (typeof (temp) != 'undefined' && temp != null)
//		postcode = temp.value;



	


	ajaxManager.use_ajax_handler ('ajaxUpdateAccountDetails');	// 
	ajaxManager.ajaxHandler.make_http_request (
		"/ajax/front/update_account_details_5.php?"
		+ "idKey=" + idKey
		+ "&currPage=" + currPage
		+ "&positionId=" + positionId
		+ "&firstName=" + escape (firstName)
		+ "&middleName=" + escape (middleName)
		+ "&lastName=" + escape (lastName)
		+ "&emailAddress=" + escape (emailAddress)
		+ "&phoneNumber=" + escape (phoneNumber)
		+ "&workPhoneNumber=" + escape (workPhoneNumber)
		+ "&mobileNumber=" + escape (mobileNumber)
		+ "&jsBirthDate=" + escape (jsBirthDate)
		+ "&gender=" + escape (gender)
		+ "&australianCitizen=" + escape (australianCitizen)
		+ "&indigenousOrTorresStraitIslander=" + escape (indigenousOrTorresStraitIslander)
		+ "&countryEnergyEmployee=" + escape (countryEnergyEmployee)
		+ "&countryEnergyEmployeeNumber=" + escape (countryEnergyEmployeeNumber)
		+ "&screeningProcess=" + escape (screeningProcess)
		+ "&hearAboutApprenticeship=" + escape (hearAboutApprenticeship)
		+ "&hearAboutApprenticeshipOther=" + escape (hearAboutApprenticeshipOther)
		+ "&availableToCommenceWork=" + escape (availableToCommenceWork)
		+ "&addressType=" + escape (addressType)
		+ "&unitNumber=" + escape (unitNumber)
		+ "&streetNumber=" + escape (streetNumber)
		+ "&streetName=" + escape (streetName)
		+ "&streetType=" + escape (streetType)
		+ "&poBox=" + escape (poBox)
		+ "&shop=" + escape (shop)
		+ "&suburb=" + escape (suburb)
		+ "&stateId=" + escape (stateId)
		+ "&stateText=" + escape (stateText)
		+ "&countryId=" + escape (countryId)
		+ "&postcode=" + escape (postcode)
		);







		var saveDelay = 60;	// 5 seconds
		var timerRetunValue = 0;
		setTimeout("ajax_update_account_details ('"+idKey+"', \'"+currPage+"\', \'"+positionId+"\', 'firstName', 'middleName', 'lastName', 'emailAddress', 'phoneNumber', 'workPhoneNumber', 'mobileNumber', 'jsBirthDate', 'gender', 'australianCitizen', 'indigenousOrTorresStraitIslander', 'countryEnergyEmployee', 'countryEnergyEmployeeNumber', 'screeningProcess', 'hearAboutApprenticeship', 'hearAboutApprenticeshipOther', 'availableToCommenceWork', 'addressType', 'unitNumber', 'streetNumber', 'streetName', 'streetType', 'poBox', 'shop', 'suburb', 'stateId', 'stateText', 'countryId', 'postcode');", saveDelay*1000);
}





function ajax_update_position_details (idKey, currPage, positionId, noOfPreference, preferredApprenticeshipType, formLocation, why, preferredTestingLocation) {
	return;

	var preferredApprenticeships = new Array;

	// if the caller did not pass a value specifically
	var temp;
	temp = get_object (noOfPreference);
	if (typeof (temp) != 'undefined' && temp != null)
	{
		noOfPreference = temp.value;

		// get the preferences
		if (parseInt(noOfPreference) > 0) {
			for (count = 1; count <= parseInt(noOfPreference); count++) {
				var prefType;
				temp = get_object (preferredApprenticeshipType+count);
				if (typeof (temp) != 'undefined' && temp != null)
					prefType = temp.value;

				var prefLocation;
				temp = get_object (formLocation+count);
				if (typeof (temp) != 'undefined' && temp != null)
					prefLocation = temp.value;

				var prefWhy;
				temp = get_object (why+count);
				if (typeof (temp) != 'undefined' && temp != null)
					prefWhy = temp.value;

				preferredApprenticeships[count-1] = prefType+'||'+prefLocation+'||'+prefWhy;
			}
		}
	}


	var temp;
	temp = get_object (preferredTestingLocation);
	if (typeof (temp) != 'undefined' && temp != null)
		preferredTestingLocation = temp.value;

	



	ajaxManager.use_ajax_handler ('ajaxUpdateAccountDetails');	// 
	ajaxManager.ajaxHandler.make_http_request (
		"/ajax/front/update_position_details_5.php?"
		+ "idKey=" + idKey
		+ "&currPage=" + currPage
		+ "&positionId=" + positionId
		+ "&noOfPreference=" + escape (noOfPreference)
		+ "&preferredApprenticeships=" + escape (preferredApprenticeships)
		+ "&preferredTestingLocation=" + escape (preferredTestingLocation)
		);

		



		var saveDelay = 60;	// 5 seconds
		var timerRetunValue = 0;
		setTimeout("ajax_update_position_details ('"+idKey+"', \'"+currPage+"\', \'"+positionId+"\', 'noOfPreference', 'preferredApprenticeshipType_', 'location_', 'why_', 'preferredTestingLocation');", saveDelay*1000);
}



function ajax_update_education_details (idKey, currPage, positionId, highestEducationLevel, highestEducationLevelOther, schoolCertificateYearLeftSchool, tertiaryCourse, tertiaryQualification, currStudying, highestLevelOfMathematics, resultAchieved, tradeCertificateOrQualifications, trainingContract, workCoverQualifications, workCoverQualificationsOther, currDriversLicense, driversLicenseType, driversLicenseOther, tradeLicencesQualifications) {
	
	return;

	var jsWorkCoverQualifications = new Array;
	var jsTradeLicencesQualifications = new Array;

	// if the caller did not pass a value specifically
	var temp;
	temp = get_object (highestEducationLevel);
	if (typeof (temp) != 'undefined' && temp != null)
		highestEducationLevel = temp.value;

	var temp;
	temp = get_object (highestEducationLevelOther);
	if (typeof (temp) != 'undefined' && temp != null)
		highestEducationLevelOther = temp.value;

	var temp;
	temp = get_object (schoolCertificateYearLeftSchool);
	if (typeof (temp) != 'undefined' && temp != null)
		schoolCertificateYearLeftSchool = temp.value;

	var temp;
	temp = get_object (tertiaryCourse);
	if (typeof (temp) != 'undefined' && temp != null)
		tertiaryCourse = temp.value;

	var temp;
	temp = get_object (tertiaryQualification);
	if (typeof (temp) != 'undefined' && temp != null)
		tertiaryQualification = temp.value;

	var temp;
	temp = get_object (currStudying);
	if (typeof (temp) != 'undefined' && temp != null)
		currStudying = temp.value;

	var temp;
	temp = get_object (highestLevelOfMathematics);
	if (typeof (temp) != 'undefined' && temp != null)
		highestLevelOfMathematics = temp.value;

	var temp;
	temp = get_object (resultAchieved);
	if (typeof (temp) != 'undefined' && temp != null)
		resultAchieved = temp.value;

	var temp;
	temp = get_object (tradeCertificateOrQualifications);
	if (typeof (temp) != 'undefined' && temp != null)
		tradeCertificateOrQualifications = temp.value;

	var temp;
	temp = get_object (trainingContract);
	if (typeof (temp) != 'undefined' && temp != null)
		trainingContract = temp.value;

	var temp;
	temp = get_object (workCoverQualifications);
	if (typeof (temp) != 'undefined' && temp != null)
	{
		if (temp.length) {
			for (count = 0; count < temp.length; count++) {
				if (temp.options[count].selected == true)
				{
					jsWorkCoverQualifications[count] = temp.options[count].value;
				}
			}
		}
	}

	var temp;
	temp = get_object (workCoverQualificationsOther);
	if (typeof (temp) != 'undefined' && temp != null)
		workCoverQualificationsOther = temp.value;
	else
		workCoverQualificationsOther = '';

	var temp;
	temp = get_object (currDriversLicense);
	if (typeof (temp) != 'undefined' && temp != null)
		currDriversLicense = temp.value;

	var temp;
	temp = get_object (driversLicenseType);
	if (typeof (temp) != 'undefined' && temp != null)
		driversLicenseType = temp.value;

	var temp;
	temp = get_object (driversLicenseOther);
	if (typeof (temp) != 'undefined' && temp != null)
		driversLicenseOther = temp.value;
	

	
	var temp;
	temp = get_object (tradeLicencesQualifications);
	if (typeof (temp) != 'undefined' && temp != null)
	{
		if (temp.length) {
			for (count = 0; count < temp.length; count++) {
				if (temp.options[count].selected == true)
				{
					jsTradeLicencesQualifications[count] = temp.options[count].value;
				}
			}
		}
	}



	ajaxManager.use_ajax_handler ('ajaxUpdateAccountDetails');	// 
	ajaxManager.ajaxHandler.make_http_request (
		"/ajax/front/update_education_details_5.php?"
		+ "idKey=" + idKey
		+ "&currPage=" + currPage
		+ "&positionId=" + positionId
		+ "&highestEducationLevel=" + escape (highestEducationLevel)
		+ "&highestEducationLevelOther=" + escape (highestEducationLevelOther)
		+ "&schoolCertificateYearLeftSchool=" + escape (schoolCertificateYearLeftSchool)
		+ "&tertiaryCourse=" + escape (tertiaryCourse)
		+ "&tertiaryQualification=" + escape (tertiaryQualification)
		+ "&currStudying=" + escape (currStudying)
		+ "&highestLevelOfMathematics=" + escape (highestLevelOfMathematics)
		+ "&resultAchieved=" + escape (resultAchieved)
		+ "&tradeCertificateOrQualifications=" + escape (tradeCertificateOrQualifications)
		+ "&trainingContract=" + escape (trainingContract)
		+ "&workCoverQualifications=" + escape (jsWorkCoverQualifications)
		+ "&workCoverQualificationsOther=" + escape (workCoverQualificationsOther)
		+ "&currDriversLicense=" + escape (currDriversLicense)
		+ "&driversLicenseType=" + escape (driversLicenseType)
		+ "&driversLicenseOther=" + escape (driversLicenseOther)
		+ "&tradeLicencesQualifications=" + escape (jsTradeLicencesQualifications)
		);


		var saveDelay = 60;	// 5 seconds
		var timerRetunValue = 0;
		setTimeout("ajax_update_education_details ('"+idKey+"', \'"+currPage+"\', \'"+positionId+"\', 'highestEducationLevel', 'highestEducationLevelOther', 'schoolCertificateYearLeftSchool', 'tertiaryCourse', 'tertiaryQualification', 'currentlyStudying', 'highestLevelOfMathematics', 'resultAchieved', 'tradeCertificateOrQualifications', 'trainingContract', 'workCoverQualifications[]', 'workCoverQualificationsOther', 'currentDriversLicense', 'driversLicenseType', 'driversLicenseOther', 'tradeLicencesQualifications[]');", saveDelay*1000);
}



function ajax_update_employment_details (idKey, currPage, positionId, currPosition, currEmployer, currLocation, currFromToDate, currMainDuties, otherJobPosition, otherJobEmployer, otherJobLocation, otherJobFromToDate, otherJobMainDuties, unpaidWorkPosition, unpaidWorkEmployer, unpaidWorkLocation, unpaidWorkFromToDate, unpaidWorkMainDuties) {

	return;

	// if the caller did not pass a value specifically
	var temp;
	temp = get_object (currPosition);
	if (typeof (temp) != 'undefined' && temp != null)
		currPosition = temp.value;

	var temp;
	temp = get_object (currEmployer);
	if (typeof (temp) != 'undefined' && temp != null)
		currEmployer = temp.value;

	var temp;
	temp = get_object (currLocation);
	if (typeof (temp) != 'undefined' && temp != null)
		currLocation = temp.value;

	var temp;
	temp = get_object (currFromToDate);
	if (typeof (temp) != 'undefined' && temp != null)
		currFromToDate = temp.value;

	var temp;
	temp = get_object (currMainDuties);
	if (typeof (temp) != 'undefined' && temp != null)
		currMainDuties = temp.value;

	var temp;
	temp = get_object (otherJobPosition);
	if (typeof (temp) != 'undefined' && temp != null)
		otherJobPosition = temp.value;

	var temp;
	temp = get_object (otherJobEmployer);
	if (typeof (temp) != 'undefined' && temp != null)
		otherJobEmployer = temp.value;

	var temp;
	temp = get_object (otherJobLocation);
	if (typeof (temp) != 'undefined' && temp != null)
		otherJobLocation = temp.value;

	var temp;
	temp = get_object (otherJobFromToDate);
	if (typeof (temp) != 'undefined' && temp != null)
		otherJobFromToDate = temp.value;

	var temp;
	temp = get_object (otherJobMainDuties);
	if (typeof (temp) != 'undefined' && temp != null)
		otherJobMainDuties = temp.value;

/*
	var temp;
	temp = get_object (interests);
	if (typeof (temp) != 'undefined' && temp != null)
		interests = temp.value;
*/

	var temp;
	temp = get_object (unpaidWorkPosition);
	if (typeof (temp) != 'undefined' && temp != null)
		unpaidWorkPosition = temp.value;

	var temp;
	temp = get_object (unpaidWorkEmployer);
	if (typeof (temp) != 'undefined' && temp != null)
		unpaidWorkEmployer = temp.value;

	var temp;
	temp = get_object (unpaidWorkLocation);
	if (typeof (temp) != 'undefined' && temp != null)
		unpaidWorkLocation = temp.value;

	var temp;
	temp = get_object (unpaidWorkFromToDate);
	if (typeof (temp) != 'undefined' && temp != null)
		unpaidWorkFromToDate = temp.value;

	var temp;
	temp = get_object (unpaidWorkMainDuties);
	if (typeof (temp) != 'undefined' && temp != null)
		unpaidWorkMainDuties = temp.value;


/*
	var temp;
	temp = get_object (team);
	if (typeof (temp) != 'undefined' && temp != null)
		team = temp.value;
*/

/*
	var temp;
	temp = get_object (teamDetails);
	if (typeof (temp) != 'undefined' && temp != null)
		teamDetails = temp.value;

	var temp;
	temp = get_object (hobbiesAndInterests);
	if (typeof (temp) != 'undefined' && temp != null)
		hobbiesAndInterests = temp.value;

	var temp;
	temp = get_object (contructionProjects);
	if (typeof (temp) != 'undefined' && temp != null)
		contructionProjects = temp.value;

	var temp;
	temp = get_object (industrialDesignOrDesignAndTechnologyDetails);
	if (typeof (temp) != 'undefined' && temp != null)
		industrialDesignOrDesignAndTechnologyDetails = temp.value;

*/





	ajaxManager.use_ajax_handler ('ajaxUpdateAccountDetails');	// 
	ajaxManager.ajaxHandler.make_http_request (
		"/ajax/front/update_employment_details_5.php?"
		+ "idKey=" + idKey
		+ "&currPage=" + currPage
		+ "&positionId=" + positionId
		+ "&currPosition=" + escape (currPosition)
		+ "&currEmployer=" + escape (currEmployer)
		+ "&currLocation=" + escape (currLocation)
		+ "&currFromToDate=" + escape (currFromToDate)
		+ "&currMainDuties=" + escape (currMainDuties)
		+ "&otherJobPosition=" + escape (otherJobPosition)
		+ "&otherJobEmployer=" + escape (otherJobEmployer)
		+ "&otherJobLocation=" + escape (otherJobLocation)
		+ "&otherJobFromToDate=" + escape (otherJobFromToDate)
		+ "&otherJobMainDuties=" + escape (otherJobMainDuties)
		+ "&unpaidWorkPosition=" + escape (unpaidWorkPosition)
		+ "&unpaidWorkEmployer=" + escape (unpaidWorkEmployer)
		+ "&unpaidWorkLocation=" + escape (unpaidWorkLocation)
		+ "&unpaidWorkFromToDate=" + escape (unpaidWorkFromToDate)
		+ "&unpaidWorkMainDuties=" + escape (unpaidWorkMainDuties)
//		+ "&interests=" + escape (interests)
/*		+ "&team=" + escape (team)										*/
/*		+ "&teamDetails=" + escape (teamDetails)
		+ "&hobbiesAndInterests=" + escape (hobbiesAndInterests)
		+ "&contructionProjects=" + escape (contructionProjects)
		+ "&industrialDesignOrDesignAndTechnologyDetails=" + escape (industrialDesignOrDesignAndTechnologyDetails) */
		);




		var saveDelay = 60;	// 5 seconds
		var timerRetunValue = 0;
		setTimeout("ajax_update_employment_details ('"+idKey+"', \'"+currPage+"\',  \'"+positionId+"\', 'currentPosition', 'currentEmployer', 'currentLocation', 'currentFromToDate', 'currentMainDuties', 'otherJobPosition', 'otherJobEmployer', 'otherJobLocation', 'otherJobFromToDate', 'otherJobMainDuties', 'unpaidWorkPosition', 'unpaidWorkEmployer', 'unpaidWorkLocation', 'unpaidWorkFromToDate', 'unpaidWorkMainDuties');", saveDelay*1000);
}




function ajax_update_question_details (idKey, currPage, positionId, positionQuestionIds, whyDoYouWantAnApprenticeship, whyShouldWeSelectYou) {
	
	return;

	// if the caller did not pass a value specifically
	var positionAnswerIds = '';
	var tempCounter = 0;
	if (positionQuestionIds.length > 0)
	{
		for (var i = 0; i < positionQuestionIds.length; i++)
		{
			var tmpFieldName = 'question_' + positionQuestionIds[i];

			eval('var tmpType = document.form01.'+tmpFieldName+'.type;');
			if (tmpType == 'textarea')
			{
				eval('var tmpValue = document.form01.'+tmpFieldName+'.value;');

				if (tempCounter > 0)
					positionAnswerIds = positionAnswerIds + ',' + positionQuestionIds[i] + '||' + tmpValue + '||' + 'text';
				else
					positionAnswerIds = positionAnswerIds + positionQuestionIds[i] + '||' + tmpValue + '||' + 'text';
			}
			else // radio button
			{
				eval('var tmpLength = document.form01.'+tmpFieldName+'.length;');

				for (count = 0; count < tmpLength; count++) {
					eval('var tmpChecked = document.form01.'+tmpFieldName+'[count].checked;');

					if (tmpChecked == true)
					{
						eval('var tmpValue = document.form01.'+tmpFieldName+'[count].value;');

						if (tempCounter > 0)
							positionAnswerIds = positionAnswerIds + ',' + positionQuestionIds[i] + '||' + tmpValue + '||' + 'select';
						else
							positionAnswerIds = positionAnswerIds + positionQuestionIds[i] + '||' + tmpValue + '||' + 'select';
					}
				}
			}
			tempCounter++;
		}
	}




	var temp;
	temp = get_object (whyDoYouWantAnApprenticeship);
	if (typeof (temp) != 'undefined' && temp != null)
		whyDoYouWantAnApprenticeship = temp.value;

	var temp;
	temp = get_object (whyShouldWeSelectYou);
	if (typeof (temp) != 'undefined' && temp != null)
		whyShouldWeSelectYou = temp.value;


	ajaxManager.use_ajax_handler ('ajaxUpdateAccountDetails');	// 
	ajaxManager.ajaxHandler.make_http_request (
		"/ajax/front/update_question_details_5.php?"
		+ "idKey=" + idKey
		+ "&currPage=" + currPage
		+ "&positionId=" + positionId
		+ "&positionAnswerIds=" + escape (positionAnswerIds)
		+ "&whyDoYouWantAnApprenticeship=" + escape (whyDoYouWantAnApprenticeship)
		+ "&whyShouldWeSelectYou=" + escape (whyShouldWeSelectYou)
		);





		var saveDelay = 60;	// 5 seconds
		var timerRetunValue = 0;
		setTimeout("ajax_update_question_details ('"+idKey+"', \'"+currPage+"\',  \'"+positionId+"\', positionQuestionIds, 'whyDoYouWantAnApprenticeship', 'whyShouldWeSelectYou');", saveDelay*1000);
}

