/* Do not remove this code. */
function reloadImg3964040000047879003() {
var captcha = document.getElementById('imgid3964040000047879003');
if(captcha.src.indexOf('&d') !== -1 ) {
captcha.src = captcha.src.substring(0, captcha.src.indexOf('&d'))+'&d'+new Date().getTime();
}else{
captcha.src = captcha.src+'&d'+new Date().getTime();
}
}
function validateEmail3964040000047879003()
{
var form = document.forms['WebToLeads3964040000047879003'];
var emailFld = form.querySelectorAll('[ftype=email]');
var i;
for (i = 0; i < emailFld.length; i++)
{
var emailVal = emailFld[i].value;
if((emailVal.replace(/^\s+|\s+$/g, '')).length!=0 )
{
var atpos=emailVal.indexOf('@');
var dotpos=emailVal.lastIndexOf('.');
if (atpos<1 || dotpos
{
alert('Please enter a valid email address. ');
emailFld[i].focus();
return false;
}
}
}
return true;
}
function checkMandatory3964040000047879003() {
var mndFileds = new Array('Company','First Name','Last Name','Email','Phone','Country','Description');
var fldLangVal = new Array('Company\x20name','First\x20Name','Last\x20Name','\x28Company\x29\x20Email\x20address','Phone','Country\x20\x2F\x20Area','Please\x20enter\x20your\x20inquiry\x20here');
for(i=0;i