/**
 * @author emanuelb
 */

	function ShowHintMsg(parentDivRow, input){

		var dynamic_hint_msg_id = 'dynamic_hint_msg';
		var msg = '';
		var DOMObj = document.createElement("b");

		DOMObj.setAttribute('id', dynamic_hint_msg_id);
		
		switch (input)
		{
			case 'username':
				msg = "Choose a username between 4 and 20 characters long. <span class='warning_color'>(Case sensitive)</span> Remember, other users of maleforce will see this so be imaginative!.";
				break;
			case 'email':
				msg = "Please enter your primary email address, we will send you an activation email containing a link which you must follow to activate your account.  You wont be able to log into Maleforce until you have activated your account. <span class='private warning_color'>This information will be hidden from other users.</span>";
				break;
			case 'email_disabled':
				msg = "For account security reasons it is not possible to change or edit your email address.<span class='private warning_color'>This information will be hidden from other users.</span>";
				break;
			case 'password':
				msg = "Enter a password between 4 and 20 characters long. <span class='private warning_color'>(Case sensitive)</span>";
				break;
			case 'password2':
				msg = "Please re-type your password exactly..";
				break;
			case 'current_password':
				msg = "In order to change your password you must first specify your current password.";
				break;
			case 'new_password':
				msg = "Enter a new password between 4 and 20 characters long. <span class='private warning_color'>(Case sensitive)</span>";
				break;
			case 'new_password2':
				msg = "Please re-type your new password exactly..";
				break;
			case 'birthday':
				msg = "Please enter your birth date. You must be 18 years or older to join Maleforce";
				break;
			case 'birthday_edit':
				msg = "Please enter your birth date. You must be 18 years or older to use Maleforce";
				break;
			case 'country':
				msg = "Choose your country, so that we can show other members where you are from.";
				break;
			case 'region':
				msg = "Select the region where you live. This will help us to find guys living in your region!";
				break;
			case 'zip':
				msg = "Enter the postcode of your home address. This will help us to find guys living in your area!  <span class='private warning_color'>This information will be hidden from other users.</span>";
				break;
			case 'shout':
				msg = "Type a SHOUT message that other Maleforce guys can see. Use your imagination, let the guys know what you are up to!";
				break;
			case 'into':
				msg = "Why are you here on maleforce? What are you looking for?";
				break;
			case 'security_code':
				msg = "Please enter the 5 digit security code shown in the black box.";
				break;			
			default:
				msg = "";
		}
		
		$(dynamic_hint_msg_id).style.display = 'none';
		
		//Remove hint msg id
		$(dynamic_hint_msg_id).parentNode.removeChild($(dynamic_hint_msg_id));
		
		//Add hint message
		DOMObj.innerHTML = msg;
		
		//Add hint msg id in input parent				
		parentDivRow.appendChild(DOMObj);
		
		$(dynamic_hint_msg_id).style.display = 'block';
	}
	
	function HideHintMsg(){
		var dynamic_hint_msg_id = 'dynamic_hint_msg';
		$(dynamic_hint_msg_id).style.display = 'none';
	}

