function resizeText(multiplier) {   
  if (multiplier== "1") {   
    document.body.style.fontSize = "1.0em";   
  } 
  
  else if (multiplier== "2") {   
    document.body.style.fontSize = "1.2em";   
  }  
  
   else if (multiplier == "3") {   
    document.body.style.fontSize = "1.3em";   
  }     '#'
  
}

function pwdStrength(password)
{        
        var strength   = 0;
        if (password.length > 4) strength++;  
        if (password.length > 7) strength++;
        if (password.length > 9) strength++;
        if ( ( password.match(/[a-z]/) ) && ( password.match(/[A-Z]/) ) ) strength++;
        if ( ( password.match(/[a-z]+/) ) && ( password.match(/[A-Z]+/) ) ) strength++;
        if (password.match(/\d/)) strength++;
        if (password.match(/\d+/)) strength++;
        if ( password.match(/.[!,@,#,$,%,^,&,*,?,_,~,-,(,)]/) ) strength++;
        if ( password.match(/.[!,@,#,$,%,^,&,*,?,_,~,-,(,)]+/) ) strength++;

        $('#pwdesc0').css("display" ,"none");
        $('#pwdesc1').css("display", "none");
        $('#pwdesc2').css("display", "none");
        $('#pwdesc3').css("display", "none");
        $('#pwdesc4').css("display", "none");
        $('#pwdesc5').css("display", "none");
        $('#pwdesc6').css("display", "none");
        $('#pwdesc7').css("display", "none");
        $('#pwdesc8').css("display", "none");
        $('#pwdesc9').css("display", "none");

        $('#pwdesc' + strength).css("display", "block");
      
}

function selectAllContacts() {
    var $inputs = $('#contacts :input');
    var values = {};
    $inputs.each(function() {
        $(this).is(':checked') = true;
    });
}




