function SRCNOW(){
if (document.form1.drop_SRC1.value != 0){
document.form1.HdnFnc.value = 1;
document.form1.submit();
}
else{
document.form1.drop_SRC1.focus();
}
}
function SUBSCRIBE(){
if (checkInputData('news_name') == true){
document.form1.news_name.style.background="#E1E2E6";
document.form1.news_name.style.color="#748F98";
if (checkInputData('news_lastname') == true){
if (checkMail('news_email') == true){
document.form1.HdnFnc.value = 2;
document.form1.submit();
}
else{
document.form1.news_email.style.color="#FFFFFF";
document.form1.news_email.style.background="#BE004A";
document.form1.news_email.value = "@";
document.form1.news_email.focus();
}
}
else{
document.form1.news_lastname.style.color="#FFFFFF";
document.form1.news_lastname.style.background="#BE004A";
document.form1.news_lastname.focus();
}
}
else{
document.form1.news_name.style.color="#FFFFFF";
document.form1.news_name.style.background="#BE004A";
document.form1.news_name.focus();
}
}
function checkMail(InputData){
Mail = document.form1[InputData].value;
var mailRet = false;
	Filtro = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-]{2,})+\.)+([a-zA-Z0-9]{2,})+$/;
  	if (Filtro.test(Mail)){
	mailRet = true;}
return mailRet;}
function checkInputData(InputName){
strData = document.form1[InputName].value;
strData.test = /\w/;
if (strData != false || strData != ""){
bTrue = true;
}
else{
bTrue = false;
}
return bTrue;}
