 // check multi checkboxes based on the name passed in.
                        function CheckMultiple(name) 
                        {
                            theFrm = document.frmSS;
                            for (var i=0; i < theFrm.length; i++) 
                            {
                                fldObj = theFrm.elements[i];
                                var fieldnamecheck=fldObj.name.indexOf(name);
                                if (fieldnamecheck != -1) {
                                    if (fldObj.checked) {
                                        return true;
                                    }
                                }
                            }
                            return false;
                        }
        
        
                        function CheckSS()
                        {
                            theFrm = document.frmSS;
        
                            hasDot = theFrm.Email.value.indexOf(".");
                            hasAt = theFrm.Email.value.indexOf("@");
                            
                            if (hasDot == -1 || hasAt == -1)
                            {
                                alert("Inserisci un indirizzo E-Mail valido.");
                                theFrm.Email.focus();
                                theFrm.Email.select();
                                return false;
                            }
        
                            
                            return true;
                        }
