﻿$(document).ready(function() {
$('.pics').cycle({
    fx: 'fade',
    speed: 600,
    timeout: 3000,
    random: 1
});


$('input[type="text"]').each(function() {

    this.value = $(this).attr('title');
    $(this).addClass('text-label');

    $(this).focus(function() {
        if (this.value == $(this).attr('title')) {
            this.value = '';
            $(this).removeClass('text-label');
        }
    });

    $(this).blur(function() {
        if (this.value == '') {
            this.value = $(this).attr('title');
            $(this).addClass('text-label');
        }
    });
});


});