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 = '/es/_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 = "Por favor, complete los campos marcados con asterisco";
if (id==1) message = "Por favor, complete con un e-mail válido ";
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
Rail Services - Departamento de Ventas
Tfno. +34 91 145 94 00
Fax: + 34 91 149 94 44
E-Mail: am.frenos@knorr-bremse.com
~am.frenos@knorr-bremse.com'); c('14208~Distribución de prensa~Lucía Rivas
Phone: +34 91 145 94 00
E-mail: lucia.rivas@knorr-bremse.com
~dpto.marketing@knorr-bremse.com'); c('12096~General~Por favor, seleccione en la lista desplegable el área al que quiere enviar su consulta.
Para consultas relativas a Vehículos Industriales (camiones, etc.) por favor, seleccione la opción Vehículos Industriales
~infofrenos@knorr-bremse.com'); c('3520~Consultas Vehículos Industriales (camiones, etc.)~Knorr-Bremse Ibérica, S.L.U.
Parque Empresarial de San Fernando
Edificio FRANCIA. Planta 2°. Escalera B
28830 San Fernando de Henares
Spain
Tfno.+34 902 100 571
Fax: +34 918 781 371
~aingeru.zubiria@knorr-bremse.com'); c('2368~Comunicaciones Corporativas~Tel: +49 89 3547 1498
Fax: +49 89 3547 1403
e-Mail: presse@knorr-bremse.com
Knorr-Bremse AG
Moosacher Strasse 80
80809 Munich
Alemania
~presse@knorr-bremse.com'); c('2304~Puertas de Andén Westinghouse~Knorr-Bremse España, S.A.
Puertas de Andén Westinghouse
C/ Miguel Faraday, 1
Parque Empresarial "La Carpetania"
28906 Getafe (Madrid)
España
Tfno. +34 91 145 94 00
Fax: + 34 91 149 94 44
~wpsdib@knorr-bremse.com'); c('2240~Puertas IFE~IFE Ibérica
C/ Miguel Faraday, 1
Parque Empresarial "La Carpetania"
28906 Getafe (Madrid)
España
Tfno. +34 91 145 94 00
Fax: + 34 91 149 94 44
~ifepuertas@knorr-bremse.com '); c('1669~Documentación producto~Knorr-Bremse España, S.A.
Departamento de Documentación
Tfno. +34 91 145 94 00
Fax: +34 91 149 94 44
~Documentacion.producto@knorr-bremse.com'); c('1668~Información General & Marketing~Knorr-Bremse España, S.A.
Parque Empresarial "La Carpetania"
C/ Miguel Faraday, 1
28906 Getafe (Madrid)
****************
Consultas Vehículos INDUSTRIALES (camiones,etc.):
Tel. +34 902 100 569
****************
Consultas Vehículos FERROVIARIOS:
Tel. +34 91 145 94 00
****************
~dpto.marketing@knorr-bremse.com'); c('1667~Rail Services ~Knorr-Bremse España, S.A.
Rail Services - Departamento de Ventas
Tfno. +34 91 145 94 00
Fax: +34 91 149 94 44
E-mail: am.frenos@knorr-bremse.com
~am.frenos@knorr-bremse.com'); c('1666~Preguntas técnicas~Knorr-Bremse España, S.A.
Departamento Técnico
Tfno. +34 91 145 94 00
Fax: +34 91 149 94 44
~preguntastecnicas.frenos@knorr-bremse.com'); c('1665~Ventas y Proyectos ~Knorr-Bremse España, S.A.
Dpto. de Ventas y Proyectos
Tfno. +34 91 145 94 00
Fax: +34 91 149 94 44
~ventasoe@knorr-bremse.com'); c('1664~Compras~Knorr-Bremse España, S.A.
Purchasing Department
Vehículos Ferroviarios:
Tfno. +34 91 145 94 00
Fax: +34 91 149 94 44
Vehiculos INDUSTRIALES:
Tfno. +34 902100569
e-mail: Aingeru.Zubiria@Knorr-Bremse.com
~dpto.marketing@knorr-bremse.com'); c('1600~Recursos Humanos ~Knorr-Bremse España, S.A.
Dpto. Recursos Humanos
Tfno. +34 91 145 94 00
Fax: +34 91 149 94 44
~rrhh@knorr-bremse.com'); c('1536~Finanzas~Knorr-Bremse España, S.A.
Dpto. Financiero
Tfno. +34 91 145 94 00
Fax: +34 91 149 94 44
~financiero@knorr-bremse.com');