<!--
// 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;
	}
}
//
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)
{
	//alert(cur_id);
	window.location.href = "/en/i"+cur_id;
}
//
function new_wind(cur_id)
{
	wind = window.open('/en/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)
{
	//alert(cur_id);
	wind = window.open('/en/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)
{
	wind = window.open('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)
{
	wind = window.open('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)
{
	wind = window.open('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)
{
	wind = window.open('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 = "../";
}
//
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 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("The function is not supported");
	}
	else if(nsf)
	{
		alert("The function is not supported");
	}
	else
	{
		alert("The function is not supported");
	}
}
//
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 + "Incorrect e-mail \n";
	}
	//
	if(!your_name_reg.test(f.your_name.value))
	{
		error = error + "Incorrect name \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('Would you like to see example? (Old text will be deleted)','');
		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|700)$/;
	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(GEL|USD|EUR|RUR)$/;
	var jobs_reg = /^([a-zA-Z0-9]|\^|!|\?|\"|:|;|\]|\[|\}|\{|\||\\|=|_|\*|&|%|@|\$|#|\(|\)|-|\+|\/|,|\.|`|~|’|\s){10,3000}$/;
	var txt_lng = 6000;
	var txt_lng_min = 10;

	//
	/*
	if(!employer_reg.test(f.employer.value))
	{
		error = error + "  1. Employer name \n";
	}
	*/
	//
	if(nsf)
	{
		//error = error + "  Information: Change your browser on this browsers - Internet Explorer, Opera \n";	
	}
	// replace
	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. Employer name \n";
	}
	//
	if(f.employer.value.indexOf("Intersoft U")!=-1)
	{
		error = error + "  1. Employer name - delete example: "+f.employer.value+" \n";
	}
	//
	if(f.employer.value.indexOf("'")!=-1)
	{
		error = error + "  1. Employer name - delete this simbol: ' \n";
	}
	//
	if(f.employer.value.length < 3)
	{
		error = error + "  1. Employer name \n";
	}
	//
	/*
	if(!job_title_reg.test(f.job_title.value))
	{
		error = error + "  2. Job title \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. Title \n";
	}
	//
	if(!dead_date_reg.test(f.dead_date.value))
	{
		error = error + "  4. Deadline date \n";
	}
	//
	if(f.logo.value != "")
	{
		if(f.logo.value.indexOf("gif")!=-1 || f.logo.value.indexOf("jpg")!=-1)
		{
			
		}
		else
		{
			error = error + "  5. Employer's logo - select JPG or GIF format \n";
		}
	}
	//
	if(!duty_station_reg.test(f.duty_station.value))
	{
		error = error + "  6. Duty station \n";
	}
	//
	if(f.address.value.indexOf("Gudiashvili street 25")!=-1)
	{
		error = error + "  7. Address - delete example: "+f.address.value+" \n";
	}
	//
	if(f.address.value != "")
	{
		if(!address_reg.test(f.address.value))
		{
			error = error + "  7. Address \n";
		}
	}
	//
	if(f.telephone.value.indexOf("998877")!=-1)
	{
		error = error + "  8. Telephone - delete example: "+f.telephone.value+" \n";
	}
	//
	if(f.telephone.value != "" || f.contact_person.value != "")
	{
		if(!telephone_reg.test(f.telephone.value))
		{
			error = error + "  8. Telephone \n";
		}
		else
		{
			cont_test = "yes";
		}
	}
	//
	if(f.contact_person.value.indexOf("George Kapanadze")!=-1)
	{
		error = error + "  9. Contact person - delete example: "+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. Contact person \n";
		}
	}
	//
	if(f.fax.value.indexOf("998877")!=-1)
	{
		error = error + "10. Fax - delete example: "+f.fax.value+" \n";
	}
	//
	if(f.fax.value != "")
	{
		if(!fax_reg.test(f.fax.value))
		{
			error = error + "  10. Fax \n";
		}
		else
		{
			cont_test = "yes";
		}
	}
	//
	if(f.email.value.indexOf("employers_email@example.com")!=-1)
	{
		error = error + "11. E-mail - delete example: "+f.email.value+" \n";
	}
	//
	if(f.confirm_email.value.indexOf("employers_email@example.com")!=-1)
	{
		error = error + "11. Confirm e-mail - delete example: "+f.confirm_email.value+" \n";
	}
	//
	if(f.email.value != "" || f.confirm_email.value != "")
	{
		if(!email_reg.test(f.email.value))
		{
			error = error + "11. E-mail \n";
		}
		else
		{
			cont_test = "yes";
		}
		if(!confirm_email_reg.test(f.confirm_email.value))
		{
			error = error + "11. Confirm e-mail \n";
		}
		if(f.email.value != f.confirm_email.value)
		{
			error = error + "11. E-mail and second e-mail must be the same \n";
		}
	}
	//
	if(f.email.value != "" || f.confirm_email.value != "")
	{
		if(!cv_subject_reg.test(f.cv_subject.value))
		{
			error = error + "13. E-mail subject \n";
		}
	}
	//
	if(f.web_site.value.indexOf("www.employersite.com")!=-1)
	{
		error = error + "14. Web site - delete example: "+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. Web site \n";
		}
	}
	//
	if(f.salary.value != "")
	{
		if(!salary_reg.test(f.salary.value))
		{
			error = error + "15. Salary \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 + "\nYou must fill in the web form \n8. telephone number or \n10. fax number or \n11. e-mail address \n\n";
	}
	//
	if(f.jobs_description.value.indexOf(" - You must be able to work on your own initiative as once familiar with the software and applications as part of the high profile team, while following established procedures and practices.")!=-1)
	{
		error = error + "17. Information - delete example: "+f.jobs_description.value.substr(0,30)+"..... \n";
	}
	//
	/*
	if(f.jobs_description.value.indexOf("******")!=-1)
	{
		error = error + "17. Job's description - You can add maximun of 5 * - break tag <br> symbols together \n";
	}
	//
	if(!jobs_reg.test(f.jobs_description.value))
	{
		error = error + "17. Job's description \n";
	}
	*/
	//
	if(f.jobs_description.value.length < txt_lng_min)
	{
		error = error + "17. Information \n";
	}
	//
	if(f.jobs_objective.value.indexOf(" - IT Specialist will be working with a team of 25 people.")!=-1)
	{
		error = error + "18. Job's objective - delete example: "+f.jobs_objective.value.substr(0,30)+"..... \n";
	}
	//
	/*
	if(f.jobs_objective.value.indexOf("******")!=-1)
	{
		error = error + "18. Job's objective - You can add maximun of 5 * - break tag <br> symbols together \n";
	}
	//
	if(f.jobs_objective.value != "")
	{
		if(!jobs_reg.test(f.jobs_objective.value))
		{
			error = error + "18. Job's objective \n";
		}
	}
	*/
	//
	if(f.jobs_qualification.value.indexOf(" - Network structure, components, operating systems, and security.")!=-1)
	{
		error = error + "19. Main duties / requirements - delete example: "+f.jobs_qualification.value.substr(0,30)+"..... \n";
	}
	//
	/*
	if(f.jobs_qualification.value.indexOf("******")!=-1)
	{
		error = error + "19. Main duties / requirements - You can add maximun of 5 * - break tag <br> symbols together \n";
	}
	//
	if(f.jobs_qualification.value != "")
	{
		if(!jobs_reg.test(f.jobs_qualification.value))
		{
			error = error + "19. Main duties / requirements \n";
		}
	}
	*/
	//
	if(f.jobs_skills.value.indexOf(" - Linux, Windows 98/2000/XP/2003 Server.")!=-1)
	{
		error = error + "20. Job's qualification / skills - delete example: "+f.jobs_skills.value.substr(0,30)+"..... \n";
	}
	//
	/*
	if(f.jobs_skills.value.indexOf("******")!=-1)
	{
		error = error + "20. Job's qualification / skills - You can add maximun of 5 * - break tag <br> symbols together \n";
	}
	//
	if(f.jobs_skills.value != "")
	{
		if(!jobs_reg.test(f.jobs_skills.value))
		{
			error = error + "20. Job's qualification / skills \n";
		}
	}
	*/
	//
	if(f.jobs_profile.value.indexOf(" - Tourism & Hospitality Management.")!=-1)
	{
		error = error + "21. Employer's profile - delete example: "+f.jobs_profile.value.substr(0,12)+"..... \n";
	}
	//
	/*
	if(f.jobs_profile.value.indexOf("******")!=-1)
	{
		error = error + "21. Employer's profile - You can add maximun of 5 * - break tag <br> symbols together \n";
	}
	//
	if(f.jobs_profile.value != "")
	{
		if(!jobs_reg.test(f.jobs_profile.value))
		{
			error = error + "21. Employer's profile \n";
		}
	}
	*/
	//
	if(f.jobs_note.value.indexOf(" - If you have one or more MS MCP qualifications you will probably gain advantage over other candidates.")!=-1)
	{
		error = error + "22. Job's note - delete example: "+f.jobs_note.value.substr(0,30)+"..... \n";
	}
	//
	/*
	if(f.jobs_note.value.indexOf("******")!=-1)
	{
		error = error + "22. Job's note - You can add maximun of 5 * - break tag <br> symbols together \n";
	}
	//
	if(f.jobs_note.value != "")
	{
		if(!jobs_reg.test(f.jobs_note.value))
		{
			error = error + "22. Job's note \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">'+"\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">Announcement</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");
	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">Employer:</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">Registration date:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">'+reg_date+' [yyyy-mm-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">Title:</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">Deadline date:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">Date will be on the site</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">Duty station:</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 will be on the'+"\n"); 
		wind.document.write('site</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="189" valign="top">'+dead_date+' day(s)</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">Address:</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">Today\'s date:</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"> Telephone:</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">Contact person:</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"> Fax:</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"> E-mail:</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"> Web site:</td>'+"\n");
		wind.document.write('<td width="15">&nbsp;</td>'+"\n");
		wind.document.write('<td width="190" valign="top">'+"\n");
		var web_site2 = web_site.substring(7, web_site.length);
		wind.document.write('<a class="eng_d" target="_blank" href="'+web_site+'">'+web_site2+'</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">Salary:</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">Schedule:</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>');
		}
	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('Information:</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>');
		}
	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">Job\'s'+"\n"); 
		wind.document.write('objective:</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>');
		}
	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('Main duties / requirements:</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>');
		}
	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">Job\'s'+"\n"); 
		wind.document.write('qualification / skills:</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>');
		}
	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">Employer\'s'+"\n"); 
		wind.document.write('profile:</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>');
		}
	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">Job\'s note:</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_d" href="javascript:print();">print this page</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("If you need help, see info and example   \n\n    - Incorrect -\n\n"+error);
	}
	else
	{
		//if(met == "submit" && f.preview.value == "yes")
		if(met == "submit")
		{
			f.submit();
		}
		else
		{
			if(met != "preview" && error == "")
			{
				//alert("Before adding your opening, you need to see your announcement, click on 1. Preview announcement, and then press on this button 2. Add announcement");
			}
		}
	}
}
// key enter
function press_key(elem_name, e)
{
	/*
	f = document.form1;
	if(f.ab.options[f.ab.selectedIndex].value == "auto")
	{
		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 = "Auto break is not supported";
			}			
		}
		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 = "Auto break is not supported";
		}
	}
	*/
}
//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("Image file must be in JPG or GIF format");
	}
}
// 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 + "Incorrect e-mail \n";
	}
	//
	if(!your_name_reg.test(f.your_name.value))
	{
		error = error + "Incorrect name \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 + "Incorrect file format (file must be *.doc, *.docx, *.pdf, *.zip, *.rar) \n";
	}
	//
	if(error)
	{
		alert(error);
	}
	else
	{
		f.submit();
	}
}

// document.onkeypress=press_k1;

// admin submit

function admin_submit()
{
	f = document.form1;
	var error = "";

	if(f.username.value=="")
	{
		error = error + "Username \n";
	}
	if(f.password.value=="")
	{
		error = error + "Password \n";
	}
	if(error)
	{
		alert(error);
	}
	else
	{
		f.submit();
	}

}
// admin edit

function admin_edit(fname)
{
	val = fname.options[fname.selectedIndex].value;
	//alert(val);
	document.location.href = "edit_eng.php?cur_id="+val+"&sec_var="+document.form1.sec_var.value;
}
// preview logo

function preview_logo()
{
	if(document.form1.logo.value != "")
	{
		window.open('../'+document.form1.logo.value,'','width=300,height=300,status=1,menubar=0,toolbar=no,resizable=0,left=0,top=0');
	}
	else
	{
		alert("The vacancy has not a logo");
	}
}
// taf
function taf()
{
	wind = window.open('php/tell.php','wind1','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 mali()
{
	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();
}
//
function send_mail()
{
	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})?)$/;
	//
	if(!your_email_reg.test(f.your_email.value))
	{
		error = error + "Incorrect e-mail \n";
	}
	//
	if(error)
	{
		alert(error);
	}
	else
	{
		f.submit();
	}
}

// position

function profession()
{
	f = document.form1;
	if(f.prof1.options[f.prof1.selectedIndex].value == "00")
	{
		alert("Choose a Profession (Position)");
	}
	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();
}

// -->
