function check(orderForm)
{
	if (orderForm.realname.value=="")
	{
	alert ("Please enter your name")
	orderForm.realname.focus()
	return false
	}
	if (orderForm.email.value=="" && orderForm.phone.value=="")
	{
	alert ("Please enter your email address or phone number")
	orderForm.email.focus()
	return false
	}
}

function clickclear(thisfield, defaulttext) {
if (thisfield.value == defaulttext) {
	thisfield.value = "";
}
}
function clickrecall(thisfield, defaulttext) {
if (thisfield.value == "") {
	thisfield.value = defaulttext;
}
}


$(document).ready(function() {
	  
	    $('#password-clear').show();
	    $('#password-password').hide();
	  
	    $('#password-clear').focus(function() {
	        $('#password-clear').hide();
	        $('#password-password').show();
	        $('#password-password').focus();
	    });
	    $('#password-password').blur(function() {
	        if($('#password-password').val() == '') {
	            $('#password-clear').show();
	            $('#password-password').hide();
	        }
	    });
	  
	    $('.default-value').each(function() {
	        var default_value = this.value;
	        $(this).focus(function() {
	            if(this.value == default_value) {
	                this.value = '';
					this.style.color = '#000000;'
	            }
	        });
	        $(this).blur(function() {
	            if(this.value == '') {
	                this.value = default_value;
					this.style.color = '#777777;'
	            }
	        });
	    });
	  
	});
