jQuery.noConflict();

jQuery(document).ready( function($) {
	
function hasPlaceHolder() {
    return 'placeholder' in document.createElement('input');
}

var formFields = $('#s');

function html5forms() {
    var formPlaceholder = hasPlaceHolder();
    if(formPlaceholder === false) { // Fallback for non-supporting browsers
        $(formFields).each(function(){
            if($(this).attr('placeholder')) {
                var placeholderText = $(this).attr('placeholder');
                $(this).attr('value',placeholderText);
            }
        });
        emptyTextBox();
    }
}

function emptyTextBox() {
	$(formFields).each(function(){
		if($(this).attr('value')){
			var inputText = $(this).attr('value');
			$(this).focus(function(){
				if($(this).attr('value') == inputText){
					$(this).val('');
				}
			}).blur(function(){
				if($(this).attr('value') == ''){
					$(this).val(inputText);
				}					
			});
		} // end if
   }); // end each
} // end function

html5forms();


});



