//
var global_lang = {
	domain: 'http://www.qms.com/',
	copy_msg: "Please press Ctrl+V to paste"
};

var user_lang = {
	loading_str: 'loading...',
	str1: 'Are you sure to delete the users?',
	str2: 'The users is deleted successfully!',
	str3: 'Failed to delete the user!',
	str4: 'Name cannot be empty!',
	str5: 'Failed to update the information!',
	str6: 'The information is updated successfully!',
	str7: 'Password is modified successfully!',
	str8: 'Failed to modify password!',
	str9: 'Modification failed!',
	str10: 'The password cannot be empty!',
	str11: 'Password should contain 6 to 32 characters!',
	str12: 'Incorrect confirmation password!',
	str13: 'System will deliver e-mail automatically with random password.',
	str14: 'User is modified successfully!',
	str15: 'Failed to modify user!',
	str16: 'User Group name cannot contain more than 40 characters!',
	str17: 'Failed to add user group!',
	str18: 'Are you sure to remove the user from this user group?',
	str19: 'Are you sure to delete this group?',
	str20: 'Failed to delete user group!',
	str21: 'Are you sure to set the limitation to the registed e-mail address:',
	str22: 'Organization name cannot be empty!',
	str23: 'Organization URL cannot be empty!',
	str24: 'Organization URL cannot contain more than 20 characters!',
	str25: 'Account information is set successfully!',
	str26: 'Failed to set account information!',
	str27: 'You need to select notification.',
	str28: 'Save the settings?',
	str29: 'Set successfully!',
	str30: 'System error, please try again.',
	str31: 'Are you sure to delete this banner?',
	str32: 'Please select the banner image you want to upload.',
	str33: 'Failed to remove users!',
	str34: 'The registered e-mail address cannot be empty!',
	str35: 'is an invalid e-mail address.',
	str36: 'Successful to register users!',
	str37: 'Successful to set timezone!',
	str38: 'Failed to set timezone!',
	str39: 'You can click here to create new user group',
	str40: 'Upload Success!',
	str41: 'Upload Fail!',
	str42: 'Remove Success!',
	str43: 'Remove Fail!',
	str44: 'Input content cannot be blank.',
	str45: 'Organization description should contain less than 1000 characters.',
	str46: 'Please select user first.',
	str47: 'Supported file formats: ',
	str48: 'Are you sure to upgrade your account?',
	str49: 'Your QMS account has been renewed successfully!',
	str50: 'Input content cannot be blank.',
	str51: 'check your input',
	str52: 'Are you sure to move the select users to this group?',
	str53: 'Move select user to this group successfully.',
	str54: 'Fail to move select user to this group.',
	str55: 'Are you sure to add the select users to this group?',
	str56: 'Add select users to this group successfully.',
	str57: 'E-mail template is set successfully.',
	str58: 'Failed to set E-mail template.'
};

var account_lang = {
	err_str1: 'Failed to refresh verification code, please refresh the page.',
	err_str2: 'Incorrect verification code!',
	err_str3: 'Empty e-mail address!',
	err_str4: 'Invalid e-mail address!',
	err_str5: 'Empty name!',
	err_str6: 'Name cannot contain more than 30 characters!',
	err_str7: 'Empty password!',
	err_str8: 'Password should contain 6 to 32 characters.',
	err_str9: 'Passwords do not match!',
	err_str10: 'Empty Organization URL!',
	err_str11: 'Organization URL cannot contain more than 20 characters!',
	err_str12: 'Empty Organization name!',
	err_str13: 'Your registration information is incomplete, and the reason is:<br />',
	err_str14: 'Empty Organization URL!',
	err_str15: 'Organization URL cannot contain more than 20 characters.',
	err_str16: 'First name cannot contain more than 30 characters.',
	err_str17: 'Last name cannot contain more than 30 characters.',
	suc_str1: 'Correct verification code.',
	suc_str2: 'Valid first name.',
	suc_str3: 'Valid last name.',
	suc_str4: 'Valid password.',
	suc_str5: 'Correct confirmation password.',
	suc_str6: 'Valid Organization name.',
	str1: 'Please enter verification code with four characters.',
	str2: 'The e-mail address can be registered.',
	str3: 'Valid Organization URL codes.',
	str4: 'Please enter your Organization URL.',
	str5: 'Please enter your e-mail address.',
	str6: 'Please enter your first name.',
	str7: 'Please enter your last name.',
	str8: 'Password can contain letters, numbers and underlines.',
	str9: 'Please enter your confirmation password.',
	str10: 'Please enter your organization name.',
	str11: 'Please enter your password.',
	str12: 'Please enter valid e-mail address.',
	str13: 'First name should contain less than 30 characters.',
	str14: 'Last name should contain less than 30 characters.',
	str15: 'Password should contain 6 to 32 characters,space is not available.',
	str16: 'The organization URL should not be more than 20 characters.',
	str17: 'Please enter your organization name.'
};

var quiz_lang = {
	err_str1: 'System error, please try again.',
	err_str2: 'You have not filled valid date!',
	err_str3: 'Invalid End time, please select again.',
	err_str4: 'System error, please try again.',
	err_str5: 'There is no any change to the users!',
	err_str6: 'Failed to add e-mail to the delivery queue. Please try again.',
	err_str7: 'Sorry, to email cannot be empty.',
	
	cfm_str1: 'Delete this quiz?',
	cfm_str2: 'Save the information?',
	cfm_str3: 'You have not selected any recipient.',
	cfm_str4: 'You have not selected any user!',
	cfm_str5: 'You have not entered subject for the e-mail!',
	cfm_str6: 'You have not entered content for the e-mail!',
	cfm_str7: 'Please select quiz first!',
	
	suc_str1: 'The information has been updated successfully!',
	suc_str2: 'Email has been delivered successfully!'
};

var report_lang = {
	err_str1: 'You have not selected any user!',
	err_str2: 'Click to display or hide search details.',
	err_str3: 'System Error!',
	err_str4: 'System error! Fail to delete records.',
	msg_str1: 'Are you sure to delete the answer record?',
	msg_str2: 'Please select first!',
	msg_str3: 'Please select user',
	msg_str4: 'You cannot issue certificate to an anonymous user.'
	
};

var cert_lang = {
	err_str1: 'You have not selected any recipient!',
	err_str2: 'Certificate has not been uploaded. You cannot send e-mail.\n',
	
	string1: 'Your template has not been saved.Are you sure to cancel the modification? ',
	string2: 'Are you sure to delete this template?',
	
	msg_str1: 'You can click here to create new template.'
};

//  My97DatePicker
var datePicker_lang={
	errAlertMsg: "Invalid date or the date out of range,redo or not?",
	aWeekStr: ["wk", "S", "M", "T", "W", "T", "F", "S"],
	//aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
	aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
	clearStr: "Clear",
	todayStr: "Today",
	okStr: "OK",
	updateStr: "OK",
	timeStr: "Time",
	quickStr: "Quick Selection",
	err_1: 'MinDate Cannot be bigger than MaxDate!'
};
var langList = 
[
	{name:'en',		charset:'UTF-8'},
	{name:'zh-cn',	charset:'gb2312'},
	{name:'zh-tw',	charset:'GBK'}
];

var skinList = 
[
	{name:'default',	charset:'gb2312'},
	{name:'whyGreen',	charset:'gb2312'}
];