var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));

var defaultlang= GetCookie('language');
if (!defaultlang) defaultlang='english';

var base= new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9","A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z","a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z")
var pass=""
var z=23;
var y=28;
var f= new Array();
var K= new Array();
for (x=0; x<10; x++){ f[x]=x<<9; f[x]+=23; }
for (x=10; x<36; x++){ y=y<<1; v= Math.sqrt(y); v = parseInt(v,16); v+=5; f[x]=v; y++; }
for (x=36; x<62; x++){ z=z<<1; v= Math.sqrt(z); v = parseInt(v,16); v+=74; f[x]=v; z++; }

function coder(pass)
{
var code=0;
var x;
var y;
if (pass.length>0)
{
 var lpass=(pass.length)+1
 for (l=1; l<lpass; l++) { K[l]=pass.charAt(l); }
 for (y=1; y<lpass; y++) {
for(x=0; x<62; x++) { if (K[y]==base[x]) { code+=f[x]; code*=y; } }
 }
}
return code;
}


function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
function SetCookie (name, value) {
	if (value=="") { DeleteCookie(name); return 0; };
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) {
var exp = new Date();
exp.setTime (exp.getTime() - 1);
var cval = GetCookie (name);
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}







var nworktype=new Array();
if (defaultlang=='english') {
nworktype[1]="Full-Time";
nworktype[2]="Part-Time";
nworktype[3]="Contract/Temp";
nworktype[4]="Casual/Vacation";
} else {
nworktype[1]="Toàn thời gian";
nworktype[2]="Bán thời gian";
nworktype[3]="Hợp đồng/giao kèo";
nworktype[4]="Tạm thời/Thời vụ";
}

var nlocation=new Array();
nlocation[1]='Hanoi';
nlocation[2]='Ho Chi Minh';
nlocation[3]='Thu Duc';
nlocation[4]='Binh Chanh';
nlocation[5]='Nha Be';
nlocation[6]='Hoc Mon';
nlocation[7]='Dong Nai';
nlocation[8]='Bien Hoa';
nlocation[9]='Can Gio';
nlocation[10]='Vung Tau';
nlocation[11]='Nha Trang';
nlocation[12]='Binh Duong'
nlocation[13]='Hai Phong'
nlocation[14]='Da Nang'
nlocation[15]='Other'

var nindustry = new Array();
if (defaultlang=='english') {
nindustry[0]="Undefined";
nindustry[1] = "Accounting";
nindustry[2] = "Admin/Customer Service";
nindustry[10] = "Advert/Media/Entertain";
nindustry[3] = "Construction";
nindustry[4] = "Education & Science";
nindustry[5] = "Engineering & Mining";
nindustry[14] = "Financial Services";
nindustry[6] = "Government";
nindustry[7] = "Healthcare & Medical";
nindustry[12] = "Hospitality & Tourism";
nindustry[8] = "I.T/Communications";
nindustry[9] = "Legal";
nindustry[15] = "Management/HR";
nindustry[16] = "Retail/Consumer Prods.";
nindustry[11] = "Sales & Marketing";
nindustry[17] = "Trades & Services";
nindustry[13] = "Other";
} else {
	nlocation[nlocation.length-1]='Nơi Khác';
nindustry[0]="Chưa xác định";
nindustry[1]="Kế toán";
nindustry[2]="Phục vụ khách hàng";
nindustry[10]="Quảng cáo/Giải trí";
nindustry[3]="Xây dựng";
nindustry[4]="Giáo dục và Khoa học";
nindustry[5]="Công trình khai thác";
nindustry[14]="Dịch vụ tài chính";
nindustry[6]="Chính phủ, nhà nước";
nindustry[7]="Sức khỏe & Y tế";
nindustry[12]="Du lịch";
nindustry[8]="Công nghệ thông tin";
nindustry[9]="Luật";
nindustry[15]="Quản lý/Nhân sự";
nindustry[16]="Cữa hàng bán lẽ";
nindustry[11]="Bán hàng/tiếp thị";
nindustry[17]="Thương mại/mậu dịch";
nindustry[13]="Ngành Khác";
}

var aDiscipline = new Array();
if (defaultlang=='english') {
aDiscipline[34] = "Accomodation/Hotels";
aDiscipline[1] = "Account Manager";
aDiscipline[2] = "Acctg-Commerce";
aDiscipline[3] = "Acctg-Profession";
aDiscipline[85] = "Accts Clerks/Admin";
aDiscipline[86] = "Accts Payable";
aDiscipline[87] = "Accts Receivable";
aDiscipline[4] = "Actors/Dancers/Singers";
aDiscipline[107] = "Actuaries";
aDiscipline[5] = "Administration";
aDiscipline[6] = "Advertising";
aDiscipline[7] = "Agriculture";
aDiscipline[8] = "Airlines";
aDiscipline[9] = "Analyst/Programmer";
aDiscipline[10] = "Analysts";
aDiscipline[11] = "Architects";
aDiscipline[12] = "Banking";
aDiscipline[114] = "Bar/Beverage Staff";
aDiscipline[134] = "Beauty & Hairdressing";
aDiscipline[88] = "Bookkeeper";
aDiscipline[97] = "Building Trades";
aDiscipline[119] = "Business Analyst";
aDiscipline[128] = "Buying";
aDiscipline[115] = "Chef/Cook";
aDiscipline[101] = "Child Care";
aDiscipline[14] = "Cleaning";
aDiscipline[15] = "Comm'ns/Telecomm'ns";
aDiscipline[16] = "Computer Operators";
aDiscipline[120] = "Consultant/Funct.Cons";
aDiscipline[89] = "Credit Control";
aDiscipline[18] = "Customer Service";
aDiscipline[91] = "Data Entry/WPO";
aDiscipline[19] = "Database Administrator";
aDiscipline[20] = "Dental";
aDiscipline[33] = "Design/Graphics";
aDiscipline[129] = "Distribution/Logistics";
aDiscipline[22] = "Drafting";
aDiscipline[135] = "Emergency Services";
aDiscipline[23] = "Employment Consultants";
aDiscipline[24] = "Engineer - Civil";
aDiscipline[105] = "Engineer - Elect/Comm's";
aDiscipline[25] = "Engineer - Industrial";
aDiscipline[26] = "Engineer - Mechanical";
aDiscipline[27] = "Engineer - Other";
aDiscipline[106] = "Engineer - Systems";
aDiscipline[121] = "Engineer-Hardware";
aDiscipline[122] = "Engineer-Network";
aDiscipline[123] = "Engineer-Software";
aDiscipline[83] = "Environmental Services";
aDiscipline[98] = "Estimators";
aDiscipline[84] = "Fashion";
aDiscipline[29] = "Film/Radio/TV";
aDiscipline[108] = "Financial Planning";
aDiscipline[130] = "FMCG";
aDiscipline[136] = "Food Preparation";
aDiscipline[99] = "Foreman/Supervisor";
aDiscipline[31] = "Forestry & Fishing";
aDiscipline[116] = "Gaming";
aDiscipline[137] = "Gardening/Landscaping";
aDiscipline[32] = "Government Enterprises";
aDiscipline[28] = "Government-Federal";
aDiscipline[40] = "Government-Local";
aDiscipline[67] = "Government-State";
aDiscipline[13] = "Help Desk/Support";
aDiscipline[35] = "Human Resources";
aDiscipline[100] = "Inspectors";
aDiscipline[36] = "Insurance/Super";
aDiscipline[37] = "Internet/Multimedia";
aDiscipline[68] = "Inv Bnkg/Stockbroking";
aDiscipline[94] = "Journalism";
aDiscipline[117] = "Kitchen/Waiting Staff";
aDiscipline[39] = "Law Clerks/Paralegals";
aDiscipline[61] = "Legal Secretaries";
aDiscipline[102] = "Librarians";
aDiscipline[138] = "Machine Operators";
aDiscipline[41] = "Management Positions";
aDiscipline[42] = "Manufacturing";
aDiscipline[43] = "Market Research";
aDiscipline[44] = "Marketing";
aDiscipline[139] = "Mechanics";
aDiscipline[45] = "Medical Practitioner";
aDiscipline[131] = "Merchandising";
aDiscipline[110] = "Military Services";
aDiscipline[46] = "Mining";
aDiscipline[111] = "Natural Therapies";
aDiscipline[133] = "Network Marketing";
aDiscipline[47] = "Network/Systems Admin";
aDiscipline[48] = "Nursing/Midwives";
aDiscipline[92] = "PA/Secretary";
aDiscipline[90] = "Payroll";
aDiscipline[112] = "Pharmaceutical";
aDiscipline[49] = "Pharmacy";
aDiscipline[50] = "Photography";
aDiscipline[51] = "Physiotherapy";
aDiscipline[52] = "Planning";
aDiscipline[126] = "Police/Prison Workers";
aDiscipline[140] = "Printing";
aDiscipline[141] = "Process Workers";
aDiscipline[55] = "Project Managers";
aDiscipline[56] = "Psychology/Counselling";
aDiscipline[95] = "Public Relations";
aDiscipline[96] = "Publishing";
aDiscipline[127] = "Quality Assurance";
aDiscipline[57] = "Real Estate";
aDiscipline[62] = "Receptionist";
aDiscipline[113] = "Rehab/OT";
aDiscipline[132] = "Retail Sales";
aDiscipline[59] = "Sales Execs/Reps";
aDiscipline[103] = "Science & Technical";
aDiscipline[142] = "Security";
aDiscipline[63] = "Social Work";
aDiscipline[64] = "Solicitors";
aDiscipline[65] = "Specialists";
aDiscipline[66] = "Sport & Recreation";
aDiscipline[93] = "Supervisor/Team Leader";
aDiscipline[70] = "Surveying";
aDiscipline[104] = "Teachers";
aDiscipline[124] = "Team Leaders";
aDiscipline[21] = "Technical Writers";
aDiscipline[74] = "Telemarketing";
aDiscipline[80] = "Tertiary Appt's";
aDiscipline[75] = "Testers";
aDiscipline[118] = "Tour Guides";
aDiscipline[125] = "Trainers";
aDiscipline[77] = "Training/OH&S";
aDiscipline[78] = "Transport";
aDiscipline[79] = "Travel Agents";
aDiscipline[109] = "Treasury";
aDiscipline[72] = "Vocational Education";
aDiscipline[143] = "Warehousing";
aDiscipline[82] = "Other";
} else {
aDiscipline[34] = "Khách sạn";
aDiscipline[1] = "Quản lý sổ sách";
aDiscipline[2] = "Kế toán thương mại";
aDiscipline[3] = "Chuyên viên kế toán";
aDiscipline[85] = "Thư ký kế toán";
aDiscipline[86] = "Kế toán thanh toán";
aDiscipline[87] = "Kế toán vật tư";
aDiscipline[4] = "Diễn viên/Múa/Ca sỹ";
aDiscipline[107] = "Chuyên viên thống kê";
aDiscipline[5] = "Quản trị";
aDiscipline[6] = "Quản cáo";
aDiscipline[7] = "Nông nghiệp";
aDiscipline[8] = "Hàng không";
aDiscipline[9] = "Phân tích/lập trình viên";
aDiscipline[10] = "Phân tích viên";
aDiscipline[11] = "Kiến trúc sư";
aDiscipline[12] = "Ngân hàng";
aDiscipline[114] = "Nhân viên phụ vụ quầy bar";
aDiscipline[134] = "Thẩm mỹ & làm tóc";
aDiscipline[88] = "Giữ sách";
aDiscipline[97] = "Buôn bán vật liệu xây dựng";
aDiscipline[119] = "Phân tích hệ thống";
aDiscipline[128] = "Nhập hàng";
aDiscipline[115] = "Đầu bếp";
aDiscipline[101] = "Giữ trẻ";
aDiscipline[14] = "Dọn dẹp nhà";
aDiscipline[15] = "Truyền thông/truyền hình";
aDiscipline[16] = "Trực tổng đài";
aDiscipline[120] = "Chuyên viên cố vấn";
aDiscipline[89] = "Điều khiển viên";
aDiscipline[18] = "Săn sóc khách hàng";
aDiscipline[91] = "Đánh máy";
aDiscipline[19] = "Quản trị cơ sở dữ liệu";
aDiscipline[20] = "Nha sỹ";
aDiscipline[33] = "Thiết kế/Đồ họa";
aDiscipline[129] = "Phân phối/Hậu cần";
aDiscipline[22] = "Phát thảo";
aDiscipline[135] = "Dịch vụ cấp cứu/khẩn cấp";
aDiscipline[23] = "Tư vấn giới thiệu việc làm";
aDiscipline[24] = "Kỹ sư xây dựng";
aDiscipline[105] = "Kỹ sư điện";
aDiscipline[25] = "Kỹ sư công nghiệp";
aDiscipline[26] = "Kỹ sư cơ khí";
aDiscipline[27] = "Kỹ sư";
aDiscipline[106] = "Kỹ sư hệ thống";
aDiscipline[121] = "Kỹ sư phần cứng";
aDiscipline[122] = "Kỹ sư mạng";
aDiscipline[123] = "Kỹ sư phần mềm";
aDiscipline[83] = "Quản lý môi trường";
aDiscipline[98] = "Người ước lượng";
aDiscipline[84] = "Thời trang";
aDiscipline[29] = "Phim/Radio/TV";
aDiscipline[108] = "Kế hoạch tài chính";
aDiscipline[130] = "Hàng tiêu dùng nhanh";
aDiscipline[136] = "Chế biến/chuẩn bị thức ăn";
aDiscipline[99] = "Quản đốc/Giám sát";
aDiscipline[31] = "Lâm nghiệp & Đánh bắt";
aDiscipline[116] = "Cá cược";
aDiscipline[137] = "Làm vườn/phong cảnh";
aDiscipline[32] = "Công ty nhà nước";
aDiscipline[28] = "Chính phủ";
aDiscipline[40] = "Nhà nước/Cấp địa phương";
aDiscipline[67] = "Nhà nước/Cấp quận";
aDiscipline[13] = "Cung cấp/Trợ giúp";
aDiscipline[35] = "Nhân sự";
aDiscipline[100] = "Thanh tra";
aDiscipline[36] = "Bảo hiểm";
aDiscipline[37] = "Internet/Đa phương tiện";
aDiscipline[68] = "Đầu tư/chứng khoáng";
aDiscipline[94] = "Viết báo";
aDiscipline[117] = "Nhân viên phục vụ nhà bếp";
aDiscipline[39] = "Thư ký luật";
aDiscipline[61] = "Bí thư (luật)";
aDiscipline[102] = "Quản lý thư viện";
aDiscipline[138] = "Thợ máy";
aDiscipline[41] = "Quản lý";
aDiscipline[42] = "Xưởng chế tạo";
aDiscipline[43] = "Nghiên cứu thị trường";
aDiscipline[44] = "Tiếp thị";
aDiscipline[139] = "Công nhân thợ máy";
aDiscipline[45] = "Hành nghề y";
aDiscipline[131] = "Buôn bán";
aDiscipline[110] = "Quân dịch";
aDiscipline[46] = "Khai thác mỏ";
aDiscipline[111] = "Chữa bệnh theo tự nhiên";
aDiscipline[133] = "Mạng lưới tiếp thị";
aDiscipline[47] = "Quản trị mạng";
aDiscipline[48] = "Y tá";
aDiscipline[92] = "Thư ký riêng";
aDiscipline[90] = "Trả lương";
aDiscipline[112] = "Dược sư";
aDiscipline[49] = "Bào chế thuốc";
aDiscipline[50] = "Nhiếp ảnh";
aDiscipline[51] = "Vật lý trị liệu";
aDiscipline[52] = "Lập kế hoạch";
aDiscipline[126] = "Cảnh sát";
aDiscipline[140] = "In ấn";
aDiscipline[141] = "Công nhân gia công";
aDiscipline[55] = "Quản lý dự án";
aDiscipline[56] = "Cố vấn tâm lý";
aDiscipline[95] = "Quan hệ quần chúng";
aDiscipline[96] = "Chế bản";
aDiscipline[127] = "Đảm bảo chất lượng";
aDiscipline[57] = "Nhà đất/Địa ốc";
aDiscipline[62] = "Tiếp khách";
aDiscipline[113] = "Phục hồi sức khỏe";
aDiscipline[132] = "Bán lẻ";
aDiscipline[59] = "Điều hành công việc buôn bán";
aDiscipline[103] = "Khoa học và kỷ thuật";
aDiscipline[142] = "Bảo vệ/An ninh";
aDiscipline[63] = "Công tác xã hội";
aDiscipline[64] = "Luật sư";
aDiscipline[65] = "Chuyên gia";
aDiscipline[66] = "Thể thao & tiêu khiển";
aDiscipline[93] = "Quản lý nhóm";
aDiscipline[70] = "Lập bản đồ/khảo sát";
aDiscipline[104] = "Thầy cô giáo";
aDiscipline[124] = "Trưởng nhóm";
aDiscipline[21] = "Người viết chuyên môn (kỹ thuật)";
aDiscipline[74] = "Tiếp thị từ xa";
aDiscipline[80] = "Đại học hoặc Cao Đẳng";
aDiscipline[75] = "Kiểm tra viên";
aDiscipline[118] = "Hướng dẫn du lịch";
aDiscipline[125] = "Nhà đào tạo";
aDiscipline[77] = "Huấn luyện viên";
aDiscipline[78] = "Vận tải";
aDiscipline[79] = "Đại lý du lịch";
aDiscipline[109] = "Kho bạc";
aDiscipline[72] = "Giáo dục hướng nghiệp";
aDiscipline[143] = "Bóc xếp";
aDiscipline[82] = "Khác";

}


aIndustryDiscipline = new Object();

aTemp1 = new Object();
aTemp1[2] = 1;
aTemp1[3] = 1;
aTemp1[85] = 1;
aTemp1[86] = 1;
aTemp1[87] = 1;
aTemp1[88] = 1;
aTemp1[89] = 1;
aTemp1[90] = 1;
aTemp1[82] = 1;
aIndustryDiscipline[1] = aTemp1;

aTemp2 = new Object();
aTemp2[5] = 1;
aTemp2[18] = 1;
aTemp2[91] = 1;
aTemp2[92] = 1;
aTemp2[62] = 1;
aTemp2[93] = 1;
aTemp2[82] = 1;
aIndustryDiscipline[2] = aTemp2;

aTemp10 = new Object();
aTemp10[4] = 1;
aTemp10[6] = 1;
aTemp10[33] = 1;
aTemp10[29] = 1;
aTemp10[94] = 1;
aTemp10[50] = 1;
aTemp10[95] = 1;
aTemp10[96] = 1;
aTemp10[82] = 1;
aIndustryDiscipline[10] = aTemp10;

aTemp3 = new Object();
aTemp3[11] = 1;
aTemp3[97] = 1;
aTemp3[22] = 1;
aTemp3[98] = 1;
aTemp3[99] = 1;
aTemp3[100] = 1;
aTemp3[52] = 1;
aTemp3[70] = 1;
aTemp3[82] = 1;
aIndustryDiscipline[3] = aTemp3;

aTemp4 = new Object();
aTemp4[5] = 1;
aTemp4[101] = 1;
aTemp4[102] = 1;
aTemp4[103] = 1;
aTemp4[104] = 1;
aTemp4[80] = 1;
aTemp4[72] = 1;
aTemp4[82] = 1;
aIndustryDiscipline[4] = aTemp4;

aTemp5 = new Object();
aTemp5[24] = 1;
aTemp5[105] = 1;
aTemp5[25] = 1;
aTemp5[26] = 1;
aTemp5[27] = 1;
aTemp5[106] = 1;
aTemp5[46] = 1;
aTemp5[55] = 1;
aTemp5[82] = 1;
aIndustryDiscipline[5] = aTemp5;

aTemp14 = new Object();
aTemp14[107] = 1;
aTemp14[10] = 1;
aTemp14[12] = 1;
aTemp14[108] = 1;
aTemp14[36] = 1;
aTemp14[68] = 1;
aTemp14[109] = 1;
aTemp14[82] = 1;
aIndustryDiscipline[14] = aTemp14;

aTemp6 = new Object();
aTemp6[32] = 1;
aTemp6[28] = 1;
aTemp6[40] = 1;
aTemp6[67] = 1;
aTemp6[110] = 1;
aTemp6[82] = 1;
aIndustryDiscipline[6] = aTemp6;

aTemp7 = new Object();
aTemp7[5] = 1;
aTemp7[20] = 1;
aTemp7[83] = 1;
aTemp7[45] = 1;
aTemp7[111] = 1;
aTemp7[48] = 1;
aTemp7[112] = 1;
aTemp7[49] = 1;
aTemp7[51] = 1;
aTemp7[56] = 1;
aTemp7[113] = 1;
aTemp7[59] = 1;
aTemp7[63] = 1;
aTemp7[65] = 1;
aTemp7[82] = 1;
aIndustryDiscipline[7] = aTemp7;

aTemp12 = new Object();
aTemp12[34] = 1;
aTemp12[8] = 1;
aTemp12[114] = 1;
aTemp12[115] = 1;
aTemp12[116] = 1;
aTemp12[117] = 1;
aTemp12[41] = 1;
aTemp12[118] = 1;
aTemp12[79] = 1;
aTemp12[82] = 1;
aIndustryDiscipline[12] = aTemp12;

aTemp8 = new Object();
aTemp8[9] = 1;
aTemp8[119] = 1;
aTemp8[15] = 1;
aTemp8[16] = 1;
aTemp8[120] = 1;
aTemp8[19] = 1;
aTemp8[121] = 1;
aTemp8[122] = 1;
aTemp8[123] = 1;
aTemp8[13] = 1;
aTemp8[37] = 1;
aTemp8[41] = 1;
aTemp8[47] = 1;
aTemp8[55] = 1;
aTemp8[59] = 1;
aTemp8[124] = 1;
aTemp8[21] = 1;
aTemp8[75] = 1;
aTemp8[125] = 1;
aTemp8[82] = 1;
aIndustryDiscipline[8] = aTemp8;

aTemp9 = new Object();
aTemp9[5] = 1;
aTemp9[39] = 1;
aTemp9[61] = 1;
aTemp9[126] = 1;
aTemp9[64] = 1;
aTemp9[82] = 1;
aIndustryDiscipline[9] = aTemp9;

aTemp15 = new Object();
aTemp15[23] = 1;
aTemp15[35] = 1;
aTemp15[41] = 1;
aTemp15[127] = 1;
aTemp15[77] = 1;
aTemp15[82] = 1;
aIndustryDiscipline[15] = aTemp15;

aTemp13 = new Object();
aTemp13[7] = 1;
aTemp13[31] = 1;
aTemp13[42] = 1;
aTemp13[66] = 1;
aTemp13[78] = 1;
aTemp13[82] = 1;
aIndustryDiscipline[13] = aTemp13;

aTemp16 = new Object();
aTemp16[128] = 1;
aTemp16[129] = 1;
aTemp16[130] = 1;
aTemp16[41] = 1;
aTemp16[131] = 1;
aTemp16[132] = 1;
aTemp16[82] = 1;
aIndustryDiscipline[16] = aTemp16;

aTemp11 = new Object();
aTemp11[1] = 1;
aTemp11[41] = 1;
aTemp11[43] = 1;
aTemp11[44] = 1;
aTemp11[133] = 1;
aTemp11[57] = 1;
aTemp11[59] = 1;
aTemp11[74] = 1;
aTemp11[82] = 1;
aIndustryDiscipline[11] = aTemp11;

aTemp17 = new Object();
aTemp17[134] = 1;
aTemp17[14] = 1;
aTemp17[135] = 1;
aTemp17[84] = 1;
aTemp17[136] = 1;
aTemp17[137] = 1;
aTemp17[138] = 1;
aTemp17[139] = 1;
aTemp17[140] = 1;
aTemp17[141] = 1;
aTemp17[142] = 1;
aTemp17[143] = 1;
aTemp17[82] = 1;
aIndustryDiscipline[17] = aTemp17;

var browser = new Object();
browser.version = navigator.appVersion.charAt(0);
if (navigator.appName.indexOf("Netscape") > 0) {
	browser.name = "NN";
}
if (navigator.appName.indexOf("Microsoft") > 0) {
	browser.name = "IE";
}


//function open()
//{ return false; }



function todayst()
{
Stamp = new Date();
var year=Stamp.getYear();
if ((year>99)&&(year<200)) year+=1900;
return Stamp.getDate()+"/"+(Stamp.getMonth() + 1) +"/"+year;
}

function logout()
{
	DeleteCookie('username');
	DeleteCookie('password');
	DeleteCookie('fullname');
	DeleteCookie('passkey');
	DeleteCookie('account');
	window.location="view.pl?cvfile=tuyendung";
}




function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=FP_getObjectByID(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}

function FP_changePropRestore() {//v1.0
 var d=document,x; if(d.$cpe) { for(i=0; i<d.$cpe.length; i++) { x=d.$cpe[i];
 if(x.v=="") x.v=""; eval("x."+x.n+"=x.v"); } d.$cpe=null; }
}

function FP_changeProp() {//v1.0
 var args=arguments,d=document,i,j,id=args[0],o=FP_getObjectByID(id),s,ao,v,x;
 d.$cpe=new Array(); if(o) for(i=2; i<args.length; i+=2) { v=args[i+1]; s="o";
 ao=args[i].split("."); for(j=0; j<ao.length; j++) { s+="."+ao[j]; if(null==eval(s)) {
  s=null; break; } } x=new Object; x.o=o; x.n=new Array(); x.v=new Array();
 x.n[x.n.length]=s; eval("x.v[x.v.length]="+s); d.$cpe[d.$cpe.length]=x;
 if(s) eval(s+"=v"); }
}

function setTextOfObj(obj,newText) {
  if (obj) with (obj)
    if (document.layers) {document.write(unescape(newText)); document.close();}
    else innerHTML = unescape(newText);
}

function numofname(name)
{
	var v=0;
	var str = new String(name);
	for(var i=1; (i<str.length)&&(i<20); i++)
	{
		v+=i*str.charCodeAt(i);
	}
	return v;
}