<!--
// browser
userAgent = navigator.userAgent;
ver = parseInt(navigator.appVersion)
ief = (ver > 3  && navigator.appName != "Netscape" && userAgent.indexOf("MSIE")!=-1 && userAgent.indexOf("Opera")==-1)?1:0
opf = (ver > 3  && navigator.appName != "Netscape" && userAgent.indexOf("MSIE")!=-1 && userAgent.indexOf("Opera")!=-1)?1:0
nsf = (ver > 3  && navigator.appName == "Netscape")?1:0
// img
if(document.images)
{
	jobs_eng_1 = new Image();
	jobs_eng_1.src = "jobs/button/jobs_eng_1.jpg";

	jobs_eng_2 = new Image();
	jobs_eng_2.src = "jobs/button/jobs_eng_2.jpg";
//
	add_vacancy_eng_1 = new Image();
	add_vacancy_eng_1.src = "jobs/button/add_vacancy_eng_1.jpg";

	add_vacancy_eng_2 = new Image();
	add_vacancy_eng_2.src = "jobs/button/add_vacancy_eng_2.jpg";
//
	cv_examples_eng_1 = new Image();
	cv_examples_eng_1.src = "jobs/button/cv_examples_eng_1.jpg";

	cv_examples_eng_2 = new Image();
	cv_examples_eng_2.src = "jobs/button/cv_examples_eng_2.jpg";
//
	services_eng_1 = new Image();
	services_eng_1.src = "jobs/button/services_eng_1.jpg";

	services_eng_2 = new Image();
	services_eng_2.src = "jobs/button/services_eng_2.jpg";
//
	links_eng_1 = new Image();
	links_eng_1.src = "jobs/button/links_eng_1.jpg";

	links_eng_2 = new Image();
	links_eng_2.src = "jobs/button/links_eng_2.jpg";
//
	about_us_eng_1 = new Image();
	about_us_eng_1.src = "jobs/button/about_us_eng_1.jpg";

	about_us_eng_2 = new Image();
	about_us_eng_2.src = "jobs/button/about_us_eng_2.jpg";
//
	contact_eng_1 = new Image();
	contact_eng_1.src = "jobs/button/contact_eng_1.jpg";

	contact_eng_2 = new Image();
	contact_eng_2.src = "jobs/button/contact_eng_2.jpg";
//
	resume_eng_1 = new Image();
	resume_eng_1.src = "jobs/button/resume_eng_1.jpg";

	resume_eng_2 = new Image();
	resume_eng_2.src = "jobs/button/resume_eng_2.jpg";
//
	add_resume_eng_1 = new Image();
	add_resume_eng_1.src = "jobs/button/add_resume_eng_1.jpg";

	add_resume_eng_2 = new Image();
	add_resume_eng_2.src = "jobs/button/add_resume_eng_2.jpg";
}
// 
function org_companies()
{
	wind = window.open('org.php','wind12','width=400,height=435,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=yes,toolbar=no');
	wind.focus();
}
//
function add_jobtitlesub()
{
	var f = document.form1;
	var sjt = f.job_title.value.substr(0,40);
	if(f.job_title.value != "")
	{
		sjt = sjt.replace('[','');
		sjt = sjt.replace(']','');
		f.cv_subject.value = "www.gjobs.ge - "+sjt;
	}
	//
	if(f.job_title.value.indexOf("[")!=-1 || f.job_title.value.indexOf("]")!=-1)
	{
		f.job_title.style.fontFamily = "Tahoma,Verdana,Arial";
	}
	else
	{
		f.job_title.style.fontFamily = "BPG Glaho Mix,Bauhaus Georgian,Bordeaux Georgian,AcadNusx,AcadNusx Wd,AcadMtavr,Arachveulebrivi Thin,GEO-Gorda,GEO-Grigolia";
	}
}
//
function eng_geo_emp()
{
	var f = document.form1;
	if(f.employer.value.indexOf("[")!=-1 || f.employer.value.indexOf("]")!=-1)
	{
		f.employer.style.fontFamily = "Tahoma,Verdana,Arial";
	}
	else
	{
		f.employer.style.fontFamily = "BPG Glaho Mix,Bauhaus Georgian,Bordeaux Georgian,AcadNusx,AcadNusx Wd,AcadMtavr,Arachveulebrivi Thin,GEO-Gorda,GEO-Grigolia";
	}
}
//
function img_out(img_name, img_num)
{
	if(document.images)
	{
		document.images[img_name].src = eval(img_name+"_"+img_num+".src");
	}
}
//
function img_over(img_name, img_num)
{
	if(document.images)
	{
		document.images[img_name].src = eval(img_name+"_"+img_num+".src");
	}
}
//
function wind(cur_id, lang)
{
	//alert(cur_id);
	window.location.href = lang+"i"+cur_id;
}
//
function new_wind(cur_id, lang)
{
	wind = window.open(lang+'i'+cur_id,'','width=785,height=600,left=0,top=0,direction=no,resizable=yes,menubar=no,status=no,scrollbars=yes,toolbar=no');
	wind.focus();
}
//
function print_wind(cur_id, lang)
{
	//alert(cur_id);
	wind = window.open(lang+'p'+cur_id,'','width=785,height=600,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=yes,toolbar=no');
}
//
function tell_fav(cur_id, lang)
{
	wind = window.open(lang+'php/tell_fav.php?cur_id='+cur_id,'wind1','width=380,height=420,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=no,toolbar=no');
	wind.focus();
}
//
function cv_email(cur_id, lang)
{
	wind = window.open(lang+'php/web_form.php?cur_id='+cur_id,'wind1a','width=380,height=570,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=no,toolbar=no');
	wind.focus();
}
//
function cv_fax(cur_id, lang)
{
	wind = window.open(lang+'php/fax.php?cur_id='+cur_id,'wind2','width=380,height=420,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=no,toolbar=no');
	wind.focus();
}
//
function tel_info(cur_id, lang)
{
	wind = window.open(lang+'php/phone.php?cur_id='+cur_id,'wind3','width=380,height=420,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=no,toolbar=no');
	wind.focus();
}
//
function lang_geo()
{
	//alert("Under Construction");
	window.location.href = "en/";
}
//
function view_icons()
{
	wind = window.open('php/icons.php','wind4','width=380,height=420,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=no,toolbar=no');
	wind.focus();
}
//
function view_help()
{
	wind = window.open('php/help.php','wind4','width=380,height=420,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=no,toolbar=no');
	wind.focus();
}
//
function print_this_page(element_id, img_id)
{
	document.body.background = "../jobs/popup/"+img_id;
	window.print();
}
//
function add_to_favorite(link_url, link_name)
{
	if(ief)
	{
		window.external.addFavorite(link_url, link_name);
	}
	else if(opf)
	{
		alert("es funkcia ar mushaobs");
	}
	else if(nsf)
	{
		alert("es funkcia ar mushaobs");
	}
	else
	{
		alert("es funkcia ar mushaobs");
	}
}
//
function tell_a_friend()
{
	var f = document.form1;
	var error = "";
	var your_email_reg = /([a-z0-9]){1,30}([0-9]|\.|-|_)?([a-z0-9]){1,30}@([a-z0-9]{1,25}(-|\.))?([a-z0-9]{1,25}(-|\.))?[a-z0-9]{2,25}\.(([a-z]){2,4}|([a-z]){2,3}(\.([a-z]){2})?)$/;
	var your_name_reg = /^([a-zA-Z]){3,10}$/;
	//
	if(!your_email_reg.test(f.your_email.value))
	{
		error = error + "arascoria el. fosta \n";
	}
	//
	if(!your_name_reg.test(f.your_name.value))
	{
		error = error + "arascoria saheli \n";
	}
	//
	if(error)
	{
		alert(error);
	}
	else
	{
		f.submit();
	}
}
// 
function add_vacancy_info(book_num)
{
	wind = window.open('php/add_vacancy_info.php#book'+book_num,'wind5','width=400,height=435,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=yes,toolbar=no');
	wind.focus();
}
// 
function add_vacancy_example(elem_name, elem_text)
{
	f = document.form1;
	if(f.elements[elem_name].value!="")
	{
		con = confirm('gindat nahot nimushis texti? (dzveli texti caishleba)','');
		if(con)
		{
			f.elements[elem_name].value = elem_text;
			if(elem_name == "email")
			{
				f.elements['confirm_'+elem_name].value = elem_text;
			}
		}
	}
	else
	{
		f.elements[elem_name].value = elem_text;
		if(elem_name == "email")
		{
			f.elements['confirm_'+elem_name].value = elem_text;
		}
	}
}
// 
function image_validator()
{
	wind = window.open('php/image_validator.php','wind6','width=380,height=420,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=no,toolbar=no');
	wind.focus();
}
//
function add_vacancy_submit(met)
{
	var f = document.form1;
	var cont_test = "no";
	var error = "";
	var employer_reg = /^([a-zA-Z0-9]|\(|\)|-|\+|\/|,|\.|`|\s|&|:|\*|\]|\[){3,90}$/;
	var job_title_reg = /^([a-zA-Z0-9]|-|\/|\.|,|\s|&|:|\*|\]|\[){3,90}$/;
	var dead_date_reg = /^([5-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]|6[0-9]|7[0-9]|8[0-9]|90)$/;
	var duty_station_reg = /^([a-zA-Z]|-|\/|,|\.|`|\s){3,40}$/;
	var address_reg = /^([a-zA-Z0-9]|#|\(|\)|-|\+|\/|,|\.|`|;|:|\s){3,60}$/;
	var telephone_reg = /^([0-9]|\(|\)|-|\+|\/|,|\.|;|:|\s|\*){5,40}$/;
	var contact_person_reg = /^([a-zA-Z]|,|\.|\s){3,60}$/;
	var fax_reg = /^([0-9]|\(|\)|-|\+|\/|,|\.|;|:|\s){5,40}$/;
	var email_reg = /([a-z0-9]){1,30}([0-9]|\.|-|_)?([a-z0-9]){1,30}@([a-z0-9]{1,25}(-|\.))?([a-z0-9]{1,25}(-|\.))?[a-z0-9]{2,25}\.(([a-z]){2,4}|([a-z]){2,3}(\.([a-z]){2})?)$/;
	var confirm_email_reg = /([a-z0-9]){1,30}([0-9]|\.|-|_)?([a-z0-9]){1,30}@([a-z0-9]{1,25}(-|\.))?([a-z0-9]{1,25}(-|\.))?[a-z0-9]{2,25}\.(([a-z]){2,4}|([a-z]){2,3}(\.([a-z]){2})?)$/;
	var cv_subject_reg = /^([a-zA-Z0-9]|\(|\)|-|_|\/|,|\.|\s|&|:|\*|\]|\[){2,60}$/;
	var web_site_reg = /^http:\/\/(www\.)?([a-z0-9]){2,30}\.(([a-z]){2,4}|([a-z]){2,3}(\.([a-z]){2})?)((\/|\.|-|_|[a-zA-Z0-9]){4,20})?$/;
	var salary_reg = /^([1-9]){1}([0-9]){1,3}\s(lari|dolari|evro|rubli)$/;
	var jobs_reg = /^([a-zA-Z0-9]|\^|!|\?|\"|:|;|\]|\[|\}|\{|\||\\|=|_|\*|&|%|@|\$|#|\(|\)|-|\+|\/|,|\.|`|~|’|\s){10,3000}$/;
	var txt_lng = 6000;
	var txt_lng_min = 10;

	// unicode function
	mainfunc();

	//
	/*
	if(!employer_reg.test(f.employer.value))
	{
		error = error + "  1. organizaciis saheli \n";
	}
	*/
	// replace
	//
	if(nsf)
	{
		//error = error + "  informacia: shecvalet tkveni internet brauzeri amaze - Internet Explorer, Opera \n";	
	}
	var val = f.employer.value;
	var val_len = val.length;
	for(i=0;i<val_len;i++)
	{
		val = val.replace('\'','’');
	}
	f.employer.value = val;
	if(f.employer.value == "")
	{
		error = error + "  1. organizaciis saheli \n";
	}
	//
	if(f.employer.value.indexOf("iunitek banki")!=-1)
	{
		error = error + "  1. organizaciis saheli - cashale es texti (nimushi): "+f.employer.value+" \n";
	}
	//
	if(f.employer.value.indexOf("'")!=-1)
	{
		error = error + "  1. organizaciis saheli - cashale es simbolo: ' \n";
	}
	//
	if(f.employer.value.indexOf('"')!=-1)
	{
		error = error + "  1. organizaciis saheli - cashale es simbolo: \" \n";
	}
	//
	if(f.employer.value.length < 3)
	{
		error = error + "  1. organizaciis saheli \n";
	}
	//
	/*
	if(!job_title_reg.test(f.job_title.value))
	{
		error = error + "  2. profesia \n";
	}
	*/
	// replace
	var val = f.job_title.value;
	var val_len = val.length;
	for(i=0;i<val_len;i++)
	{
		val = val.replace('\'','’');
	}
	f.job_title.value = val;
	if(f.job_title.value == "")
	{
		error = error + "  2. satauri / profesia \n";
	}
	//
	if(f.job_title.value.indexOf("'")!=-1)
	{
		error = error + "  2. satauri / profesia - cashale es simbolo: ' \n";
	}
	//
	if(f.job_title.value.indexOf('"')!=-1)
	{
		error = error + "  2. satauri / profesia - cashale es simbolo: \" \n";
	}
	//
	if(!dead_date_reg.test(f.dead_date.value))
	{
		error = error + "  4. gantavsebis dro \n";
	}
	//
	if(f.logo.value != "")
	{
		if(f.logo.value.indexOf("gif")!=-1 || f.logo.value.indexOf("jpg")!=-1)
		{
			
		}
		else
		{
			error = error + "  5. organizaciis logo unda ikos JPG an GIF formatshi \n";
		}
	}
	//
	if(!duty_station_reg.test(f.duty_station.value))
	{
		error = error + "  6. samsaxuris adgili \n";
	}
	//
	if(f.address.value.indexOf("gudiaSvilis quCa 25")!=-1)
	{
		error = error + "  7. misamarti - cashale es texti (nimushi): "+f.address.value+" \n";
	}
	//
	if(f.address.value != "")
	{
		if(!address_reg.test(f.address.value))
		{
			error = error + "  7. misamarti \n";
		}
	}
	//
	if(f.telephone.value.indexOf("998877")!=-1)
	{
		error = error + "  8. telefoni - cashale es texti (nimushi): "+f.telephone.value+" \n";
	}
	//
	if(f.telephone.value != "" || f.contact_person.value != "")
	{
		if(!telephone_reg.test(f.telephone.value))
		{
			error = error + "  8. telefoni \n";
		}
		else
		{
			cont_test = "yes";
		}
	}
	//
	if(f.contact_person.value.indexOf("giorgi kapanaZe")!=-1)
	{
		error = error + "  9. sakontakto piri - cashale es texti (nimushi): "+f.contact_person.value+" \n";
	}
	//
	if(f.telephone.value != "" || f.contact_person.value != "")
	{
		if(!contact_person_reg.test(f.contact_person.value))
		{
			error = error + "  9. sakontakto piri \n";
		}
	}
	//
	if(f.fax.value.indexOf("998877")!=-1)
	{
		error = error + "10. faxi - cashale es texti (nimushi): "+f.fax.value+" \n";
	}
	//
	if(f.fax.value != "")
	{
		if(!fax_reg.test(f.fax.value))
		{
			error = error + "  10. faxi \n";
		}
		else
		{
			cont_test = "yes";
		}
	}
	//
	if(f.email.value.indexOf("employers_email@example.com")!=-1)
	{
		error = error + "11. el. fosta - cashale es texti (nimushi): "+f.email.value+" \n";
	}
	//
	if(f.confirm_email.value.indexOf("employers_email@example.com")!=-1)
	{
		error = error + "11. gaimeore el. fosta - cashale es texti (nimushi): "+f.confirm_email.value+" \n";
	}
	//
	if(f.email.value != "" || f.confirm_email.value != "")
	{
		if(!email_reg.test(f.email.value))
		{
			error = error + "11. el. fosta \n";
		}
		else
		{
			cont_test = "yes";
		}
		if(!confirm_email_reg.test(f.confirm_email.value))
		{
			error = error + "11. gaimeore el. fosta \n";
		}
		if(f.email.value != f.confirm_email.value)
		{
			error = error + "11. el. fosta da gaimeore el. fosta unda ikos ertnairi \n";
		}
	}
	//
	if(f.email.value != "" || f.confirm_email.value != "")
	{
		if(!cv_subject_reg.test(f.cv_subject.value))
		{
			error = error + "13. el. fostis satauri \n";
		}
	}
	//
	if(f.web_site.value.indexOf("www.employersite.com")!=-1)
	{
		error = error + "14. veb gverdi - cashale es texti (nimushi): "+f.web_site.value+" \n";
	}
	//
	if(f.web_site.value != "" && f.web_site.value != "http://www.")
	{
		if(!web_site_reg.test(f.web_site.value))
		{
			error = error + "14. veb gverdi \n";
		}
	}
	//
	if(f.salary.value != "")
	{
		if(!salary_reg.test(f.salary.value))
		{
			error = error + "15. helfasi \n";
		}
	}
	//
	// replace
	var val = f.jobs_description.value;
	var val_len = val.length;
	for(i=0;i<val_len;i++)
	{
		val = val.replace('\'','’');
		val = val.replace('**','-');
	}
	f.jobs_description.value = val;
	//
	// replace
	var val = f.jobs_objective.value;
	var val_len = val.length;
	for(i=0;i<val_len;i++)
	{
		val = val.replace('\'','’');
		val = val.replace('**','-');
	}
	f.jobs_objective.value = val;
	//
	// replace
	var val = f.jobs_qualification.value;
	var val_len = val.length;
	for(i=0;i<val_len;i++)
	{
		val = val.replace('\'','’');
		val = val.replace('**','-');
	}
	f.jobs_qualification.value = val;
	//
	// replace
	var val = f.jobs_skills.value;
	var val_len = val.length;
	for(i=0;i<val_len;i++)
	{
		val = val.replace('\'','’');
		val = val.replace('**','-');
	}
	f.jobs_skills.value = val;
	//
	// replace
	var val = f.jobs_profile.value;
	var val_len = val.length;
	for(i=0;i<val_len;i++)
	{
		val = val.replace('\'','’');
		val = val.replace('**','-');
	}
	f.jobs_profile.value = val;
	//
	// replace
	var val = f.jobs_note.value;
	var val_len = val.length;
	for(i=0;i<val_len;i++)
	{
		val = val.replace('\'','’');
		val = val.replace('**','-');
	}
	f.jobs_note.value = val;
	//
	//
	if(cont_test == "no")
	{
		error = error + "\ntkven unda sheavsot shemdegi \n8. telefonis nomeri an \n10. faxis nomeri an \n11. el. fostis misamarti \n\n";
	}
	//
	if(f.jobs_description.value.indexOf("gvesawiroeba menejeri fizikuri pirebis momsahureobis ganyofilebaSi.")!=-1)
	{
		error = error + "17. informacia - cashale es texti (nimushi): "+f.jobs_description.value.substr(0,30)+"..... \n";
	}
	//
	/*
	if(f.jobs_description.value.indexOf("******")!=-1)
	{
		error = error + "17. samushaos shesaheb - tkven shegidzliat ertad daamatod 5 * <br> simbolo \n";
	}
	//
	if(!jobs_reg.test(f.jobs_description.value))
	{
		error = error + "17. samushaos shesaheb \n";
	}
	*/
	//
	if(f.jobs_description.value.length < txt_lng_min)
	{
		error = error + "17. informacia \n";
	}
	//
	if(f.jobs_objective.value.indexOf("kviraSi 5 samuSao dRe 10:00dan - 18:00mde saaTamde, 1 saaTi Sesveneba.")!=-1)
	{
		error = error + "18. samushaos pirobebi - cashale es texti (nimushi): "+f.jobs_objective.value.substr(0,30)+"..... \n";
	}
	//
	/*
	if(f.jobs_objective.value.indexOf("******")!=-1)
	{
		error = error + "18. samushaos pirobebi - tkven shegidzliat ertad daamatod 5 * <br> simbolo \n";
	}
	//
	if(f.jobs_objective.value != "")
	{
		if(!jobs_reg.test(f.jobs_objective.value))
		{
			error = error + "18. samushaos pirobebi \n";
		}
	}
	*/
	//
	if(f.jobs_qualification.value.indexOf("2-3 wlis gamocdileba mag sferoSi.")!=-1)
	{
		error = error + "19. movaleobebi / motxovnebi - cashale es texti (nimushi): "+f.jobs_qualification.value.substr(0,30)+"..... \n";
	}
	//
	/*
	if(f.jobs_qualification.value.indexOf("******")!=-1)
	{
		error = error + "19. movaleobebi / motxovnebi - tkven shegidzliat ertad daamatod 5 * <br> simbolo \n";
	}
	//
	if(f.jobs_qualification.value != "")
	{
		if(!jobs_reg.test(f.jobs_qualification.value))
		{
			error = error + "19. movaleobebi / motxovnebi \n";
		}
	}
	*/
	//
	if(f.jobs_skills.value.indexOf("kompiuteri da ucxo enebi.")!=-1)
	{
		error = error + "20. kvalifikacia / aucilebeli codna - cashale es texti (nimushi): "+f.jobs_skills.value.substr(0,30)+"..... \n";
	}
	//
	/*
	if(f.jobs_skills.value.indexOf("******")!=-1)
	{
		error = error + "20. kvalifikacia / aucilebeli codna - tkven shegidzliat ertad daamatod 5 * <br> simbolo \n";
	}
	//
	if(f.jobs_skills.value != "")
	{
		if(!jobs_reg.test(f.jobs_skills.value))
		{
			error = error + "20. kvalifikacia / aucilebeli codna \n";
		}
	}
	*/
	//
	if(f.jobs_profile.value.indexOf("sabanko sfero da safinanso saqmianoba.")!=-1)
	{
		error = error + "21. chveni sakmianoba - cashale es texti (nimushi): "+f.jobs_profile.value.substr(0,12)+"..... \n";
	}
	//
	/*
	if(f.jobs_profile.value.indexOf("******")!=-1)
	{
		error = error + "21. chveni sakmianoba - tkven shegidzliat ertad daamatod 5 * <br> simbolo \n";
	}
	//
	if(f.jobs_profile.value != "")
	{
		if(!jobs_reg.test(f.jobs_profile.value))
		{
			error = error + "21. chveni sakmianoba \n";
		}
	}
	*/
	//
	if(f.jobs_note.value.indexOf("sasurvelia iqonioT dimplomi da sertefikatebi.")!=-1)
	{
		error = error + "22. chveni shenishvnebi - cashale es texti (nimushi): "+f.jobs_note.value.substr(0,30)+"..... \n";
	}
	//
	/*
	if(f.jobs_note.value.indexOf("******")!=-1)
	{
		error = error + "22. chveni shenishvnebi - tkven shegidzliat ertad daamatod 5 * <br> simbolo \n";
	}
	//
	if(f.jobs_note.value != "")
	{
		if(!jobs_reg.test(f.jobs_note.value))
		{
			error = error + "22. chveni shenishvnebi \n";
		}
	}
	*/
	//
	if(met == "preview" && error == "")
	{
		f.preview.value = "yes";
		//
		var employer = f.employer.value;
		var job_title = f.job_title.value;
		var reg_date = f.reg_date.value;
		var dead_date = f.dead_date.value;
		var logo = f.logo.value;
		var duty_station = f.duty_station.value;
		var address = f.address.value;
		var telephone = f.telephone.value;
		var contact_person = f.contact_person.value;
		var fax = f.fax.value;
		var email = f.email.value;
		var email_status = f.email_status.options[f.email_status.selectedIndex].value;
		var cv_subject = f.cv_subject.value;
		var web_site = f.web_site.value;
		var salary = f.salary.value;
		var jobs_time = f.jobs_time.options[f.jobs_time.selectedIndex].value;
		//
		var jobs_description = f.jobs_description.value;
		var jobs_objective = f.jobs_objective.value;
		var jobs_qualification = f.jobs_qualification.value;
		var jobs_skills = f.jobs_skills.value;
		var jobs_profile = f.jobs_profile.value;
		var jobs_note = f.jobs_note.value;
		if(address == "")
		{
			address = "------";
		}
		//
		wind = window.open('','','width=785,height=600,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=yes,toolbar=no');

///////////////////////////////////////////////////////
wind.document.write('<html>'+"\n");

wind.document.write('<head>'+"\n");
wind.document.write('<meta http-equiv="Content-Language" content="en-us">'+"\n");
wind.document.write('<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">'+"\n");
wind.document.write('<title>Preview</title>'+"\n");
wind.document.write('<link href="js_css/style.css" rel="stylesheet">'+"\n");

wind.document.write('<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">'+"\n");
wind.document.write('<div align="center">'+"\n");

wind.document.write('<table border="0" width="759" cellspacing="0" cellpadding="0" id="table1" class="td_t6" align="center">'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");

	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");

	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="center">&nbsp;</td>'+"\n");
		wind.document.write('<td width="355" colspan="3" align="center">'+"\n");
		if(logo == "")
		{
			wind.document.write('<img border="0" src="jobs/popup/logo.gif" width="200" height="88"></td>'+"\n");
		}
		else
		{
			wind.document.write('<img border="0" src="'+logo+'"></td>'+"\n");
		}
		wind.document.write('<td align="center" width="354" colspan="3">'+"\n");
		wind.document.write('<font style="font-size: 20pt">gancxadeba</font></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" align="center">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");
	employer = employer.replace('[','<font face="Tahoma,Verdana,Arial">');
	employer = employer.replace(']','</font>');
	job_title = job_title.replace('[','<font face="Tahoma,Verdana,Arial">');
	job_title = job_title.replace(']','</font>');
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">organizacia:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">'+employer+'</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">registraciis TariRi:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">'+reg_date+' [wwww-TT-dd]</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">saTauri:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">'+job_title+'</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">bolo vada:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">saitze iqneba</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">samsaxuris adgili:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">'+duty_station+'</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">info iqneba'+"\n"); 
		wind.document.write('saitze</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">'+dead_date+' dRe</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">misamarTi:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">'+address+'</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">TariRi:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">'+reg_date+'</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	if(telephone != "" && contact_person != "")
	{
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/icons/icon_19b.gif" width="12" height="12"> telefoni:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">'+telephone+'</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">sakontaqto piri:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">'+contact_person+'</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	}
	if(fax != "")
	{
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/icons/icon_10b.gif" width="12" height="12"> faqsi:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">'+fax+'</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	}
	if(email != "" && email_status != "")
	{
		if(email_status == 1)
		{

		}
		if(email_status == 0)
		{
			email = "hidden";
		}
		if(cv_subject == "")
		{
			cv_subject = "cv";
		}
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/icons/icon_17b.gif" width="12" height="12"> eleqtronuli fosta:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">'+"\n");
		wind.document.write('<a class="eng_d" href="mailto:'+email+'?subject='+cv_subject+'">'+"\n");
		wind.document.write(email+'</a> </td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	}
	if(web_site != "" && web_site != "http://www.")
	{
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/icons/icon_14b.gif" width="12" height="12"> veb gverdi:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">'+"\n");
		var website2 = web_site.substring(7, web_site.length);
		wind.document.write('<a class="eng_d" target="_blank" href="'+web_site+'">'+website2+'</a> </td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	}
	if(salary != "")
	{
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">xelfasi:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">'+salary+'</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	}
	if(jobs_time != "")
	{
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif" align="right" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="190" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" height="7" class="td_t6b">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="15" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="189" valign="top" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif" height="7">'+"\n");
		wind.document.write('<img border="0" src="jobs/site/7px.jpg" width="2" height="7"></td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">samuSao grafiki:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">'+jobs_time+'</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	}
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	if(jobs_description != "")
	{
		len = jobs_description.length;
		txt = jobs_description;
		for(i=0;i<len;i++)
		{
			txt = txt.replace('\n','<br>');
			txt = txt.replace('[','<font face="Tahoma,Verdana,Arial">');
			txt = txt.replace(']','</font>');
		}
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">informacia:'+"\n"); 
		wind.document.write('</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="544" valign="top" colspan="4">'+txt+"\n");  
		wind.document.write('</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	}
	if(jobs_objective != "")
	{
		len = jobs_objective.length;
		txt = jobs_objective;
		for(i=0;i<len;i++)
		{
			txt = txt.replace('\n','<br>');
			txt = txt.replace('[','<font face="Tahoma,Verdana,Arial">');
			txt = txt.replace(']','</font>');
		}
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">samuSaos pirobebi:'+"\n"); 
		wind.document.write('</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="544" valign="top" colspan="4">'+txt+"\n"); 
		wind.document.write('</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	}
	if(jobs_qualification != "")
	{
		len = jobs_qualification.length;
		txt = jobs_qualification;
		for(i=0;i<len;i++)
		{
			txt = txt.replace('\n','<br>');
			txt = txt.replace('[','<font face="Tahoma,Verdana,Arial">');
			txt = txt.replace(']','</font>');
		}
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">movaleobebi / moTxovnebi:'+"\n"); 
		wind.document.write('</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="544" valign="top" colspan="4">'+txt+"\n"); 
		wind.document.write('</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	}
	if(jobs_skills != "")
	{
		len = jobs_skills.length;
		txt = jobs_skills;
		for(i=0;i<len;i++)
		{
			txt = txt.replace('\n','<br>');
			txt = txt.replace('[','<font face="Tahoma,Verdana,Arial">');
			txt = txt.replace(']','</font>');
		}
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">kvalifikacia / aucilebeli codna:'+"\n"); 
		wind.document.write('</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="544" valign="top" colspan="4">'+txt+"\n"); 
		wind.document.write('</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	}
	if(jobs_profile != "")
	{
		len = jobs_profile.length;
		txt = jobs_profile;
		for(i=0;i<len;i++)
		{
			txt = txt.replace('\n','<br>');
			txt = txt.replace('[','<font face="Tahoma,Verdana,Arial">');
			txt = txt.replace(']','</font>');
		}
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">Cveni saqmianoba:'+"\n"); 
		wind.document.write('</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="544" valign="top" colspan="4">'+txt+"\n");
		wind.document.write('</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	}
	if(jobs_note != "")
	{
		len = jobs_note.length;
		txt = jobs_note;
		for(i=0;i<len;i++)
		{
			txt = txt.replace('\n','<br>');
			txt = txt.replace('[','<font face="Tahoma,Verdana,Arial">');
			txt = txt.replace(']','</font>');
		}
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">Cveni SeniSvnebi:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="544" valign="top" colspan="4">'+txt+"\n");  
		wind.document.write('</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	}
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">'+"\n");
		wind.document.write('<a class="eng_eng_d" href="javascript:print();">amobeWde es gverdi</a></td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">'+"\n");
		wind.document.write('<a class="eng_d" target="_blank" href="http://www.gjobs.ge">'+"\n");
		wind.document.write('www.gjobs.ge</a> </td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
	wind.document.write('<tr>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_left.gif">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top" class="td_t6b">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td align="right" width="150" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">&nbsp;</td>'+"\n");
		wind.document.write('<td width="25" background="jobs/popup/bg_right.gif">&nbsp;</td>'+"\n");
	wind.document.write('</tr>'+"\n");
wind.document.write('</table>'+"\n");

wind.document.write('</div>'+"\n");

wind.document.write('</body>'+"\n");

wind.document.write('</html>'+"\n");
///////////////////////////////////////////////////////

	}
	//
	if(error)
	{
		alert("tu tkven gchirdebat dahmareba nahet info da nimushi   \n\n    - shecdoma aris shemdegshi -\n\n"+error);
	}
	else
	{
		//if(met == "submit" && f.preview.value == "yes")
		if(met == "submit")
		{
			if(nsf)
			{
				fasiania = confirm("ganchadebis gantavseba web gverdze fasiania.\ntu tkven gaecanit chvens pirobebs am web gverdze - www.gjobs.ge/info.html da gsurt ganchadebis gantavseba, daachiret [OK] gilakvs. \n\nРазмешение обьявления на веб сайт платное.\nЕсли вы ознакомились с нашими условиями на этой веб странице - www.gjobs.ge/info.html и хотите разместить обьявление на наш веб сайт, нажмите кнопку [OK].","");
				if(fasiania)
				{
					f.submit();
				}
			}
			else
			{
				windsub = window.open('submit.html','','width=650,height=450,top=30,left=30,status=no,menubar=no,scrollbars=no,toolbar=no,resizable=no');
				windsub.focus();
			}
		}
		else
		{
			if(met != "preview" && error == "")
			{
				//alert("tkven unda nahot tkveni vakansia, rogor gamoikureba vizualurad.\ndaachiret gilakvs 1. gancxadebis cinascari datvaliereba da mere shegidzliat daamatod 2. gancxadebis damateba");
			}
		}
	}
}
// key enter
function press_key(elem_name, e)
{
	/*
	f = document.form1;
	if(f.ab.options[f.ab.selectedIndex].value == "avtomatiurad")
	{
		if(ief)
		{
			if(event.keyCode==13)
			{
				f.elements['jobs_'+elem_name].value = f.elements['jobs_'+elem_name].value + "*";
			}		
		}
		else if(opf)
		{
			if(event.which==13)
			{
				//f.elements['jobs_'+elem_name].value = f.elements['jobs_'+elem_name].value + "*";
				window.status = "automatiuri <br> ar mushaobs";
			}			
		}
		else if(nsf)
		{
			character=String.fromCharCode(e.which);
			if(e.which==13)
			{
				f.elements['jobs_'+elem_name].value = f.elements['jobs_'+elem_name].value + "*";
			}
		}
		else
		{
			window.status = "automatiuri <br> ar mushaobs";
		}
	}
	*/
}
//image check
function image_check()
{
	f = document.form1;
	if(f.browse_file.value.indexOf("gif")!=-1 || f.browse_file.value.indexOf("jpg")!=-1)
	{
		f.submit();	
	}
	else
	{
			alert("surati unda ikos JPG an GIF formati");
	}
}
// print
function print_func()
{
	self.print();
}
//
function send_your_cv()
{
	var f = document.form1;
	var error = "";
	var your_email_reg = /([a-z0-9]){1,30}([0-9]|\.|-|_)?([a-z0-9]){1,30}@([a-z0-9]{1,25}(-|\.))?([a-z0-9]{1,25}(-|\.))?[a-z0-9]{2,25}\.(([a-z]){2,4}|([a-z]){2,3}(\.([a-z]){2})?)$/;
	var your_name_reg = /^([a-zA-Z]){3,10}$/;
	//
	if(!your_email_reg.test(f.your_email.value))
	{
		error = error + "arascoria el. fosta \n";
	}
	//
	if(!your_name_reg.test(f.your_name.value))
	{
		error = error + "arascoria saheli \n";
	}
	//
	if(f.fileatt.value.indexOf("doc")!=-1 || f.fileatt.value.indexOf("pdf")!=-1 || f.fileatt.value.indexOf("docx")!=-1 || f.fileatt.value.indexOf("rar")!=-1 || f.fileatt.value.indexOf("zip")!=-1)
	{
			
	}
	else
	{
		error = error + "arascoria failis formati unda ikos (*.doc, *.docx, *.pdf, *.zip, *.rar) formati \n";
	}
	//
	if(error)
	{
		alert(error);
	}
	else
	{
		f.submit();
	}
}

//document.onkeypress=press_k1;

// taf
function taf()
{
	wind = window.open('php/tell.php','wind12','width=380,height=420,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=no,toolbar=no');
	wind.focus();
}
//
function subscribe(event)
{
	var f = document.form1;
	var error = "";
	var your_email_reg = /([a-z0-9]){1,30}([0-9]|\.|-|_)?([a-z0-9]){1,30}@([a-z0-9]{1,25}(-|\.))?([a-z0-9]{1,25}(-|\.))?[a-z0-9]{2,25}\.(([a-z]){2,4}|([a-z]){2,3}(\.([a-z]){2})?)$/;
	//
	f.event.value = event;
	if(!your_email_reg.test(f.your_email.value))
	{
		error = error + "Incorrect e-mail \n";
	}
	//
	if(error)
	{
		alert(error);
	}
	else
	{
		f.submit();
	}
}
// taf
function m1()
{
	wind = window.open('php/subscribe.php','wind1','width=380,height=420,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=no,toolbar=no');
	wind.focus();
}

// position
function profession()
{
	f = document.form1;
	if(f.prof1.options[f.prof1.selectedIndex].value == "00")
	{
		alert("airchiet specialoba (profesia)");
	}
	else
	{
		window.location.href = "resume.php?c1="+f.prof1.options[f.prof1.selectedIndex].value;
	}
}

// print version
function print_resume(cur_id)
{
	wind = window.open('print_resume.php?cur_id='+cur_id,'','width=785,height=600,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=yes,toolbar=no');
}

//
function tell_fav_resume(cur_id)
{
	wind = window.open('php/tell_fav_resume.php?cur_id='+cur_id,'wind1','width=380,height=420,left=0,top=0,direction=no,resizable=no,menubar=no,status=no,scrollbars=no,toolbar=no');
	wind.focus();
}
//
function to_eng(elem1, elem2)
{
		// vars
	var f = document.form1;
	var fe1 = f.elements[elem1];
	var fe2 = f.elements[elem2];
	if(fe2.checked == true)
	{
		fe1.style.fontFamily = "Tahoma,Verdana,Arial";
		fe1.value = "[ Your text ]";
	}
	else
	{
		fe1.style.fontFamily = "BPG Glaho Mix,Bauhaus Georgian,Bordeaux Georgian,AcadNusx,AcadNusx Wd,AcadMtavr,Arachveulebrivi Thin,GEO-Gorda,GEO-Grigolia";
		fe1.value = "";
	}
}

// event checkbox
function event_checkbox(elem, elem2)
{
	// vars
	var f = document.form1;
	var fe = f.elements[elem];
	var fe2 = f.elements[elem2];
	if(fe.checked == true)
	{
		fe2.style.fontFamily = "Tahoma,Verdana,Arial";
	}
	else
	{
		fe2.style.fontFamily = "BPG Glaho Mix,Bauhaus Georgian,Bordeaux Georgian,AcadNusx,AcadNusx Wd,AcadMtavr,Arachveulebrivi Thin,GEO-Gorda,GEO-Grigolia";
	}
}

// convert from utf
  //------------------------------
  
  	_eng_=new Array(
  		96,	49,	50,	51,	52,	53,	54,	55,	56,	57,	48,	45,	61,	92,	113,	119,	101,	114,	116,	121,	117,	105,	111,	112,	91,	93,	97,	115,	100,	102,	103,	104,	106,	107,	108,	59,	39,	122,	120,	99,	118,	98,	110,	109,	44,	46,	47,	126,	33,	64,	35,	36,	37,	94,	38,	42,	40,	41,	95,	43,	124,	81,	87,	69,	82,	84,	89,	85,	73,	79,	80,	123,	125,	65,	83,	68,	70,	71,	72,	74,	75,	76,	58,	34,	90,	88,	67,	86,	66,	78,	77,	60,	62,	63,	
  		''
  	);
  
  	_standart_=new Array(
  		96,	49,	50,	51,	52,	53,	54,	55,	56,	57,	48,	45,	61,	92,	216,	223,	196,	210,	212,	218,	214,	201,	207,	208,	91,	93,	192,	211,	195,	215,	194,	228,	227,	202,	203,	59,	39,	198,	225,	221,	197,	193,	205,	204,	44,	46,	47,	126,	33,	64,	35,	36,	37,	94,	38,	42,	40,	41,	95,	43,	124,	81,	224,	69,	217,	200,	89,	85,	73,	79,	80,	123,	125,	65,	219,	68,	70,	71,	72,	209,	75,	76,	58,	34,	222,	88,	220,	86,	66,	78,	77,	60,	62,	63,	
  		''
  	);
  
  	_utf8_=new Array(
  		96,	49,	50,	51,	52,	53,	54,	55,	56,	57,	48,	45,	61,	92,	4325,	4332,	4308,	4320,	4322,	4327,	4323,	4312,	4317,	4318,	91,	93,	4304,	4321,	4307,	4324,	4306,	4336,	4335,	4313,	4314,	59,	39,	4310,	4334,	4330,	4309,	4305,	4316,	4315,	44,	46,	47,	126,	33,	64,	35,	36,	37,	94,	38,	42,	40,	41,	95,	43,	124,	81,	4333,	69,	4326,	4311,	89,	85,	73,	79,	80,	123,	125,	65,	4328,	68,	70,	71,	72,	4319,	75,	76,	58,	34,	4331,	88,	4329,	86,	66,	78,	77,	60,	62,	63,	
  		''
  	);
  
  
	ganlageba=new Array('','ganlageba_eng','ganlageba_rus');
	var mmm=new Array(); 

	met=new Array("_eng_","_standart_","_utf8_");
//------------------------------
   function aris(chcode, mas)
   {
		for(j=0;j<mas.length;j++)
		{
			if(mas[j]==chcode)
			{
				return (j);
			}
		}
      return (-1);
   }
//------------------------------
   function gadaikvane(objsaidan, objsad, saidani, sadi, ganlageba) 
   {
		st=eval(objsaidan).value;
		st1="";
		saidan=eval(saidani);
		sad=eval(sadi);
		var extramas=new Array();
		for(i=0;i<st.length;i++)
		{
			ch=st.charAt(i);
            if(extramas[ch])
			{
				st1+=extramas[ch];
				}
				else 
				{
            		chc=ch.charCodeAt(0);
            		chi=aris(chc,saidan);
            		if(chi!=-1)
					{
                    	if(ganlageba==1)
						{
							chi=ganlageba_1_2[chi];
						}
                    	if(ganlageba==2)
						{
							chi=ganlageba_2_1[chi];
						}
						newchar=String.fromCharCode(sad[chi]);
                    	st1+=newchar;
						extramas[ch]=newchar;
             		} 
					else
					{
						st1+=ch;
						extramas[ch]=ch;
					}
				}
		}
       eval(objsad).value=st1;
	}
//------------------------------
function mainfunc()
{
	var velebi=new Array();
	velebi[0] = "jobs_description";
	velebi[1] = "jobs_objective";
	velebi[2] = "jobs_qualification";
	velebi[3] = "jobs_skills";
	velebi[4] = "jobs_profile";
	velebi[5] = "jobs_note";
	for(il=0;il<=5;il++)
	{
		var stringdata = document.form1.elements[velebi[il]];
		if(stringdata.value != "")
		{
			gadaikvane(stringdata, stringdata, met[2], met[0], 0);
		}
	}
}

// opid
function opid(num)
{
	if(num == 1)
	{
		document.getElementById("d1").style.display = 'block';
		document.getElementById("d2").style.display = 'none';
	}
	//
	if(num == 2)
	{
		document.getElementById("d1").style.display = 'none';
		document.getElementById("d2").style.display = 'block';
	}
}

// -->
