$('.accountLogin,#hwAccountLinkDiv').click(function(){
	$('#QRLoginDiv,#email').addClass('ng-hide');
	$('#phone,#iamCheckArea').removeClass('ng-hide');
	$('.accountLogin div').addClass('selectedType');
	$('.QRLogin div').removeClass('selectedType');
});
$('#IAMLinkDiv,#IAMLinkDi').click(function(){
	$('#phone,#iamCheckArea').addClass('ng-hide');
	$('#email').removeClass('ng-hide');
	$('.QRLogin div').addClass('selectedType');
	$('.accountLogin div').removeClass('selectedType');
});
$('#languageSwitch').click(function(_0x263605){
	_0x263605.stopPropagation();
	$('#loginPageLanguages').slideToggle();
});
$(document).click(function(){
	$('#loginPageLanguages').hide();
});
$('.pwdShowimg').click(function(){
	if($('#phonePwdInp').attr('type')=='password'){
		$('#phonePwdInp').attr('type','text');
		$('.pwdShowimg').addClass('iam-icon-action-state-visible');
		$('.pwdShowimg').removeClass('iam-icon-action-state-invisible');
	}else{
		$('#phonePwdInp').attr('type','password');
		$('.pwdShowimg').removeClass('iam-icon-action-state-visible');
		$('.pwdShowimg').addClass('iam-icon-action-state-invisible');
	}
});
$('#phoneInp,#phonePwdInp,#phoneCodeInp').keyup(function(){
	if(($('#phoneInp').val().length>0)&&($('#phonePwdInp').val().length>0)||($('#phoneInp').val().length>0)&&($('#phoneCodeInp').val().length>0)){
		$('#button .zdbtn').removeClass('loginBtnDisabled ng-hide');
		$('#button .zdbt').addClass('ng-hide');
		return false;
	}else{
		$('#button .zdbtn').addClass('loginBtnDisabled ng-hide');
		$('#button .zdbt').removeClass('ng-hide');
		return false;
	}
});
$('#emailInp,#emailPwdInp').keyup(function(){
	if(($('#emailInp').val().length>0)&&($('#emailPwdInp').val().length>0)){
		$('#buttonArea .zdbtn').removeClass('loginBtnDisabled ng-hide');
		$('#buttonArea .zdbt').addClass('ng-hide');
		return false;
	}else{
		$('#buttonArea .zdbtn').addClass('loginBtnDisabled ng-hide');
		$('#buttonArea .zdbt').removeClass('ng-hide');
		return false;
	}
});