$j(document).ready(function(){
	$j("#home-login input").each(function(){
		if ($j(this).attr("name") == "email_address"){
			$j(this).css("color", "#92938e").val("Your email address").bind("click focus", function(e){
				$j(this).val("").css("color", "#000000").unbind("click focus");
			});
		}
		if ($j(this).attr("name") == "password") {
			$j(this).replaceWith('<input type="text" maxlength="50" size="15" id="password" name="password" value="Your password" style="color:#92938e;" />');
		}
	});
	$j("#password").bind("click", function(){ 
		$j(this).replaceWith('<input type="password" maxlength="50" size="15" id="password" name="password" value="" style="color:#000000;" />');
		$j(this).unbind("click");
		$j("#password").focus();
	});
	$j("#password").bind("focus", function(){
		$j(this).replaceWith('<input type="password" maxlength="50" size="15" id="password" name="password" value="" style="color:#000000;" />');
		$j(this).unbind("focus");
		$j("#password").focus();
	})
	$j("#left input").each(function(){
		if ($j(this).attr("name") == "signup_email_address") {
			if ($j(this).val() == "") {
				$j(this).val("enter your email address here");
			}
			if ($j(this).val() == "enter your email address here") {
				$j(this).css("color", "#92938e");
			}
			$j(this).bind("click focus", function(){
				$j(this).val("").css("color", "#000000");
			});
		}
		if ($j(this).attr("name") == "recaptcha_response_field") {
			if ($j(this).val() == "") {
				$j(this).val("enter the above words in here");
			}
			if ($j(this).val() == "enter the above words in here") {
				$j(this).css("color", "#92938e");
			}
			$j(this).bind("click focus", function(){
				$j(this).val("").css("color", "#000000");
			});
		}
	});
	$j("#signup-form").bind("submit", function(){
		$j("#left > input").each(function(){
			if ($j(this).attr("name") == "signup_email_address") {
				if ($j(this).val() == "enter your email address here") {
					$j(this).val("");
				}
			}
			if ($j(this).attr("name") == "recaptcha_response_field") {
				if ($j(this).val() == "enter the above words in here") {
					$j(this).val("");
				}
			}
		});
	});
});