var ERRORS = {
	show: function(error){
		var msg = '';
		switch(error){
			
			/* signup */
			case '-1':
				msg = 'Ooops...the access code appears to be incorrect. please try again.';
				alert(msg);
			break;
			case '-2':
				msg = 'Ooops...username already exists. please try again.';
				alert(msg);
			break;
			case '-3':
				msg = 'Ooops...email appears to have an invalid format. please try again.';
				alert(msg);
			break;
			case '-4':
				msg = 'Ooops...your email address already exists in our system. \n\nIt must be unique to register. \n\nplease try again.';
				alert(msg);
			break;
			case '-5':
				msg = 'Ooops...You must be at least 13 years of age to register. please try again.';
				alert(msg);
			break;
			case '-6':
				msg = 'Ooops...Your password must match your confirmation password. please try again.';
				alert(msg);
			break;
			case '-7':
				msg = 'Ooops...No email found in our database. please try again.';
				alert(msg);
			break;
			case '-8':
				msg = 'Ooops...username cannot contain spaces, semicolons, double-quotes, or apostrophes. \n\nplease correct it and try again.';
				alert(msg);
			break;
			case '-9':
				msg = 'Ooops...twitter username and password seem incorrect. \n\nplease correct it and try again.';
				alert(msg);
			break;
			case '-10':
				msg = 'Ooops...your tweet is empty. please try again.';
				alert(msg);
			break;
			/* signup */
			
			
			/* login */
			case '-11':
				msg = 'Ooops...username not found. please check the spelling and try again.';
				alert(msg);
			break;
			case '-12':
				msg = 'Ooops...your account is currently disabled. please contact our technical support for further assistance.';
				alert(msg);
			break;
			case '-13':
				msg = 'Ooops...password specified appears to be incorrect. please check the password and try again.';
				alert(msg);
			break;
			case '-14':
				msg = 'Ooops...You must be logged in to use this feature. please login.';
				alert(msg);
			break;
			/* login */
			
			
			/* activation */
			case '-31':
				msg = 'Ooops...account validation code incorrect. please try again.';
				alert(msg);
			break;
			case '-32':
				msg = 'Ooops...you must be logged in to perform this task. please try again.';
				alert(msg);
			break;
			case '-33':
				msg = 'Ooops...no such user exists. please try again.';
				alert(msg);
			break;
			case '-34':
				msg = 'Ooops...account validation code appears to be incorrect. please try again.';
				alert(msg);
			break;
			case '-35':
				msg = 'Ooops...email cannot be empty.';
				alert(msg);
			break;
			case '-36':
				msg = 'Ooops...no email selected.';
				alert(msg);
			break;
			case '-37':
				msg = 'Ooops...subject cannot be empty.';
				alert(msg);
			break;
			case '-38':
				msg = 'Ooops...body cannot be empty.';
				alert(msg);
			break;
			/* activation */
			
			
			/* spam */
			case '-101':
				msg = 'Ooops...an error has occured. please try again.';
				alert(msg);
			break;
			case '-102':
				msg = 'Ooops...no comment was selected. please try again.';
				alert(msg);
			break;
			case '-103':
				msg = 'Ooops...no site was selected. please try again.';
				alert(msg);
			break;
			case '-104':
				msg = 'Ooops...no user was selected. please try again.';
				alert(msg);
			break;
			/* spam */
			
			/* shopping */
			case '-201':
				msg = 'please enter name.';
				alert(msg);
			break;
			case '-202':
				msg = 'please enter address.';
				alert(msg);
			break;
			case '-203':
				msg = 'please enter city.';
				alert(msg);
			break;
			case '-204':
				msg = 'please select state.';
				alert(msg);
			break;
			case '-205':
				msg = 'please enter zipcode.';
				alert(msg);
			break;
			case '-206':
				msg = 'shopping cart empty.';
				alert(msg);
			break;
			/* shopping */
			
			
			case '-995':
				msg = 'Ooops....you do not have permissions to access this part of the site!'; /* no permissions */
				alert(msg);
			break;
			case '-996':
				msg = 'Ooops....an unknown error has occured while processing your request. \n\nPlease refresh your page and try again.'; /* session.captcha_hash error */
				alert(msg);
			break;
			case '-997':
				msg = 'Ooops...we apologize, but this feature is currently being updated. \n\nPlease check back later.'; /* under construction */
				alert(msg);
			break;
			case '-998':
				msg = 'Ooops...you cannot use this feature on your own profile.'; /* self profile */
				alert(msg);
			break;
			case '-999':
				msg = 'Ooops...email not found. please check the spelling and try again.'; /* forgot email */
				alert(msg);
			break;
			case '-1000':
				msg = 'Ooops....an error has occured while trying to contact the server.'; /* server errors */
				alert(msg);
			break;
			
			//if text message is passed, show
			default:
				alert(error);
			break;
		}
		return false;
	}
}
