function CheckMultiple12(frm, name){
    for (var i = 0; i < frm.length; i++) {
        fldObj = frm.elements[i];
        fldId = fldObj.id;
        if (fldId) {
            var fieldnamecheck = fldObj.id.indexOf(name);
            if (fieldnamecheck != -1) {
                if (fldObj.checked) {
                    return true;
                }
            }
        }
    }
    return false;
}

function CheckForm12(f){
    if (f.email.value == "") {
        alert("Por favor, ingrese su direccion de e-mail.");
        f.email.focus();
        return false;
    }

    return true;
};

function CheckMultiple3(frm, name){
    for (var i = 0; i < frm.length; i++) {
        fldObj = frm.elements[i];
        fldId = fldObj.id;
        if (fldId) {
            var fieldnamecheck = fldObj.id.indexOf(name);
            if (fieldnamecheck != -1) {
                if (fldObj.checked) {
                    return true;
                }
            }
        }
    }
    return false;
}

function CheckForm3(f){
    if (f.email.value == "") {
        alert("Por favor,ingrese su direccion de email.");
        f.email.focus();
        return false;
    }
    if (f.format.selectedIndex == -1) {
        alert("Por favor,seleccione el formato en que recibira las novedades");
        f.format.focus();
        return false;
    }
    if (f.captcha.value == "") {
        alert("Por favor,ingrese el codigo de seguridad mostrado");
        f.captcha.focus();
        return false;
    }
    return true;
};

var SIDString='';function getRandomLetter(){return String.fromCharCode(getRandom(65,90));}function getRandom(lowerBound,upperBound){return Math.floor((upperBound-lowerBound+1)*Math.random()+lowerBound);}function SetSID(){if(SIDString.length>0){return SIDString;}sidc=0;while(sidc<32){SIDString=SIDString+getRandomLetter();sidc++;}return SIDString;}

