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 = '/tr/_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 = "Lütfen yıldız ile işaretlenmiş olan tüm alanları doldurun";
if (id==1) message = "Lüften e-posta adresinizi yazınız";
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
Çamlıca Mah., Anadolu Bulvarı No: 28/ 12–14
06200 Yenimahalle – Ankara
Turkey
Phone +90 312 387 1030
Fax +90 312 387 1084
E-mail deniz.guyer@knorr-bremse.com
www.knorr-bremse.com.tr
~deniz.guyer@knorr-bremse.com'); c('14144~Commercial Vehicles~Knorr-Bremse Ticari Araç Fren Sistemleri Ltd. Şti.
Business İstanbul
Merdivenköy Mah., Yumurtacı Abdi Bey Caddesi, Dikyol
Sokak, B blok, No:2/A, Kat: 9, No:906,
34732, Kadıköy – Istanbul
Turkey
Telefon +90 212 293 47 42
Fax +90 212 293 47 43
Emailinfo.turkey@knorr-bremse.com
www.knorr-bremse.com.tr
~deniz.guyer@knorr-bremse.com'); c('13888~Demiryolu hizmetleri~Telefon: +49 89 3547 182628
E-posta: RailServices@knorr-bremse.com
~RailServices@knorr-bremse.com'); c('13504~Basın posta listesi~Eva Doppler
Telefon: +49 89 3547 1498
E-posta: eva.doppler@knorr-bremse.com
Tel: +90 212 2934742
Fax: +90 212 2934743
e-mail: info.turkey@knorr-bremse.com
~info.turkey@knorr-bremse.com'); c('5568~Commitment~Tel: +49 89 3547 180022
Fax: +49 89 3547 2331
E-Mail: global.care@knorr-bremse.com
Lütfen yukarıdaki menüden iletişim kurmak istediğiniz birimi seçiniz:
Knorr-Bremse Ticari Araç Fren Sistemleri Ltd. Şti.
Business İstanbul
Merdivenköy Mah., Yumurtacı Abdi Bey Caddesi, Dikyol
Sokak, B blok, No:2/A, Kat: 9, No:906,
34732, Kadıköy – Istanbul
Turkey
Phone +90 216 514 63 99
Fax +90 216 514 63 98
E-mail info.turkey@knorr-bremse.com
www.knorr-bremse.com.tr
Knorr Bremse Raylı Sistemler Sanayi ve Ticaret Ltd.Şti.
Çamlıca Mah. Anadolu Bulvarı No: 28/ 12–14
06200 Yenimahalle/Ankara
Turkey
Phone +90 312 387 1030
Fax +90 312 387 10 84
E-mail deniz.guyer@knorr-bremse.com
www.knorr-bremse.com.tr
~info.turkey@knorr-bremse.com'); c('5507~Satın alma~Tel: +49 89 3547 1233
Fax: +49 89 3547 2210
E-Mail: purchasing.group@knorr-bremse.com
Tel.: +49 89 3547 2657
E-Posta:sales.sfs@knorr-bremse.com
~sales.sfs@knorr-bremse.com'); c('5505~Corporate Responsibility~Tel: +49 89 3547 1252
Fax: +49 89 3547 2331
E-Posta: cr@knorr-bremse.com