<!--

//ÇÃ·¡½¬ ¸µÅ©

function Link(num) {
	if (num > 20000) {
		var cate = num - 20000;
		document.location.href = "/eng/product/main.asp?c=" + cate;
		return;
	} else if (num > 10000) {
		var cate = num - 10000;
		document.location.href = "/product/main.asp?c=" + cate;
		return;
	} else {
		switch (num) {
			case 0 :
				document.location.href = "/"; //È¨À¸·Î
				break;
			case 101 :
				document.location.href = "/index.asp"; //HOME
				break;
			case 102 :
				document.location.href = "/contact/location.asp"; //Contact Us
				break;
			case 103 :
				document.location.href = "/sitemap.asp"; //»çÀÌÆ®¸Ê
				break;
			case 104 :
				document.location.href = "/eng/"; //¿µ¹® È¨
				break;
			case 1010 :
				document.location.href = "/eng/"; //HOME
				break;
			case 1020 :
				document.location.href = "/eng/contact/location.asp"; //Contact Us
				break;
			case 1030 :
				document.location.href = "/eng/sitemap.asp"; //»çÀÌÆ®¸Ê
				break;
			case 1040 :
				document.location.href = "/index.asp"; //±¹¹® È¨
				break;
			
			//Á¦Ç°¼Ò°³(Products)
			case 1 :
				document.location.href = "/product/main.asp?c=2"; //Diagnostics
				break;
			case 10 :
				document.location.href = "/eng/product/main.asp?c=2"; //Diagnostics
				break;

			//È¸»ç¼Ò°³(VETALL)
			case 2 :
				document.location.href = "/aboutus/aboutus01.asp"; //About us
				break;
			case 21 :
				document.location.href = "/aboutus/aboutus01.asp"; //About us
				break;
			case 22 :
				document.location.href = "/_Board/?s=Notice_KOR"; //VETALL News
				break;
			case 23 :
				document.location.href = "/aboutus/job01.asp"; //VETALL News
				break;
			case 20 :
				document.location.href = "/eng/aboutus/aboutus01.asp"; //About us
				break;
			case 210 :
				document.location.href = "/eng/aboutus/aboutus01.asp"; //About us
				break;
			case 220 :
				document.location.href = "/eng/_Board/?s=Notice_ENG"; //VETALL News
				break;

			//¿¬¶ôÃ³(Contact)
			case 3 :
				document.location.href = "/contact/location.asp"; //Contacts
				break;
			case 31 :
				document.location.href = "/contact/location.asp"; //Contacts
				break;
			case 32 :
				document.location.href = "/contact/qna.asp"; //Q&A
				break;
			case 30 :
				document.location.href = "/eng/contact/location.asp"; //Contacts
				break;
			case 310 :
				document.location.href = "/eng/contact/location.asp"; //Contacts
				break;
			case 320 :
				document.location.href = "/eng/contact/qna.asp"; //Q&A
				break;
		}
	}
}

// Family Site
familySite_KOR = new Array(
	new Array("ÀÌ¼ö¾ÛÁö½º", "http://www.abxis.com")
);
familySite_ENG = new Array(
	new Array("VETALL", "http://www.abxis.com")
);
function printFamily(lng) {
	document.write(""
					+ "<select name=\"go\" onChange=\"return goURL();\" style=\"width:160; height:18;\">"
					+ "<option value=\"\">:::::::::: Family Site ::::::::::</option>");

	try {
		family = eval("familySite_" + lng);
		for (var i = 0; i < family.length; i++) {
			document.write("<option value=\"" + family[i][1] + "\">" + family[i][0] + "</option>");
		}
	} catch (e) {
	}

	document.write("</select>");
}
function goURL() {
	if (this.go.value) {
		URL = this.go.value;
		window.open(URL);
		this.go.value = "";
	}
}

// ³ª¶ó Ãâ·Â
function printCountry() {
	var doc = "";
	var Country = new Array("Afghanistan", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla", "Antigua and Barbuda", "Argentina", "Armenia", "Aruba", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Brazil", "British Virgin Islands", "Brunei Darussalam", "Bulgaria", "Burkina Faso", "Burundi", "Cambodia", "Cameroon", "Canada", "Cape Verde", "Cayman Islands", "Central African Republic", "Chad", "Chile", "China", "Colombia", "Comoros", "Congo", "Cook Islands", "Costa Rica", "Cote d'Ivoire", "Croatia", "Cuba", "Cyprus", "Czech Republic", "Democratic Republic of the Congo", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "East Timor", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Ethiopia", "Europe", "Faeroe Islands", "Falkland Islands (Malvinas)", "Fiji", "Finland", "France", "France", "French Guiana", "French Polynesia", "Gabon", "Gambia", "Georgia", "Germany", "Germany", "Ghana", "Gibraltar", "Greece", "Greenland", "Grenada", "Guadeloupe", "Guam", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Holy See", "Honduras", "Hong Kong", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel", "Italy", "Jamaica", "Japan", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Kuwait", "Kyrgyzstan", "Lao People's Democratic Republic", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libyan Arab Jamahiriya", "Liechtenstein", "Lithuania", "Luxembourg", "Macao Special Administrative Region of China", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Martinique", "Mauritania", "Mauritius", "Mexico", "Micronesia Federated States of,", "Monaco", "Mongolia", "Montserrat", "Morocco", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "Netherlands Antilles", "New Caledonia", "New Zealand", "Nicaragua", "Niger", "Nigeria", "Niue", "Norfolk Island", "North Korea", "Northern Mariana Islands", "Norway", "Oman", "Pakistan", "Palau", "Palestinian Territory, Occupied", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Pitcairn", "Poland", "Portugal", "Puerto Rico", "Qatar", "Republic of Moldova", "Reunion", "Romania", "Russia", "Rwanda", "Saint Helena", "Saint Kitts and Nevis", "Saint Lucia", "Saint Pierre and Miquelon", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia and Montenegro", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South Korea", "Spain", "Sri Lanka", "Sudan", "Suriname", "Svalbard and Jan Mayen Islands", "Swaziland", "Sweden", "Switzerland", "Syrian Arab Republic", "Taiwan", "Tajikistan", "Thailand", "The former Yugoslav Republic of Macedonia", "Togo", "Tokelau", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkey", "Turkmenistan", "Turks and Caicos Islands", "Tuvalu", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United Kingdom", "United Republic of Tanzania", "United States", "United States", "United States Virgin Islands", "Uruguay", "Uzbekistan", "Vanuatu", "Venezuela", "Viet Nam", "Wallis and Futuna Islands", "Western Sahara", "Yemen", "Yugoslavia", "Zambia", "Zimbabwe");

	doc = "<select name=\"country\"><option value=\"\">- Choose Your Country</option>";

	for (var i = 0; i < Country.length; i++) {
		doc += "<option value=\"" + Country[i] + "\">" + Country[i] + "</option>";
	}

	doc += "</select>";

	document.write(doc);
}

// ¹®ÀÇ»çÇ× Ã¼Å©
function checkInquiry(frm, lan) {
	/*
	if (!frm.name.value) {
		window.alert("Input Your Name");
		frm.name.focus();
		return false;
	} else if (!frm.addr.value) {
		window.alert("Input Your Address");
		frm.addr.focus();
		return false;
	} else if (/^[0-9]+$/.test(frm.tel1.value) == false) {
		window.alert("Input Your Telephone Number - First");
		frm.tel1.focus();
		return false;
	} else if (/^[0-9]+$/.test(frm.tel2.value) == false) {
		window.alert("Input Your Telephone Number - Second");
		frm.tel2.focus();
		return false;
	} else if (/^[0-9]+$/.test(frm.tel3.value) == false) {
		window.alert("Input Your Telephone Number - Third");
		frm.tel3.focus();
		return false;
	} else if (checkEmail(frm.email)) {
		window.alert("Input Your E-Mail Address");
		frm.email.value = "";
		frm.email.focus();
		return false;
	} else if (!frm.job.value) {
		window.alert("Input Your Profession");
		frm.job.focus();
		return false;
	} else if (!frm.body.value) {
		window.alert("Input Your Message");
		frm.body.focus();
		return false;
	}
	*/
	if (lan == "ENG") {
		if (!frm.country.value) {
			window.alert("Choose Your Country");
			return false;
		}
	}

	if (!frm.company.value) {
		window.alert("Input Your Company Name");
		frm.company.focus();
		return false;
	} else if (!frm.body.value) {
		window.alert("Input Your Message");
		frm.body.focus();
		return false;
	}
}
//  -->