function alertWebActionStatus(status){
	this.status = status;
}
alertWebActionStatus.doAlert=function(){
	if(this.status=='201'){
		alert('帳號或密碼錯誤！');
	}
	else if(this.status=='2011'){
		alert('The Member ID or password is incorrect. Please try again!');
	}
	else if(this.status=='202'){
		alert('系統錯誤！');
	}
	else if(this.status=='203'){
		alert('認證碼輸入錯誤！');
	}
	//register
	else if(this.status=='301'){
		alert('這帳號已經有其他人使用！');
	}
	else if(this.status=='3011'){
		alert('請輸入帳號！');
	}
	else if(this.status=='3012'){
		alert('請輸入暱稱！');
	}
	else if(this.status=='3013'){
		alert('請輸入Email！');
	}
	else if(this.status=='30131'){
		alert("請輸入正確的Email格式！");
	}
	else if(this.status=='3014'){
		alert('請輸入密碼！');
	}
	else if(this.status=='30141'){
		alert("兩密碼要相同！");
	}
	else if(this.status=='3015'){
		alert('請輸入再確認密碼！');
	}
	else if(this.status=='3014'){
		alert('請輸入密碼！');
	}
	else if(this.status=='3016'){
		alert('請輸入認證碼！');
	}
	else if(this.status=='302'){
		alert('您的註冊資料已經完整收到，請至您註冊的信箱收取【註冊確認信】，並點選連結啟用您的帳號.');
	}
	else if(this.status=='3021'){//English
		alert('Your registration is well received. An activation email should be in the email box you provide on the registration form in a few minutes. Please click on the link to activate your account.');
	}
	else if(this.status=='303'){
		alert('歡迎光臨，您已成功啟用DLJ帳戶！');
	}
	else if(this.status=='3031'){
		alert('Welcome to DLJjewelry.com!Your account has been activated.');
	}
	else if(this.status=='304'){
		alert('抱歉！您啟用DLJ帳戶發生錯誤，請再次確認啟用網址是否正確，若有任何疑問請洽管理員！');
	}
	else if(this.status=='3041'){
		alert('Sorry, an error occurred when activating your account. Please contact Customer Service.');
	}
	
	else if(this.status=='501'){
		alert('並無此帳號！');
	}
	else if(this.status=='502'){
		alert('已將密碼寄至您註冊之信箱！');
	}
	else if(this.status=='503'){
		alert('請先登入！');
	}
	else if(this.status=='504'){
		alert('抱歉！您尚未啟用帳戶，請先由確認信中啟用帳戶。');
	}
	else if(this.status=='5041'){
		alert('Sorry! You did not activate your account. Please activate your account by following the link sent to your email.');
	}
	else if(this.status=='601'){
		alert('您已登出，歡迎再次光臨！');
	}
}

