$(document).ready(function() {
    $(function() {
        // Use this example, or...
        $("a[rel*=lightbox]").lightBox(); // Select all links that contains lightbox in the attribute rel
        // This, or...
        //$('#gallery a').lightBox(); // Select all links in object with gallery ID
        // This, or...
        //$('a.lightbox').lightBox(); // Select all links with lightbox class
        // This, or...
        //$('a').lightBox(); // Select all links in the page
        // ... The possibility are many. Use your creative or choose one in the examples above
    });

    $("[rel*=field]").each(function() {
        if ($(this).val() == '') $(this).val($(this).attr('title'));
        $(this).blur(function() {
            if ($(this).val() == '') $(this).val($(this).attr('title'));
        })
        $(this).focus(function() {
            if ($(this).val() == $(this).attr('title')) {
                $(this).val('');
            }
        })
    });
    /*if ($("#email").val() == '') $("#email").val($("#email").attr('title'));
    if ($("#name").val() == '') $("#name").val($("#name").attr('title'));
    if ($("#message").val() == '') $("#message").val($("#message").attr('title'));
    $("#email").blur(function() {
        if ($("#email").val() == '') $("#email").val($("#email").attr('title'));
    })
    $("#email").click(function() {
        if ($(this).val() == $(this).attr('title')) {
            $(this).val('');
        }
    })*/
})


