var warning = ""; function checkForm() { if (checkFields()) { for (i=0; i < document.your_contact_form.elements.length; i++) { if (document.your_contact_form.elements[i].value == 0) document.your_contact_form.elements[i].disabled=true; } document.your_contact_form.action = '/ko/_meta/contact/confirmcontact.jsp'; document.your_contact_form.submit(); return false; } return false; } function checkFields(){ var check = true; if (!checkPhoneEmail()) check = false; if (!checkSurname()) check = false; if (!checkFirstname()) check = false; if (!checkMessage()) check = false; if (!check) alert(warning); return check; } function showWarning(elem,id) { var message = "필수 항목"; if (id==1) message = "유효한 E-mail 주소 작성"; document.getElementsByName(elem)[0].style.border = "1px solid red"; //alert(message); warning = message; return false; } function checkFirstname(){ if (document.your_contact_form.firstname.value.length < 2) { showWarning("firstname",0); document.your_contact_form.firstname.focus(); return false; } else return true; } function checkSurname(){ if (document.your_contact_form.surname.value.length < 2) { showWarning("surname",0); document.your_contact_form.surname.focus(); return false; } else return true; } function checkMessage(){ if (document.your_contact_form.message.value.length < 2) { showWarning("message",0); document.your_contact_form.message.focus(); return false; } else return true; } function checkPhoneEmail(){ var chkPhone = true; var chkEmail = true; var isAdress = true; unBorder(document.your_contact_form.phone); unBorder(document.your_contact_form.email); // ### check phone ### if (document.your_contact_form.phone.value.length < 2) chkPhone = false; // ### check email ### if (document.your_contact_form.email.value.length < 2) chkEmail = false; else if ((document.your_contact_form.email.value.indexOf('@') == -1) || (document.your_contact_form.email.value.indexOf('.') == -1)) isAdress = false; if (!chkEmail && !chkPhone){ // ### both fields empty ### showWarning("phone",0); showWarning("email",0); document.your_contact_form.email.focus(); return false; } else if (chkEmail && !isAdress){ // ### wrong address format ### showWarning("email",1); document.your_contact_form.email.focus(); return false; } else return true; } function unBorder (obj) { obj.style.border = '0'; // if( (navigator.appName == "Microsoft Internet Explorer" ) && (parseInt(navigator.appVersion) < 7) ) obj.style.borderLeft = "1px solid #cacacb"; // if ((navigator.userAgent.indexOf('MSIE 6')!=-1) && (obj.tagName.toLowerCase()=='input')) obj.style.borderLeft = '1px solid #cacacb'; if (((navigator.userAgent.indexOf('MSIE 6')!=-1)||(navigator.userAgent.indexOf('MSIE 7')!=-1))&&(obj.tagName.toLowerCase()=='input')) { obj.style.borderLeft = '1px solid #cacacb'; } if ((navigator.userAgent.indexOf('MSIE 7')!=-1)&&(obj.tagName.toLowerCase()=='textarea')) { obj.style.borderTop = '1px solid #cacacb'; obj.style.borderBottom = '1px solid #cacacb'; obj.style.borderLeft = '1px solid #cacacb'; } return false } function showContactAddress (cid) { for(i=0;i전화 +49 89 3547 182628

E-메일 RailServices@knorr-bremse.com

~RailServices@knorr-bremse.com'); c('13312~배포 목록~

Eva Doppler
전화 +49 89 3547 1498
E-메일 eva.doppler@knorr-bremse.com

~presse@knorr-bremse.com'); c('3974~기업 커뮤니케이션~

Tel: +852 3657 9889
Fax: +852 3657 9990
E-Mail: corporate.communications.ap@ knorr-bremse.com

~corporate.communications.ap@knorr-bremse.com'); c('3973~구매~

Tel: +82 2 22805512

E-Mail: korea@knorr-bremse.com

~korea@knorr-bremse.com '); c('3972~철도차량 판매~

Tel: +82 2 22805512

E-Mail: korea@knorr-bremse.com

~korea@knorr-bremse.com '); c('3971~상용차 판매~

Tel: +82 2 22805570

E-Mail: korea@knorr-bremse.com

~korea@knorr-bremse.com '); c('3970~채용정보~

Tel: +82 2 22805512

E-Mail: HR.Korea@knorr-bremse.com

~HR.Korea@knorr-bremse.com '); c('3969~사회적 책임~

Tel: +49 89 3547 1252

Fax: +49 89 3547 2331

E-Mail: csr@knorr-bremse.com

~csr@knorr-bremse.com'); c('3968~후원사업~

Tel: +49 89 3547 180022

Fax: +49 89 3547 2331

E-Mail: global.care@knorr-bremse.com

~global.care@knorr-bremse.com'); c('0~Knorr-Bremse 일반사항~

Tel: +49 89 3547 0

Fax: +49 89 3547 2767

E-Mail: info@knorr-bremse.com

~info@knorr-bremse.com');