jQuery(document).ready(function($) {
    // $() will work as an alias for jQuery() inside of this function
    

/***************************************************************************
 * On Document Ready
 **************************************************************************/
jQuery(function(){
    //Trigger the behavior on this page
    UseDefaultTextboxValues();
}); //End DOM Ready

/***************************************************************************
 * UseDefaultTextboxValues()
 *
 * PURPOSE:
 * Default Input Values - Handle default values for form elements. Simply call
 * function from instead ready scope to automatically handle default values
 * for form textbox elements with the ".usehint" class.
 **************************************************************************/
function UseDefaultTextboxValues(){
    jQuery('input[type="text"].usehint').each(function(){
        //We need to save the element for the sake of the data() method
        var definput = jQuery(this);
        //Save the default value for this element
        definput.data('DefVal',definput.val())
            //Assign a starting color of silver
            .css('color','silver')
                //When the this element gets focus...
                .focus(function(){
                    //If the default text is the current value...
                    if(definput.val()==definput.data('DefVal')){
                        //Clear the text and change color to black
                        definput.val('').css('color','black');
                    }
                })
                //When this element loses focus...
                .blur(function(){
                    //If the field is essentially empty...
                    if(definput.val().replace(' ','')==''){
                        //Use our saved default value
                        definput.val(definput.data('DefVal'))
                            //And change color back to silver
                            .css('color','silver');
                    }
                });
                //Additional functionality goes here
        });
}

    
    
$(document).ready(function() {

	$("ul#slides").cycle({
		fx: 'fade',
		timeout: 6000,
		speed: 2000
	});

});





});


