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 = '/fr/_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 = "Merci de saisir une adresse électronique valable";
if (id==1) message = "Merci de saisir une adresse électronique valable.";
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
Knorr-Bremse Systèmes pour Véhicules Utilitaires France S.A.
Pôle d'Activités de l'Espérance
70, Chemin de Beaufils
BP 34178
Glos
14104 Lisieux Cedex
France
Tél: +33 2 3132 1200
Fax: +33 2 3132 1303
Courriel: commercial@knorr-bremse.com
Knorr-Bremse Systèmes Ferroviaires France S.A.
9 route de Champigny
CS 10038
51430 Tinqueux
France
Tél: +33 3 2689 9500
Courriel: contact.kbsf@knorr-bremse.com
Tel.: +49 89 3547 182363
E-Mail: RailServices@knorr-bremse.com
~RailServices@knorr-bremse.com'); c('14336~Distributeur de presse~Eva Doppler
Tel.: +49 89 3547 1498
E-Mail: eva.doppler@knorr-bremse.com
9, Route de Champigny
CS 10038
51430 Tinqueux
France
Tél: +33 3 2689 9500
Courriel: contact.kbsf@knorr-bremse.com
~contact.kbsf@knorr-bremse.com'); c('5824~Knorr-Bremse Systèmes pour Véhicules Utilitaires France S.A.~Knorr-Bremse Systèmes pour Véhicules Utilitaires France S.A.
Pôle d'Activités de l'Espérance
70, Chemin de Beaufils
BP 34178
Glos
14104 Lisieux Cedex
France
Tél: +33 2 3132 1200
Fax: +33 2 3132 1303
Courriel: commercial@knorr-bremse.com
Knorr-Bremse Systèmes pour Véhicules Utilitaires France S.A.
Pôle d'Activités de l'Espérance
70, Chemin de Beaufils
BP 34178
Glos
14104 Lisieux Cedex
France
Tél: +33 2 3132 1200
Fax: +33 2 3132 1303
Courriel: commercial@knorr-bremse.com
Tel: +49 89 3547 1233
Fax: +49 89 3547 2210
Courriel: purchasing.group@knorr-bremse.com
Tél: +49 89 3547 1252
Fax: +49 89 3547 2331
Courriel: csr@knorr-bremse.com
Tél: +49 89 3547 180022
Fax: +49 89 3547 2331
Courriel: global.care@knorr-bremse.com