function wbreak(){
	if (FF=/a/[-1]=='a') {
		jQuery.each(jQuery('.wbreak'), addBreakRecursive);
	}
}

function addBreakRecursive() {

	if (this.nodeName == '#text') {
		this.nodeValue = jQuery.trim(this.nodeValue);
		var html = this.nodeValue.split('').join('<wbr>');
		this.nodeValue = '';
		if(html){
  		var element = document.createElement('span'); 
	  	element.innerHTML = html;
	  	if(this.nextSibling){
			  this.parentNode.insertBefore(element,this.nextSibling);
	  	}else{
			  this.parentNode.appendChild(element);
			}
		}
	}
	else if (this.childNodes.length) {
		jQuery.each(this.childNodes, addBreakRecursive);		
	}
}

jQuery(document).ready(wbreak);
