$(document).ready(function() {
    SetDecriptionHelpText();
    SetFormSteps();
    $(".donation-description-textbox").css("color","#555555");
});
    
var DefaultDescriptionHelpText = "Please use this field to elaborate on what the donation is, what condition it is in, what it could be used for and any other relevant information. Please be as descriptive and honest as possible to ensure the most appropriate match for your donation is found. Do not include your contact details as the Recipient will receive these when they accept your donation";                       
var DefaultTimeDescriptionHelpText = "Please use this field to elaborate on what the donation is, what it could be used for and any other relevant information. Please be as descriptive and honest as possible to ensure the most appropriate match for your donation is found. Do not include your contact details as the Recipient will receive these when they accept your donation";
function SetDecriptionHelpText(){
    $(".donation-description-textbox").focus( function(){
        // Set the description fields to default       
        if($(this).val() == DefaultDescriptionHelpText){
            $(this).val("");
            $(this).css("color","#000");
        }    
    });
    $(".donation-description-textbox").blur( function(){
        // Set the description fields to default
        if ($(this).val() == ""){
            $(this).val(DefaultDescriptionHelpText);
            $(this).css("color","#555555");
        }    
    });
    
    $(".timedonation-description-textbox").focus( function(){
        // Set the description fields to default       
        if($(this).val() == DefaultTimeDescriptionHelpText){
            $(this).val("");
            $(this).css("color","#000");
        }    
    });
    $(".timedonation-description-textbox").blur( function(){
        // Set the description fields to default
        if ($(this).val() == ""){
            $(this).val(DefaultTimeDescriptionHelpText);
            $(this).css("color","#555555");
        }    
    });
}
