$(function(){
	(function(){
		var input = document.createElement('input');

		if ( !('placeholder' in input) ) {
			$('input.placeholder').each( function(i, e){
				var $q = $(e);
				if ( $q.val() === "" ) {
					$q.val($q.prev('label.structural').text());
				}
		
				$q.bind('focus', function() {
					if ( this.value === $(this).prev('label.structural').text() ) { 
						this.value = ''; 
					}
				}).bind('blur', function() {
					if( this.value === '') { 
						this.value = $(this).prev('label.structural').text(); 
					}
				});	
			});
		}
	})();
});
